Home
last modified time | relevance | path

Searched refs:src_buffer_ (Results 1 – 4 of 4) sorted by relevance

/external/adhd/cras/src/tests/
Dmix_unittest.cc31 src_buffer_ = static_cast<int16_t *>( in SetUp()
35 src_buffer_[i] = i; in SetUp()
45 free(src_buffer_); in TearDown()
50 src_buffer_[i] = i + (INT16_MAX >> 2); in _SetupBuffer()
55 src_buffer_[i] = i - (INT16_MAX >> 2); in _SetupBuffer()
66 tmp = mix_buffer_[i] + src_buffer_[i/2] * scaler; in TestScaleStride()
68 tmp = mix_buffer_[i] + src_buffer_[i/2]; in TestScaleStride()
77 fmt_, (uint8_t *)mix_buffer_, (uint8_t *)src_buffer_, in TestScaleStride()
98 int16_t *src_buffer_; member in __anonfcb420430111::MixTestSuiteS16_LE
104 cras_mix_add(fmt_, (uint8_t *)mix_buffer_, (uint8_t *)src_buffer_, in TEST_F()
[all …]
/external/tensorflow/tensorflow/lite/toco/graph_transformations/tests/
Dlstm_utils_test.cc50 src_buffer_ = CreateFloatArrayBuffer( in PrepareBuffers()
53 PopulateBuffer(src_buffer_, src_data); in PrepareBuffers()
61 Buffer<ArrayDataType::kFloat>* GetSrcBuffer() { return src_buffer_; } in GetSrcBuffer()
77 Buffer<ArrayDataType::kFloat>* src_buffer_; member in toco::CopyArrayDataTest
/external/tensorflow/tensorflow/contrib/verbs/
Drdma.cc1203 src_buffer_ = const_cast<TensorBuffer*>(DMAHelper::buffer(&in)); in SendContent()
1204 if (src_buffer_ != nullptr) { in SendContent()
1205 src_buffer_->Ref(); // Keep buffer alive until write is complete in SendContent()
1206 src_addr_ = src_buffer_->data(); in SendContent()
1256 if (src_buffer_ != nullptr) { in Destroy()
1257 src_buffer_->Unref(); in Destroy()
Drdma.h355 TensorBuffer* src_buffer_ = nullptr; variable