Searched defs:newSize (Results 1 - 24 of 24) sorted by relevance

/vbox/src/libs/xpcom18a4/nsprpub/lib/msgc/src/
H A Dos2gc.c71 PRBool _MD_ExtendGCHeap(char *base, PRInt32 oldSize, PRInt32 newSize) { argument
H A Dunixgc.c117 PRBool _MD_ExtendGCHeap(char *base, PRInt32 oldSize, PRInt32 newSize) {
120 PRInt32 allocSize = newSize - oldSize;
132 lastaddr = ((char*)base + newSize);
135 base, base + newSize));
143 PRBool _MD_ExtendGCHeap(char *base, PRInt32 oldSize, PRInt32 newSize) { argument
H A Dwin32gc.c102 PRBool _MD_ExtendGCHeap(char *base, PRInt32 oldSize, PRInt32 newSize) { argument
105 addr = VirtualAlloc( base + oldSize, newSize - oldSize,
115 VirtualFree(addr, newSize - oldSize, MEM_DECOMMIT);
118 lastaddr = base + newSize;
121 base, base + newSize));
H A Dprmsgc.c581 PRInt32 oldSize, newSize; local
599 newSize = oldSize + allocSize;
600 newHBits = (newSize + PR_BYTES_PER_WORD - 1L) >> PR_BYTES_PER_WORD_LOG2;
607 if (_MD_ExtendGCHeap(sp->base, oldSize, newSize)) {
/vbox/src/libs/xpcom18a4/xpcom/io/
H A DnsSegmentedBuffer.cpp141 nsSegmentedBuffer::ReallocLastSegment(size_t newSize) argument
146 (char*)mSegAllocator->Realloc(mSegmentArray[last], newSize);
/vbox/src/VBox/Additions/haiku/SharedFolders/
H A DOpenHashTable.h433 bool _Resize(size_t newSize) argument
436 = (ValueType**)fAllocator.Allocate(sizeof(ValueType*) * newSize);
440 _Resize(newTable, newSize);
444 void _Resize(ValueType** newTable, size_t newSize, void** _oldTable = NULL) argument
446 for (size_t i = 0; i < newSize; i++)
457 _Insert(newTable, newSize, bucket);
470 fTableSize = newSize;
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
H A DLzFind.c234 UInt32 newSize; local
239 newSize = p->hashSizeSum + p->numSons;
240 if (p->hash != 0 && prevSize == newSize)
243 p->hash = AllocRefs(newSize, alloc);
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/Common/
H A DFirmwareVolumeBuffer.c559 UINTN newSize; local
571 newSize = FvBufExpand3ByteSize (((EFI_FFS_FILE_HEADER*)File)->Size);
575 offset + newSize <= fvSize;
600 while ((clearLoop < newSize) &&
612 if (clearLoop >= newSize) {
619 if (offset + newSize > fvSize) {
623 CommonLibBinderCopyMem (fhdr, File, newSize);
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/LzmaCompress/Sdk/C/
H A DLzFind.c215 UInt32 newSize; local
220 newSize = p->hashSizeSum + p->numSons;
221 if (p->hash != 0 && prevSize == newSize)
224 p->hash = AllocRefs(newSize, alloc);
/vbox/src/VBox/GuestHost/OpenGL/util/
H A Dlibteac.c133 int newSize= 2*nodeTableSize; local
134 crRealloc((void**)&hosts,newSize*sizeof(host_t));
135 nodeTableSize= newSize;
/vbox/src/VBox/Frontends/VirtualBox/src/settings/machine/
H A DUIMachineSettingsSF.cpp160 int newSize = fm.width (oneString); local
161 setText (aColumn, newSize < oldSize ? oneString : mTextList [aColumn]);
/vbox/src/VBox/Frontends/VirtualBox/src/widgets/
H A DVBoxFilePathSelectorWidget.cpp485 int newSize = fontMetrics().width (fullText); local
487 return newSize < oldSize ? fullText : fullPath (false);
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/misc/
H A Dprinit.c600 PRSize newSize; local
625 newSize = NSPR_INHERIT_FDS_STRLEN + strlen(name)
629 newSize = attr->fdInheritBufferUsed + strlen(name)
632 if (newSize > attr->fdInheritBufferSize) {
633 /* Make newSize a multiple of FD_INHERIT_BUFFER_INCR */
634 remainder = newSize % FD_INHERIT_BUFFER_INCR;
636 newSize += (FD_INHERIT_BUFFER_INCR - remainder);
639 newBuffer = (char *) PR_MALLOC(newSize);
641 newBuffer = (char *) PR_REALLOC(attr->fdInheritBuffer, newSize);
648 attr->fdInheritBufferSize = newSize;
[all...]
/vbox/src/libs/xpcom18a4/xpcom/ds/
H A DnsSupportsArray.cpp159 PRUint32 newSize = sizeof(mArray[0]) * newCount; local
161 if (newSize >= (PRUint32) kLinearThreshold)
164 // Select the next power-of-two size in bytes above that if newSize is
166 if (newSize & (newSize - 1))
167 newSize = PR_BIT(PR_CeilingLog2(newSize));
169 newCount = newSize / sizeof(mArray[0]);
H A DnsVoidArray.cpp258 PRUint32 newSize = SIZEOF_IMPL(newCapacity); local
260 if (newSize >= (PRUint32) kLinearThreshold)
269 newSize = SIZEOF_IMPL(newCapacity);
273 newSize = PR_BIT(PR_CeilingLog2(newSize));
274 newCapacity = CAPACITYOF_IMPL(newSize);
/vbox/src/VBox/HostDrivers/win/cfg/
H A DVBoxDrvCfg.cpp127 HRESULT resize(int newSize);
170 HRESULT VBoxDrvCfgStringList::resize(int newSize) argument
172 NonStandardAssert(newSize >= mSize);
173 if (newSize < mSize)
176 maList = (LPWSTR*)malloc( sizeof(maList[0]) * newSize);
177 mBufSize = newSize;
/vbox/src/libs/xpcom18a4/xpcom/obsolete/component/
H A DnsRegistry.cpp1565 int newSize; local
1568 newSize = NR_RegSetBufferSize( mReg, bufsize );
1570 return newSize;
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/VfrCompile/Pccts/antlr/
H A Dmrhoist.c1754 int newSize; local
1758 newSize=20+ps->size*2;
1759 newStack=(void **)calloc(newSize,sizeof(void *));
1766 ps->size=newSize;
/vbox/src/libs/libxml2-2.6.31/
H A Dtree.c6884 unsigned int newSize; local
6900 newSize = (buf->size ? buf->size*2 : size + 10);
6901 while (size > newSize) {
6902 if (newSize > UINT_MAX / 2) {
6906 newSize *= 2;
6910 newSize = size+10;
6913 newSize = size+10;
6918 rebuf = (xmlChar *) xmlMallocAtomic(newSize * sizeof(xmlChar));
6921 newSize * sizeof(xmlChar));
6928 rebuf = (xmlChar *) xmlMallocAtomic(newSize * sizeo
[all...]
H A Dxpath.c11987 int hasPredicateRange, hasAxisRange, pos, size, newSize; local
12477 newSize = xmlXPathCompOpEvalPositionalPredicate(ctxt,
12480 newSize = xmlXPathCompOpEvalPredicate(ctxt,
12490 if (newSize == 0) {
12500 if (size != newSize) {
12512 (size != newSize) ? 1: 0);
/vbox/src/VBox/Main/src-server/
H A DMachineImpl.cpp11785 size_t newSize = Global::getMaxNetworkAdapters(mHWData->mChipsetType); local
11792 mPeer->mNetworkAdapters.resize(RT_MAX(newSize, mPeer->mNetworkAdapters.size()));
11793 for (size_t slot = 0; slot < newSize; slot++)
11807 for (size_t slot = newSize; slot < mNetworkAdapters.size(); ++slot)
11809 for (size_t slot = newSize; slot < mPeer->mNetworkAdapters.size(); ++slot)
11816 mNetworkAdapters.resize(newSize);
11817 mPeer->mNetworkAdapters.resize(newSize);
/vbox/src/VBox/Main/webservice/jaxlibs/
H A DFastInfoset.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/sun/ com/sun/xml/ com/sun/xml/fastinfoset/ ...
H A Dsjsxp.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ com/ com/sun/ com/sun/xml/ ...
H A Djaxb-impl.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/sun/ com/sun/xml/ com/sun/xml/bind/ ...

Completed in 176 milliseconds