Searched refs:nsValueArrayIndex (Results 1 - 2 of 2) sorted by relevance

/vbox/src/libs/xpcom18a4/xpcom/ds/
H A DnsValueArray.h55 typedef PRUint32 nsValueArrayIndex; typedef
95 nsValueArrayValue ValueAt(nsValueArrayIndex aIndex) const;
97 inline nsValueArrayValue operator[](nsValueArrayIndex aIndex) const {
101 nsValueArrayIndex IndexOf(nsValueArrayValue aPossibleValue) const;
111 PRBool InsertValueAt(nsValueArrayValue aValue, nsValueArrayIndex aIndex);
113 PRBool RemoveValueAt(nsValueArrayIndex aIndex);
H A DnsValueArray.cpp142 PRBool nsValueArray::InsertValueAt(nsValueArrayValue aValue, nsValueArrayIndex aIndex) {
220 PRBool nsValueArray::RemoveValueAt(nsValueArrayIndex aIndex) {
266 nsValueArrayValue nsValueArray::ValueAt(nsValueArrayIndex aIndex) const {
272 retval = (nsValueArrayIndex)*((PRUint8*)&mValueArray[aIndex * mBytesPerValue]);
275 retval = (nsValueArrayIndex)*((PRUint16*)&mValueArray[aIndex * mBytesPerValue]);
278 retval = (nsValueArrayIndex)*((PRUint32*)&mValueArray[aIndex * mBytesPerValue]);
292 nsValueArrayIndex nsValueArray::IndexOf(nsValueArrayValue aPossibleValue) const {
293 nsValueArrayIndex retval = NSVALUEARRAY_INVALID;
294 nsValueArrayIndex traverse;

Completed in 471 milliseconds