Searched refs:char_length (Results 1 – 6 of 6) sorted by relevance
/external/libtextclassifier/native/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/libtextclassifier/native/utils/strings/ |
D | utf8.cc | 24 const int char_length = ValidUTF8CharLength(src + i, size - i); in IsValidUTF8() local 25 if (char_length <= 0) { in IsValidUTF8() 28 i += char_length; in IsValidUTF8()
|
/external/v8/src/builtins/ |
D | builtins-string.cc | 267 int char_length = mapping->get(current, next, chars); in ConvertCaseHelper() local 268 if (char_length == 0) { in ConvertCaseHelper() 272 } else if (char_length == 1 && in ConvertCaseHelper() 297 int current_length = i + char_length + next_length; in ConvertCaseHelper() 305 int char_length = mapping->get(current, 0, chars); in ConvertCaseHelper() local 306 if (char_length == 0) char_length = 1; in ConvertCaseHelper() 307 current_length += char_length; in ConvertCaseHelper() 319 for (int j = 0; j < char_length; j++) { in ConvertCaseHelper()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | unicode_ops.cc | 376 SPLITS_TYPE* next_row_split, UChar32 char_value, int char_length, in Decode() argument 386 *current_offset += char_length; in Decode() 399 *current_offset += char_length; in Decode()
|
/external/v8/src/regexp/ |
D | regexp-macro-assembler.cc | 261 int char_length = subject_ptr.length() - start_offset; in Match() local 286 int byte_length = char_length << char_size_shift; in Match()
|
/external/v8/src/compiler/ |
D | js-call-reducer.cc | 6293 Node* char_length = graph()->NewNode(simplified()->StringLength(), vtrue0); in ReduceStringIteratorPrototypeNext() local 6294 index = graph()->NewNode(simplified()->NumberAdd(), index, char_length); in ReduceStringIteratorPrototypeNext()
|