HomeSort by relevance Sort by last modified time
    Searched defs:old_size (Results 51 - 75 of 105) sorted by null

1 23 4 5

  /bionic/linker/
linker_allocator.cpp 289 size_t old_size = 0; local
292 old_size = info->allocated_size - sizeof(page_info);
299 old_size = allocator->get_block_size();
302 if (old_size < size) {
304 memcpy(result, ptr, old_size);
  /external/e2fsprogs/lib/ext2fs/
badblocks.c 111 unsigned long old_size; local
116 old_size = bb->size * sizeof(__u32);
118 retval = ext2fs_resize_mem(old_size, bb->size * sizeof(__u32),
dblist.c 164 unsigned long old_size; local
169 old_size = dblist->size * sizeof(struct ext2_db_entry2);
171 retval = ext2fs_resize_mem(old_size, (size_t) dblist->size *
175 dblist->size = old_size / sizeof(struct ext2_db_entry2);
fileio.c 449 ext2_off64_t old_size; local
460 old_size = EXT2_I_SIZE(&file->inode);
461 old_truncate = ((old_size + file->fs->blocksize - 1) >>
  /external/jemalloc/test/integration/
chunk.c 123 size_t old_size, new_size, large0, large1, huge0, huge1, huge2, sz; local
136 old_size = sizeof(chunk_hooks_t);
138 assert_d_eq(mallctl("arena.0.chunk_hooks", &old_hooks, &old_size,
252 assert_d_eq(mallctl("arena.0.chunk_hooks", &old_hooks, &old_size,
  /external/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/
size_string_size_size.pass.cpp 28 typename S::size_type old_size = s.size(); local
34 assert(pos1 <= old_size && pos2 <= str.size());
39 assert(pos1 > old_size || pos2 > str.size());
48 typename S::size_type old_size = s.size(); local
54 assert(pos1 <= old_size && pos2 <= str.size());
59 assert(pos1 > old_size || pos2 > str.size());
    [all...]
  /external/protobuf/src/google/protobuf/io/
zero_copy_stream_impl_lite.cc 158 int old_size = target_->size(); local
161 if (old_size < target_->capacity()) {
167 if (old_size > std::numeric_limits<int>::max() / 2) {
169 // overflow in the expression below: old_size * 2 ";
178 max(old_size * 2,
182 *data = mutable_string_data(target_) + old_size;
183 *size = target_->size() - old_size;
  /external/valgrind/cachegrind/
cg_arch.c 219 UInt old_size = (UInt)LLc->size; local
223 UInt new_size = old_size;
227 UInt old_nSets = old_size / (old_assoc * old_line_size);
258 if (new_size == old_size && new_assoc == old_assoc)
263 old_line_size, old_assoc, old_size);
  /external/valgrind/drd/
drd_malloc_wrappers.c 182 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);
  /ndk/sources/android/support/tests/minitest/
minitest.cc 33 size_t old_size = size_; local
34 Resize(old_size + other.size_);
35 ::memcpy(str_ + old_size, other.str_, other.size_);
41 size_t old_size = size_; local
42 Resize(old_size + len);
43 ::memcpy(str_ + old_size, str, len);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.modifiers/string_insert/
size_string_size_size.pass.cpp 28 typename S::size_type old_size = s.size(); local
34 assert(pos1 <= old_size && pos2 <= str.size());
39 assert(pos1 > old_size || pos2 > str.size());
48 typename S::size_type old_size = s.size(); local
54 assert(pos1 <= old_size && pos2 <= str.size());
59 assert(pos1 > old_size || pos2 > str.size());
    [all...]
  /ndk/sources/cxx-stl/stlport/src/
strstream.cpp 122 ptrdiff_t old_size = epptr() - pbase(); local
123 ptrdiff_t new_size = (max)(2 * old_size, ptrdiff_t(1));
127 memcpy(buf, pbase(), old_size);
138 pbump((int)old_size);
141 setg(buf, buf + old_get_offset, buf + (max)(old_get_offset, old_size));
  /external/compiler-rt/lib/msan/
msan_allocator.cc 186 uptr old_size = meta->requested_size; local
191 if (new_size > old_size) {
193 __msan_clear_and_unpoison((char *)old_p + old_size,
194 new_size - old_size);
197 PoisonMemory((char *)old_p + old_size, new_size - old_size, stack);
202 uptr memcpy_size = Min(new_size, old_size);
204 // Printf("realloc: old_size %zd new_size %zd\n", old_size, new_size);
  /external/e2fsprogs/e2fsck/
dirinfo.c 123 unsigned long old_size; local
133 old_size = ctx->dir_info->size * sizeof(struct dir_info);
135 retval = ext2fs_resize_mem(old_size, ctx->dir_info->size *
  /external/freetype/src/base/
ftbitmap.c 510 FT_ULong old_size; local
517 old_size = target->rows * (FT_UInt)old_target_pitch;
537 if ( target->rows * (FT_ULong)target_pitch > old_size &&
539 old_size, target->rows * (FT_UInt)target_pitch ) )
  /external/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/
size_size_string_size_size.pass.cpp 30 typename S::size_type old_size = s.size(); local
36 assert(pos1 <= old_size && pos2 <= str.size());
38 typename S::size_type xlen = std::min(n1, old_size - pos1);
40 assert(s.size() == old_size - xlen + rlen);
44 assert(pos1 > old_size || pos2 > str.size());
55 typename S::size_type old_size = s.size(); local
61 assert(pos1 <= old_size && pos2 <= str.size());
63 typename S::size_type xlen = std::min(n1, old_size - pos1);
65 assert(s.size() == old_size - xlen + rlen);
69 assert(pos1 > old_size || pos2 > str.size())
    [all...]
  /external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/base/
ftbitmap.c 510 FT_ULong old_size; local
517 old_size = target->rows * (FT_UInt)old_target_pitch;
537 if ( target->rows * (FT_ULong)target_pitch > old_size &&
539 old_size, target->rows * (FT_UInt)target_pitch ) )
  /external/libunwind/src/x86_64/
Gtrace.c 142 size_t old_size = (1u << cache->log_size); local
153 munmap(cache->frames, old_size * sizeof(unw_tdep_frame_t));
  /external/pdfium/core/src/fxcodec/codec/
fx_codec.cpp 331 FX_DWORD old_size = 0; local
335 old_size = dest_size;
337 if (dest_size < old_size) {
342 old_size = dest_size;
344 if (dest_size < old_size) {
  /external/pdfium/third_party/freetype/src/base/
ftbitmap.c 510 FT_ULong old_size; local
517 old_size = target->rows * (FT_UInt)old_target_pitch;
537 if ( target->rows * (FT_ULong)target_pitch > old_size &&
539 old_size, target->rows * (FT_UInt)target_pitch ) )
  /external/protobuf/src/google/protobuf/
message_lite.cc 278 int old_size = output->size(); local
280 STLStringResizeUninitialized(output, old_size + byte_size);
282 reinterpret_cast<uint8*>(io::mutable_string_data(output) + old_size);
  /hardware/intel/common/libva/va/
va_fool.c 226 unsigned int old_size; local
229 old_size = fool_ctx->fool_buf_size[type] * fool_ctx->fool_buf_element[type];
231 if (old_size < new_size)
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.modifiers/string_replace/
size_size_string_size_size.pass.cpp 30 typename S::size_type old_size = s.size(); local
36 assert(pos1 <= old_size && pos2 <= str.size());
38 typename S::size_type xlen = std::min(n1, old_size - pos1);
40 assert(s.size() == old_size - xlen + rlen);
44 assert(pos1 > old_size || pos2 > str.size());
55 typename S::size_type old_size = s.size(); local
61 assert(pos1 <= old_size && pos2 <= str.size());
63 typename S::size_type xlen = std::min(n1, old_size - pos1);
65 assert(s.size() == old_size - xlen + rlen);
69 assert(pos1 > old_size || pos2 > str.size())
    [all...]
  /external/ltrace/
dict.c 293 size_t old_size = tmp.status.size; local
295 memset(VECT_ELEMENT(&tmp.status, struct status_bits, old_size),
296 0, (tmp.status.size - old_size) * tmp.status.elt_size);
  /external/pdfium/samples/
image_diff_png.cc 375 size_t old_size = state->out->size(); local
376 state->out->resize(old_size + size);
377 memcpy(&(*state->out)[old_size], data, size);

Completed in 794 milliseconds

1 23 4 5