/external/chromium_org/base/strings/ |
utf_string_conversion_utils.h | 15 inline bool IsValidCodepoint(uint32 code_point) { 19 return code_point < 0xD800u || 20 (code_point >= 0xE000u && code_point <= 0x10FFFFu); 23 inline bool IsValidCharacter(uint32 code_point) { 26 return code_point < 0xD800u || (code_point >= 0xE000u && 27 code_point < 0xFDD0u) || (code_point > 0xFDEFu && 28 code_point <= 0x10FFFFu && (code_point & 0xFFFEu) != 0xFFFEu) [all...] |
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) { [all...] |
utf_offset_string_conversions.cc | 193 uint32 code_point; local 196 if (ReadUnicodeCharacter(src, src_len32, &i, &code_point)) { 197 chars_written = WriteUnicodeCharacter(code_point, output);
|
utf_string_conversions.cc | 29 uint32 code_point; local 30 if (ReadUnicodeCharacter(src, src_len32, &i, &code_point)) { 31 WriteUnicodeCharacter(code_point, output);
|
string_util.cc | 226 base_icu::UChar32 code_point = 0; local 227 CBU8_NEXT(data, char_index, truncation_length, code_point); 228 if (!IsValidCharacter(code_point) || 229 !IsValidCodepoint(code_point)) { 349 int32 code_point; local 350 CBU8_NEXT(src, char_index, src_len, code_point); 351 if (!IsValidCharacter(code_point))
|
/external/chromium_org/remoting/host/linux/ |
unicode_to_keysym.h | 14 void GetKeySymsForUnicode(uint32_t code_point, std::vector<uint32_t>* keysyms);
|
unicode_to_keysym_unittest.cc | 16 uint32_t code_point; member in struct:remoting::Test 38 GetKeySymsForUnicode(kTests[i].code_point, &keysyms);
|
/external/chromium_org/base/json/ |
string_escape.cc | 28 // Try to escape the |code_point| if it is a known special character. If 31 bool EscapeSpecialCodePoint(uint32 code_point, std::string* dest) { 35 switch (code_point) { 80 uint32 code_point; local 81 if (!ReadUnicodeCharacter(str.data(), length, &i, &code_point)) { 82 code_point = kReplacementCodePoint; 86 if (EscapeSpecialCodePoint(code_point, dest)) 90 if (code_point < 32) 91 base::StringAppendF(dest, kU16EscapeFormat, code_point); 93 WriteUnicodeCharacter(code_point, dest) [all...] |
/external/chromium_org/third_party/protobuf/src/google/protobuf/io/ |
tokenizer.cc | 899 static void AppendUTF8(uint32 code_point, string* output) { 902 if (code_point <= 0x7f) { 903 tmp = code_point; 905 } else if (code_point <= 0x07ff) { 907 ((code_point & 0x07c0) << 2) | 908 (code_point & 0x003f); 910 } else if (code_point <= 0xffff) { 912 ((code_point & 0xf000) << 4) | 913 ((code_point & 0x0fc0) << 2) | 914 (code_point & 0x003f) [all...] |
/external/chromium_org/v8/src/ |
unicode-inl.h | 14 template <class T, int s> bool Predicate<T, s>::get(uchar code_point) { 15 CacheEntry entry = entries_[code_point & kMask]; 16 if (entry.code_point_ == code_point) return entry.value_; 17 return CalculateValue(code_point); 21 uchar code_point) { 22 bool result = T::Is(code_point); 23 entries_[code_point & kMask] = CacheEntry(code_point, result);
|
unicode.h | 36 inline CacheEntry(uchar code_point, bool value) 37 : code_point_(code_point), 61 inline CacheEntry(uchar code_point, signed offset) 62 : code_point_(code_point),
|
unicode.cc | 210 uchar code_point = ((first << 6) | second) & kMaxTwoByteChar; local 211 if (code_point <= kMaxOneByteChar) { 216 return code_point; 228 uchar code_point = ((((first << 6) | second) << 6) | third) local 230 if (code_point <= kMaxTwoByteChar) { 235 return code_point; 247 uchar code_point = (((((first << 6 | second) << 6) | third) << 6) | fourth) local 249 if (code_point <= kMaxThreeByteChar) { 254 return code_point; [all...] |
/external/chromium_org/base/i18n/ |
file_util_icu.cc | 105 uint32 code_point; local 109 code_point); 113 code_point); 120 code_point = cur_char; 125 if (illegal->contains(code_point)) {
|
streaming_utf8_validator_unittest.cc | 64 int32 code_point; local 65 U8_NEXT(src, char_index, src_len, code_point); 66 if (!base::IsValidCodepoint(code_point))
|
/external/chromium_org/chrome/browser/extensions/api/braille_display_private/ |
brlapi_keycode_map.cc | 49 uint32 code_point = key_sym & ~BRLAPI_KEY_SYM_UNICODE; local 50 if (!base::IsValidCharacter(code_point)) 53 base::WriteUnicodeCharacter(code_point, event->standard_key_char.get());
|
/external/chromium_org/url/ |
url_canon_icu.cc | 30 UChar32 code_point, 40 DCHECK(code_point < 0x110000); 42 _itoa_s(code_point, number, 10);
|
url_canon_internal.cc | 27 unsigned code_point; local 28 ReadUTFChar(source, &i, length, &code_point); 29 AppendUTF8EscapedValue(code_point, output); 291 unsigned code_point; local 292 success &= ReadUTFChar(input, &i, input_len, &code_point); 293 AppendUTF8Value(code_point, output); 302 unsigned code_point; local 303 success &= ReadUTFChar(input, &i, input_len, &code_point); 304 AppendUTF16Value(code_point, output);
|
url_canon_internal.h | 144 // the decoded value into |*code_point|. If the character is valid, we will 146 // kUnicodeReplacementCharacter into |*code_point|. 219 // the decoded value into |*code_point|. If the character is valid, we will 221 // kUnicodeReplacementCharacter into |*code_point|. 230 inline void AppendUTF16Value(unsigned code_point, 232 if (code_point > 0xffff) { 233 output->push_back(static_cast<base::char16>((code_point >> 10) + 0xd7c0)); 234 output->push_back(static_cast<base::char16>((code_point & 0x3ff) | 0xdc00)); 236 output->push_back(static_cast<base::char16>(code_point));
|
url_canon_etc.cc | 266 unsigned code_point; local 267 ReadUTFChar(spec, &i, end, &code_point); 268 AppendUTF8Value(code_point, output);
|
url_util.cc | 543 unsigned code_point; local 545 unescaped_chars.length(), &code_point)) { 547 AppendUTF16Value(code_point, output);
|
/external/chromium_org/third_party/cython/src/Cython/Compiler/ |
StringEncoding.py | 293 for code_point in s: 294 if code_point >= 0x10000: # outside of BMP 295 high, low = divmod(code_point - 0x10000, 1024) 299 utf16.append(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/chromium_org/remoting/host/ |
input_injector_linux.cc | 68 // specified |code_point|. 70 uint32_t code_point, 74 GetKeySymsForUnicode(code_point, &keysyms); 326 uint32_t code_point; local 328 text.c_str(), text.size(), &index, &code_point)) { 334 if (!FindKeycodeForUnicode(display_, code_point, &keycode, &modifiers))
|
/external/chromium_org/testing/gtest/src/ |
gtest.cc | [all...] |
/external/chromium_org/third_party/mesa/src/src/gtest/src/ |
gtest.cc | [all...] |