Home | History | Annotate | Download | only in TestSort

Lines Matching defs:DataLength

129     enum { DataLength = 1000 };
131 KeyType key[DataLength];
132 KeyType keyRef[DataLength];
133 LotsOfData<KeyType> data[DataLength];
134 LotsOfData<KeyType> dataRef[DataLength];
149 for (int j = 0; j < DataLength; j++)
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>),
173 retVal = webrtc::Sort(key, DataLength, sortType);
175 //std::sort(key, key + DataLength);
176 //qsort(key, DataLength, sizeof(KeyType), Compare<KeyType>);
192 std::sort(keyRef, keyRef + DataLength);
197 for (int j = 0; j < DataLength - 1; j++)
207 if (index < 0 || index >= DataLength || data[j].key != dataRef[index].key)
217 for (int j = 0; j < DataLength - 1; j++)