Home
last modified time | relevance | path

Searched refs:IsValidCodepoint (Results 1 – 17 of 17) sorted by relevance

/external/pigweed/pw_string/
Dutf_codecs_test.cc26 TEST(UtfCodecs, IsValidCodepoint) { in TEST() argument
27 EXPECT_TRUE(utf::IsValidCodepoint(0u)); in TEST()
28 EXPECT_TRUE(utf::IsValidCodepoint(0xD800u - 1u)); in TEST()
29 EXPECT_FALSE(utf::IsValidCodepoint(0xD800u)); in TEST()
30 EXPECT_FALSE(utf::IsValidCodepoint(0xE000u - 1u)); in TEST()
31 EXPECT_TRUE(utf::IsValidCodepoint(0xE000u)); in TEST()
32 EXPECT_TRUE(utf::IsValidCodepoint(0x10FFFFu)); in TEST()
33 EXPECT_FALSE(utf::IsValidCodepoint(0x10FFFFu + 1)); in TEST()
34 EXPECT_FALSE(utf::IsValidCodepoint(0xFFFFFFFFu)); in TEST()
/external/libchrome/base/strings/
Dutf_string_conversion_utils.cc30 return IsValidCodepoint(code_point); in ReadUnicodeCharacter()
54 return IsValidCodepoint(*code_point); in ReadUnicodeCharacter()
66 return IsValidCodepoint(*code_point); in ReadUnicodeCharacter()
Dutf_string_conversions.cc93 if (!IsValidCodepoint(code_point)) { in DoUTFConversion()
112 if (!CBU16_IS_SINGLE(in) || !IsValidCodepoint(in)) { in DoUTFConversion()
128 if (!IsValidCodepoint(code_point)) { in DoUTFConversion()
159 if (!IsValidCodepoint(code_point)) { in DoUTFConversion()
Dutf_string_conversion_utils.h19 inline bool IsValidCodepoint(uint32_t code_point) { in IsValidCodepoint() function
Dstring_util.cc376 !IsValidCodepoint(code_point)) { in TruncateUTF8ToByteSize()
/external/cronet/tot/base/strings/
Dutf_string_conversion_utils.cc48 return IsValidCodepoint(code_point); in ReadUnicodeCharacter()
71 return IsValidCodepoint(*code_point); in ReadUnicodeCharacter()
83 return IsValidCodepoint(*code_point); in ReadUnicodeCharacter()
Dutf_string_conversions.cc117 if (!IsValidCodepoint(code_point)) { in DoUTFConversion()
136 if (!CBU16_IS_SINGLE(in) || !IsValidCodepoint(in)) { in DoUTFConversion()
152 if (!IsValidCodepoint(code_point)) { in DoUTFConversion()
184 if (!IsValidCodepoint(code_point)) { in DoUTFConversion()
Dutf_string_conversion_utils.h25 inline bool IsValidCodepoint(base_icu::UChar32 code_point) { in IsValidCodepoint() function
Dstring_util.cc256 return internal::DoIsStringUTF8<IsValidCodepoint>(str); in IsStringUTF8AllowingNoncharacters()
/external/cronet/stable/base/strings/
Dutf_string_conversion_utils.cc48 return IsValidCodepoint(code_point); in ReadUnicodeCharacter()
71 return IsValidCodepoint(*code_point); in ReadUnicodeCharacter()
83 return IsValidCodepoint(*code_point); in ReadUnicodeCharacter()
Dutf_string_conversions.cc117 if (!IsValidCodepoint(code_point)) { in DoUTFConversion()
136 if (!CBU16_IS_SINGLE(in) || !IsValidCodepoint(in)) { in DoUTFConversion()
152 if (!IsValidCodepoint(code_point)) { in DoUTFConversion()
184 if (!IsValidCodepoint(code_point)) { in DoUTFConversion()
Dutf_string_conversion_utils.h25 inline bool IsValidCodepoint(base_icu::UChar32 code_point) { in IsValidCodepoint() function
Dstring_util.cc256 return internal::DoIsStringUTF8<IsValidCodepoint>(str); in IsStringUTF8AllowingNoncharacters()
/external/pigweed/pw_string/public/pw_string/
Dutf_codecs.h34 constexpr inline bool IsValidCodepoint(uint32_t code_point) { in IsValidCodepoint() function
163 if (utf::IsValidCodepoint(code_point)) { in ReadCodePoint()
/external/libchrome/base/i18n/
Dstreaming_utf8_validator_unittest.cc68 if (!base::IsValidCodepoint(code_point)) in IsStringUtf8()
/external/cronet/tot/base/i18n/
Dstreaming_utf8_validator_unittest.cc60 if (!base::IsValidCodepoint(code_point)) in IsStringUtf8()
/external/cronet/stable/base/i18n/
Dstreaming_utf8_validator_unittest.cc60 if (!base::IsValidCodepoint(code_point)) in IsStringUtf8()