/external/tensorflow/tensorflow/lite/ |
D | string_util.cc | 72 int32_t num_strings = offset_.size() - 1; in WriteToBuffer() local 79 + sizeof(int32_t) * (num_strings + 2); // size of header in WriteToBuffer() 85 memcpy(*buffer, &num_strings, sizeof(int32_t)); in WriteToBuffer() 88 int32_t start = sizeof(int32_t) * (num_strings + 2); in WriteToBuffer()
|
/external/u-boot/lib/libavb/ |
D | avb_util.c | 330 size_t num_strings, n; in avb_strdupv() local 334 num_strings = 0; in avb_strdupv() 339 strings[num_strings] = str; in avb_strdupv() 340 lengths[num_strings] = str_len; in avb_strdupv() 345 num_strings++; in avb_strdupv() 346 if (num_strings == AVB_STRDUPV_MAX_NUM_STRINGS) { in avb_strdupv() 360 for (n = 0; n < num_strings; n++) { in avb_strdupv()
|
/external/avb/libavb/ |
D | avb_util.c | 349 size_t num_strings, n; in avb_strdupv() local 353 num_strings = 0; in avb_strdupv() 358 strings[num_strings] = str; in avb_strdupv() 359 lengths[num_strings] = str_len; in avb_strdupv() 364 num_strings++; in avb_strdupv() 365 if (num_strings == AVB_STRDUPV_MAX_NUM_STRINGS) { in avb_strdupv() 379 for (n = 0; n < num_strings; n++) { in avb_strdupv()
|
/external/tensorflow/tensorflow/lite/delegates/flex/ |
D | buffer_map.cc | 109 StringTfLiteTensorBuffer(const TfLiteTensor* tensor, int num_strings) in StringTfLiteTensorBuffer() argument 111 num_strings != 0 in StringTfLiteTensorBuffer() 112 ? tensorflow::cpu_allocator()->Allocate<string>(num_strings) in StringTfLiteTensorBuffer() 114 num_strings_(num_strings) { in StringTfLiteTensorBuffer()
|
D | test_util.cc | 42 auto num_strings = GetStringCount(tensor->data.raw); in GetStringValues() local 43 for (size_t i = 0; i < num_strings; ++i) { in GetStringValues()
|
/external/tensorflow/tensorflow/lite/models/smartreply/ops/ |
D | extract_feature.cc | 80 int num_strings = tflite::GetStringCount(input); in Eval() local 85 for (int i = 0; i < num_strings; i++) { in Eval() 101 if (num_strings == 0) { in Eval()
|
/external/libcups/cups/ |
D | ipp-support.c | 1943 num_strings; /* Number of strings to compare */ in ippEnumValue() local 1960 num_strings = (int)(sizeof(ipp_document_states) / sizeof(ipp_document_states[0])); in ippEnumValue() 1976 num_strings = (int)(sizeof(ipp_finishings) / sizeof(ipp_finishings[0])); in ippEnumValue() 1982 num_strings = (int)(sizeof(ipp_job_collation_types) / in ippEnumValue() 1988 num_strings = (int)(sizeof(ipp_job_states) / sizeof(ipp_job_states[0])); in ippEnumValue() 1998 num_strings = (int)(sizeof(ipp_orientation_requesteds) / in ippEnumValue() 2007 num_strings = (int)(sizeof(ipp_print_qualities) / sizeof(ipp_print_qualities[0])); in ippEnumValue() 2012 num_strings = (int)(sizeof(ipp_printer_states) / sizeof(ipp_printer_states[0])); in ippEnumValue() 2018 for (i = 0; i < num_strings; i ++) in ippEnumValue()
|
/external/tensorflow/tensorflow/lite/tools/ |
D | verifier.cc | 62 uint32_t num_strings = *GetIntPtr(buffer_ptr); in VerifyStringTensorBuffer() local 63 if (num_strings > kMaxNumString) { in VerifyStringTensorBuffer() 66 tensor.name()->c_str(), num_strings); in VerifyStringTensorBuffer() 70 static_cast<uint32_t>(num_strings + 2) * sizeof(int32_t); in VerifyStringTensorBuffer() 90 for (int i = 1; i <= num_strings; i++, offset += sizeof(int32_t)) { in VerifyStringTensorBuffer()
|
/external/tensorflow/tensorflow/lite/testing/ |
D | tf_driver.cc | 60 int num_strings = values_as_string.empty() ? 0 : GetStringCount(s.data()); in FillTensorWithTfLiteHexString() local 62 if (num_strings == tensor->NumElements()) { in FillTensorWithTfLiteHexString() 64 for (size_t i = 0; i < num_strings; ++i) { in FillTensorWithTfLiteHexString() 70 return num_strings; in FillTensorWithTfLiteHexString()
|
/external/libtextclassifier/utils/tflite/ |
D | text_encoder.cc | 217 const int num_strings = tflite::GetStringCount(&input_text); in Eval() local 221 TF_LITE_ENSURE_EQ(context, num_strings, num_strings_param); in Eval() 237 encoded_offsets.reserve(num_strings); in Eval() 241 for (int i = 0; i < num_strings; ++i) { in Eval()
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | test_util.cc | 163 const int num_strings = GetStringCount(tensor_ptr); in ExtractVector() local 165 result.reserve(num_strings); in ExtractVector() 166 for (int i = 0; i < num_strings; ++i) { in ExtractVector()
|
D | gather.cc | 115 const PositionT num_strings = GetStringCount(input); in GatherStrings() local 118 TF_LITE_ENSURE(context, pos < num_strings); in GatherStrings()
|
/external/libtextclassifier/utils/ |
D | tflite-model-executor.cc | 229 const int num_strings = tflite::GetStringCount(output_tensor); in Output() local 230 std::vector<tflite::StringRef> output(num_strings); in Output() 231 for (int i = 0; i < num_strings; i++) { in Output()
|
/external/tensorflow/tensorflow/lite/toco/tflite/ |
D | types.cc | 63 int32_t num_strings = ::tflite::GetStringCount(src_data); in CopyStringFromBuffer() local 64 for (int i = 0; i < num_strings; i++) { in CopyStringFromBuffer()
|
/external/tensorflow/tensorflow/core/lib/strings/ |
D | str_util.cc | 224 std::vector<string> num_strings = Split(text, delim); in SplitAndParseAsInts() local 225 for (const auto& s : num_strings) { in SplitAndParseAsInts()
|
/external/freetype/src/cff/ |
D | cffobjs.c | 679 for ( idx = 1; idx < cff->num_strings; idx++ ) in cff_face_init() 694 if ( cff->num_strings ) in cff_face_init() 696 FT_Byte* s1 = cff->strings[cff->num_strings - 1]; in cff_face_init() 702 FT_TRACE4(( " %5d ", cff->num_strings + 390 )); in cff_face_init()
|
D | cffload.c | 649 return ( element < font->num_strings ) in cff_index_get_string() 2335 font->num_strings = string_index.count; in cff_font_load()
|
/external/tensorflow/tensorflow/lite/python/interpreter_wrapper/ |
D | interpreter_wrapper.cc | 368 auto num_strings = GetStringCount(tensor->data.raw); in GetTensor() local 369 for (int j = 0; j < num_strings; ++j) { in GetTensor()
|
/external/yapf/yapf/yapflib/ |
D | format_decision_state.py | 793 num_strings = 0 797 num_strings += 1 799 return num_strings > 1
|
/external/freetype/include/freetype/internal/ |
D | cfftypes.h | 376 FT_UInt num_strings; member
|
/external/perf_data_converter/src/quipper/ |
D | perf_reader.cc | 1595 num_string_data_type num_strings = src_array.size(); in WriteRepeatedStringMetadata() local 1596 if (!data->WriteDataValue(&num_strings, sizeof(num_strings), in WriteRepeatedStringMetadata()
|
/external/freetype/ |
D | ChangeLog.24 | 6275 (CFF_FontRec): Add `num_strings', `strings', and `string_pool' 6286 (cff_font_load): Initialize `num_strings', `strings', and
|