Searched defs:aSize (Results 1 - 15 of 15) sorted by relevance

/vbox/src/libs/xpcom18a4/xpcom/reflect/xptinfo/src/
H A DxptiFile.cpp61 xptiFile::xptiFile(const nsInt64& aSize, argument
70 mSize(aSize),
/vbox/src/libs/xpcom18a4/xpcom/ds/
H A DnsFixedSizeAllocator.cpp49 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 DnsHashtable.cpp741 PRUint32 aSize, PRBool threadSafe)
742 : nsHashtable(aSize, threadSafe),
737 nsObjectHashtable(nsHashtableCloneElementFunc cloneElementFun, void* cloneElementClosure, nsHashtableEnumFunc destroyElementFun, void* destroyElementClosure, PRUint32 aSize, PRBool threadSafe) argument
H A DnsSupportsArray.cpp581 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 DnsVoidArray.cpp139 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...]
/vbox/include/VBox/com/
H A Darray.h385 // 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/components/
H A DnsCategoryManager.cpp234 CategoryNode::operator new(size_t aSize, PLArenaPool* aArena) argument
237 PL_ARENA_ALLOCATE(p, aArena, aSize);
/vbox/src/VBox/Main/src-client/
H A DMachineDebuggerImpl.cpp1051 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
H A DGuestSessionImpl.cpp3217 HRESULT GuestSession::fileQuerySize(const com::Utf8Str &aPath, LONG64 *aSize) argument
3232 *aSize = llSize;
/vbox/src/VBox/HostDrivers/win/cfg/
H A DVBoxDrvCfg.cpp117 VBoxDrvCfgStringList(int aSize);
134 VBoxDrvCfgStringList::VBoxDrvCfgStringList(int aSize) argument
136 maList = (LPWSTR*)malloc( sizeof(maList[0]) * aSize);
137 mBufSize = aSize;
/vbox/src/libs/xpcom18a4/java/src/
H A DnsJavaWrapper.cpp65 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/VBox/Main/src-server/
H A DHostImpl.cpp1099 HRESULT Host::getMemorySize(ULONG *aSize) argument
1107 *aSize = (ULONG)(cb / _1M);
H A DMediumImpl.cpp289 uint64_t aSize,
292 mSize(aSize),
439 uint64_t aSize,
444 mSize(aSize),
1701 HRESULT Medium::getSize(LONG64 *aSize) argument
1705 *aSize = m->size;
287 CreateBaseTask(Medium *aMedium, Progress *aProgress, uint64_t aSize, MediumVariant_T aVariant) argument
438 ResizeTask(Medium *aMedium, uint64_t aSize, Progress *aProgress, MediumLockList *aMediumLockList, bool fKeepMediumLockList = false) argument
H A DMachineImpl.cpp6353 HRESULT Machine::querySavedThumbnailSize(ULONG aScreenId, ULONG *aSize, ULONG *aWidth, ULONG *aHeight) argument
6372 *aSize = cbData;
6475 HRESULT Machine::querySavedScreenshotPNGSize(ULONG aScreenId, ULONG *aSize, ULONG *aWidth, ULONG *aHeight) argument
6494 *aSize = cbData;
6634 HRESULT Machine::readLog(ULONG aIdx, LONG64 aOffset, LONG64 aSize, std::vector<BYTE> &aData) argument
6636 if (aSize < 0)
6637 return setError(E_INVALIDARG, tr("The size argument (%lld) is negative"), aSize);
6651 size_t cbData = (size_t)RT_MIN(aSize, 32768);
/vbox/src/VBox/Frontends/VirtualBox/src/globals/
H A DVBoxGlobal.cpp2774 * 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...]

Completed in 1719 milliseconds