/vbox/src/libs/xpcom18a4/xpcom/ds/ |
H A D | nsFixedSizeAllocator.cpp | 49 nsFixedSizeAllocator::AddBucket(size_t aSize) argument 57 bucket->mSize = aSize; 91 nsFixedSizeAllocator::FindBucket(size_t aSize) argument 97 if (aSize == bucket->mSize) { 112 nsFixedSizeAllocator::Alloc(size_t aSize) argument 114 Bucket* bucket = FindBucket(aSize); 117 bucket = AddBucket(aSize); 128 PL_ARENA_ALLOCATE(next, &mPool, aSize); 134 memset(next, 0xc8, aSize); 141 nsFixedSizeAllocator::Free(void* aPtr, size_t aSize) argument [all...] |
H A D | nsFixedSizeAllocator.h | 161 AddBucket(size_t aSize); 164 FindBucket(size_t aSize); 189 * Allocate a block of memory 'aSize' bytes big. 191 void* Alloc(size_t aSize); 196 void Free(void* aPtr, size_t aSize);
|
H A D | nsVoidArray.cpp | 139 nsVoidArray::SetArray(Impl *newImpl, PRInt32 aSize, PRInt32 aCount, PRBool owner) argument 145 mImpl->mBits = PRUint32(aSize & kArraySizeMask) | 152 PRBool nsVoidArray::SizeTo(PRInt32 aSize) argument 156 if (aSize == (PRInt32) oldsize) 159 if (aSize <= 0) 180 if (aSize < mImpl->mCount) 186 char* bytes = (char *) PR_Realloc(mImpl,SIZEOF_IMPL(aSize)); 194 ADD_TO_STATS(AllocedOfSize,SIZEOF_IMPL(aSize)); 195 if (aSize > mMaxSize) 197 ADD_TO_STATS(NumberOfSize,SIZEOF_IMPL(aSize)); 693 SizeTo(PRInt32 aSize) argument [all...] |
H A D | nsHashtable.h | 142 nsHashtable(PRUint32 aSize = 16, PRBool threadSafe = PR_FALSE); 175 PRUint32 aSize = 16, PRBool threadSafe = PR_FALSE); 204 nsSupportsHashtable(PRUint32 aSize = 16, PRBool threadSafe = PR_FALSE) 205 : nsHashtable(aSize, threadSafe) {}
|
H A D | nsSupportsArray.cpp | 581 nsSupportsArray::SizeTo(PRInt32 aSize) argument 586 NS_ASSERTION(aSize >= 0, "negative aSize!"); 588 // XXX for aSize < mCount we could resize to mCount 589 if (mArraySize == (PRUint32) aSize || (PRUint32) aSize < mCount) 594 if ((PRUint32) aSize <= kAutoArraySize) { 599 mArray = new nsISupports*[aSize]; 604 mArraySize = aSize;
|
H A D | nsISupportsArray.idl | 123 [notxpcom] boolean SizeTo(in long aSize);
|
H A D | nsSupportsArray.h | 149 NS_IMETHOD_(PRBool) SizeTo(PRInt32 aSize);
|
H A D | nsVoidArray.h | 168 void SetArray(Impl *newImpl, PRInt32 aSize, PRInt32 aCount, PRBool owner);
|
H A D | nsHashtable.cpp | 741 PRUint32 aSize, PRBool threadSafe) 742 : nsHashtable(aSize, threadSafe), 737 nsObjectHashtable(nsHashtableCloneElementFunc cloneElementFun, void* cloneElementClosure, nsHashtableEnumFunc destroyElementFun, void* destroyElementClosure, PRUint32 aSize, PRBool threadSafe) argument
|
/vbox/src/VBox/Frontends/VirtualBox/src/extensions/ |
H A D | QITreeWidget.h | 39 void resized (const QSize &aSize, const QSize &aOldSize);
|
/vbox/include/VBox/com/ |
H A D | array.h | 385 // Returns the number of VarType() elements necessary for aSize 387 static ULONG VarCount(size_t aSize); 390 // VarType() elements (opposite to VarCount(size_t aSize)). 436 static ULONG VarCount(size_t aSize) 438 if (sizeof(T) % 8 == 0) return (ULONG)((sizeof(T) / 8) * aSize); 439 if (sizeof(T) % 4 == 0) return (ULONG)((sizeof(T) / 4) * aSize); 440 if (sizeof(T) % 2 == 0) return (ULONG)((sizeof(T) / 2) * aSize); 441 return (ULONG)(sizeof(T) * aSize); 470 static ULONG VarCount(size_t aSize) { return (ULONG)aSize; } 625 SafeArray(size_t aSize) argument [all...] |
/vbox/src/libs/xpcom18a4/xpcom/reflect/xptinfo/src/ |
H A D | xptiFile.cpp | 61 xptiFile::xptiFile(const nsInt64& aSize, argument 70 mSize(aSize),
|
/vbox/src/VBox/Main/include/ |
H A D | MachineDebuggerImpl.h | 94 ULONG aSize, 97 ULONG aSize, 101 ULONG aSize, 105 ULONG aSize,
|
H A D | MachineImpl.h | 1156 ULONG *aSize, 1165 ULONG *aSize, 1181 LONG64 aSize,
|
H A D | GuestSessionImpl.h | 343 LONG64 *aSize);
|
H A D | MediumImpl.h | 235 HRESULT getSize(LONG64 *aSize);
|
/vbox/src/libs/xpcom18a4/java/src/ |
H A D | nsJavaWrapper.cpp | 65 CreateJavaArray(JNIEnv* env, PRUint8 aType, PRUint32 aSize, const nsID& aIID, argument 72 array = env->NewByteArray(aSize); 77 array = env->NewShortArray(aSize); 82 array = env->NewIntArray(aSize); 87 array = env->NewLongArray(aSize); 91 array = env->NewFloatArray(aSize); 97 array = env->NewDoubleArray(aSize); 101 array = env->NewBooleanArray(aSize); 106 array = env->NewCharArray(aSize); 116 array = env->NewObjectArray(aSize, stringClas 253 CreateNativeArray(PRUint8 aType, PRUint32 aSize, void** aResult) argument [all...] |
/vbox/src/libs/xpcom18a4/xpcom/components/ |
H A D | nsCategoryManager.h | 120 void* operator new(size_t aSize, PLArenaPool* aArena);
|
H A D | nsCategoryManager.cpp | 234 CategoryNode::operator new(size_t aSize, PLArenaPool* aArena) argument 237 PL_ARENA_ALLOCATE(p, aArena, aSize);
|
/vbox/src/VBox/Frontends/VirtualBox/src/runtime/ |
H A D | UIMachineView.h | 105 void sltPerformGuestResize(const QSize &aSize = QSize());
|
/vbox/src/VBox/Main/src-client/ |
H A D | MachineDebuggerImpl.cpp | 1051 HRESULT MachineDebugger::readPhysicalMemory(LONG64 aAddress, ULONG aSize, std::vector<BYTE> &aBytes) argument 1056 HRESULT MachineDebugger::writePhysicalMemory(LONG64 aAddress, ULONG aSize, const std::vector<BYTE> &aBytes) argument 1061 HRESULT MachineDebugger::readVirtualMemory(ULONG aCpuId, LONG64 aAddress, ULONG aSize, std::vector<BYTE> &aBytes) argument 1066 HRESULT MachineDebugger::writeVirtualMemory(ULONG aCpuId, LONG64 aAddress, ULONG aSize, const std::vector<BYTE> &aBytes) argument
|
/vbox/src/VBox/HostDrivers/win/cfg/ |
H A D | VBoxDrvCfg.cpp | 117 VBoxDrvCfgStringList(int aSize); 134 VBoxDrvCfgStringList::VBoxDrvCfgStringList(int aSize) argument 136 maList = (LPWSTR*)malloc( sizeof(maList[0]) * aSize); 137 mBufSize = aSize;
|
/vbox/src/VBox/Frontends/VirtualBox/src/globals/ |
H A D | VBoxGlobal.h | 331 static QString formatSize (quint64 aSize, uint aDecimal = 2, FormatSize aMode = FormatSize_Round);
|
H A D | VBoxGlobal.cpp | 2774 * Formats the given @a aSize value in bytes to a human readable string 2797 * @param aSize Size value in bytes. 2803 QString VBoxGlobal::formatSize (quint64 aSize, uint aDecimal /* = 2 */, argument 2809 if (aSize < _1K) 2814 else if (aSize < _1M) 2819 else if (aSize < _1G) 2824 else if (aSize < _1T) 2829 else if (aSize < _1P) 2840 quint64 intg = aSize / denom; 2841 quint64 decm = aSize [all...] |
/vbox/src/VBox/Frontends/VirtualBox/src/ |
H A D | VBoxFBOverlay.cpp | 1280 const QSize & aSize, 1288 mRect(0,0,aSize.width(),aSize.height()), 1318 mImage = vboxVHWAImageCreate(QRect(0,0,aSize.width(),aSize.height()), aColorFormat, getGlProgramMngr(), aImgFlags); 2104 void VBoxVHWAImage::doSetupMatrix(const QSize & aSize, bool bInverted) 2112 glScalef(1.0f/aSize.width(), 1.0f/aSize.height(), 1.0f); 2122 glScalef(1.0f/aSize.width(), 1.0f/aSize [all...] |