• Home
  • Raw
  • Download

Lines Matching refs:d16

794             : CollPerfFunction(coll, ucoll), d16(data16),  in UniStrCollPerfFunction()
795 source(new UnicodeString*[d16->count]) { in UniStrCollPerfFunction()
796 for (int32_t i = 0; i < d16->count; ++i) { in UniStrCollPerfFunction()
797 source[i] = new UnicodeString(TRUE, d16->dataOf(i), d16->lengthOf(i)); in UniStrCollPerfFunction()
803 const CA_uchar* d16; member in UniStrCollPerfFunction
808 for (int32_t i = 0; i < d16->count; ++i) { in ~UniStrCollPerfFunction()
821 dest(new UnicodeString*[d16->count]) {} in UniStrSort()
837 int32_t count = d16->count; in call()
970 int32_t count = d16->count; in call()
1081 const CA_uchar* d16,
1084 static CA_char* getData8FromData16(const CA_uchar* d16, UErrorCode &status);
1181 CA_uchar* d16 = new CA_uchar(); in getData16() local
1198 d16->append_one(len); in getData16()
1199 UChar *p = d16->last(); in getData16()
1209 data16 = d16; in getData16()
1211 delete d16; in getData16()
1229 const CA_uchar* d16 = getData16(status); in getModData16() local
1234 for (int32_t i = 0; i < d16->count; i++) { in getModData16()
1235 const UChar *s = d16->dataOf(i); in getModData16()
1236 int32_t len = d16->lengthOf(i) + 1; // including NULL terminator in getModData16()
1244 if (j >= d16->count) { in getModData16()
1247 const UChar *s1 = d16->dataOf(j); in getModData16()
1248 UChar lastChar1 = s1[d16->lengthOf(j) - 1]; in getModData16()
1269 ArrayAndColl(const CA_uchar* a, const Collator& c) : d16(a), coll(c) {} in ArrayAndColl()
1270 const CA_uchar* d16; member
1277 const CA_uchar* d16 = ac.d16; in U16CollatorComparator() local
1281 return ac.coll.compare(d16->dataOf(leftIndex), d16->lengthOf(leftIndex), in U16CollatorComparator()
1282 d16->dataOf(rightIndex), d16->lengthOf(rightIndex), in U16CollatorComparator()
1288 const CA_uchar* d16 = (const CA_uchar*)context; in U16HashComparator() local
1291 int32_t leftHash = ustr_hashUCharsN(d16->dataOf(leftIndex), d16->lengthOf(leftIndex)); in U16HashComparator()
1292 int32_t rightHash = ustr_hashUCharsN(d16->dataOf(rightIndex), d16->lengthOf(rightIndex)); in U16HashComparator()
1303 return sortedData16 = sortData16(ac.d16, U16CollatorComparator, &ac, status); in getSortedData16()
1317 const CA_uchar* d16 = getData16(status); in getRandomData16() local
1318 return randomData16 = sortData16(d16, U16HashComparator, d16, status); in getRandomData16()
1327 CA_uchar* CollPerf2Test::sortData16(const CA_uchar* d16, in sortData16() argument
1332 LocalArray<int32_t> indexes(new int32_t[d16->count]); in sortData16()
1333 for (int32_t i = 0; i < d16->count; ++i) { in sortData16()
1336 uprv_sortArray(indexes.getAlias(), d16->count, 4, cmp, context, TRUE, &status); in sortData16()
1341 for (int32_t i = 0; i < d16->count; i++) { in sortData16()
1343 const UChar* s = d16->dataOf(j); in sortData16()
1344 int32_t len = d16->lengthOf(j); in sortData16()
1357 CA_char* CollPerf2Test::getData8FromData16(const CA_uchar* d16, UErrorCode &status) { in getData8FromData16() argument
1362 for (int32_t i = 0; i < d16->count; i++) { in getData8FromData16()
1363 const UChar *s16 = d16->dataOf(i); in getData8FromData16()
1364 int32_t length16 = d16->lengthOf(i); in getData8FromData16()