Searched refs:dynamic_buffer (Results 1 – 9 of 9) sorted by relevance
/external/compiler-rt/test/asan/TestCases/ |
D | alloca_constant_size.cc | 19 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/ |
D | python_utils.cc | 88 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()
|
D | python_utils.h | 35 DynamicBuffer* dynamic_buffer);
|
D | interpreter_wrapper.cc | 289 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/ |
D | string_util.cc | 30 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()
|
D | tf_driver_test.cc | 62 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()
|
D | tf_driver.cc | 88 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/ |
D | delegate.cc | 96 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()
|
D | test_util.cc | 30 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()
|