Searched refs:utf8_length (Results 1 - 8 of 8) sorted by relevance
/external/chromium_org/ui/base/ime/ |
H A D | composition_text_util_pango.cc | 48 int utf8_length = strlen(utf8_text); local 57 start = std::min(start, utf8_length); 58 end = std::min(end, utf8_length);
|
/external/chromium_org/components/query_parser/ |
H A D | snippet.cc | 100 // utf8_length: length of the utf8 string. 107 int32_t utf8_length, 111 DCHECK(offset >= *utf8_pos && offset <= utf8_length); 115 U8_NEXT(utf8_string, *utf8_pos, utf8_length, wide_char); 194 const int32_t utf8_length = static_cast<int32_t>(utf8_string.size()); local 197 i->first = AdvanceAndReturnUTF16Pos(utf8_cstring, utf8_length, 200 i->second = AdvanceAndReturnUTF16Pos(utf8_cstring, utf8_length, 106 AdvanceAndReturnUTF16Pos(const char* utf8_string, int32_t utf8_length, int32_t offset, int32_t* utf8_pos, size_t* utf16_pos) argument
|
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/utf/ |
H A D | unicodetext.cc | 321 assert(start_pos.utf8_data() <= utf8_data() + utf8_length()); 333 StringPiece searching(utf8_data(), utf8_length()); 334 StringPiece look_piece(look.utf8_data(), look.utf8_length()); 346 StringPiece searching(utf8_data(), utf8_length()); 498 int len = utf8_length();
|
H A D | unicodetext.h | 50 // UTF-8-encoded version of the text; 'utf8_length' returns the number 286 int utf8_length() const { return repr_.size_; } function in class:i18n::phonenumbers::UnicodeText 455 return string(t.utf8_data(), t.utf8_length());
|
/external/qemu/distrib/sdl-1.2.15/src/video/x11/ |
H A D | SDL_x11events.c | 234 static int Utf8ToUtf16(const Uint8 *utf8, const int utf8_length, Uint16 *utf16, const int utf16_max_length) { argument 241 Uint8 const *const end_of_input = utf8 + utf8_length - 1;
|
/external/chromium_org/ppapi/tests/ |
H A D | test_websocket.cc | 280 uint32_t utf8_length; 281 const char* utf8 = var_interface_->VarToUtf8(var, &utf8_length); 282 if (utf8_length != string.size())
|
/external/chromium_org/v8/src/ |
H A D | api.cc | 4381 int utf8_length = 0; local 4384 utf8_length += *chars++ >> 7; 4387 utf8_length_ = utf8_length + length; 4392 int utf8_length = 0; local 4396 utf8_length += unibrow::Utf8::Length(c, last_character); 4399 utf8_length_ = utf8_length;
|
/external/chromium_org/v8/test/cctest/ |
H A D | test-api.cc | 8174 int utf8_length = static_cast<int>(expected_len->Value()); local 8175 for (int j = utf8_length + 1; j >= 0; j--) { 8183 CHECK_GE(utf8_length + 1, utf8_written); 8184 CHECK_GE(utf8_length, utf8_written2); 8190 if (j == utf8_length + 1) { 8191 CHECK_EQ(utf8_written2, utf8_length); 8195 if (j > utf8_length) {
|
Completed in 1691 milliseconds