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

1 2

  /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);
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/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);
url_util.cc 533 unsigned code_point; local
535 unescaped_chars.length(), &code_point)) {
537 url_canon::AppendUTF16Value(code_point, output);
  /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),
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;
    [all...]
  /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/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/testing/gtest/src/
gtest.cc     [all...]
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);
    [all...]
  /external/gtest/src/
gtest.cc     [all...]
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);
    [all...]
  /external/libvpx/libvpx/third_party/googletest/src/src/
gtest.cc     [all...]
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);
    [all...]
  /external/llvm/utils/unittest/googletest/
gtest.cc     [all...]
  /external/open-vcdiff/gtest/src/
gtest.cc     [all...]
  /external/protobuf/gtest/src/
gtest.cc     [all...]
  /external/ceres-solver/internal/ceres/
gmock_gtest_all.cc 614 // code_point parameter is of type UInt32 because wchar_t may not be
618 // If the code_point is not a valid Unicode code point
621 GTEST_API_ char* CodePointToUtf8(UInt32 code_point, char* str);
    [all...]

Completed in 1123 milliseconds

1 2