| /system/bt/include/hardware/avrcp/ |
| avrcp_common.h | 170 void resize(size_t new_size) { 171 new_size = new_size < kHeaderSize() ? 0 : new_size - kHeaderSize(); 172 if (value_.size() > new_size) { 173 value_.resize(new_size);
|
| /external/libchrome/base/ |
| pickle.cc | 361 size_t new_size = write_offset_ + data_len; local 362 if (new_size > capacity_after_header_) 363 Resize(capacity_after_header_ * 2 + new_size); 458 size_t new_size = write_offset_ + data_len; local 459 if (new_size > capacity_after_header_) { 464 Resize(std::max(new_capacity, new_size)); 469 header_->payload_size = static_cast<uint32_t>(new_size); 470 write_offset_ = new_size;
|
| /external/mesa3d/src/gallium/auxiliary/util/ |
| u_debug_memory.c | 223 void *old_ptr, size_t old_size, size_t new_size ) 230 return debug_malloc( file, line, function, new_size ); 232 if(!new_size) { 255 new_hdr = os_malloc(sizeof(*new_hdr) + new_size + sizeof(*new_ftr)); 259 (long unsigned)new_size); 266 new_hdr->size = new_size; 282 memcpy( new_ptr, old_ptr, old_size < new_size ? old_size : new_size );
|
| /external/perf_data_converter/src/quipper/ |
| perf_data_utils.cc | 20 event_t* ReallocMemoryForEvent(event_t* event, size_t new_size) { 21 event_t* new_event = reinterpret_cast<event_t*>(realloc(event, new_size));
|
| /external/swiftshader/third_party/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]
|
| /system/core/property_service/libpropertyinfoserializer/ |
| trie_node_arena.h | 80 auto new_size = (current_data_pointer_ + aligned_size + data_.size()) * 2; local 81 data_.resize(new_size, '\0');
|
| /external/abi-compliance-checker/modules/ |
| RulesBin.xml | 292 Size of this class has been increased from @old_size to @new_size. 311 Size of this class has been decreased from @old_size to @new_size. 329 Size of this class has been changed from @old_size to @new_size. 423 1) Size of the class has been changed from @old_size to @new_size. 462 2) Size of the class has been changed from @old_size to @new_size. 517 1) Size of the class has been changed from @old_size to @new_size. 574 2) Size of the class has been changed from @old_size to @new_size. 626 Size of this type has been changed from @old_size to @new_size. 662 Size of this type has been changed from @old_size to @new_size. 1215 Type of field @target has been changed from @old_value (@old_size) to @new_value (@new_size) [all...] |
| /system/update_engine/ |
| update_engine_client.cc | 138 int64_t new_size) override; 143 const string& new_version, int64_t new_size) { 150 LOG(INFO) << " new_size: " << new_size; 158 int64_t new_size = 0; local 163 &new_version, &new_size)) { 178 new_version.c_str(), new_size); 188 int64_t new_size = 0; local 191 &new_version, &new_size)) { 214 int64_t new_size) override [all...] |
| /external/libchrome/base/memory/ |
| scoped_vector.h | 89 void resize(size_t new_size) { 90 if (v_.size() > new_size) { 91 for (auto it = v_.begin() + new_size; it != v_.end(); ++it) 94 v_.resize(new_size);
|
| /external/pdfium/xfa/fxgraphics/ |
| cxfa_gepath.cpp | 44 CFX_SizeF new_size = size / 2.0f; local 45 ArcToInternal(CFX_PointF(pos.x + new_size.width, pos.y + new_size.height), 46 new_size, start_angle, sweep_angle); local
|
| /external/syslinux/gpxe/src/include/ |
| stdlib.h | 26 extern void * realloc ( void *old_ptr, size_t new_size );
|
| /external/tensorflow/tensorflow/core/lib/gtl/ |
| stl_util.h | 51 // Like str->resize(new_size), except any new characters added to "*str" as a 55 inline void STLStringResizeUninitialized(string* s, size_t new_size) { 57 s->resize_uninitialized(new_size); 59 s->resize(new_size);
|
| /external/webrtc/webrtc/p2p/base/ |
| pseudotcp.h | 184 // Resize the send buffer with |new_size| in bytes. 185 void resizeSendBuffer(uint32_t new_size); 187 // Resize the receive buffer with |new_size| in bytes. This call adjusts 189 void resizeReceiveBuffer(uint32_t new_size);
|
| /external/webrtc/webrtc/system_wrappers/include/ |
| scoped_vector.h | 107 void resize(size_t new_size) { 108 if (v_.size() > new_size) 109 STLDeleteContainerPointers(v_.begin() + new_size, v_.end()); 110 v_.resize(new_size);
|
| /system/update_engine/client_library/include/update_engine/ |
| status_update_handler.h | 42 int64_t new_size) = 0;
|
| /external/e2fsprogs/intl/ |
| localealias.c | 311 size_t new_size = (string_space_max local 314 char *new_pool = (char *) realloc (string_space, new_size); 330 string_space_max = new_size; 370 size_t new_size; local 373 new_size = maxmap == 0 ? 100 : 2 * maxmap; 374 new_map = (struct alias_map *) realloc (map, (new_size 381 maxmap = new_size;
|
| /external/syslinux/gpxe/src/core/ |
| malloc.c | 237 * @v new_size Requested size 253 void * realloc ( void *old_ptr, size_t new_size ) { 264 if ( new_size ) { 265 new_total_size = ( new_size + 276 * is valid, or (b) new_size is 0; either way, the memcpy() is 286 ( ( old_size < new_size ) ? old_size : new_size ) );
|
| /toolchain/binutils/binutils-2.27/intl/ |
| localealias.c | 314 size_t new_size = (string_space_max local 317 char *new_pool = (char *) realloc (string_space, new_size); 333 string_space_max = new_size; 373 size_t new_size; local 376 new_size = maxmap == 0 ? 100 : 2 * maxmap; 377 new_map = (struct alias_map *) realloc (map, (new_size 384 maxmap = new_size;
|
| /external/compiler-rt/lib/lsan/ |
| lsan_allocator.cc | 113 void *Reallocate(const StackTrace &stack, void *p, uptr new_size, 116 if (new_size > kMaxAllowedMallocSize) { 117 Report("WARNING: LeakSanitizer failed to allocate %zu bytes\n", new_size); 121 p = allocator.Reallocate(&cache, p, new_size, alignment); 122 RegisterAllocation(stack, p, new_size);
|
| /external/freetype/src/base/ |
| ftdbgmem.c | 257 FT_Long new_size; local 260 new_size = ft_mem_closest_prime( table->nodes ); 261 if ( new_size != table->size ) 270 new_size * (FT_Long)sizeof ( FT_MemNode ) ); 274 FT_ARRAY_ZERO( new_buckets, new_size ); 286 hash = FT_MEM_VAL( node->address ) % (FT_PtrDist)new_size; 300 table->size = new_size; 740 FT_Long new_size, 753 if ( new_size == cur_size ) 765 if ( new_size <= 0 [all...] |
| /external/pdfium/third_party/base/allocator/partition_allocator/ |
| partition_alloc.cc | [all...] |
| /external/e2fsprogs/lib/ext2fs/ |
| blkmap64_ba.c | 129 size_t size, new_size; local 149 new_size = ((new_real_end - bmap->start) / 8) + 1; 151 if (size != new_size) { 152 retval = ext2fs_resize_mem(size, new_size, &bp->bitarray); 156 if (new_size > size) 157 memset(bp->bitarray + size, 0, new_size - size);
|
| /external/eigen/Eigen/src/Core/util/ |
| Memory.h | 188 inline void* aligned_realloc(void *ptr, std::size_t new_size, std::size_t old_size) 194 result = std::realloc(ptr,new_size); 196 result = handmade_aligned_realloc(ptr,new_size,old_size); 199 if (!result && new_size) 238 template<bool Align> inline void* conditional_aligned_realloc(void* ptr, std::size_t new_size, std::size_t old_size) 240 return aligned_realloc(ptr, new_size, old_size); 243 template<> inline void* conditional_aligned_realloc<false>(void* ptr, std::size_t new_size, std::size_t) 245 return std::realloc(ptr, new_size); 346 template<typename T, bool Align> EIGEN_DEVICE_FUNC inline T* conditional_aligned_realloc_new(T* pts, std::size_t new_size, std::size_t old_size) 348 check_size_for_overflow<T>(new_size); [all...] |
| /external/freetype/builds/amiga/src/base/ |
| ftsystem.c | 165 /* new_size :: The newly requested size in bytes. */ 175 long new_size, 181 new_block = AllocVecPooled ( memory->user, new_size ); 183 new_block = Alloc_VecPooled ( memory->user, new_size ); 188 ( new_size > cur_size ) ? cur_size : new_size );
|
| /external/libbrillo/brillo/streams/ |
| memory_containers.h | 53 // Resizes the container to the new size specified in |new_size|. 54 virtual bool Resize(size_t new_size, ErrorPtr* error) = 0; 114 bool Resize(size_t new_size, ErrorPtr* error) override; 158 bool Resize(size_t new_size, ErrorPtr* /* error */) override { 159 vector_ptr_->resize(new_size); 245 bool Resize(size_t new_size, ErrorPtr* error) override;
|