/device/generic/goldfish-opengl/android-emu/android/base/containers/ |
D | SmallVector.h | 147 void resize(size_type newSize) { resize_impl<true>(newSize); } in resize() argument 153 void resize_noinit(size_type newSize) { resize_impl<false>(newSize); } in resize_noinit() argument 181 void resize_impl(size_type newSize) { in resize_impl() argument 182 if (newSize < this->size()) { in resize_impl() 183 const auto newEnd = this->begin() + newSize; in resize_impl() 186 } else if (newSize > this->size()) { in resize_impl() 187 grow_for_size(newSize); in resize_impl() 188 const auto newEnd = this->begin() + newSize; in resize_impl() 202 const auto newSize = this->size() + (e - b); in insert_back() local 203 grow_for_size(newSize); in insert_back() [all …]
|
/device/generic/goldfish-opengl/android-emu/android/base/ |
D | AlignedBuf.h | 72 void resize(size_t newSize) { in resize() argument 84 resizeImpl(newSize); in resize() 101 void resizeImpl(size_t newSize) { in resizeImpl() argument 102 if (newSize) { in resizeImpl() 104 size_t keepSize = std::min(newSize, mSize); in resizeImpl() 105 size_t newSizeBytes = ((align - 1 + newSize * sizeof(T) + pad) / align) * align; in resizeImpl() 115 mSize = newSize; in resizeImpl()
|
/device/generic/goldfish/network/netmgr/ |
D | wifi_forwarder.cpp | 267 size_t newSize = start + kForwardBufferIncrement; in injectFromPipe() local 268 if (newSize > kForwardBufferMaxSize) { in injectFromPipe() 274 newSize = kForwardBufferIncrement; in injectFromPipe() 277 mMonitorBuffer.resize(newSize); in injectFromPipe()
|
/device/generic/goldfish/network/wifi_forwarder/ |
D | remote_connection.cpp | 113 size_t newSize = start + kReceiveBufferIncrement; in receive() local 114 if (newSize > kReceiveBufferMaxSize) { in receive() 120 newSize = kReceiveBufferIncrement; in receive() 123 mBuffer.resize(newSize); in receive()
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/ |
D | FirmwareVolumeBuffer.c | 592 UINTN newSize; in FvBufAddFile() local 604 newSize = FvBufGetFfsFileSize ((EFI_FFS_FILE_HEADER*)File); in FvBufAddFile() 608 offset + newSize <= fvSize; in FvBufAddFile() 633 while ((clearLoop < newSize) && in FvBufAddFile() 645 if (clearLoop >= newSize) { in FvBufAddFile() 652 if (offset + newSize > fvSize) { in FvBufAddFile() 656 CommonLibBinderCopyMem (fhdr, File, newSize); in FvBufAddFile()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/ |
D | LzFind.c | 238 size_t newSize; in MatchFinder_Create() local 247 newSize = hs + numSons; in MatchFinder_Create() 249 if (p->hash && p->numRefs == newSize) in MatchFinder_Create() 253 p->numRefs = newSize; in MatchFinder_Create() 254 p->hash = AllocRefs(newSize, alloc); in MatchFinder_Create()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/ |
D | LzFind.c | 238 size_t newSize; in MatchFinder_Create() local 247 newSize = hs + numSons; in MatchFinder_Create() 249 if (p->hash && p->numRefs == newSize) in MatchFinder_Create() 253 p->numRefs = newSize; in MatchFinder_Create() 254 p->hash = AllocRefs(newSize, alloc); in MatchFinder_Create()
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/ |
D | LzFind.c | 236 size_t newSize; in MatchFinder_Create() local 245 newSize = hs + numSons; in MatchFinder_Create() 247 if (p->hash && p->numRefs == newSize) in MatchFinder_Create() 251 p->numRefs = newSize; in MatchFinder_Create() 252 p->hash = AllocRefs(newSize, alloc); in MatchFinder_Create()
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr/ |
D | mrhoist.c | 1754 int newSize; local 1758 newSize=20+ps->size*2; 1759 newStack=(void **)calloc(newSize,sizeof(void *)); 1766 ps->size=newSize;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/expat/ |
D | xmlparse.c | 5884 size_t newSize = (size_t)1 << newPower; in lookup() local 5885 unsigned long newMask = (unsigned long)newSize - 1; in lookup() 5886 size_t tsize = newSize * sizeof(NAMED *); in lookup() 5899 j < step ? (j += newSize - step) : (j -= step); in lookup() 5906 table->size = newSize; in lookup() 5912 i < step ? (i += newSize - step) : (i -= step); in lookup()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/expat/ |
D | xmlparse.c | 5884 size_t newSize = (size_t)1 << newPower; in lookup() local 5885 unsigned long newMask = (unsigned long)newSize - 1; in lookup() 5886 size_t tsize = newSize * sizeof(NAMED *); in lookup() 5899 j < step ? (j += newSize - step) : (j -= step); in lookup() 5906 table->size = newSize; in lookup() 5912 i < step ? (i += newSize - step) : (i -= step); in lookup()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/expat/ |
D | xmlparse.c | 6007 size_t newSize = (size_t)1 << newPower; in lookup() local 6008 unsigned long newMask = (unsigned long)newSize - 1; in lookup() 6009 size_t tsize = newSize * sizeof(NAMED *); in lookup() 6022 j < step ? (j += newSize - step) : (j -= step); in lookup() 6029 table->size = newSize; in lookup() 6035 i < step ? (i += newSize - step) : (i -= step); in lookup()
|