Searched refs:firstByteMark (Results 1 – 4 of 4) sorted by relevance
/external/antlr/antlr-3.4/runtime/C/src/ |
D | antlr3convertutf.c | 191 static const UTF8 firstByteMark[7] = { 0x00, 0x00, 0xC0, 0xE0, 0xF0, 0xF8, 0xFC }; variable 264 case 1: *--target = (UTF8)(ch | firstByteMark[bytesToWrite]); in ConvertUTF16toUTF8() 444 case 1: *--target = (UTF8) (ch | firstByteMark[bytesToWrite]); in ConvertUTF32toUTF8()
|
/external/clang/lib/Basic/ |
D | ConvertUTF.c | 102 static const UTF8 firstByteMark[7] = { 0x00, 0x00, 0xC0, 0xE0, 0xF0, 0xF8, 0xFC }; variable 280 case 1: *--target = (UTF8)(ch | firstByteMark[bytesToWrite]); in ConvertUTF16toUTF8() 333 case 1: *--target = (UTF8) (ch | firstByteMark[bytesToWrite]); in ConvertUTF32toUTF8()
|
/external/webkit/Source/JavaScriptCore/wtf/unicode/ |
D | UTF8.cpp | 126 static const unsigned char firstByteMark[7] = { 0x00, 0x00, 0xC0, 0xE0, 0xF0, 0xF8, 0xFC }; variable 194 case 1: *--target = (char)(ch | firstByteMark[bytesToWrite]); in convertUTF16ToUTF8()
|
/external/clang/lib/Lex/ |
D | LiteralSupport.cpp | 329 static const UTF8 firstByteMark[5] = { in EncodeUCNEscape() local 338 case 1: *--ResultBuf = (UTF8) (UcnVal | firstByteMark[bytesToWrite]); in EncodeUCNEscape()
|