Home
last modified time | relevance | path

Searched refs:num_strings (Results 1 – 25 of 37) sorted by relevance

12

/external/virglrenderer/src/
Dvrend_strbuf.h163 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/
Dstr_join_benchmark.cc28 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()
Dnumbers_benchmark.cc166 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/
Dstr_join_benchmark.cc28 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()
Dnumbers_benchmark.cc166 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/
Dstr_join_benchmark.cc28 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()
Dnumbers_benchmark.cc166 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/
Dstr_join_benchmark.cc28 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()
Dnumbers_benchmark.cc166 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/
Dstr_join_benchmark.cc28 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()
Dnumbers_benchmark.cc166 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/
Dstr_join_benchmark.cc28 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()
Dnumbers_benchmark.cc166 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/
Dstring_util.cc73 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/
Dbuffer_map.cc112 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()
Dtest_util.cc42 auto num_strings = GetStringCount(tensor); in GetStringValues() local
43 for (size_t i = 0; i < num_strings; ++i) { in GetStringValues()
/external/avb/libavb/
Davb_util.c374 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/
Dipp-support.c2134 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/
Dtf_driver.cc60 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/
Dtext_encoder.cc218 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/
Dsentencepiece_tokenizer_tflite.cc87 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/
Dverifier.cc87 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/
Dtest_util.cc288 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()
Dgather.cc124 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/
Dgather.cc124 const PositionT num_strings = GetStringCount(input); in GatherStrings() local
129 TF_LITE_ENSURE(context, pos < num_strings); in GatherStrings()

12