Searched refs:char_length (Results 1 – 6 of 6) sorted by relevance
/external/libtextclassifier/utils/strings/ |
D | utf8.cc | 22 const int char_length = ValidUTF8CharLength(src + i, size - i); in IsValidUTF8() local 23 if (char_length <= 0) { in IsValidUTF8() 26 i += char_length; in IsValidUTF8()
|
/external/libtextclassifier/utils/sentencepiece/ |
D | normalizer.cc | 127 const int char_length = ValidUTF8CharLength(input.data(), input.size()); in NormalizePrefix() local 128 if (char_length <= 0) { in NormalizePrefix() 137 prefix->first = StringPiece(input.data(), char_length); in NormalizePrefix() 138 prefix->second = char_length; in NormalizePrefix()
|
/external/v8/src/builtins/ |
D | builtins-string.cc | 373 int char_length = mapping->get(current, next, chars); in ConvertCaseHelper() local 374 if (char_length == 0) { in ConvertCaseHelper() 378 } else if (char_length == 1 && in ConvertCaseHelper() 403 int current_length = i + char_length + next_length; in ConvertCaseHelper() 411 int char_length = mapping->get(current, 0, chars); in ConvertCaseHelper() local 412 if (char_length == 0) char_length = 1; in ConvertCaseHelper() 413 current_length += char_length; in ConvertCaseHelper() 425 for (int j = 0; j < char_length; j++) { in ConvertCaseHelper()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | unicode_ops.cc | 373 int64* next_row_split, UChar32 char_value, int char_length, in Decode() argument 383 *current_offset += char_length; in Decode() 396 *current_offset += char_length; in Decode()
|
/external/v8/src/regexp/ |
D | regexp-macro-assembler.cc | 237 int char_length = subject_ptr->length() - start_offset; in Match() local 261 int byte_length = char_length << char_size_shift; in Match()
|
/external/v8/src/compiler/ |
D | js-call-reducer.cc | 5411 Node* char_length = in ReduceStringIteratorPrototypeNext() local 5413 index = graph()->NewNode(simplified()->NumberAdd(), index, char_length); in ReduceStringIteratorPrototypeNext()
|