| /external/mesa3d/src/gallium/auxiliary/pipebuffer/ |
| pb_validate.c | 87 unsigned new_size; local 90 new_size = vl->size * 2; 91 if(!new_size) 96 new_size*sizeof(struct pb_validate_entry)); 100 memset(new_entries + vl->size, 0, (new_size - vl->size)*sizeof(struct pb_validate_entry)); 102 vl->size = 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/ |
| hash_standard_resize_policy_imp.hpp | 167 notify_resized(size_type new_size) 169 trigger_policy_base::notify_resized(new_size); 170 m_size = new_size; 185 resize(size_type new_size) 189 while (actual_size < new_size) 193 if (pot == actual_size && pot < new_size)
|
| sample_resize_trigger.hpp | 116 notify_resized(size_type new_size); 120 notify_externally_resized(size_type new_size); 131 /// Resizes to 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/ |
| hash_standard_resize_policy_imp.hpp | 167 notify_resized(size_type new_size) 169 trigger_policy_base::notify_resized(new_size); 170 m_size = new_size; 185 resize(size_type new_size) 189 while (actual_size < new_size) 193 if (pot == actual_size && pot < new_size)
|
| sample_resize_trigger.hpp | 116 notify_resized(size_type new_size); 120 notify_externally_resized(size_type new_size); 131 /// Resizes to new_size.
|
| /external/mesa3d/src/gallium/drivers/ilo/core/ |
| ilo_builder.c | 229 * Grow a mapped writer to at least \p new_size. 234 unsigned new_size, bool preserve) 247 if (new_size < writer->size << 1) 248 new_size = writer->size << 1; 250 new_size = align(new_size, 4096); 252 new_bo = alloc_writer_bo(builder->winsys, which, new_size); 269 new_ptr = REALLOC(writer->ptr, writer->size, new_size); 271 new_ptr = MALLOC(new_size); 286 writer->size = new_size; [all...] |
| /external/libtextclassifier/util/utf8/ |
| unicodetext.cc | 53 void UnicodeText::Repr::resize(int new_size) { 54 if (new_size == 0) { 57 if (!ours_ || new_size > capacity_) reserve(new_size); 59 if (size_ < new_size) memset(data_ + size_, 0, new_size - size_); 60 size_ = new_size;
|
| /external/valgrind/callgrind/ |
| jumps.c | 85 Int i, new_size, conflicts1 = 0, conflicts2 = 0; local 90 new_size = 2* current_jccs.size +3; 92 new_size * sizeof(jCC*)); 94 for (i = 0; i < new_size; i++) 105 curr_jcc->to, new_size); 123 current_jccs.size, new_size, 126 current_jccs.size = new_size;
|
| /external/bsdiff/ |
| endsley_patch_writer.cc | 34 bool EndsleyPatchWriter::Init(size_t new_size) { 38 // new_size + 24 * len(control_entries) + sizeof(header) 40 // enough space to hold at least |new_size|. 42 patch_->reserve(new_size); 63 EncodeInt64(new_size, header + 16);
|
| /external/elfutils/libelf/ |
| elf_compress_gnu.c | 101 size_t orig_size, new_size, orig_addralign; local 104 &new_size, force); 124 shdr->sh_size = new_size; 129 shdr->sh_size = new_size; 132 __libelf_reset_rawdata (scn, out_buf, new_size, 1, ELF_T_BYTE);
|
| /system/update_engine/client_library/ |
| client_dbus.cc | 149 int64_t new_size; local 155 &new_size)) { 163 last_checked_time, progress, update_status, new_version, new_size); 172 int64_t new_size) { 178 last_checked_time, progress, status, new_version, new_size);
|
| /system/core/libutils/ |
| VectorImpl.cpp | 388 size_t new_size; 389 LOG_ALWAYS_FATAL_IF(!safe_add(&new_size, mCount, amount), "new_size overflow"); 391 if (capacity() < new_size) { 400 LOG_ALWAYS_FATAL_IF(!safe_add(&new_capacity, new_size, (new_size / 2)), 449 mCount = new_size; 466 size_t new_size; 467 LOG_ALWAYS_FATAL_IF(!safe_sub(&new_size, mCount, amount)); 469 if (new_size < (capacity() / 2)) [all...] |
| /external/e2fsprogs/resize/ |
| resize2fs.h | 144 extern errcode_t resize_fs(ext2_filsys fs, blk64_t *new_size, int flags, 151 blk64_t new_size); 171 blk64_t *new_size, int flags);
|
| /external/libmicrohttpd/src/microhttpd/ |
| memorypool.h | 88 * @param new_size the new size of the block 90 * NULL if the pool cannot support new_size 97 size_t new_size);
|
| memorypool.c | 202 * @param new_size the new size of the block 204 * NULL if the pool cannot support @a new_size 211 size_t new_size) 216 asize = ROUND_TO_ALIGN (new_size); 217 if ( (0 == asize) && (0 != new_size) ) 218 return NULL; /* new_size too close to SIZE_MAX */
|
| /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/binary_heap_/ |
| insert_fn_imps.hpp | 86 const size_type new_size = resize_policy::get_new_size_for_grow(); 87 entry_pointer new_entries = s_entry_allocator.allocate(new_size); 92 m_actual_size = 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/binary_heap_/ |
| insert_fn_imps.hpp | 86 const size_type new_size = resize_policy::get_new_size_for_grow(); 87 entry_pointer new_entries = s_entry_allocator.allocate(new_size); 92 m_actual_size = new_size;
|
| /system/extras/ioshark/ |
| ioshark_bench.h | 68 files_db_update_size(void *node, u_int64_t new_size) 72 if (db_node->size < new_size) 73 db_node->size = new_size;
|
| /system/keymaster/android_keymaster/ |
| serializable.cpp | 72 size_t new_size = buffer_size_ + size - available_write(); local 73 uint8_t* new_buffer = new (std::nothrow) uint8_t[new_size]; 79 buffer_size_ = new_size;
|
| /system/libufdt/ |
| ufdt_prop_dict.c | 103 int new_size = dict->mem_size * 2; local 105 _ufdt_prop_dict_construct_int(&temp_dict, dict->fdtp, new_size); 122 dict->mem_size = new_size;
|
| /external/libcxx/src/ |
| strstream.cpp | 163 size_t new_size = max<size_t>(static_cast<size_t>(__alsize_), 2*old_size); local 164 if (new_size == 0) 165 new_size = __default_alsize; 168 buf = static_cast<char*>(__palloc_(new_size)); 170 buf = new char[new_size]; 188 setp(buf + einp, buf + new_size);
|
| /external/libxml2/ |
| testOOM.c | 112 size_t new_size = b->max ? b->max : 512; local 113 while (new_size < b->len + min) 114 new_size *= 2; 115 if (new_size > b->max) { 116 new_str = realloc (b->str, new_size); 120 b->max = new_size;
|
| /external/mesa3d/src/gallium/drivers/radeon/ |
| radeon_video.c | 89 struct rvid_buffer *new_buf, unsigned new_size) 93 unsigned bytes = MIN2(new_buf->res->buf->size, new_size); 97 if (!rvid_create_buffer(screen, new_buf, new_size, new_buf->usage)) 109 if (new_size > bytes) { 110 new_size -= bytes; 112 memset(dst, 0, new_size);
|
| /external/v8/src/wasm/ |
| wasm-code-specialization.cc | 69 uint32_t new_size) { 72 DCHECK(old_start != new_start || old_size != new_size); 76 new_mem_size = new_size; 86 void CodeSpecialization::PatchTableSize(uint32_t old_size, uint32_t new_size) { 88 DCHECK(old_size != 0 || new_size != 0); 90 new_function_table_size = new_size;
|
| /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/src/ |
| strstream.cpp | 163 size_t new_size = max<size_t>(static_cast<size_t>(__alsize_), 2*old_size); local 164 if (new_size == 0) 165 new_size = __default_alsize; 168 buf = static_cast<char*>(__palloc_(new_size)); 170 buf = new char[new_size]; 188 setp(buf + einp, buf + new_size);
|