21 references to s_codePagesEncodingDataStream
System.Text.Encoding.CodePages (21)
System\Text\BaseCodePageEncoding.cs (11)
274
s_codePagesEncodingDataStream
.Seek(CODEPAGE_DATA_FILE_HEADER_SIZE, SeekOrigin.Begin);
288
ReadCodePageIndex(
s_codePagesEncodingDataStream
, codePageIndex);
293
long position =
s_codePagesEncodingDataStream
.Position;
294
s_codePagesEncodingDataStream
.Seek((long)pCodePageIndex->Offset, SeekOrigin.Begin);
295
ReadCodePageHeader(
s_codePagesEncodingDataStream
, m_codePageHeader);
296
m_firstDataWordOffset = (int)
s_codePagesEncodingDataStream
.Position; // stream now pointing to the codepage data
300
m_dataSize = (int)(
s_codePagesEncodingDataStream
.Length - pCodePageIndex->Offset - m_codePageHeader.Length);
305
s_codePagesEncodingDataStream
.Seek(position, SeekOrigin.Begin);
307
ReadCodePageIndex(
s_codePagesEncodingDataStream
, codePageIndex);
330
s_codePagesEncodingDataStream
.Seek(CODEPAGE_DATA_FILE_HEADER_SIZE, SeekOrigin.Begin);
344
ReadCodePageIndex(
s_codePagesEncodingDataStream
, codePageIndex);
System\Text\BaseCodePageEncoding.netcoreapp.cs (2)
41
s_codePagesEncodingDataStream
.Seek(CODEPAGE_DATA_FILE_HEADER_SIZE, SeekOrigin.Begin);
57
ReadCodePageIndex(
s_codePagesEncodingDataStream
, pCodePageIndex);
System\Text\DBCSCodePageEncoding.cs (4)
137
s_codePagesEncodingDataStream
.Seek(m_firstDataWordOffset, SeekOrigin.Begin);
138
int bytesRead =
s_codePagesEncodingDataStream
.Read(buffer, 0, m_dataSize);
260
s_codePagesEncodingDataStream
.Seek(m_firstDataWordOffset, SeekOrigin.Begin);
261
int bytesRead =
s_codePagesEncodingDataStream
.Read(buffer, 0, m_dataSize);
System\Text\SBCSCodePageEncoding.cs (4)
101
s_codePagesEncodingDataStream
.Seek(m_firstDataWordOffset, SeekOrigin.Begin);
102
int bytesRead =
s_codePagesEncodingDataStream
.Read(buffer, 0, buffer.Length);
165
s_codePagesEncodingDataStream
.Seek(m_firstDataWordOffset + 512, SeekOrigin.Begin);
166
int bytesRead =
s_codePagesEncodingDataStream
.Read(buffer, 0, buffer.Length);