Searched refs:IndexOf (Results 1 - 11 of 11) sorted by relevance
/vbox/src/libs/xpcom18a4/xpcom/ds/ |
H A D | nsValueArray.h | 101 nsValueArrayIndex IndexOf(nsValueArrayValue aPossibleValue) const; 108 return RemoveValueAt(IndexOf(aValue));
|
H A D | nsCOMArray.h | 58 PRInt32 IndexOf(nsISupports* aObject) const { function in class:nsCOMArray_base 59 return mArray.IndexOf(aObject); 169 PRInt32 IndexOf(T* aObject) const { function in class:nsCOMArray 170 return nsCOMArray_base::IndexOf(NS_STATIC_CAST(nsISupports*, aObject)); 174 // this is much slower than IndexOf() because it uses
|
H A D | nsArray.cpp | 43 // used by IndexOf() 82 nsArray::IndexOf(PRUint32 aStartIndex, nsISupports* aElement, function in class:nsArray 87 *aResult = mArray.IndexOf(aElement);
|
H A D | nsSupportsArray.h | 95 NS_IMETHOD_(PRInt32) IndexOf(const nsISupports* aPossibleElement); 101 *_retval = IndexOf(aPossibleElement);
|
H A D | nsVoidArray.h | 97 PRInt32 IndexOf(void* aPossibleElement) const; 219 PRInt32 IndexOf(const nsAString& aPossibleString) const; 280 PRInt32 IndexOf(const nsACString& aPossibleString) const; 356 PRInt32 IndexOf(void* aPossibleElement) const;
|
H A D | nsISupportsArray.idl | 78 [notxpcom] long IndexOf([const] in nsISupports aPossibleElement);
|
H A D | nsVoidArray.cpp | 364 PRInt32 nsVoidArray::IndexOf(void* aPossibleElement) const function in class:nsVoidArray 585 PRInt32 theIndex = IndexOf(aElement); 771 nsStringArray::IndexOf(const nsAString& aPossibleString) const function in class:nsStringArray 818 PRInt32 index = IndexOf(aString); 976 nsCStringArray::IndexOf(const nsACString& aPossibleString) const function in class:nsCStringArray 1042 PRInt32 index = IndexOf(aCString); 1247 nsSmallVoidArray::IndexOf(void* aPossibleElement) const function in class:nsSmallVoidArray 1258 return vector->IndexOf(aPossibleElement);
|
H A D | nsValueArray.cpp | 292 nsValueArrayIndex nsValueArray::IndexOf(nsValueArrayValue aPossibleValue) const { function in class:nsValueArray
|
H A D | nsSupportsArray.cpp | 334 nsSupportsArray::IndexOf(const nsISupports* aPossibleElement) function in class:nsSupportsArray
|
/vbox/src/libs/xpcom18a4/xpcom/tests/ |
H A D | TestArray.cpp | 166 // test IndexOf && LastIndexOf 169 PRInt32 index = array->IndexOf(foo); 170 fprintf(stdout, "IndexOf(foo): %d=%d %s\n", index, expectedIndex[count], 176 fprintf(stdout, "IndexOf(foo): %d=%d %s\n", index, expectedIndex[count],
|
H A D | TestVoidBTree.cpp | 270 // IndexOf 273 if (btree.IndexOf(element) != i) { 274 printf("failed IndexOf at %d\n", i);
|
Completed in 101 milliseconds