Home
last modified time | relevance | path

Searched refs:pBytes (Results 1 – 3 of 3) sorted by relevance

/reactos/base/applications/notepad/
H A Dtext.c31 if (IsTextNonZeroASCII(pBytes, dwSize)) in AnalyzeEncoding()
34 if (IsTextUnicode(pBytes, dwSize, &flags)) in AnalyzeEncoding()
155 LPBYTE pBytes = NULL; in ReadText() local
190 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 …]
/reactos/base/applications/cmdutils/more/
H A Dmore.c507 PBYTE pBytes = Buffer; in IsDataUnicode() local
519 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()
/reactos/dll/win32/browseui/shellfind/
H A DCFindFolder.cpp206 PBYTE pBytes = (PBYTE)Buffer; in IsDataUnicode() local
218 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()