Home | History | Annotate | Download | only in TestSort

Lines Matching refs:KeyType

23 template<typename KeyType>
26 KeyType key;
47 template<typename DataType, typename KeyType>
50 KeyType keyX = ((const DataType*)dataX)->key;
51 KeyType keyY = ((const DataType*)dataY)->key;
126 template<typename KeyType>
131 KeyType key[DataLength];
132 KeyType keyRef[DataLength];
133 LotsOfData<KeyType> data[DataLength];
134 LotsOfData<KeyType> dataRef[DataLength];
151 key[j] = TypedRand<KeyType>();
164 retVal = webrtc::KeySort(data, key, DataLength, sizeof(LotsOfData<KeyType>),
167 //std::sort(data, data + DataLength, KeyLessThan<KeyType>());
168 //qsort(data, DataLength, sizeof(LotsOfData<KeyType>),
169 // CompareKey<LotsOfData<KeyType>, KeyType>);
176 //qsort(key, DataLength, sizeof(KeyType), Compare<KeyType>);