Searched refs:IndexOf (Results 1 - 11 of 11) sorted by relevance

/vbox/src/libs/xpcom18a4/xpcom/ds/
H A DnsValueArray.h101 nsValueArrayIndex IndexOf(nsValueArrayValue aPossibleValue) const;
108 return RemoveValueAt(IndexOf(aValue));
H A DnsCOMArray.h58 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 DnsArray.cpp43 // used by IndexOf()
82 nsArray::IndexOf(PRUint32 aStartIndex, nsISupports* aElement, function in class:nsArray
87 *aResult = mArray.IndexOf(aElement);
H A DnsSupportsArray.h95 NS_IMETHOD_(PRInt32) IndexOf(const nsISupports* aPossibleElement);
101 *_retval = IndexOf(aPossibleElement);
H A DnsVoidArray.h97 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 DnsISupportsArray.idl78 [notxpcom] long IndexOf([const] in nsISupports aPossibleElement);
H A DnsVoidArray.cpp364 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 DnsValueArray.cpp292 nsValueArrayIndex nsValueArray::IndexOf(nsValueArrayValue aPossibleValue) const { function in class:nsValueArray
H A DnsSupportsArray.cpp334 nsSupportsArray::IndexOf(const nsISupports* aPossibleElement) function in class:nsSupportsArray
/vbox/src/libs/xpcom18a4/xpcom/tests/
H A DTestArray.cpp166 // 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 DTestVoidBTree.cpp270 // IndexOf
273 if (btree.IndexOf(element) != i) {
274 printf("failed IndexOf at %d\n", i);

Completed in 101 milliseconds