Searched refs:actual_size (Results 1 - 25 of 76) sorted by relevance

1234

/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dsystem-alloc.cc146 void* Alloc(size_t size, size_t *actual_size, size_t alignment);
154 void* Alloc(size_t size, size_t *actual_size, size_t alignment);
162 void* Alloc(size_t size, size_t *actual_size, size_t alignment);
182 void* Alloc(size_t size, size_t *actual_size, size_t alignment);
195 void* SbrkSysAllocator::Alloc(size_t size, size_t *actual_size, argument
219 // "actual_size" indicates that the bytes from the returned pointer
220 // p up to and including (p + actual_size - 1) have been allocated.
221 if (actual_size) {
222 *actual_size = size;
267 void* MmapSysAllocator::Alloc(size_t size, size_t *actual_size, argument
336 Alloc(size_t size, size_t *actual_size, size_t alignment) argument
426 Alloc(size_t size, size_t *actual_size, size_t alignment) argument
468 TCMalloc_SystemAlloc(size_t size, size_t *actual_size, size_t alignment) argument
[all...]
H A Dmemfs_malloc.cc99 void* Alloc(size_t size, size_t *actual_size, size_t alignment);
105 void* AllocInternal(size_t size, size_t *actual_size, size_t alignment);
117 void* HugetlbSysAllocator::Alloc(size_t size, size_t *actual_size, argument
120 return fallback_->Alloc(size, actual_size, alignment);
125 if (actual_size == NULL && size < big_page_size_) {
126 return fallback_->Alloc(size, actual_size, alignment);
135 return fallback_->Alloc(size, actual_size, alignment);
138 void* result = AllocInternal(aligned_size, actual_size, new_alignment);
148 return fallback_->Alloc(size, actual_size, alignment);
151 void* HugetlbSysAllocator::AllocInternal(size_t size, size_t* actual_size, argument
[all...]
/external/chromium_org/gpu/command_buffer/common/
H A Dgles2_cmd_format_test.cc36 size_t actual_size = static_cast<const unsigned char*>(end) - local
38 EXPECT_LT(actual_size, sizeof(buffer_));
39 EXPECT_GT(actual_size, 0u);
40 EXPECT_EQ(expected_size, actual_size);
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dmemfs_malloc.cc99 void* Alloc(size_t size, size_t *actual_size, size_t alignment);
105 void* AllocInternal(size_t size, size_t *actual_size, size_t alignment);
117 void* HugetlbSysAllocator::Alloc(size_t size, size_t *actual_size, argument
120 return fallback_->Alloc(size, actual_size, alignment);
125 if (actual_size == NULL && size < big_page_size_) {
126 return fallback_->Alloc(size, actual_size, alignment);
135 return fallback_->Alloc(size, actual_size, alignment);
138 void* result = AllocInternal(aligned_size, actual_size, new_alignment);
148 return fallback_->Alloc(size, actual_size, alignment);
151 void* HugetlbSysAllocator::AllocInternal(size_t size, size_t* actual_size, argument
[all...]
H A Dsystem-alloc.cc289 void* Alloc(size_t size, size_t *actual_size, size_t alignment);
297 void* Alloc(size_t size, size_t *actual_size, size_t alignment);
305 void* Alloc(size_t size, size_t *actual_size, size_t alignment);
325 void* Alloc(size_t size, size_t *actual_size, size_t alignment);
338 void* SbrkSysAllocator::Alloc(size_t size, size_t *actual_size, argument
361 // "actual_size" indicates that the bytes from the returned pointer
362 // p up to and including (p + actual_size - 1) have been allocated.
363 if (actual_size) {
364 *actual_size = size;
409 void* MmapSysAllocator::Alloc(size_t size, size_t *actual_size, argument
474 Alloc(size_t size, size_t *actual_size, size_t alignment) argument
563 Alloc(size_t size, size_t *actual_size, size_t alignment) argument
612 TCMalloc_SystemAlloc(size_t size, size_t *actual_size, size_t alignment) argument
[all...]
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
H A Dsystem-alloc_unittest.cc58 void* Alloc(size_t size, size_t *actual_size, size_t alignment) { argument
68 if (actual_size) {
69 *actual_size = size;
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
H A Dsystem-alloc_unittest.cc58 void* Alloc(size_t size, size_t *actual_size, size_t alignment) { argument
68 if (actual_size) {
69 *actual_size = size;
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/i915/sw/
H A Di915_sw_batchbuffer.c21 size_t actual_size; member in struct:i915_sw_batchbuffer
33 memset(batch->base.map, 0, batch->actual_size);
35 batch->base.size = batch->actual_size - BATCH_RESERVED;
45 batch->actual_size = isws->max_batch_size;
47 batch->base.map = MALLOC(batch->actual_size);
/external/mesa3d/src/gallium/winsys/i915/sw/
H A Di915_sw_batchbuffer.c21 size_t actual_size; member in struct:i915_sw_batchbuffer
33 memset(batch->base.map, 0, batch->actual_size);
35 batch->base.size = batch->actual_size - BATCH_RESERVED;
45 batch->actual_size = isws->max_batch_size;
47 batch->base.map = MALLOC(batch->actual_size);
/external/chromium_org/v8/test/cctest/
H A Dtest-assembler-x64.cc72 size_t actual_size; local
74 Assembler::kMinimalBufferSize, &actual_size, true));
76 Assembler assm(CcTest::i_isolate(), buffer, static_cast<int>(actual_size));
94 size_t actual_size; local
96 Assembler::kMinimalBufferSize, &actual_size, true));
98 Assembler assm(CcTest::i_isolate(), buffer, static_cast<int>(actual_size));
126 size_t actual_size; local
128 Assembler::kMinimalBufferSize, &actual_size, true));
130 Assembler assm(CcTest::i_isolate(), buffer, static_cast<int>(actual_size));
148 size_t actual_size; local
179 size_t actual_size; local
207 size_t actual_size; local
235 size_t actual_size; local
259 size_t actual_size; local
281 size_t actual_size; local
305 size_t actual_size; local
334 size_t actual_size; local
358 size_t actual_size; local
392 size_t actual_size; local
421 size_t actual_size; local
[all...]
H A Dtest-code-stubs-arm64.cc49 size_t actual_size = 4 * Assembler::kMinimalBufferSize; local
51 v8::base::OS::Allocate(actual_size, &actual_size, true));
54 MacroAssembler masm(isolate, buffer, static_cast<int>(actual_size));
125 CpuFeatures::FlushICache(buffer, actual_size);
H A Dtest-code-stubs-arm.cc49 size_t actual_size; local
51 Assembler::kMinimalBufferSize, &actual_size, true));
54 MacroAssembler masm(isolate, buffer, static_cast<int>(actual_size));
129 CpuFeatures::FlushICache(buffer, actual_size);
/external/chromium_org/testing/gtest/test/
H A Dgtest-listener_test.cc180 const int actual_size = data.size(); local
183 EXPECT_EQ(expected_data_size, actual_size);
186 const int shorter_size = expected_data_size <= actual_size ?
187 expected_data_size : actual_size;
195 for (; i < actual_size; ++i) {
/external/gtest/test/
H A Dgtest-listener_test.cc180 const int actual_size = data.size(); local
183 EXPECT_EQ(expected_data_size, actual_size);
186 const int shorter_size = expected_data_size <= actual_size ?
187 expected_data_size : actual_size;
195 for (; i < actual_size; ++i) {
/external/protobuf/gtest/test/
H A Dgtest-listener_test.cc192 const int actual_size = data.size(); local
195 EXPECT_EQ(expected_data_size, actual_size);
198 const int shorter_size = expected_data_size <= actual_size ?
199 expected_data_size : actual_size;
207 for (; i < actual_size; ++i) {
/external/chromium_org/base/memory/
H A Ddiscardable_memory_ashmem_allocator.cc138 // equal than |actual_size| (which is expected to be greater or equal than
150 size_t actual_size) {
151 DCHECK_LE(client_requested_size, actual_size);
163 client_requested_size, actual_size);
167 if (size_ - offset_ < actual_size) {
175 offset_, actual_size));
180 offset_ += actual_size;
239 size_t actual_size) {
242 free_chunks_.lower_bound(FreeChunk(actual_size)));
249 // |client_requested_size| is used below rather than |actual_size| t
148 Allocate_Locked( size_t client_requested_size, size_t actual_size) argument
237 ReuseFreeChunk_Locked( size_t client_requested_size, size_t actual_size) argument
[all...]
/external/chromium_org/mojo/system/
H A Dplatform_handle_dispatcher.h50 size_t* actual_size,
H A Dplatform_handle_dispatcher.cc100 size_t* actual_size,
113 *actual_size = sizeof(SerializedPlatformHandleDispatcher);
97 EndSerializeAndCloseImplNoLock( Channel* , void* destination, size_t* actual_size, embedder::PlatformHandleVector* platform_handles) argument
H A Dtransport_data.cc149 size_t actual_size = 0; local
154 &actual_size,
158 handle_table[i].size = static_cast<uint32_t>(actual_size);
162 DCHECK_LE(actual_size, all_max_sizes[i]);
174 current_offset += MessageInTransit::RoundUpMessageAlignment(actual_size);
/external/chromium_org/base/i18n/
H A Dicu_string_conversions.cc106 int actual_size = ucnv_fromUChars(converter, &(*encoded)[0], local
108 encoded->resize(actual_size);
187 int actual_size = ucnv_toUChars(converter, buffer.get(), local
196 utf16->assign(buffer.get(), actual_size);
252 int actual_size = ucnv_toAlgorithmic(utf32_platform_endian(), converter,
262 // actual_size is # of bytes.
263 wide->assign(buffer.get(), actual_size / sizeof(wchar_t));
/external/chromium_org/base/mac/
H A Dlibdispatch_task_runner_unittest.cc35 size_t actual_size = task_order_.size(); local
38 if (i >= actual_size) {
39 EXPECT_LE(i, actual_size) << "Expected " << expectations[i];
46 if (actual_size > num_expectations) {
47 EXPECT_LE(actual_size, num_expectations) << "Extra tasks were run:";
48 for (size_t i = num_expectations; i < actual_size; ++i) {
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/i915/drm/
H A Di915_drm_batchbuffer.c24 size_t actual_size; member in struct:i915_drm_batchbuffer
44 batch->actual_size,
47 memset(batch->base.map, 0, batch->actual_size);
49 batch->base.size = batch->actual_size - BATCH_RESERVED;
59 batch->actual_size = idws->max_batch_size;
61 batch->base.map = MALLOC(batch->actual_size);
/external/mesa3d/src/gallium/winsys/i915/drm/
H A Di915_drm_batchbuffer.c24 size_t actual_size; member in struct:i915_drm_batchbuffer
44 batch->actual_size,
47 memset(batch->base.map, 0, batch->actual_size);
49 batch->base.size = batch->actual_size - BATCH_RESERVED;
59 batch->actual_size = idws->max_batch_size;
61 batch->base.map = MALLOC(batch->actual_size);
/external/chromium_org/media/base/
H A Dyuv_convert_perftest.cc49 int64 actual_size = 0; local
50 base::GetFileSize(path, &actual_size);
51 CHECK_EQ(actual_size, kYUV12Size);
/external/chromium_org/third_party/tcmalloc/vendor/src/windows/
H A Dport.cc223 extern void* TCMalloc_SystemAlloc(size_t size, size_t *actual_size, argument
230 // Safest is to make actual_size same as input-size.
231 if (actual_size) {
232 *actual_size = size;

Completed in 551 milliseconds

1234