/external/virglrenderer/src/ |
D | vrend_strbuf.h | 163 int num_strings; member 170 sa->num_strings = 0; in strarray_alloc() 180 assert(sa->num_strings < sa->num_alloced_strings); in strarray_addstrbuf() 181 if (sa->num_strings >= sa->num_alloced_strings) in strarray_addstrbuf() 183 sa->strings[sa->num_strings] = *sb; in strarray_addstrbuf() 184 sa->num_strings++; in strarray_addstrbuf() 191 for (int i = 0; i < sa->num_strings; i++) in strarray_free() 199 for (int i = 0; i < sa->num_strings; i++) in strarray_dump() 208 for (int i = 0; i < sa->num_strings; i++) { in strarray_dump_with_line_numbers()
|
/external/abseil-cpp/absl/strings/ |
D | str_join_benchmark.cc | 28 const int num_strings = state.range(1); in BM_Join2_Strings() local 30 const std::vector<std::string> v(num_strings, s); in BM_Join2_Strings() 81 const int num_strings = state.range(1); in BM_JoinStreamable() local 82 const std::vector<std::string> v(num_strings, std::string(string_len, 'x')); in BM_JoinStreamable()
|
D | numbers_benchmark.cc | 166 std::vector<std::string> MakeFloatStrings(int num_strings, int num_digits) { in MakeFloatStrings() argument 172 std::vector<std::string> float_strings(num_strings); in MakeFloatStrings() 207 const int num_strings = state.range(0); in BM_SimpleAtof() local 210 MakeFloatStrings(num_strings, num_digits); in BM_SimpleAtof() 237 const int num_strings = state.range(0); in BM_SimpleAtod() local 240 MakeFloatStrings(num_strings, num_digits); in BM_SimpleAtod()
|
/external/libtextclassifier/abseil-cpp/absl/strings/ |
D | str_join_benchmark.cc | 28 const int num_strings = state.range(1); in BM_Join2_Strings() local 30 const std::vector<std::string> v(num_strings, s); in BM_Join2_Strings() 81 const int num_strings = state.range(1); in BM_JoinStreamable() local 82 const std::vector<std::string> v(num_strings, std::string(string_len, 'x')); in BM_JoinStreamable()
|
D | numbers_benchmark.cc | 166 std::vector<std::string> MakeFloatStrings(int num_strings, int num_digits) { in MakeFloatStrings() argument 172 std::vector<std::string> float_strings(num_strings); in MakeFloatStrings() 207 const int num_strings = state.range(0); in BM_SimpleAtof() local 210 MakeFloatStrings(num_strings, num_digits); in BM_SimpleAtof() 237 const int num_strings = state.range(0); in BM_SimpleAtod() local 240 MakeFloatStrings(num_strings, num_digits); in BM_SimpleAtod()
|
/external/openscreen/third_party/abseil/src/absl/strings/ |
D | str_join_benchmark.cc | 28 const int num_strings = state.range(1); in BM_Join2_Strings() local 30 const std::vector<std::string> v(num_strings, s); in BM_Join2_Strings() 81 const int num_strings = state.range(1); in BM_JoinStreamable() local 82 const std::vector<std::string> v(num_strings, std::string(string_len, 'x')); in BM_JoinStreamable()
|
D | numbers_benchmark.cc | 166 std::vector<std::string> MakeFloatStrings(int num_strings, int num_digits) { in MakeFloatStrings() argument 172 std::vector<std::string> float_strings(num_strings); in MakeFloatStrings() 207 const int num_strings = state.range(0); in BM_SimpleAtof() local 210 MakeFloatStrings(num_strings, num_digits); in BM_SimpleAtof() 237 const int num_strings = state.range(0); in BM_SimpleAtod() local 240 MakeFloatStrings(num_strings, num_digits); in BM_SimpleAtod()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/ |
D | str_join_benchmark.cc | 28 const int num_strings = state.range(1); in BM_Join2_Strings() local 30 const std::vector<std::string> v(num_strings, s); in BM_Join2_Strings() 81 const int num_strings = state.range(1); in BM_JoinStreamable() local 82 const std::vector<std::string> v(num_strings, std::string(string_len, 'x')); in BM_JoinStreamable()
|
D | numbers_benchmark.cc | 166 std::vector<std::string> MakeFloatStrings(int num_strings, int num_digits) { in MakeFloatStrings() argument 172 std::vector<std::string> float_strings(num_strings); in MakeFloatStrings() 207 const int num_strings = state.range(0); in BM_SimpleAtof() local 210 MakeFloatStrings(num_strings, num_digits); in BM_SimpleAtof() 237 const int num_strings = state.range(0); in BM_SimpleAtod() local 240 MakeFloatStrings(num_strings, num_digits); in BM_SimpleAtod()
|
/external/webrtc/third_party/abseil-cpp/absl/strings/ |
D | str_join_benchmark.cc | 28 const int num_strings = state.range(1); in BM_Join2_Strings() local 30 const std::vector<std::string> v(num_strings, s); in BM_Join2_Strings() 81 const int num_strings = state.range(1); in BM_JoinStreamable() local 82 const std::vector<std::string> v(num_strings, std::string(string_len, 'x')); in BM_JoinStreamable()
|
D | numbers_benchmark.cc | 166 std::vector<std::string> MakeFloatStrings(int num_strings, int num_digits) { in MakeFloatStrings() argument 172 std::vector<std::string> float_strings(num_strings); in MakeFloatStrings() 207 const int num_strings = state.range(0); in BM_SimpleAtof() local 210 MakeFloatStrings(num_strings, num_digits); in BM_SimpleAtof() 237 const int num_strings = state.range(0); in BM_SimpleAtod() local 240 MakeFloatStrings(num_strings, num_digits); in BM_SimpleAtod()
|
/external/angle/third_party/abseil-cpp/absl/strings/ |
D | str_join_benchmark.cc | 28 const int num_strings = state.range(1); in BM_Join2_Strings() local 30 const std::vector<std::string> v(num_strings, s); in BM_Join2_Strings() 81 const int num_strings = state.range(1); in BM_JoinStreamable() local 82 const std::vector<std::string> v(num_strings, std::string(string_len, 'x')); in BM_JoinStreamable()
|
D | numbers_benchmark.cc | 166 std::vector<std::string> MakeFloatStrings(int num_strings, int num_digits) { in MakeFloatStrings() argument 172 std::vector<std::string> float_strings(num_strings); in MakeFloatStrings() 207 const int num_strings = state.range(0); in BM_SimpleAtof() local 210 MakeFloatStrings(num_strings, num_digits); in BM_SimpleAtof() 237 const int num_strings = state.range(0); in BM_SimpleAtod() local 240 MakeFloatStrings(num_strings, num_digits); in BM_SimpleAtod()
|
/external/tensorflow/tensorflow/lite/ |
D | string_util.cc | 73 int32_t num_strings = offset_.size() - 1; in WriteToBuffer() local 80 + sizeof(int32_t) * (num_strings + 2); // size of header in WriteToBuffer() 86 memcpy(*buffer, &num_strings, sizeof(int32_t)); in WriteToBuffer() 89 int32_t start = sizeof(int32_t) * (num_strings + 2); in WriteToBuffer()
|
/external/tensorflow/tensorflow/lite/delegates/flex/ |
D | buffer_map.cc | 112 StringTfLiteTensorBuffer(const TfLiteTensor* tensor, int num_strings) in StringTfLiteTensorBuffer() argument 114 num_strings != 0 in StringTfLiteTensorBuffer() 116 tensorflow::cpu_allocator(), num_strings, in StringTfLiteTensorBuffer() 119 num_strings_(num_strings) { in StringTfLiteTensorBuffer()
|
D | test_util.cc | 42 auto num_strings = GetStringCount(tensor); in GetStringValues() local 43 for (size_t i = 0; i < num_strings; ++i) { in GetStringValues()
|
/external/avb/libavb/ |
D | avb_util.c | 374 size_t num_strings, n; in avb_strdupv() local 378 num_strings = 0; in avb_strdupv() 383 strings[num_strings] = str; in avb_strdupv() 384 lengths[num_strings] = str_len; in avb_strdupv() 389 num_strings++; in avb_strdupv() 390 if (num_strings == AVB_STRDUPV_MAX_NUM_STRINGS) { in avb_strdupv() 404 for (n = 0; n < num_strings; n++) { in avb_strdupv()
|
/external/libcups/cups/ |
D | ipp-support.c | 2134 num_strings; /* Number of strings to compare */ in ippEnumValue() local 2151 num_strings = (int)(sizeof(ipp_document_states) / sizeof(ipp_document_states[0])); in ippEnumValue() 2167 num_strings = (int)(sizeof(ipp_finishings) / sizeof(ipp_finishings[0])); in ippEnumValue() 2173 num_strings = (int)(sizeof(ipp_job_collation_types) / in ippEnumValue() 2179 num_strings = (int)(sizeof(ipp_job_states) / sizeof(ipp_job_states[0])); in ippEnumValue() 2189 num_strings = (int)(sizeof(ipp_orientation_requesteds) / in ippEnumValue() 2198 num_strings = (int)(sizeof(ipp_print_qualities) / sizeof(ipp_print_qualities[0])); in ippEnumValue() 2203 num_strings = (int)(sizeof(ipp_printer_states) / sizeof(ipp_printer_states[0])); in ippEnumValue() 2208 num_strings = (int)(sizeof(ipp_resource_states) / sizeof(ipp_resource_states[0])); in ippEnumValue() 2213 num_strings = (int)(sizeof(ipp_system_states) / sizeof(ipp_system_states[0])); in ippEnumValue() [all …]
|
/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/native/utils/tflite/ |
D | text_encoder.cc | 218 const int num_strings = tflite::GetStringCount(&input_text); in Eval() local 222 TF_LITE_ENSURE_EQ(context, num_strings, num_strings_param); in Eval() 238 encoded_offsets.reserve(num_strings); in Eval() 242 for (int i = 0; i < num_strings; ++i) { in Eval()
|
/external/tflite-support/tensorflow_lite_support/custom_ops/kernel/sentencepiece/ |
D | sentencepiece_tokenizer_tflite.cc | 87 const int num_strings = tflite::GetStringCount(&input_text); in Eval() local 88 for (int i = 0; i < num_strings; ++i) { in Eval()
|
/external/tensorflow/tensorflow/lite/tools/ |
D | verifier.cc | 87 uint32_t num_strings = GetIntPtr(buffer_ptr); in VerifyStringTensorBuffer() local 88 if (num_strings > kMaxNumString) { in VerifyStringTensorBuffer() 91 NameOrEmptyString(tensor.name()), num_strings); in VerifyStringTensorBuffer() 95 static_cast<uint32_t>(num_strings + 2) * sizeof(int32_t); in VerifyStringTensorBuffer() 115 for (int i = 1, end = num_strings; i <= end; i++, offset += sizeof(int32_t)) { in VerifyStringTensorBuffer()
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | test_util.cc | 288 const int num_strings = GetStringCount(tensor_ptr); in ExtractVector() local 290 result.reserve(num_strings); in ExtractVector() 291 for (int i = 0; i < num_strings; ++i) { in ExtractVector()
|
D | gather.cc | 124 const PositionT num_strings = GetStringCount(input); in GatherStrings() local 129 TF_LITE_ENSURE(context, pos < num_strings); in GatherStrings()
|
/external/tensorflow/tensorflow/lite/micro/kernels/ |
D | gather.cc | 124 const PositionT num_strings = GetStringCount(input); in GatherStrings() local 129 TF_LITE_ENSURE(context, pos < num_strings); in GatherStrings()
|