Searched refs:pBytes (Results 1 – 3 of 3) sorted by relevance
31 if (IsTextNonZeroASCII(pBytes, dwSize)) in AnalyzeEncoding()34 if (IsTextUnicode(pBytes, dwSize, &flags)) in AnalyzeEncoding()155 LPBYTE pBytes = NULL; in ReadText() local190 if (!pBytes) in ReadText()195 if ((dwSize >= 2) && (pBytes[0] == 0xFF) && (pBytes[1] == 0xFE)) in ReadText()200 else if ((dwSize >= 2) && (pBytes[0] == 0xFE) && (pBytes[1] == 0xFF)) in ReadText()205 else if ((dwSize >= 3) && (pBytes[0] == 0xEF) && (pBytes[1] == 0xBB) && (pBytes[2] == 0xBF)) in ReadText()291 if (pBytes) in ReadText()292 UnmapViewOfFile(pBytes); in ReadText()302 LPBYTE pBytes = NULL; in WriteEncodedText() local[all …]
507 PBYTE pBytes = Buffer; in IsDataUnicode() local519 if ((BufferSize >= 2) && (pBytes[0] == 0xFF) && (pBytes[1] == 0xFE)) in IsDataUnicode()524 else if ((BufferSize >= 2) && (pBytes[0] == 0xFE) && (pBytes[1] == 0xFF)) in IsDataUnicode()529 else if ((BufferSize >= 3) && (pBytes[0] == 0xEF) && (pBytes[1] == 0xBB) && (pBytes[2] == 0xBF)) in IsDataUnicode()
206 PBYTE pBytes = (PBYTE)Buffer; in IsDataUnicode() local218 if ((BufferSize >= 2) && (pBytes[0] == 0xFF) && (pBytes[1] == 0xFE)) in IsDataUnicode()223 else if ((BufferSize >= 2) && (pBytes[0] == 0xFE) && (pBytes[1] == 0xFF)) in IsDataUnicode()228 else if ((BufferSize >= 3) && (pBytes[0] == 0xEF) && (pBytes[1] == 0xBB) && (pBytes[2] == 0xBF)) in IsDataUnicode()