Searched refs:old_size (Results 1 - 25 of 159) sorted by relevance

1234567

/external/jemalloc/test/integration/
H A Dchunk.c25 size_t old_size, new_size; local
29 old_size = sizeof(chunk_alloc_t *);
33 &old_size, &new_alloc, new_size), 0,
37 assert_d_eq(mallctl("arena.0.chunk.dalloc", &old_dalloc, &old_size,
46 NULL, &old_alloc, old_size), 0,
49 old_size), 0, "Unexpected dalloc error");
/external/chromium_org/content/common/gpu/
H A Dgpu_memory_tracking.cc27 uint64 old_size,
31 this, old_size, new_size, tracking_pool);
26 TrackMemoryAllocatedChange( uint64 old_size, uint64 new_size, gpu::gles2::MemoryTracker::Pool tracking_pool) argument
H A Dgpu_memory_manager.cc32 void TrackValueChanged(uint64 old_size, uint64 new_size, uint64* total_size) { argument
33 DCHECK(new_size > old_size || *total_size >= (old_size - new_size));
34 *total_size += (new_size - old_size);
139 uint64 old_size,
142 TrackValueChanged(old_size, new_size, &tracking_group->size_);
145 TrackValueChanged(old_size, new_size, &bytes_allocated_managed_current_);
148 TrackValueChanged(old_size,
156 if (new_size != old_size) {
137 TrackMemoryAllocatedChange( GpuMemoryTrackingGroup* tracking_group, uint64 old_size, uint64 new_size, gpu::gles2::MemoryTracker::Pool tracking_pool) argument
H A Dgpu_memory_tracking.h23 uint64 old_size,
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/os/
H A Dos_memory.h58 os_realloc(void *ptr, size_t old_size, size_t new_size);
H A Dos_memory_debug.h61 void *old_ptr, size_t old_size, size_t new_size );
/external/eigen/Eigen/src/Eigen2Support/
H A DMemory.h17 inline void* ei_aligned_realloc(void *ptr, size_t new_size, size_t old_size) { return internal::aligned_realloc(ptr, new_size, old_size); } argument
29 template<bool Align> inline void* ei_conditional_aligned_realloc(void* ptr, size_t new_size, size_t old_size) argument
31 return internal::conditional_aligned_realloc<Align>(ptr, new_size, old_size);
/external/mesa3d/src/gallium/auxiliary/os/
H A Dos_memory.h58 os_realloc(void *ptr, size_t old_size, size_t new_size);
H A Dos_memory_debug.h61 void *old_ptr, size_t old_size, size_t new_size );
/external/chromium_org/content/public/browser/
H A Dbrowser_plugin_guest_delegate.h44 virtual void ElementSizeChanged(const gfx::Size& old_size, argument
50 virtual void GuestSizeChanged(const gfx::Size& old_size, argument
/external/oprofile/libutil/
H A Dop_growable_buffer.c41 size_t old_size = b->size; local
45 memcpy(b->p + old_size, data, len);
/external/chromium_org/courgette/third_party/
H A Dbsdiff_apply.cc62 const uint8* old_start, size_t old_size,
64 const uint8* old_end = old_start + old_size;
162 size_t old_size = old_stream->Remaining(); local
164 if (old_size != header.slen) return UNEXPECTED_ERROR;
166 if (CalculateCrc(old_start, old_size) != header.scrc32)
169 MBS_ApplyPatch(&header, patch_stream, old_start, old_size, new_stream);
60 MBS_ApplyPatch(const MBSPatchHeader *header, SourceStream* patch_stream, const uint8* old_start, size_t old_size, SinkStream* new_stream) argument
/external/chromium_org/third_party/boringssl/src/crypto/
H A Dmem.c72 void *OPENSSL_realloc_clean(void *ptr, size_t old_size, size_t new_size) { argument
84 * |old_size| bytes to the new buffer, below. */
85 if (new_size < old_size) {
94 memcpy(ret, ptr, old_size);
95 OPENSSL_cleanse(ptr, old_size);
/external/chromium_org/chrome/renderer/net/
H A Drenderer_net_predictor.cc49 size_t old_size = c_string_queue_.Size();
53 DCHECK_EQ(old_size, 0u);
54 if (0 != old_size)
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_vector.h85 uptr old_size = Size(); local
87 if (old_size < size) {
88 for (uptr i = old_size; i < size; i++)
/external/e2fsprogs/e2fsck/
H A Ddx_dirinfo.c21 unsigned long old_size; local
36 old_size = ctx->dx_dir_info_size * sizeof(struct dx_dir_info);
38 retval = ext2fs_resize_mem(old_size, ctx->dx_dir_info_size *
/external/eigen/Eigen/src/Core/util/
H A DMemory.h152 inline void* generic_aligned_realloc(void* ptr, size_t size, size_t old_size) argument
174 std::memcpy(newptr, ptr, (std::min)(size,old_size));
260 inline void* aligned_realloc(void *ptr, size_t new_size, size_t old_size) argument
262 EIGEN_UNUSED_VARIABLE(old_size);
270 result = generic_aligned_realloc(ptr,new_size,old_size);
278 result = generic_aligned_realloc(ptr,new_size,old_size);
283 result = handmade_aligned_realloc(ptr,new_size,old_size);
325 template<bool Align> inline void* conditional_aligned_realloc(void* ptr, size_t new_size, size_t old_size) argument
327 return aligned_realloc(ptr, new_size, old_size);
405 template<typename T, bool Align> inline T* conditional_aligned_realloc_new(T* pts, size_t new_size, size_t old_size) argument
427 conditional_aligned_realloc_new_auto(T* pts, size_t new_size, size_t old_size) argument
[all...]
/external/chromium_org/content/browser/renderer_host/
H A Drenderer_frame_manager.cc91 size_t old_size = unlocked_frames_.size(); local
94 DCHECK_EQ(unlocked_frames_.size() + 1, old_size);
/external/oprofile/opjitconv/
H A Ddebug_line.c378 size_t old_size; local
380 old_size = b->size;
392 dbg_header = b->p + old_size;
393 dbg_header->prolog_length = (b->size - old_size) -
400 dbg_header = b->p + old_size;
401 dbg_header->total_length = (b->size - old_size) -
411 size_t old_size = b->size; local
419 comp_unit_header = b->p + old_size;
420 comp_unit_header->total_length = (b->size - old_size) -
/external/chromium_org/third_party/protobuf/src/google/protobuf/io/
H A Dzero_copy_stream_impl_lite.cc156 int old_size = target_->size(); local
159 if (old_size < target_->capacity()) {
168 max(old_size * 2,
172 *data = string_as_array(target_) + old_size;
173 *size = target_->size() - old_size;
/external/compiler-rt/lib/msan/
H A Dmsan_allocator.cc155 uptr old_size = meta->requested_size; local
160 if (new_size > old_size)
161 __msan_poison((char*)old_p + old_size, new_size - old_size);
164 uptr memcpy_size = Min(new_size, old_size);
166 // Printf("realloc: old_size %zd new_size %zd\n", old_size, new_size);
/external/protobuf/src/google/protobuf/io/
H A Dzero_copy_stream_impl_lite.cc154 int old_size = target_->size(); local
157 if (old_size < target_->capacity()) {
166 max(old_size * 2,
170 *data = string_as_array(target_) + old_size;
171 *size = target_->size() - old_size;
/external/valgrind/main/drd/
H A Ddrd_malloc_wrappers.c182 SizeT old_size; local
204 old_size = mc->size;
206 if (old_size == new_size)
212 else if (new_size < old_size)
215 s_stop_using_mem_callback(mc->data + new_size, old_size - new_size);
/external/chromium_org/chrome/browser/extensions/
H A Dextension_warning_badge_service.cc100 size_t old_size = suppressed_warnings_.size(); local
105 if (old_size != suppressed_warnings_.size())
/external/chromium_org/extensions/browser/
H A Dwarning_service.cc76 size_t old_size = warnings_.size(); local
80 if (old_size != warnings_.size())

Completed in 656 milliseconds

1234567