/external/tensorflow/tensorflow/python/kernel_tests/ |
D | string_length_op_test.py | 32 lengths = string_ops.string_length(strings) 44 utf8_byte_lengths = string_ops.string_length(utf8_strings, unit="BYTE") 45 utf8_char_lengths = string_ops.string_length( 54 string_ops.string_length(utf8_strings, unit="XYZ") 61 lengths = string_ops.string_length(strings, "some_name")
|
/external/tensorflow/tensorflow/python/ops/ |
D | string_ops.py | 369 def string_length(input, name=None, unit="BYTE"): function 370 return gen_string_ops.string_length(input, unit=unit, name=name) 376 return string_length(input, name, unit) 379 string_length.__doc__ = gen_string_ops.string_length.__doc__
|
/external/v8/src/runtime/ |
D | runtime-strings.cc | 461 int string_length = string->length(); in JoinSparseArrayWithSeparator() local 468 String::WriteToFlat<Char>(string, &buffer[cursor], 0, string_length); in JoinSparseArrayWithSeparator() 497 int string_length = 0; in RUNTIME_FUNCTION() local 513 String::kMaxLength - length < string_length) { in RUNTIME_FUNCTION() 517 string_length += length; in RUNTIME_FUNCTION() 525 int remaining_length = String::kMaxLength - string_length; in RUNTIME_FUNCTION() 527 string_length += separator_length * (array_length - 1); in RUNTIME_FUNCTION() 548 ->NewRawOneByteString(string_length) in RUNTIME_FUNCTION() 553 Vector<uint8_t>(result->GetChars(), string_length)); in RUNTIME_FUNCTION() 557 ->NewRawTwoByteString(string_length) in RUNTIME_FUNCTION() [all …]
|
D | runtime-array.cc | 478 int string_length = in RUNTIME_FUNCTION() local 483 static_cast<uint32_t>(Max(string_length, backing_store_length)))); in RUNTIME_FUNCTION()
|
/external/v8/src/regexp/ |
D | regexp-utils.cc | 172 const uint64_t string_length = static_cast<uint64_t>(string->length()); in AdvanceStringIndex() local 173 if (unicode && index < string_length) { in AdvanceStringIndex() 175 if (first >= 0xD800 && first <= 0xDBFF && index + 1 < string_length) { in AdvanceStringIndex()
|
/external/tensorflow/tensorflow/core/util/tensor_bundle/ |
D | tensor_bundle.cc | 116 const uint64 string_length = string_lengths[i]; in ReadStringTensor() local 119 buffer->resize(string_length); in ReadStringTensor() 122 buffered_file->ReadNBytes(string_length, &(*buffer)[0], &bytes_read)); in ReadStringTensor() 143 uint64 string_length = 0; in ReadVariantTensor() local 144 TF_RETURN_IF_ERROR(buffered_file->ReadVarint64(&string_length)); in ReadVariantTensor() 146 *actual_crc32c, reinterpret_cast<const char*>(&string_length), in ReadVariantTensor() 150 buffer.resize(string_length); in ReadVariantTensor() 153 buffered_file->ReadNBytes(string_length, &buffer[0], &bytes_read)); in ReadVariantTensor() 158 "buffer of size ", string_length, ". ", in ReadVariantTensor()
|
/external/libchrome/base/strings/ |
D | string_util_unittest.cc | 406 const size_t string_length = arraysize(char_ascii) - 1; in TEST() local 408 for (size_t len = 0, max_len = string_length - offset; len < max_len; in TEST() 421 const size_t string_length = arraysize(char16_ascii) - 1; in TEST() local 423 for (size_t len = 0, max_len = string_length - offset; len < max_len; in TEST() 442 const size_t string_length = wchar_ascii.length(); in TEST() local 443 for (size_t len = 0; len < string_length; ++len) { in TEST()
|
/external/v8/src/builtins/ |
D | builtins-string-gen.cc | 1638 TNode<Smi> const string_length = LoadStringLengthAsSmi(receiver_string); in Generate() local 1655 Branch(SmiLessThanOrEqual(CAST(max_length), string_length), &dont_pad, in Generate() 1684 CSA_ASSERT(this, SmiGreaterThan(smi_max_length, string_length)); in Generate() 1685 TNode<Smi> const pad_length = SmiSub(smi_max_length, string_length); in Generate() 2022 TNode<IntPtrT> const string_length = LoadStringLengthAsWord(string); in TF_BUILTIN() local 2025 var_start = ConvertToRelativeIndex(context, start, string_length); in TF_BUILTIN() 2036 var_length = SmiTag(string_length); in TF_BUILTIN() 2054 IntPtrSub(string_length, var_start.value()); in TF_BUILTIN() 2081 var_result_length = IntPtrSub(string_length, var_start.value()); in TF_BUILTIN() 2245 TNode<IntPtrT> const string_length = LoadStringLengthAsWord(string); in Generate() local [all …]
|
D | builtins-regexp-gen.cc | 306 Node* const string_length, String::Encoding encoding, in GetStringPointers() argument 320 IntPtrAdd(offset, string_length), kind, INTPTR_PARAMETERS); in GetStringPointers() 710 TNode<Smi> string_length = LoadStringLengthAsSmi(string); in RegExpPrototypeExecBodyWithoutResult() local 711 GotoIfNot(SmiLessThanOrEqual(CAST(var_lastindex.value()), string_length), in RegExpPrototypeExecBodyWithoutResult() 1817 TNode<IntPtrT> const string_length = LoadStringLengthAsWord(string); in AdvanceStringIndex() local 1819 GotoIfNot(IntPtrLessThan(untagged_plus_one, string_length), &out); in AdvanceStringIndex() 2353 TNode<Smi> const string_length = LoadStringLengthAsSmi(string); in RegExpPrototypeSplitBody() local 2359 Branch(SmiEqual(string_length, SmiZero()), &if_stringisempty, &next); in RegExpPrototypeSplitBody() 2413 Branch(SmiEqual(next_search_from, string_length), &push_suffix_and_out, in RegExpPrototypeSplitBody() 2441 Branch(SmiEqual(match_from, string_length), &push_suffix_and_out, &next); in RegExpPrototypeSplitBody() [all …]
|
D | builtins-string-gen.h | 50 Node* start, Node* string_length);
|
D | builtins-regexp-gen.h | 61 Node* const last_index, Node* const string_length,
|
/external/v8/src/ |
D | accessors.h | 36 V(string_length, StringLength)
|
/external/libtextclassifier/utils/java/ |
D | jni-cache.h | 43 jmethodID string_length = nullptr; member
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/ |
D | Packet.java | 506 int string_length = this.getNextValueAsInt(); in getNextValueAsString() local 509 res = new String(data, reading_data_index, string_length, "UTF-8"); in getNextValueAsString() 513 reading_data_index = reading_data_index + string_length; in getNextValueAsString()
|
/external/libtextclassifier/utils/utf8/ |
D | unilib-javaicu.cc | 475 text_.get(), jni_cache_->string_length); in ApproximatelyMatches()
|
/external/ImageMagick/MagickCore/ |
D | delegate.c | 869 #define ExtendInterpretText(string_length) \ in InterpretDelegateProperties() argument 872 size_t length=(string_length); \ in InterpretDelegateProperties()
|
D | property.c | 3392 #define ExtendInterpretText(string_length) \ in InterpretImageProperties() argument 3395 size_t length=(string_length); \ in InterpretImageProperties()
|
/external/tensorflow/tensorflow/python/ops/ragged/ |
D | ragged_dispatch.py | 347 string_ops.string_length,
|
/external/Microsoft-GSL/include/gsl/ |
D | string_span | 90 std::ptrdiff_t string_length(const CharT* str, std::ptrdiff_t n) 315 return {sz, details::string_length(sz, max)};
|
/external/elfutils/libdw/ |
D | known-dwarf.h | 137 DWARF_ONE_KNOWN_DW_AT (string_length, DW_AT_string_length) \
|
/external/swiftshader/third_party/LLVM/bindings/ocaml/llvm/ |
D | llvm_ocaml.c | 651 return LLVMConstStringInContext(Context, String_val(Str), string_length(Str), in llvm_const_string() 658 return LLVMConstStringInContext(Context, String_val(Str), string_length(Str), in llvm_const_stringz()
|
/external/python/cpython2/Objects/ |
D | stringobject.c | 1016 string_length(PyStringObject *a) in string_length() function 1413 (lenfunc)string_length, /*sq_length*/ 1424 (lenfunc)string_length,
|
/external/llvm/bindings/ocaml/llvm/ |
D | llvm_ocaml.c | 835 return LLVMConstStringInContext(Context, String_val(Str), string_length(Str), in llvm_const_string() 842 return LLVMConstStringInContext(Context, String_val(Str), string_length(Str), in llvm_const_stringz()
|
/external/swiftshader/third_party/llvm-7.0/llvm/bindings/ocaml/llvm/ |
D | llvm_ocaml.c | 918 return LLVMConstStringInContext(Context, String_val(Str), string_length(Str), in llvm_const_string() 925 return LLVMConstStringInContext(Context, String_val(Str), string_length(Str), in llvm_const_stringz()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/BinaryFormat/ |
D | Dwarf.def | 208 HANDLE_DW_AT(0x19, string_length, 2, DWARF)
|