/external/chromium_org/third_party/libwebp/utils/ |
bit_writer.c | 31 const size_t needed_size = (size_t)needed_size_64b; local 32 if (needed_size_64b != needed_size) { 36 if (needed_size <= bw->max_pos_) return 1; 39 if (new_size < needed_size) new_size = needed_size;
|
/external/webp/src/utils/ |
bit_writer.c | 31 const size_t needed_size = (size_t)needed_size_64b; local 32 if (needed_size_64b != needed_size) { 36 if (needed_size <= bw->max_pos_) return 1; 39 if (new_size < needed_size) new_size = needed_size;
|
/external/chromium/net/spdy/ |
spdy_frame_builder.cc | 150 size_t needed_size = length_ + length; local 151 if (needed_size > capacity_ && !Resize(std::max(capacity_ * 2, needed_size)))
|
/external/chromium_org/cc/scheduler/ |
texture_uploader.cc | 202 size_t needed_size = upload_image_stride * source_rect.height(); local 203 if (sub_image_size_ < needed_size) { 204 sub_image_.reset(new uint8[needed_size]); 205 sub_image_size_ = needed_size;
|
/external/compiler-rt/lib/asan/ |
asan_allocator2.cc | 334 uptr needed_size = rounded_size + rz_size; local 336 needed_size += alignment; 340 if (!PrimaryAllocator::CanAllocate(needed_size, alignment)) { 341 needed_size += rz_size; 344 CHECK(IsAligned(needed_size, min_alignment)); 345 if (size > kMaxAllowedMallocSize || needed_size > kMaxAllowedMallocSize) { 355 allocated = allocator.Allocate(cache, needed_size, 8, false); 359 allocated = allocator.Allocate(cache, needed_size, 8, false); 362 uptr alloc_end = alloc_beg + needed_size; 415 thread_stats.malloced_redzones += needed_size - size [all...] |
/external/oprofile/libregex/ |
op_regex.cpp | 28 size_t needed_size = regerror(err, ®exp, 0, 0); local 29 char * buffer = new char[needed_size]; 30 regerror(err, ®exp, buffer, needed_size);
|
/external/chromium/base/ |
pickle.cc | 384 size_t needed_size = header_size_ + new_size; local 385 if (needed_size > capacity_ && !Resize(std::max(capacity_ * 2, needed_size)))
|
/system/extras/ext4_utils/ |
contents.c | 373 size_t needed_size = EXT4_XATTR_LEN(name_len) + EXT4_XATTR_SIZE(value_len); local 375 if (needed_size > available_size)
|