/external/libchrome/base/strings/ |
utf_string_conversion_utils.cc | 18 // use a signed type for code_point. But this function returns false 20 int32_t code_point; local 21 CBU8_NEXT(src, *char_index, src_len, code_point); 22 *code_point_out = static_cast<uint32_t>(code_point); 29 return IsValidCodepoint(code_point); 35 uint32_t* code_point) { 45 *code_point = CBU16_GET_SUPPLEMENTARY(src[*char_index], 50 *code_point = src[*char_index]; 53 return IsValidCodepoint(*code_point); 60 uint32_t* code_point) { [all...] |
utf_string_conversions.cc | 32 uint32_t code_point; local 33 if (ReadUnicodeCharacter(src, src_len32, &i, &code_point)) { 34 WriteUnicodeCharacter(code_point, output);
|
string_util.cc | 372 base_icu::UChar32 code_point = 0; local 373 CBU8_NEXT(data, char_index, truncation_length, code_point); 374 if (!IsValidCharacter(code_point) || 375 !IsValidCodepoint(code_point)) { 525 int32_t code_point; local 526 CBU8_NEXT(src, char_index, src_len, code_point); 527 if (!IsValidCharacter(code_point)) [all...] |
/external/libweave/third_party/chromium/base/strings/ |
utf_string_conversion_utils.cc | 18 // use a signed type for code_point. But this function returns false 20 int32_t code_point; local 21 CBU8_NEXT(src, *char_index, src_len, code_point); 22 *code_point_out = static_cast<uint32_t>(code_point); 29 return IsValidCodepoint(code_point); 34 size_t WriteUnicodeCharacter(uint32_t code_point, std::string* output) { 35 if (code_point <= 0x7f) { 37 output->push_back(static_cast<char>(code_point)); 47 CBU8_APPEND_UNSAFE(&(*output)[0], char_offset, code_point);
|
string_util.cc | 237 int32_t code_point; local 238 CBU8_NEXT(src, char_index, src_len, code_point); 239 if (!IsValidCharacter(code_point))
|
/art/runtime/ |
utf-inl.h | 59 const uint32_t code_point = ((one & 0x0f) << 18) | ((two & 0x3f) << 12) local 65 surrogate_pair |= ((code_point >> 10) + 0xd7c0) & 0xffff; 67 surrogate_pair |= ((code_point & 0x03ff) + 0xdc00) << 16;
|
utf.cc | 150 const uint32_t code_point = (ch << 10) + ch2 - 0x035fdc00; local 151 *utf8_out++ = (code_point >> 18) | 0xf0; 152 *utf8_out++ = ((code_point >> 12) & 0x3f) | 0x80; 153 *utf8_out++ = ((code_point >> 6) & 0x3f) | 0x80; 154 *utf8_out++ = (code_point & 0x3f) | 0x80;
|
utf_test.cc | 284 const uint32_t code_point = (ch << 10) + ch2 - 0x035fdc00; local 285 *utf8_out++ = (code_point >> 18) | 0xf0; 286 *utf8_out++ = ((code_point >> 12) & 0x3f) | 0x80; 287 *utf8_out++ = ((code_point >> 6) & 0x3f) | 0x80; 288 *utf8_out++ = (code_point & 0x3f) | 0x80; 309 static void codePointToSurrogatePair(uint32_t code_point, uint16_t &first, uint16_t &second) { 310 first = (code_point >> 10) + 0xd7c0; 311 second = (code_point & 0x03ff) + 0xdc00;
|
/external/libchrome/base/json/ |
string_escape.cc | 32 // Try to escape the |code_point| if it is a known special character. If 35 bool EscapeSpecialCodePoint(uint32_t code_point, std::string* dest) { 39 switch (code_point) { 93 uint32_t code_point; local 94 if (!ReadUnicodeCharacter(str.data(), length, &i, &code_point)) { 95 code_point = kReplacementCodePoint; 99 if (EscapeSpecialCodePoint(code_point, dest)) 103 if (code_point < 32) 104 base::StringAppendF(dest, kU16EscapeFormat, code_point); 106 WriteUnicodeCharacter(code_point, dest) [all...] |
json_parser.cc | 786 uint32_t code_point = local 788 if (!IsValidCharacter(code_point)) 792 CBU8_APPEND_UNSAFE(code_unit8, offset, code_point);
|
/external/libweave/third_party/chromium/base/json/ |
string_escape.cc | 32 // Try to escape the |code_point| if it is a known special character. If 35 bool EscapeSpecialCodePoint(uint32_t code_point, std::string* dest) { 39 switch (code_point) { 93 uint32_t code_point; local 94 if (!ReadUnicodeCharacter(str.data(), length, &i, &code_point)) { 95 code_point = kReplacementCodePoint; 99 if (EscapeSpecialCodePoint(code_point, dest)) 103 if (code_point < 32) 104 base::StringAppendF(dest, kU16EscapeFormat, code_point); 106 WriteUnicodeCharacter(code_point, dest) [all...] |
json_parser.cc | 781 uint32_t code_point = local 783 if (!IsValidCharacter(code_point)) 787 CBU8_APPEND_UNSAFE(code_unit8, offset, code_point);
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
RubyTarget.java | 372 int code_point = 0; local 380 code_point = literal.codePointAt( 1 ); 383 code_point = 10; 386 code_point = 13; 389 code_point = 9; 392 code_point = 8; 395 code_point = 12; 398 code_point = Integer.parseInt( literal.substring( 2 ), 16 ); 405 code_point = literal.codePointAt( 0 ); 410 return ( "0x" + Integer.toHexString( code_point ) ); [all...] |
/external/v8/src/ |
unicode.h | 40 inline CacheEntry(uchar code_point, bool value) 41 : bit_field_(CodePointField::encode(code_point) | 44 uchar code_point() const { return CodePointField::decode(bit_field_); } function in class:unibrow::Predicate::CacheEntry 73 inline CacheEntry(uchar code_point, signed offset) 74 : code_point_(code_point),
|
/external/vboot_reference/cgpt/ |
cgpt_common.c | 443 uint32_t code_point = 0; local 461 code_point = (codeunit & 0x03FF) + 0x0040; 464 code_point = codeunit; 469 code_point = (code_point << 10) | (codeunit & 0x03FF); 481 require(code_point <= 0x10FFFF); 482 if (code_point <= 0x7F && maxoutput >= 1) { 484 utf8[s8idx++] = code_point & 0x7F; 485 } else if (code_point <= 0x7FF && maxoutput >= 2) { 487 utf8[s8idx++] = 0xC0 | (code_point >> 6) 531 uint32_t code_point = 0; local [all...] |
/prebuilts/tools/common/m2/repository/org/antlr/antlr/3.5.2/ |
antlr-3.5.2.jar | |
/prebuilts/tools/common/offline-m2/org/antlr/antlr/3.5.2/ |
antlr-3.5.2.jar | |
/external/antlr/antlr-3.4/lib/ |
antlr-3.4-complete.jar | |
/prebuilts/misc/common/antlr/ |
antlr-3.4-complete.jar | |