/external/chromium/base/ |
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_string_conversions.cc | 32 uint32 code_point; local 33 if (ReadUnicodeCharacter(src, src_len32, &i, &code_point)) { 34 WriteUnicodeCharacter(code_point, output);
|
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);
|
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)) [all...] |
/external/chromium_org/base/strings/ |
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_string_conversions.cc | 29 uint32 code_point; local 30 if (ReadUnicodeCharacter(src, src_len32, &i, &code_point)) { 31 WriteUnicodeCharacter(code_point, output);
|
utf_offset_string_conversions.cc | 35 uint32 code_point; local 38 if (ReadUnicodeCharacter(src, src_len32, &i, &code_point)) { 39 chars_written = WriteUnicodeCharacter(code_point, output);
|
string_util.cc | 229 uint32 code_point = 0; local 230 CBU8_NEXT(data, char_index, truncation_length, code_point); 231 if (!IsValidCharacter(code_point) || 232 !IsValidCodepoint(code_point)) { 394 int32 code_point; local 395 CBU8_NEXT(src, char_index, src_len, code_point); 396 if (!base::IsValidCharacter(code_point))
|
/external/chromium/googleurl/src/ |
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 = U16_GET_SUPPLEMENTARY(str[*begin], str[*begin + 1]) [all...] |
url_canon_etc.cc | 292 unsigned code_point; local 293 ReadUTFChar(spec, &i, end, &code_point); 294 AppendUTF8Value(code_point, output);
|
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);
|
url_util.cc | 533 unsigned code_point; local 535 unescaped_chars.length(), &code_point)) { 537 url_canon::AppendUTF16Value(code_point, output);
|
/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...] |
json_parser.cc | 776 uint32 code_point = CBU16_GET_SUPPLEMENTARY(code_unit16_high, local 779 CBU8_APPEND_UNSAFE(code_unit8, offset, code_point);
|
/external/chromium_org/url/ |
url_canon_icu.cc | 30 UChar32 code_point, 40 DCHECK(code_point < 0x110000); 42 _itoa_s(code_point, number, 10); 189 int code_point; // Avoids warning when U8_NEXT writes -1 to it. local 190 U8_NEXT(str, *begin, length, code_point); 191 *code_point_out = static_cast<unsigned>(code_point); 198 if (U_IS_UNICODE_CHAR(code_point)) 205 unsigned* code_point) { 210 *code_point = kUnicodeReplacementCharacter; 214 *code_point = U16_GET_SUPPLEMENTARY(str[*begin], str[*begin + 1]) [all...] |
url_canon_etc.cc | 267 unsigned code_point; local 268 ReadUTFChar(spec, &i, end, &code_point); 269 AppendUTF8Value(code_point, output);
|
url_canon_internal.cc | 25 unsigned code_point; local 26 ReadUTFChar(source, &i, length, &code_point); 27 AppendUTF8EscapedValue(code_point, output); 264 unsigned code_point; local 265 success &= ReadUTFChar(input, &i, input_len, &code_point); 266 AppendUTF8Value(code_point, output); 275 unsigned code_point; local 276 success &= ReadUTFChar(input, &i, input_len, &code_point); 277 AppendUTF16Value(code_point, output);
|
url_util.cc | 555 unsigned code_point; local 557 unescaped_chars.length(), &code_point)) { 559 url_canon::AppendUTF16Value(code_point, output);
|
/external/chromium/base/i18n/ |
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/chromium_org/base/i18n/ |
file_util_icu.cc | 106 uint32 code_point; local 110 code_point); 114 code_point); 121 code_point = cur_char; 126 if (illegal->contains(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/third_party/ots/src/ |
cmap.cc | 217 const uint16_t code_point = cp; local 220 const uint16_t glyph = code_point + ranges[i].id_delta; 225 const uint16_t range_delta = code_point - ranges[i].start_range; [all...] |
/external/chromium/net/base/ |
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); [all...] |
/external/chromium_org/net/base/ |
net_util.cc | 192 unsigned code_point; local 193 U16_NEXT(str, i, str_len, code_point); 196 UScriptCode cur_script = uscript_getScript(code_point, &err); [all...] |
/external/chromium_org/v8/src/ |
unicode.cc | 233 uchar code_point = ((first << 6) | second) & kMaxTwoByteChar; local 234 if (code_point <= kMaxOneByteChar) { 239 return code_point; 251 uchar code_point = ((((first << 6) | second) << 6) | third) local 253 if (code_point <= kMaxTwoByteChar) { 258 return code_point; 270 uchar code_point = (((((first << 6 | second) << 6) | third) << 6) | fourth) local 272 if (code_point <= kMaxThreeByteChar) { 277 return code_point; [all...] |