Home
last modified time | relevance | path

Searched refs:data_size_ (Results 1 – 13 of 13) sorted by relevance

/external/pdfium/testing/
Dfx_string_testhelpers.h25 FX_FILESIZE GetSize() override { return data_size_; } in GetSize()
29 : data_size_(data_size) {} in CFX_InvalidSeekableReadStream()
31 FX_FILESIZE data_size_; variable
41 if (offset < 0 || static_cast<size_t>(offset) >= data_size_) in ReadBlock()
44 if (static_cast<size_t>(offset) + size > data_size_) in ReadBlock()
45 size = data_size_ - static_cast<size_t>(offset); in ReadBlock()
54 return static_cast<FX_FILESIZE>(data_size_); in GetSize()
59 : data_(src), data_size_(src_size) {} in CFX_BufferSeekableReadStream()
62 size_t data_size_; variable
/external/tensorflow/tensorflow/lite/experimental/micro/
Dsimple_tensor_allocator.h31 : data_size_(0), data_size_max_(buffer_size), data_(buffer) {} in SimpleTensorAllocator()
41 int GetDataSize() const { return data_size_; } in GetDataSize()
44 int data_size_;
Dsimple_tensor_allocator.cc121 tensor_name, result->bytes, (data_size_max_ - data_size_)); in AllocateTensor()
150 uint8_t* current_data = data_ + data_size_; in AllocateMemory()
154 if ((data_size_ + aligned_size) > data_size_max_) { in AllocateMemory()
158 data_size_ += aligned_size; in AllocateMemory()
Dsimple_tensor_allocator_test.cc24 StackAllocator() : data_(data_backing_), data_size_(0) {} in StackAllocator()
27 if ((data_size_ + size) > kStackAllocatorSize) { in allocate()
33 data_size_ += size; in allocate()
51 int data_size_; member in tflite::__anonedaa46580111::StackAllocator
Dmicro_interpreter_test.cc65 StackAllocator() : data_(data_backing_), data_size_(0) {} in StackAllocator()
68 if ((data_size_ + size) > kStackAllocatorSize) { in allocate()
74 data_size_ += size; in allocate()
92 int data_size_; member in tflite::__anon7a4301e10111::StackAllocator
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/
Dimage.h153 qsort(image_data_, data_size_, sizeof(image_data_[0]), Comp<T>); in GetMedianValue()
154 return image_data_[data_size_ >> 1]; in GetMedianValue()
196 memset(image_data_, val, sizeof(*image_data_) * data_size_); in Clear()
294 memcpy(pixels, this->image_data_, data_size_ * sizeof(T)); in ToArray()
304 const int data_size_; variable
308 image_data_ = new T[data_size_]; in Allocate()
Dimage_utils.h246 for (int i = 0; i < image->data_size_; ++i) { in NormalizeImage()
265 for (int i = 0; i < image->data_size_; ++i) { in NormalizeImage()
270 const float std_dev = ComputeStdDev(data_ptr, image->data_size_, 0.0f); in NormalizeImage()
274 for (int i = 0; i < image->data_size_; ++i) { in NormalizeImage()
283 image->data_size_); in NormalizeImage()
Dimage-inl.h31 data_size_(width * height), in Image()
43 data_size_(size.width * size.height), in Image()
59 data_size_(width * height), in Image()
315 memcpy(image_data_, original.data(), data_size_ * sizeof(T)); in DownsampleInterpolateLinear()
635 memcpy(this->image_data_, pixels, data_size_ * sizeof(T)); in FromArray()
Dtracked_object.cc62 last_frame_thumbnail_.data_size_); in UpdatePosition()
/external/webrtc/webrtc/base/
Dhttpbase.cc56 data_size_ = SIZE_UNKNOWN; in reset()
91 } else if (data_size_ == 0) { in Process()
102 if ((data_size_ != SIZE_UNKNOWN) && (available > data_size_)) { in Process()
103 available = data_size_; in Process()
115 if (data_size_ != SIZE_UNKNOWN) { in Process()
116 data_size_ -= read; in Process()
158 data_size_ = static_cast<size_t>(temp_size); in ProcessLine()
172 return ProcessHeaderComplete(chunked_, data_size_, error); in ProcessLine()
179 data_size_ = strtoul(line, &ptr, 16); in ProcessLine()
184 state_ = (data_size_ == 0) ? ST_TRAILERS : ST_DATA; in ProcessLine()
[all …]
Dhttpbase.h40 size_t GetDataRemaining() const { return data_size_; } in GetDataRemaining()
64 size_t data_size_; variable
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_dnn.cc1262 data_size_(data_size), in CudnnRnnSequenceTensorDescriptor()
1344 int data_size() const { return data_size_; } in data_size()
1356 int data_size_; member in stream_executor::gpu::CudnnRnnSequenceTensorDescriptor
1374 data_size_(data_size), in CudnnRnnStateTensorDescriptor()
1388 int data_size() const { return data_size_; } in data_size()
1394 int data_size_; member in stream_executor::gpu::CudnnRnnStateTensorDescriptor
/external/tensorflow/tensorflow/stream_executor/rocm/
Drocm_dnn.cc1787 data_size_(data_size), in MIOpenRnnSequenceTensorDescriptor()
1823 int data_size() const { return data_size_; } in data_size()
1828 int data_size_; member in stream_executor::gpu::MIOpenRnnSequenceTensorDescriptor
1843 data_size_(data_size), in MIOpenRnnStateTensorDescriptor()
1867 int data_size() const { return data_size_; } in data_size()
1873 int data_size_; member in stream_executor::gpu::MIOpenRnnStateTensorDescriptor