HomeSort by relevance Sort by last modified time
    Searched refs:code_point (Results 1 - 25 of 56) sorted by null

1 2 3

  /external/chromium/base/
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 39 uint32 code_point; local
42 if (ReadUnicodeCharacter(src, src_len32, &i, &code_point)) {
43 chars_written = WriteUnicodeCharacter(code_point, output);
utf_string_conversions.cc 32 uint32 code_point; local
33 if (ReadUnicodeCharacter(src, src_len32, &i, &code_point)) {
34 WriteUnicodeCharacter(code_point, output);
  /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 35 uint32 code_point; local
38 if (ReadUnicodeCharacter(src, src_len32, &i, &code_point)) {
39 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);
  /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_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,
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...]
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_canon_etc.cc 292 unsigned code_point; local
293 ReadUTFChar(spec, &i, end, &code_point);
294 AppendUTF8Value(code_point, output);
  /external/chromium_org/url/
url_canon_icu.cc 29 UChar32 code_point,
39 DCHECK(code_point < 0x110000);
41 _itoa_s(code_point, number, 10);
143 int code_point; // Avoids warning when U8_NEXT writes -1 to it. local
144 U8_NEXT(str, *begin, length, code_point);
145 *code_point_out = static_cast<unsigned>(code_point);
152 if (U_IS_UNICODE_CHAR(code_point))
159 unsigned* code_point) {
164 *code_point = kUnicodeReplacementCharacter;
168 *code_point = U16_GET_SUPPLEMENTARY(str[*begin], str[*begin + 1])
    [all...]
url_canon_internal.h 144 // the decoded value into |*code_point|. If the character is valid, we will
146 // kUnicodeReplacementCharacter into |*code_point|.
221 // the decoded value into |*code_point|. If the character is valid, we will
223 // kUnicodeReplacementCharacter into |*code_point|.
231 unsigned* code_point);
234 inline void AppendUTF16Value(unsigned code_point,
236 if (code_point > 0xffff) {
237 output->push_back(static_cast<base::char16>((code_point >> 10) + 0xd7c0));
238 output->push_back(static_cast<base::char16>((code_point & 0x3ff) | 0xdc00));
240 output->push_back(static_cast<base::char16>(code_point));
    [all...]
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_canon_etc.cc 267 unsigned code_point; local
268 ReadUTFChar(spec, &i, end, &code_point);
269 AppendUTF8Value(code_point, output);
  /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 37 template <class T, int s> bool Predicate<T, s>::get(uchar code_point) {
38 CacheEntry entry = entries_[code_point & kMask];
39 if (entry.code_point_ == code_point) return entry.value_;
40 return CalculateValue(code_point);
44 uchar code_point) {
45 bool result = T::Is(code_point);
46 entries_[code_point & kMask] = CacheEntry(code_point, result);
unicode.h 59 inline CacheEntry(uchar code_point, bool value)
60 : code_point_(code_point),
84 inline CacheEntry(uchar code_point, signed offset)
85 : code_point_(code_point),
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...]
  /external/v8/src/
unicode-inl.h 35 template <class T, int s> bool Predicate<T, s>::get(uchar code_point) {
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);
unicode.h 59 inline CacheEntry(uchar code_point, bool value)
60 : code_point_(code_point),
84 inline CacheEntry(uchar code_point, signed offset)
85 : code_point_(code_point),
  /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 104 uint32 code_point; local
108 code_point);
112 code_point);
119 code_point = cur_char;
124 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...]

Completed in 560 milliseconds

1 2 3