| /external/pdfium/third_party/agg23/ |
| agg_array.h | 42 void resize(unsigned new_size); 125 void pod_array<T>::resize(unsigned new_size) 127 if(new_size > m_size) { 128 if(new_size > m_capacity) { 129 T* data = FX_Alloc(T, new_size); 135 m_size = new_size;
|
| /external/protobuf/php/ext/google/protobuf/ |
| message.c | 97 size_t new_size = sink->size; local 102 while (sink->len + len > new_size) { 103 new_size *= 2; 106 if (new_size != sink->size) { 107 sink->ptr = realloc(sink->ptr, new_size); 108 sink->size = new_size;
|
| /external/python/cpython3/Modules/ |
| hashtable.c | 415 size_t buckets_size, new_size, bucket; local 419 new_size = round_size((size_t)(ht->entries * HASHTABLE_REHASH_FACTOR)); 420 if (new_size == ht->num_buckets) 425 buckets_size = new_size * sizeof(ht->buckets[0]); 436 ht->num_buckets = new_size; 446 entry_index = entry->key_hash & (new_size - 1);
|
| /external/elfutils/libelf/ |
| elf_compress.c | 67 returns the new buffer size in new_size (hsize + compressed data 74 size_t *new_size, bool force) 209 *new_size = used; 392 size_t orig_size, orig_addralign, new_size; local 395 &new_size, force); 442 shdr->sh_size = new_size; 449 shdr->sh_size = new_size; 454 __libelf_reset_rawdata (scn, out_buf, new_size, 1, ELF_T_CHDR);
|
| /external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.resize_file/ |
| resize_file.pass.cpp | 14 // void resize_file(const path& p, uintmax_t new_size); 15 // void resize_file(const path& p, uintmax_t new_size, error_code& ec) noexcept;
|
| /external/llvm/test/CodeGen/X86/ |
| fold-load.ll | 12 %new_size.0.i = select i1 false, i32 0, i32 0 ; <i32> [#uses=1] 23 %tmp35.i = tail call %struct._obstack_chunk* null( i32 %new_size.0.i ) ; <%struct._obstack_chunk*> [#uses=0]
|
| /external/perf_data_converter/src/quipper/ |
| perf_data_utils.h | 42 // to memory with a new size |new_size|. 43 event_t* ReallocMemoryForEvent(event_t* event, size_t new_size);
|
| /external/webp/src/utils/ |
| bit_writer_utils.c | 28 size_t new_size; local 37 new_size = 2 * bw->max_pos_; 38 if (new_size < needed_size) new_size = needed_size; 39 if (new_size < 1024) new_size = 1024; 40 new_buf = (uint8_t*)WebPSafeMalloc(1ULL, new_size); 51 bw->max_pos_ = new_size;
|
| /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/resize_policy/ |
| sample_resize_policy.hpp | 112 /// Notifies the table was resized to new_size. 114 notify_resized(size_type new_size);
|
| /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/ |
| hash_policy.hpp | 252 notify_resized(size_type new_size); 255 notify_externally_resized(size_type new_size); 265 do_resize(size_type new_size); 373 notify_resized(size_type new_size); 377 notify_externally_resized(size_type new_size); 586 notify_resized(size_type new_size); 599 /// Resizes to new_size. 601 do_resize(size_type new_size);
|
| /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ext/pb_ds/detail/resize_policy/ |
| sample_resize_policy.hpp | 112 /// Notifies the table was resized to new_size. 114 notify_resized(size_type new_size);
|
| /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ext/pb_ds/ |
| hash_policy.hpp | 252 notify_resized(size_type new_size); 255 notify_externally_resized(size_type new_size); 265 do_resize(size_type new_size); 373 notify_resized(size_type new_size); 377 notify_externally_resized(size_type new_size); 586 notify_resized(size_type new_size); 599 /// Resizes to new_size. 601 do_resize(size_type new_size);
|
| /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/filesystem/fs.op.funcs/fs.op.resize_file/ |
| resize_file.pass.cpp | 14 // void resize_file(const path& p, uintmax_t new_size); 15 // void resize_file(const path& p, uintmax_t new_size, error_code& ec) noexcept;
|
| /system/core/libutils/ |
| SharedBuffer.cpp | 100 SharedBuffer* SharedBuffer::reset(size_t new_size) const 103 SharedBuffer* sb = alloc(new_size);
|
| /system/update_engine/dbus_bindings/ |
| org.chromium.UpdateEngineInterface.dbus-xml | 35 <arg type="x" name="new_size" direction="out" /> 81 <arg type="x" name="new_size" />
|
| /art/runtime/ |
| linear_alloc.h | 35 void* Realloc(Thread* self, void* ptr, size_t old_size, size_t new_size) REQUIRES(!lock_);
|
| /external/boringssl/src/crypto/ |
| mem.c | 101 void *OPENSSL_realloc(void *orig_ptr, size_t new_size) { 103 return OPENSSL_malloc(new_size); 109 void *ret = OPENSSL_malloc(new_size); 114 size_t to_copy = new_size;
|
| /external/bsdiff/ |
| patch_writer.h | 33 bool Init(size_t new_size) override;
|
| split_patch_writer_unittest.cc | 21 size_t new_size) { 28 EXPECT_TRUE(patch_writer_->Init(new_size)); 131 EXPECT_EQ(10U, fake_patches_[i].new_size()) << "where i = " << i;
|
| /external/compiler-rt/lib/lsan/ |
| lsan_allocator.h | 26 void *Reallocate(const StackTrace &stack, void *p, uptr new_size,
|
| /external/compiler-rt/lib/sanitizer_common/ |
| sanitizer_malloc_mac.inc | 201 void *__sanitizer_mz_realloc(malloc_zone_t *zone, void *ptr, size_t new_size) { 203 COMMON_MALLOC_MALLOC(new_size); 208 COMMON_MALLOC_REALLOC(ptr, new_size); 212 // this would require reading at most |new_size| bytes from
|
| /external/compiler-rt/lib/tsan/rtl/ |
| tsan_stack_trace.h | 31 void ResizeBuffer(uptr new_size);
|
| /external/flatbuffers/include/flatbuffers/ |
| grpc.h | 108 size_t new_size) override { 111 assert(new_size > old_size); 113 grpc_slice new_slice = grpc_slice_malloc(new_size); 115 memcpy(new_p + (new_size - old_size), old_p, old_size);
|
| /external/mesa3d/src/gallium/auxiliary/os/ |
| os_memory.h | 58 os_realloc(void *ptr, size_t old_size, size_t new_size);
|
| /external/perfetto/src/base/ |
| watchdog_posix.cc | 227 void Watchdog::WindowedInterval::Reset(size_t new_size) { 229 size_ = new_size; 230 buffer_.reset(new_size == 0 ? nullptr : new uint64_t[new_size]());
|