/external/chromium/base/ |
H A D | utf_string_conversion_utils.h | 15 inline bool IsValidCodepoint(uint32 code_point) { argument 19 return code_point < 0xD800u || 20 (code_point >= 0xE000u && code_point <= 0x10FFFFu); 23 inline bool IsValidCharacter(uint32 code_point) { argument 26 return code_point < 0xD800u || (code_point >= 0xE000u && 27 code_point < 0xFDD0u) || (code_point > 0xFDEFu && 28 code_point < 72 WriteUnicodeCharacter(uint32 code_point, std::wstring* output) argument [all...] |
H A D | utf_string_conversion_utils.cc | 18 // use a signed type for code_point. But this function returns false 20 int32 code_point; local 21 CBU8_NEXT(src, *char_index, src_len, code_point); 22 *code_point_out = static_cast<uint32>(code_point); 29 return IsValidCodepoint(code_point); 35 uint32* code_point) { 45 *code_point = CBU16_GET_SUPPLEMENTARY(src[*char_index], 50 *code_point = src[*char_index]; 53 return IsValidCodepoint(*code_point); 60 uint32* code_point) { 32 ReadUnicodeCharacter(const char16* src, int32 src_len, int32* char_index, uint32* code_point) argument 57 ReadUnicodeCharacter(const wchar_t* src, int32 src_len, int32* char_index, uint32* code_point) argument 71 WriteUnicodeCharacter(uint32 code_point, std::string* output) argument 92 WriteUnicodeCharacter(uint32 code_point, string16* output) argument [all...] |
H A D | utf_offset_string_conversions.cc | 39 uint32 code_point; local 42 if (ReadUnicodeCharacter(src, src_len32, &i, &code_point)) { 43 chars_written = WriteUnicodeCharacter(code_point, output);
|
H A D | utf_string_conversions.cc | 32 uint32 code_point; local 33 if (ReadUnicodeCharacter(src, src_len32, &i, &code_point)) { 34 WriteUnicodeCharacter(code_point, output);
|
H A D | string_util.cc | 279 uint32 code_point = 0; local 280 CBU8_NEXT(data, char_index, truncation_length, code_point); 281 if (!base::IsValidCharacter(code_point) || 282 !base::IsValidCodepoint(code_point)) { 478 int32 code_point; local 479 CBU8_NEXT(src, char_index, src_len, code_point); 480 if (!base::IsValidCharacter(code_point))
|
/external/chromium/googleurl/src/ |
H A D | url_canon_icu.cc | 55 UChar32 code_point, 65 DCHECK(code_point < 0x110000); 67 _itoa_s(code_point, number, 10); 166 int code_point; // Avoids warning when U8_NEXT writes -1 to it. local 167 U8_NEXT(str, *begin, length, code_point); 168 *code_point_out = static_cast<unsigned>(code_point); 175 if (U_IS_UNICODE_CHAR(code_point)) 182 unsigned* code_point) { 187 *code_point = kUnicodeReplacementCharacter; 191 *code_point 51 appendURLEscapedChar(const void* context, UConverterFromUnicodeArgs* from_args, const UChar* code_units, int32_t length, UChar32 code_point, UConverterCallbackReason reason, UErrorCode* err) argument 181 ReadUTFChar(const char16* str, int* begin, int length, unsigned* code_point) argument [all...] |
H A D | url_canon_internal.h | 162 // the decoded value into |*code_point|. If the character is valid, we will 164 // kUnicodeReplacementCharacter into |*code_point|. 239 // the decoded value into |*code_point|. If the character is valid, we will 241 // kUnicodeReplacementCharacter into |*code_point|. 249 unsigned* code_point); 252 inline void AppendUTF16Value(unsigned code_point, argument 254 if (code_point > 0xffff) { 255 output->push_back(static_cast<char16>((code_point >> 10) + 0xd7c0)); 256 output->push_back(static_cast<char16>((code_point & 0x3ff) | 0xdc00)); 258 output->push_back(static_cast<char16>(code_point)); [all...] |
H A D | url_canon_internal.cc | 49 unsigned code_point; local 50 ReadUTFChar(source, &i, length, &code_point); 51 AppendUTF8EscapedValue(code_point, output); 286 unsigned code_point; local 287 success &= ReadUTFChar(input, &i, input_len, &code_point); 288 AppendUTF8Value(code_point, output); 297 unsigned code_point; local 298 success &= ReadUTFChar(input, &i, input_len, &code_point); 299 AppendUTF16Value(code_point, output);
|
H A D | url_canon_etc.cc | 292 unsigned code_point; local 293 ReadUTFChar(spec, &i, end, &code_point); 294 AppendUTF8Value(code_point, output);
|
H A D | url_util.cc | 533 unsigned code_point; local 535 unescaped_chars.length(), &code_point)) { 537 url_canon::AppendUTF16Value(code_point, output);
|
/external/v8/src/ |
H A D | unicode-inl.h | 35 template <class T, int s> bool Predicate<T, s>::get(uchar code_point) { argument 36 CacheEntry entry = entries_[code_point & kMask]; 37 if (entry.code_point_ == code_point) return entry.value_; 38 return CalculateValue(code_point); 42 uchar code_point) { 43 bool result = T::Is(code_point); 44 entries_[code_point & kMask] = CacheEntry(code_point, result); 41 CalculateValue( uchar code_point) argument
|
H A D | unicode.h | 59 inline CacheEntry(uchar code_point, bool value) argument 60 : code_point_(code_point), 84 inline CacheEntry(uchar code_point, signed offset) argument 85 : code_point_(code_point),
|
H A D | unicode.cc | 229 uchar code_point = ((first << 6) | second) & kMaxTwoByteChar; local 230 if (code_point <= kMaxOneByteChar) { 235 return code_point; 247 uchar code_point = ((((first << 6) | second) << 6) | third) local 249 if (code_point <= kMaxTwoByteChar) { 254 return code_point; 266 uchar code_point = (((((first << 6 | second) << 6) | third) << 6) | fourth) local 268 if (code_point <= kMaxThreeByteChar) { 273 return code_point;
|
/external/chromium/base/i18n/ |
H A D | file_util_icu.cc | 150 uint32 code_point; local 154 code_point); 158 code_point); 165 code_point = cur_char; 170 if (illegal->contains(code_point)) {
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
H A D | RubyTarget.java | 372 int code_point = 0; 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/chromium/testing/gtest/src/ |
H A D | gtest.cc | 1428 // code_point parameter is of type UInt32 because wchar_t may not be 1432 // If the code_point is not a valid Unicode code point 1435 char* CodePointToUtf8(UInt32 code_point, char* str) { argument 1436 if (code_point <= kMaxCodePoint1) { 1438 str[0] = static_cast<char>(code_point); // 0xxxxxxx 1439 } else if (code_point <= kMaxCodePoint2) { 1441 str[1] = static_cast<char>(0x80 | ChopLowBits(&code_point, 6)); // 10xxxxxx 1442 str[0] = static_cast<char>(0xC0 | code_point); // 110xxxxx 1443 } else if (code_point <= kMaxCodePoint3) { 1445 str[2] = static_cast<char>(0x80 | ChopLowBits(&code_point, [all...] |
H A D | gtest-internal-inl.h | 216 // code_point parameter is of type UInt32 because wchar_t may not be 220 // If the code_point is not a valid Unicode code point 223 GTEST_API_ char* CodePointToUtf8(UInt32 code_point, char* str);
|
/external/gtest/src/ |
H A D | gtest.cc | 1428 // code_point parameter is of type UInt32 because wchar_t may not be 1432 // If the code_point is not a valid Unicode code point 1435 char* CodePointToUtf8(UInt32 code_point, char* str) { argument 1436 if (code_point <= kMaxCodePoint1) { 1438 str[0] = static_cast<char>(code_point); // 0xxxxxxx 1439 } else if (code_point <= kMaxCodePoint2) { 1441 str[1] = static_cast<char>(0x80 | ChopLowBits(&code_point, 6)); // 10xxxxxx 1442 str[0] = static_cast<char>(0xC0 | code_point); // 110xxxxx 1443 } else if (code_point <= kMaxCodePoint3) { 1445 str[2] = static_cast<char>(0x80 | ChopLowBits(&code_point, [all...] |
H A D | gtest-internal-inl.h | 216 // code_point parameter is of type UInt32 because wchar_t may not be 220 // If the code_point is not a valid Unicode code point 223 GTEST_API_ char* CodePointToUtf8(UInt32 code_point, char* str);
|
/external/llvm/utils/unittest/googletest/ |
H A D | gtest.cc | 1428 // code_point parameter is of type UInt32 because wchar_t may not be 1432 // If the code_point is not a valid Unicode code point 1435 char* CodePointToUtf8(UInt32 code_point, char* str) { argument 1436 if (code_point <= kMaxCodePoint1) { 1438 str[0] = static_cast<char>(code_point); // 0xxxxxxx 1439 } else if (code_point <= kMaxCodePoint2) { 1441 str[1] = static_cast<char>(0x80 | ChopLowBits(&code_point, 6)); // 10xxxxxx 1442 str[0] = static_cast<char>(0xC0 | code_point); // 110xxxxx 1443 } else if (code_point <= kMaxCodePoint3) { 1445 str[2] = static_cast<char>(0x80 | ChopLowBits(&code_point, [all...] |
/external/protobuf/gtest/src/ |
H A D | gtest.cc | 1413 // code_point parameter is of type UInt32 because wchar_t may not be 1417 // If the code_point is not a valid Unicode code point 1420 char* CodePointToUtf8(UInt32 code_point, char* str) { argument 1421 if (code_point <= kMaxCodePoint1) { 1423 str[0] = static_cast<char>(code_point); // 0xxxxxxx 1424 } else if (code_point <= kMaxCodePoint2) { 1426 str[1] = static_cast<char>(0x80 | ChopLowBits(&code_point, 6)); // 10xxxxxx 1427 str[0] = static_cast<char>(0xC0 | code_point); // 110xxxxx 1428 } else if (code_point <= kMaxCodePoint3) { 1430 str[2] = static_cast<char>(0x80 | ChopLowBits(&code_point, [all...] |
H A D | gtest-internal-inl.h | 189 // code_point parameter is of type UInt32 because wchar_t may not be 193 // If the code_point is not a valid Unicode code point 196 char* CodePointToUtf8(UInt32 code_point, char* str);
|
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
H A D | gtest-internal-inl.h | 216 // code_point parameter is of type UInt32 because wchar_t may not be 220 // If the code_point is not a valid Unicode code point 223 GTEST_API_ char* CodePointToUtf8(UInt32 code_point, char* str);
|
/external/chromium/net/base/ |
H A D | net_util.cc | 486 unsigned code_point; local 487 U16_NEXT(str, i, str_len, code_point); 490 UScriptCode cur_script = uscript_getScript(code_point, &err);
|
/external/antlr/antlr-3.4/lib/ |
H A D | antlr-3.4-complete.jar | META-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ... |