/vbox/src/VBox/Frontends/VirtualBox/src/widgets/ |
H A D | VBoxMediaComboBox.cpp | 102 QString VBoxMediaComboBox::id (int aIndex /* = -1*/) const 104 AssertReturn (aIndex == -1 || 105 (aIndex >= 0 && aIndex < mMedia.size()), 108 if (aIndex == -1) aIndex = currentIndex(); 109 return aIndex == -1 ? QString::null : mMedia [aIndex].id; 112 QString VBoxMediaComboBox::location (int aIndex /* = -1*/) const 114 AssertReturn (aIndex 252 processActivated(int aIndex) argument 261 updateToolTip(int aIndex) argument 269 processOnItem(const QModelIndex &aIndex) argument 287 replaceItem(int aIndex, const UIMedium &aMedium) argument 310 findMediaIndex(const QString &aId, int &aIndex) argument [all...] |
H A D | VBoxMediaComboBox.h | 60 void processActivated (int aIndex); 61 // void processIndexChanged (int aIndex); 63 void processOnItem (const QModelIndex &aIndex); 72 bool findMediaIndex (const QString &aId, int &aIndex);
|
/vbox/src/libs/xpcom18a4/xpcom/ds/ |
H A D | nsCOMArray.h | 80 PRBool InsertObjectAt(nsISupports* aObject, PRInt32 aIndex); 81 PRBool InsertObjectsAt(const nsCOMArray_base& aObjects, PRInt32 aIndex); 82 PRBool ReplaceObjectAt(nsISupports* aObject, PRInt32 aIndex); 90 PRBool RemoveObjectAt(PRInt32 aIndex); 99 nsISupports* ObjectAt(PRInt32 aIndex) const { 100 return NS_STATIC_CAST(nsISupports*, mArray.FastElementAt(aIndex)); 103 nsISupports* SafeObjectAt(PRInt32 aIndex) const { 104 return NS_STATIC_CAST(nsISupports*, mArray.SafeElementAt(aIndex)); 107 nsISupports* operator[](PRInt32 aIndex) const { 108 return ObjectAt(aIndex); 184 InsertObjectAt(T* aObject, PRInt32 aIndex) argument 190 InsertObjectsAt(const nsCOMArray<T>& aObjects, PRInt32 aIndex) argument 196 ReplaceObjectAt(T* aObject, PRInt32 aIndex) argument 256 RemoveObjectAt(PRInt32 aIndex) argument [all...] |
H A D | nsValueArray.cpp | 142 PRBool nsValueArray::InsertValueAt(nsValueArrayValue aValue, nsValueArrayIndex aIndex) { argument 146 if (aIndex <= count) { 181 if (aIndex < count) { 182 memmove(&mValueArray[(aIndex + 1) * mBytesPerValue], &mValueArray[aIndex * mBytesPerValue], (count - aIndex) * mBytesPerValue); 190 *((PRUint8*)&mValueArray[aIndex * mBytesPerValue]) = (PRUint8)aValue; 191 NS_ASSERTION(*((PRUint8*)&mValueArray[aIndex * mBytesPerValue]) == aValue, "Lossy value array detected. Report a higher maximum upon construction!"); 194 *((PRUint16*)&mValueArray[aIndex * mBytesPerValue]) = (PRUint16)aValue; 195 NS_ASSERTION(*((PRUint16*)&mValueArray[aIndex * mBytesPerValu 220 RemoveValueAt(nsValueArrayIndex aIndex) argument [all...] |
H A D | nsVoidArray.h | 69 void* FastElementAt(PRInt32 aIndex) const 71 NS_ASSERTION(0 <= aIndex && aIndex < Count(), "index out of range"); 72 return mImpl->mArray[aIndex]; 78 void* ElementAt(PRInt32 aIndex) const 80 NS_ASSERTION(0 <= aIndex && aIndex < Count(), "index out of range"); 81 return SafeElementAt(aIndex); 85 void* SafeElementAt(PRInt32 aIndex) const 87 if (PRUint32(aIndex) > 117 RemoveElementAt(PRInt32 aIndex) argument [all...] |
H A D | nsSupportsArray.h | 64 NS_IMETHOD GetElementAt(PRUint32 aIndex, nsISupports* *result) { argument 65 *result = ElementAt(aIndex); 68 NS_IMETHOD QueryElementAt(PRUint32 aIndex, const nsIID & aIID, void * *aResult) { argument 69 if (aIndex < mCount) { 70 nsISupports* element = mArray[aIndex]; 76 NS_IMETHOD SetElementAt(PRUint32 aIndex, nsISupports* value) { argument 77 return ReplaceElementAt(value, aIndex) ? NS_OK : NS_ERROR_FAILURE; 93 NS_IMETHOD_(nsISupports*) ElementAt(PRUint32 aIndex); 116 NS_IMETHOD_(PRBool) InsertElementAt(nsISupports* aElement, PRUint32 aIndex); 118 NS_IMETHOD_(PRBool) ReplaceElementAt(nsISupports* aElement, PRUint32 aIndex); 120 RemoveElementAt(PRUint32 aIndex) argument 130 DeleteElementAt(PRUint32 aIndex) argument [all...] |
H A D | nsCOMArray.cpp | 86 nsCOMArray_base::InsertObjectAt(nsISupports* aObject, PRInt32 aIndex) { argument 87 PRBool result = mArray.InsertElementAt(aObject, aIndex); 94 nsCOMArray_base::InsertObjectsAt(const nsCOMArray_base& aObjects, PRInt32 aIndex) { argument 95 PRBool result = mArray.InsertElementsAt(aObjects.mArray, aIndex); 107 nsCOMArray_base::ReplaceObjectAt(nsISupports* aObject, PRInt32 aIndex) argument 111 NS_REINTERPRET_CAST(nsISupports*, mArray.SafeElementAt(aIndex)); 113 PRBool result = mArray.ReplaceElementAt(aObject, aIndex); 135 nsCOMArray_base::RemoveObjectAt(PRInt32 aIndex) argument 137 nsISupports* element = ObjectAt(aIndex); 139 PRBool result = mArray.RemoveElementAt(aIndex); [all...] |
H A D | nsValueArray.h | 95 nsValueArrayValue ValueAt(nsValueArrayIndex aIndex) const; 97 inline nsValueArrayValue operator[](nsValueArrayIndex aIndex) const { 98 return ValueAt(aIndex); 111 PRBool InsertValueAt(nsValueArrayValue aValue, nsValueArrayIndex aIndex); 113 PRBool RemoveValueAt(nsValueArrayIndex aIndex);
|
H A D | nsVoidArray.cpp | 382 PRBool nsVoidArray::InsertElementAt(void* aElement, PRInt32 aIndex) argument 385 NS_ASSERTION(aIndex >= 0,"InsertElementAt(negative index)"); 386 if (PRUint32(aIndex) > PRUint32(oldCount)) 401 PRInt32 slide = oldCount - aIndex; 405 memmove(mImpl->mArray + aIndex + 1, mImpl->mArray + aIndex, 409 mImpl->mArray[aIndex] = aElement; 425 PRBool nsVoidArray::InsertElementsAt(const nsVoidArray& other, PRInt32 aIndex) argument 430 NS_ASSERTION(aIndex >= 0,"InsertElementsAt(negative index)"); 431 if (PRUint32(aIndex) > PRUint3 474 ReplaceElementAt(void* aElement, PRInt32 aIndex) argument 558 RemoveElementsAt(PRInt32 aIndex, PRInt32 aCount) argument 751 StringAt(PRInt32 aIndex, nsAString& aString) const argument 791 InsertStringAt(const nsAString& aString, PRInt32 aIndex) argument 803 ReplaceStringAt(const nsAString& aString, PRInt32 aIndex) argument 826 RemoveStringAt(PRInt32 aIndex) argument 956 CStringAt(PRInt32 aIndex, nsACString& aCString) const argument 1016 InsertCStringAt(const nsACString& aCString, PRInt32 aIndex) argument 1028 ReplaceCStringAt(const nsACString& aCString, PRInt32 aIndex) argument 1061 RemoveCStringAt(PRInt32 aIndex) argument 1265 InsertElementAt(void* aElement, PRInt32 aIndex) argument 1292 InsertElementsAt(const nsVoidArray &other, PRInt32 aIndex) argument 1333 ReplaceElementAt(void* aElement, PRInt32 aIndex) argument 1403 RemoveElementAt(PRInt32 aIndex) argument 1426 RemoveElementsAt(PRInt32 aIndex, PRInt32 aCount) argument [all...] |
H A D | nsICollection.idl | 69 nsQueryElementAt( nsICollection* aCollection, PRUint32 aIndex, nsresult* aErrorPtr ) 71 mIndex(aIndex), 87 do_QueryElementAt( nsICollection* aCollection, PRUint32 aIndex, nsresult* aErrorPtr = 0 ) 89 return nsQueryElementAt(aCollection, aIndex, aErrorPtr);
|
H A D | nsArray.h | 93 nsQueryArrayElementAt(nsIArray* aArray, PRUint32 aIndex, argument 96 mIndex(aIndex), 112 do_QueryElementAt(nsIArray* aArray, PRUint32 aIndex, nsresult* aErrorPtr = 0) argument 114 return nsQueryArrayElementAt(aArray, aIndex, aErrorPtr);
|
H A D | nsISupportsArray.idl | 76 [notxpcom] nsISupports ElementAt(in unsigned long aIndex); 90 in unsigned long aIndex); 92 in unsigned long aIndex); 94 [notxpcom] boolean RemoveElementAt(in unsigned long aIndex); 99 void DeleteElementAt(in unsigned long aIndex); 118 in unsigned long aIndex); 120 [notxpcom] boolean RemoveElementsAt(in unsigned long aIndex,
|
H A D | nsSupportsArray.cpp | 323 nsSupportsArray::ElementAt(PRUint32 aIndex) argument 325 if (aIndex < mCount) { 326 nsISupports* element = mArray[aIndex]; 373 nsSupportsArray::InsertElementAt(nsISupports* aElement, PRUint32 aIndex) argument 375 if (aIndex <= mCount) { 384 PRUint32 slide = (mCount - aIndex); 386 ::memmove(mArray + aIndex + 1, mArray + aIndex, slide * sizeof(nsISupports*)); 389 mArray[aIndex] = aElement; 408 nsSupportsArray::InsertElementsAt(nsISupportsArray* aElements, PRUint32 aIndex) argument 453 ReplaceElementAt(nsISupports* aElement, PRUint32 aIndex) argument 465 RemoveElementsAt(PRUint32 aIndex, PRUint32 aCount) argument 623 PRInt32 aIndex = -1; local 635 PRUint32 aIndex = mCount; local [all...] |
H A D | nsArray.cpp | 69 nsArray::QueryElementAt(PRUint32 aIndex, argument 73 nsISupports * obj = mArray.ObjectAt(aIndex); 132 nsArray::RemoveElementAt(PRUint32 aIndex) argument 134 PRBool result = mArray.RemoveObjectAt(aIndex); 139 nsArray::InsertElementAt(nsISupports* aElement, PRUint32 aIndex, PRBool aWeak) argument 152 PRBool result = mArray.InsertObjectAt(elementRef, aIndex);
|
H A D | nsDeque.h | 153 void* ObjectAt(int aIndex) const; 265 * @param aIndex is the starting position for your iteration 267 nsDequeIterator(const nsDeque& aQueue, int aIndex=0);
|
/vbox/src/libs/xpcom18a4/ipc/ipcd/extensions/transmngr/common/ |
H A D | tmVector.cpp | 112 tmVector::RemoveAt(PRUint32 aIndex) { argument 113 PR_ASSERT(aIndex < mNext); 116 if (mElements[aIndex] != nsnull) { 117 mElements[aIndex] = nsnull; 119 if (aIndex == mNext-1) { // if we removed the last element
|
H A D | tmVector.h | 107 void RemoveAt(PRUint32 aIndex);
|
/vbox/src/VBox/Frontends/VirtualBox/src/extensions/ |
H A D | QITreeView.h | 37 void drawItemBranches (QPainter *aPainter, const QRect &aRect, const QModelIndex &aIndex) const; 48 void drawBranches (QPainter *aPainter, const QRect &aRect, const QModelIndex &aIndex) const;
|
H A D | QIListView.h | 43 const QModelIndex &aIndex) const;
|
H A D | QITreeView.cpp | 45 void QITreeView::drawBranches (QPainter *aPainter, const QRect &aRect, const QModelIndex &aIndex) const 47 emit drawItemBranches (aPainter, aRect, aIndex); 48 QTreeView::drawBranches (aPainter, aRect, aIndex);
|
/vbox/src/libs/xpcom18a4/java/src/ |
H A D | nsJavaWrapper.cpp | 168 GetNativeArrayElement(PRUint8 aType, void* aArray, PRUint32 aIndex, argument 175 aResult->val.u8 = static_cast<PRUint8*>(aArray)[aIndex]; 180 aResult->val.u16 = static_cast<PRUint16*>(aArray)[aIndex]; 185 aResult->val.u32 = static_cast<PRUint32*>(aArray)[aIndex]; 190 aResult->val.u64 = static_cast<PRUint64*>(aArray)[aIndex]; 194 aResult->val.f = static_cast<float*>(aArray)[aIndex]; 198 aResult->val.d = static_cast<double*>(aArray)[aIndex]; 202 aResult->val.b = static_cast<PRBool*>(aArray)[aIndex]; 206 aResult->val.c = static_cast<char*>(aArray)[aIndex]; 210 aResult->val.wc = static_cast<PRUnichar*>(aArray)[aIndex]; 330 SetupParams(JNIEnv *env, const jobject aParam, PRUint8 aType, PRBool aIsOut, const nsID& aIID, PRUint8 aArrayType, PRUint32 aArraySize, PRBool aIsArrayElement, PRUint32 aIndex, nsXPTCVariant &aVariant) argument 979 FinalizeParams(JNIEnv *env, const nsXPTParamInfo &aParamInfo, PRUint8 aType, nsXPTCVariant &aVariant, const nsID& aIID, PRBool aIsArrayElement, PRUint8 aArrayType, PRUint32 aArraySize, PRUint32 aIndex, nsresult aInvokeResult, jobject* aParam) argument [all...] |
/vbox/src/VBox/Frontends/VirtualBox/src/settings/machine/ |
H A D | UIMachineSettingsStorage.cpp | 483 AbstractItem* RootItem::childByPos (int aIndex) argument 485 return mControllers [aIndex]; 671 AbstractItem* ControllerItem::childByPos (int aIndex) argument 673 return mAttachments [aIndex]; 918 AbstractItem* AttachmentItem::childByPos (int /* aIndex */) 1020 QModelIndex StorageModel::parent (const QModelIndex &aIndex) const 1022 if (!aIndex.isValid()) 1025 AbstractItem *item = static_cast <AbstractItem*> (aIndex.internalPointer()); 1036 QVariant StorageModel::data (const QModelIndex &aIndex, int aRole) const argument 1038 if (!aIndex 1455 setData(const QModelIndex &aIndex, const QVariant &aValue, int aRole) argument 3099 onDrawItemBranches(QPainter *aPainter, const QRect &aRect, const QModelIndex &aIndex) argument [all...] |
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/ |
H A D | aviriff.h | 152 } aIndex[ANYSIZE_ARRAY]; member in struct:_avioldindex 215 } aIndex[ANYSIZE_ARRAY]; member in struct:_avisuperindex 236 AVISTDINDEX_ENTRY aIndex[ANYSIZE_ARRAY]; member in struct:_avistdindex 255 AVITIMEDINDEX_ENTRY aIndex[ANYSIZE_ARRAY]; member in struct:_avitimedindex 268 TIMECODEDATA aIndex[ANYSIZE_ARRAY]; member in struct:_avitimecodeindex 296 AVITCDLINDEX_ENTRYA aIndex[ANYSIZE_ARRAY]; member in struct:_avitcdlindexA 309 AVITCDLINDEX_ENTRYW aIndex[ANYSIZE_ARRAY]; member in struct:_avitcdlindexW 330 } aIndex[ANYSIZE_ARRAY]; member in struct:_avifieldindex_chunk
|
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/ |
H A D | aviriff.h | 152 } aIndex[ANYSIZE_ARRAY]; member in struct:_avioldindex 215 } aIndex[ANYSIZE_ARRAY]; member in struct:_avisuperindex 236 AVISTDINDEX_ENTRY aIndex[ANYSIZE_ARRAY]; member in struct:_avistdindex 255 AVITIMEDINDEX_ENTRY aIndex[ANYSIZE_ARRAY]; member in struct:_avitimedindex 268 TIMECODEDATA aIndex[ANYSIZE_ARRAY]; member in struct:_avitimecodeindex 296 AVITCDLINDEX_ENTRYA aIndex[ANYSIZE_ARRAY]; member in struct:_avitcdlindexA 309 AVITCDLINDEX_ENTRYW aIndex[ANYSIZE_ARRAY]; member in struct:_avitcdlindexW 330 } aIndex[ANYSIZE_ARRAY]; member in struct:_avifieldindex_chunk
|
/vbox/src/libs/xpcom18a4/xpcom/io/ |
H A D | nsMultiplexInputStream.cpp | 113 nsMultiplexInputStream::InsertStream(nsIInputStream *aStream, PRUint32 aIndex) argument 115 nsresult rv = mStreams.InsertElementAt(aStream, aIndex); 117 if (mCurrentStream > aIndex || 118 (mCurrentStream == aIndex && mStartedReadingCurrent)) 125 nsMultiplexInputStream::RemoveStream(PRUint32 aIndex) argument 127 nsresult rv = mStreams.RemoveElementAt(aIndex); 129 if (mCurrentStream > aIndex) 131 else if (mCurrentStream == aIndex) 139 nsMultiplexInputStream::GetStream(PRUint32 aIndex, nsIInputStream **_retval) argument 141 return mStreams.QueryElementAt(aIndex, [all...] |