/external/chromium_org/content/browser/loader/ |
resource_buffer.cc | 151 int aligned_size = (new_size / min_alloc_size_) * min_alloc_size_; local 152 if (aligned_size < new_size) 153 aligned_size += min_alloc_size_; 155 DCHECK_LE(new_size, aligned_size); 156 DCHECK_GE(alloc_sizes_.back(), aligned_size); 159 alloc_end_ -= (*last_allocation_size - aligned_size); 160 *last_allocation_size = aligned_size;
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
memfs_malloc.cc | 132 size_t aligned_size = ((size + new_alignment - 1) / local 134 if (aligned_size < size) { 138 void* result = AllocInternal(aligned_size, actual_size, new_alignment);
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
memfs_malloc.cc | 132 size_t aligned_size = ((size + new_alignment - 1) / local 134 if (aligned_size < size) { 138 void* result = AllocInternal(aligned_size, actual_size, new_alignment);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
compute_memory_pool.c | 430 int64_t aligned_size = pool->size_in_dw; local 446 &(struct pipe_box) { .width = aligned_size, 456 &(struct pipe_box) { .width = aligned_size,
|
/external/compiler-rt/lib/asan/ |
asan_globals.cc | 53 uptr aligned_size = RoundUpTo(g.size, SHADOW_GRANULARITY); local 54 FastPoisonShadow(g.beg + aligned_size, g.size_with_redzone - aligned_size, 56 if (g.size != aligned_size) {
|
/external/mesa3d/src/gallium/drivers/r600/ |
compute_memory_pool.c | 430 int64_t aligned_size = pool->size_in_dw; local 446 &(struct pipe_box) { .width = aligned_size, 456 &(struct pipe_box) { .width = aligned_size,
|
/external/chromium_org/base/memory/ |
discardable_memory_allocator_android.cc | 378 const size_t aligned_size = internal::AlignToNextPage(size); local 388 (*it)->Allocate_Locked(size, aligned_size)); 394 std::max(static_cast<size_t>(kMinAshmemRegionSize), aligned_size), 401 return ashmem_regions_.back()->Allocate_Locked(size, aligned_size);
|
discardable_memory_android.cc | 228 const size_t aligned_size = internal::AlignToNextPage(size); local 237 if (aligned_size >= kAllocatorRegionSize || 241 if (internal::CreateAshmemRegion("", aligned_size, &fd, &address)) { 243 new DiscardableMemoryAndroidSimple(fd, address, aligned_size));
|
/external/chromium_org/v8/src/ |
platform-freebsd.cc | 232 size_t aligned_size = RoundUp(size, OS::AllocateAlignment()); local 233 ASSERT_LE(aligned_size, request_size); 235 if (aligned_size != request_size) { 236 size_t suffix_size = request_size - aligned_size; 237 OS::Free(aligned_base + aligned_size, suffix_size); 241 ASSERT(aligned_size == request_size); 244 size_ = aligned_size;
|
platform-linux.cc | 338 size_t aligned_size = RoundUp(size, OS::AllocateAlignment()); local 339 ASSERT_LE(aligned_size, request_size); 341 if (aligned_size != request_size) { 342 size_t suffix_size = request_size - aligned_size; 343 OS::Free(aligned_base + aligned_size, suffix_size); 347 ASSERT(aligned_size == request_size); 350 size_ = aligned_size;
|
platform-macos.cc | 234 size_t aligned_size = RoundUp(size, OS::AllocateAlignment()); local 235 ASSERT_LE(aligned_size, request_size); 237 if (aligned_size != request_size) { 238 size_t suffix_size = request_size - aligned_size; 239 OS::Free(aligned_base + aligned_size, suffix_size); 243 ASSERT(aligned_size == request_size); 246 size_ = aligned_size;
|
platform-openbsd.cc | 264 size_t aligned_size = RoundUp(size, OS::AllocateAlignment()); local 265 ASSERT_LE(aligned_size, request_size); 267 if (aligned_size != request_size) { 268 size_t suffix_size = request_size - aligned_size; 269 OS::Free(aligned_base + aligned_size, suffix_size); 273 ASSERT(aligned_size == request_size); 276 size_ = aligned_size;
|
platform-solaris.cc | 244 size_t aligned_size = RoundUp(size, OS::AllocateAlignment()); local 245 ASSERT_LE(aligned_size, request_size); 247 if (aligned_size != request_size) { 248 size_t suffix_size = request_size - aligned_size; 249 OS::Free(aligned_base + aligned_size, suffix_size); 253 ASSERT(aligned_size == request_size); 256 size_ = aligned_size;
|
/external/qemu/android/ |
snapshot.c | 157 uint32_t aligned_size = ((total_size - 1) / 8 + 1) * 8; local 160 seek_or_die(fd, start_offset + aligned_size, SEEK_SET);
|
/external/linux-tools-perf/util/ |
header.c | 1138 ssize_t size = 0, aligned_size = 0, padding; local 1149 aligned_size = KERNEL_ALIGN(size, sizeof(u64)); 1151 aligned_size = ALIGN(size, sizeof(u64)); 1154 padding = aligned_size - size; 1156 ev.tracing_data.size = aligned_size; 1163 return aligned_size;
|
/external/v8/src/ |
platform-freebsd.cc | 376 size_t aligned_size = RoundUp(size, OS::AllocateAlignment()); local 377 ASSERT_LE(aligned_size, request_size); 379 if (aligned_size != request_size) { 380 size_t suffix_size = request_size - aligned_size; 381 OS::Free(aligned_base + aligned_size, suffix_size); 385 ASSERT(aligned_size == request_size); 388 size_ = aligned_size;
|
platform-macos.cc | 385 size_t aligned_size = RoundUp(size, OS::AllocateAlignment()); local 386 ASSERT_LE(aligned_size, request_size); 388 if (aligned_size != request_size) { 389 size_t suffix_size = request_size - aligned_size; 390 OS::Free(aligned_base + aligned_size, suffix_size); 394 ASSERT(aligned_size == request_size); 397 size_ = aligned_size;
|
platform-solaris.cc | 366 size_t aligned_size = RoundUp(size, OS::AllocateAlignment()); local 367 ASSERT_LE(aligned_size, request_size); 369 if (aligned_size != request_size) { 370 size_t suffix_size = request_size - aligned_size; 371 OS::Free(aligned_base + aligned_size, suffix_size); 375 ASSERT(aligned_size == request_size); 378 size_ = aligned_size;
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/ext/ |
bitmap_allocator.h | 730 struct aligned_size struct in class:bitmap_allocator 741 char __M_unused[aligned_size<sizeof(value_type),
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/ext/ |
bitmap_allocator.h | 711 struct aligned_size struct in class:bitmap_allocator 722 char __M_unused[aligned_size<sizeof(value_type),
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/ext/ |
bitmap_allocator.h | 711 struct aligned_size struct in class:bitmap_allocator 722 char __M_unused[aligned_size<sizeof(value_type),
|
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/ext/ |
bitmap_allocator.h | 730 struct aligned_size struct in class:bitmap_allocator 741 char __M_unused[aligned_size<sizeof(value_type),
|
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/ext/ |
bitmap_allocator.h | 730 struct aligned_size struct in class:bitmap_allocator 741 char __M_unused[aligned_size<sizeof(value_type),
|
/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/ext/ |
bitmap_allocator.h | 730 struct aligned_size struct in class:bitmap_allocator 741 char __M_unused[aligned_size<sizeof(value_type),
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/ext/ |
bitmap_allocator.h | 730 struct aligned_size struct in class:bitmap_allocator 741 char __M_unused[aligned_size<sizeof(value_type),
|