/prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/ADT/ |
IndexedMap.h | 69 unsigned NewSize = toIndex_(n) + 1; 70 if (NewSize > storage_.size()) 71 resize(NewSize);
|
/prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/ADT/ |
IndexedMap.h | 69 unsigned NewSize = toIndex_(n) + 1; 70 if (NewSize > storage_.size()) 71 resize(NewSize);
|
/prebuilts/clang/host/linux-x86/clang-4639204/include/llvm/ADT/ |
IndexedMap.h | 69 unsigned NewSize = toIndex_(n) + 1; 70 if (NewSize > storage_.size()) 71 resize(NewSize);
|
/prebuilts/clang/host/linux-x86/clang-4691093/include/llvm/ADT/ |
IndexedMap.h | 69 unsigned NewSize = toIndex_(n) + 1; 70 if (NewSize > storage_.size()) 71 resize(NewSize);
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/ |
BmLib.c | 332 @param NewSize - The size of the new buffer.
342 IN UINTN NewSize
348 if (NewSize != 0) {
349 NewPool = AllocateZeroPool (NewSize);
354 CopyMem (NewPool, OldPool, OldSize < NewSize ? OldSize : NewSize);
|
/prebuilts/go/darwin-x86/src/os/user/ |
cgo_lookup_unix.go | 239 func (mb *memBuffer) resize(newSize C.size_t) { 240 mb.ptr = C.realloc(mb.ptr, newSize) 241 mb.size = newSize 259 newSize := buf.size * 2 260 if !isSizeReasonable(int64(newSize)) { 263 buf.resize(newSize)
|
/prebuilts/go/linux-x86/src/os/user/ |
cgo_lookup_unix.go | 239 func (mb *memBuffer) resize(newSize C.size_t) { 240 mb.ptr = C.realloc(mb.ptr, newSize) 241 mb.size = newSize 259 newSize := buf.size * 2 260 if !isSizeReasonable(int64(newSize)) { 263 buf.resize(newSize)
|
/dalvik/dexgen/src/com/android/dexgen/rop/code/ |
RegisterSpecList.java | 247 int newSize = size() - 1; 249 if (newSize == 0) { 253 RegisterSpecList result = new RegisterSpecList(newSize); 255 for (int i = 0; i < newSize; i++) { 274 int newSize = size() - 1; 276 if (newSize == 0) { 280 RegisterSpecList result = new RegisterSpecList(newSize); 282 for (int i = 0; i < newSize; i++) {
|
/external/ltp/testcases/kernel/syscalls/mmap/ |
mmap09.c | 52 off_t newsize; member in struct:test_case_t 75 TEST(ftruncate(fd, TC[i].newsize));
|
/external/lzma/CPP/Common/ |
NewHandler.cpp | 31 void * my_Realloc(void *p, size_t newSize, size_t oldSize)
33 void *newBuf = my_new(newSize);
|
/external/pdfium/fxbarcode/common/ |
BC_CommonByteArray.cpp | 62 int32_t newSize = std::max(32, m_size << 1); 63 Reserve(newSize);
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
Buffer.h | 71 void set(Buffer *newBuffer, int newOffset = 0, int newSize = 0) 75 size = newSize;
|
/external/vboot_reference/firmware/2lib/ |
2common.c | 93 uint32_t newsize) 101 return vb2_workbuf_alloc(wb, newsize);
|
/device/linaro/bootloader/edk2/MdePkg/Include/Library/ |
MemoryAllocationLib.h | 389 Allocates and zeros the number bytes specified by NewSize from memory of type
391 NewSize bytes are copied from OldBuffer to the newly allocated buffer, and
393 If NewSize is 0, then a valid buffer of 0 size is returned. If there is not
396 If the allocation of the new buffer is successful and the smaller of NewSize and OldSize
400 @param NewSize The size, in bytes, of the buffer to reallocate.
411 IN UINTN NewSize,
418 Allocates and zeros the number bytes specified by NewSize from memory of type
420 NewSize bytes are copied from OldBuffer to the newly allocated buffer, and
422 If NewSize is 0, then a valid buffer of 0 size is returned. If there is not
425 If the allocation of the new buffer is successful and the smaller of NewSize and OldSize [all...] |
/toolchain/binutils/binutils-2.27/bfd/ |
bfdio.c | 497 bfd_size_type newsize, oldsize; local 502 newsize = (bim->size + 127) & ~(bfd_size_type) 127; 503 if (newsize > oldsize) 505 bim->buffer = (bfd_byte *) bfd_realloc_or_free (bim->buffer, newsize); 511 if (newsize > bim->size) 512 memset (bim->buffer + bim->size, 0, newsize - bim->size); 550 bfd_size_type newsize, oldsize; local 555 newsize = (bim->size + 127) & ~(bfd_size_type) 127; 556 if (newsize > oldsize) 558 bim->buffer = (bfd_byte *) bfd_realloc_or_free (bim->buffer, newsize); [all...] |
/external/syslinux/core/lwip/src/core/ |
mem.c | 359 * @param newsize required size after shrinking (needs to be smaller than or 362 * or NULL if newsize is > old size, in which case rmem is NOT touched 366 mem_trim(void *rmem, mem_size_t newsize) 376 newsize = LWIP_MEM_ALIGN_SIZE(newsize); 378 if(newsize < MIN_SIZE_ALIGNED) { 380 newsize = MIN_SIZE_ALIGNED; 383 if (newsize > MEM_SIZE_ALIGNED) { 405 LWIP_ASSERT("mem_trim can only shrink memory", newsize <= size); 406 if (newsize > size) [all...] |
/toolchain/binutils/binutils-2.27/gas/config/ |
tc-rl78.c | 914 int newsize = oldsize; 933 return newsize - oldsize; 942 newsize = 6; 946 newsize = 7; 949 newsize = 5; 952 newsize = 6; 955 newsize = 2; 958 newsize = oldsize; 964 fragP->fr_subtype = newsize; 965 tprintf (" -> new %d old %d delta %d (external)\n", newsize, oldsize, newsize-oldsize) 913 int newsize = oldsize; local [all...] |
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
fgetln.c | 43 __slbexpand(FILE *fp, size_t newsize) 47 if (fp->_lb._size >= newsize) 49 if ((p = realloc(fp->_lb._base, newsize)) == NULL) 52 fp->_lb._size = newsize;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
ldo.h | 38 LUAI_FUNC void luaD_reallocstack (lua_State *L, int newsize);
|
lstring.h | 40 LUAI_FUNC void luaS_resize (lua_State *L, int newsize);
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRIntArray.m | 188 NSUInteger newSize = ([buffer length] / sizeof(NSInteger)) * 2; 189 if (anIndex > newSize) { 190 newSize = anIndex + 1; 192 BuffSize = newSize;
|
/external/bsdiff/ |
bsdiff_main.cc | 69 size_t newsize; local 70 uint8_t* new_buf = static_cast<uint8_t*>(MapFile(new_filename, &newsize)); 94 int ret = bsdiff::bsdiff(old_buf, oldsize, new_buf, newsize, 98 munmap(new_buf, newsize);
|
/external/e2fsprogs/resize/ |
extent.c | 85 __u64 newsize; local 89 newsize = extent->size + 100; 93 newsize, &extent->list); 96 extent->size = newsize;
|
/external/eigen/Eigen/src/Core/ |
ArrayWrapper.h | 103 void resize(Index newSize) { m_expression.resize(newSize); } 197 void resize(Index newSize) { m_expression.resize(newSize); }
|
/external/freetype/src/psaux/ |
psarrst.c | 104 size_t newSize = numElements * arrstack->sizeItem; 111 FT_ASSERT( newSize > 0 ); /* avoid realloc with zero size */ 113 if ( !FT_REALLOC( arrstack->ptr, arrstack->totalSize, newSize ) ) 116 arrstack->totalSize = newSize;
|