Home
last modified time | relevance | path

Searched refs:RequestedSize (Results 1 – 20 of 20) sorted by relevance

/external/piex/src/image_type_recognition/
Dimage_type_recognition_lite.cc50 return a->RequestedSize() < b->RequestedSize(); in Compare()
60 virtual size_t RequestedSize() const = 0;
69 return source.pointerToSubArray(0 /* pos */, RequestedSize()); in LimitSource()
152 virtual size_t RequestedSize() const { return 5000; } in RequestedSize() function in piex::image_type_recognition::__anon76559eae0111::ArwTypeChecker
178 if (!IsSignatureFound(limited_source, 0 /* offset */, RequestedSize(), in IsMyType()
197 limited_source, 0 /* offset */, RequestedSize(), in IsMyType()
209 virtual size_t RequestedSize() const { return 16; } in RequestedSize() function in piex::image_type_recognition::__anon76559eae0111::Cr2TypeChecker
239 virtual size_t RequestedSize() const { return 14; } in RequestedSize() function in piex::image_type_recognition::__anon76559eae0111::CrwTypeChecker
265 virtual size_t RequestedSize() const { return 5000; } in RequestedSize() function in piex::image_type_recognition::__anon76559eae0111::DcrTypeChecker
295 return IsSignatureFound(limited_source, 0 /* offset */, RequestedSize(), in IsMyType()
[all …]
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_debug_allocator.cc99 size_t req_size = base_allocator_->RequestedSize(allocated_ptr); in AllocateRaw()
119 size_t GPUDebugAllocator::RequestedSize(const void* ptr) { in RequestedSize() function in tensorflow::GPUDebugAllocator
120 auto req_size = base_allocator_->RequestedSize(static_cast<const char*>(ptr) - in RequestedSize()
148 size_t req_size = base_allocator_->RequestedSize(original_ptr); in CheckFooter()
170 size_t req_size = base_allocator_->RequestedSize(allocated_ptr); in AllocateRaw()
187 size_t req_size = base_allocator_->RequestedSize(ptr); in DeallocateRaw()
203 size_t GPUNanResetAllocator::RequestedSize(const void* ptr) { in RequestedSize() function in tensorflow::GPUNanResetAllocator
204 return base_allocator_->RequestedSize(ptr); in RequestedSize()
Dgpu_bfc_allocator_test.cc73 size_t req_size = a.RequestedSize(ptrs[i - 1]); in TEST()
133 size_t req_size = a.RequestedSize(existing_ptrs[i - 1]); in TEST()
212 EXPECT_EQ(4, a.RequestedSize(t1)); in TEST()
284 size_t req_size = a.RequestedSize(existing_ptrs[i - 1]); in TEST()
452 EXPECT_EQ(requested_size, a.RequestedSize(initial_ptrs[2 * i]) + in TestBinDebugInfo()
453 a.RequestedSize(initial_ptrs[2 * i + 1])); in TestBinDebugInfo()
489 EXPECT_EQ(requested_size, a.RequestedSize(initial_ptrs[2 * i])); in TestBinDebugInfo()
Dgpu_debug_allocator.h43 size_t RequestedSize(const void* ptr) override;
72 size_t RequestedSize(const void* ptr) override;
Dgpu_debug_allocator_test.cc244 EXPECT_EQ(4, a.RequestedSize(t1)); in TEST()
/external/tensorflow/tensorflow/core/framework/
Dallocator.h167 virtual size_t RequestedSize(const void* ptr) { in RequestedSize() function
180 virtual size_t AllocatedSize(const void* ptr) { return RequestedSize(ptr); } in AllocatedSize()
319 size_t RequestedSize(const void* ptr) override { in RequestedSize() function
320 return wrapped_->RequestedSize(ptr); in RequestedSize()
Dtracking_allocator_test.cc42 size_t RequestedSize(const void* ptr) override { in RequestedSize() function in tensorflow::TestableSizeTrackingAllocator
92 EXPECT_EQ(4, ta->RequestedSize(p1)); in TEST()
98 EXPECT_EQ(12, ta->RequestedSize(p2)); in TEST()
Dtracking_allocator.cc116 size_t TrackingAllocator::RequestedSize(const void* ptr) { in RequestedSize() function in tensorflow::TrackingAllocator
125 return allocator_->RequestedSize(ptr); in RequestedSize()
Dtracking_allocator.h66 size_t RequestedSize(const void* ptr) override;
/external/tensorflow/tensorflow/core/common_runtime/
Dprocess_state.h131 size_t RequestedSize(const void* p) override { return a_->RequestedSize(p); } in RequestedSize() function
Dscoped_allocator.h108 size_t RequestedSize(const void* ptr) override { return 0; } in RequestedSize() function
Dbfc_allocator.cc394 VLOG(1) << "DeallocateRaw " << Name() << " " << RequestedSize(ptr); in DeallocateRaw()
527 size_t BFCAllocator::RequestedSize(const void* ptr) { in RequestedSize() function in tensorflow::BFCAllocator
Dbfc_allocator.h66 size_t RequestedSize(const void* ptr) override;
/external/compiler-rt/lib/scudo/
Dscudo_allocator.cpp71 u64 RequestedSize : 40; // Needed for reallocation purposes. member
365 Header.RequestedSize = Size; in allocate()
410 uptr Size = NewHeader.RequestedSize; in deallocate()
480 NewHeader.RequestedSize = NewSize; in reallocate()
488 uptr OldSize = OldHeader.RequestedSize; in reallocate()
/external/mesa3d/src/mesa/main/
Dtransformfeedback.c310 if (obj->RequestedSize[i] == 0) { in compute_transform_feedback_buffer_sizes()
321 computed_size = MIN2(available_space, obj->RequestedSize[i]); in compute_transform_feedback_buffer_sizes()
1418 if (obj->RequestedSize[index] == 0 && in _mesa_GetTransformFeedbacki64_v()
1428 assert(obj->RequestedSize[index] > 0); in _mesa_GetTransformFeedbacki64_v()
1432 assert(obj->RequestedSize[index] > 0); in _mesa_GetTransformFeedbacki64_v()
Dtransformfeedback.h165 tfObj->RequestedSize[index] = size; in _mesa_set_transform_feedback_binding()
Dmtypes.h1864 GLsizeiptr RequestedSize[MAX_FEEDBACK_BUFFERS]; member
Dget.c2306 = ctx->TransformFeedback.CurrentObject->RequestedSize[index]; in find_value_indexed()
/external/tensorflow/tensorflow/core/common_runtime/sycl/
Dsycl_allocator.h54 size_t RequestedSize(void* ptr) override;
Dsycl_allocator.cc81 size_t SYCLAllocator::RequestedSize(void* ptr) { in RequestedSize() function in tensorflow::SYCLAllocator