Home
last modified time | relevance | path

Searched refs:dynamic_buffer (Results 1 – 9 of 9) sorted by relevance

/external/compiler-rt/test/asan/TestCases/
Dalloca_constant_size.cc19 char *dynamic_buffer = (char *)alloca(200); in f1_alloca() local
20 fprintf(stderr, "dynamic_buffer = %p\n", dynamic_buffer); in f1_alloca()
21 memset(dynamic_buffer, 'y', 200); in f1_alloca()
28 char dynamic_buffer[kDynamicArraySize]; in f1_vla() local
29 fprintf(stderr, "dynamic_buffer = %p\n", dynamic_buffer); in f1_vla()
30 memset(dynamic_buffer, 'y', kDynamicArraySize); in f1_vla()
/external/tensorflow/tensorflow/lite/python/interpreter_wrapper/
Dpython_utils.cc88 DynamicBuffer* dynamic_buffer) { in FillStringBufferFromPyUnicode() argument
95 dynamic_buffer->AddString(buf, len); in FillStringBufferFromPyUnicode()
100 DynamicBuffer* dynamic_buffer) { in FillStringBufferFromPyUnicode() argument
112 dynamic_buffer->AddString(buf, len); in FillStringBufferFromPyUnicode()
118 DynamicBuffer* dynamic_buffer) { in FillStringBufferFromPyString() argument
120 return FillStringBufferFromPyUnicode(value, dynamic_buffer); in FillStringBufferFromPyString()
129 dynamic_buffer->AddString(buf, len); in FillStringBufferFromPyString()
134 DynamicBuffer* dynamic_buffer) { in FillStringBufferWithPyArray() argument
145 if (!FillStringBufferFromPyString(item.get(), dynamic_buffer)) { in FillStringBufferWithPyArray()
Dpython_utils.h35 DynamicBuffer* dynamic_buffer);
Dinterpreter_wrapper.cc289 DynamicBuffer dynamic_buffer; in SetTensor() local
290 if (!python_utils::FillStringBufferWithPyArray(value, &dynamic_buffer)) { in SetTensor()
293 dynamic_buffer.WriteToTensor(tensor, nullptr); in SetTensor()
/external/tensorflow/tensorflow/lite/testing/
Dstring_util.cc30 DynamicBuffer dynamic_buffer; in SerializeAsHexString() local
31 if (!python_utils::FillStringBufferWithPyArray(value, &dynamic_buffer)) { in SerializeAsHexString()
36 size_t size = dynamic_buffer.WriteToBuffer(&char_buffer); in SerializeAsHexString()
Dtf_driver_test.cc62 DynamicBuffer dynamic_buffer; in TEST() local
64 dynamic_buffer.AddString(s.data(), s.size()); in TEST()
68 int size = dynamic_buffer.WriteToBuffer(&char_b); in TEST()
Dtf_driver.cc88 DynamicBuffer dynamic_buffer; in TensorDataToTfLiteHexString() local
92 dynamic_buffer.AddString(data(i).data(), data(i).size()); in TensorDataToTfLiteHexString()
96 size_t size = dynamic_buffer.WriteToBuffer(&char_buffer); in TensorDataToTfLiteHexString()
/external/tensorflow/tensorflow/lite/delegates/flex/
Ddelegate.cc96 DynamicBuffer dynamic_buffer; in CopyFromBufferHandle() local
100 dynamic_buffer.AddString(tf_data(i).data(), tf_data(i).size()); in CopyFromBufferHandle()
103 dynamic_buffer.WriteToTensor(output, /*new_shape=*/nullptr); in CopyFromBufferHandle()
Dtest_util.cc30 DynamicBuffer dynamic_buffer; in SetStringValues() local
32 dynamic_buffer.AddString(s.data(), s.size()); in SetStringValues()
34 dynamic_buffer.WriteToTensor(interpreter_->tensor(tensor_index), in SetStringValues()