Home
last modified time | relevance | path

Searched refs:coll (Results 1 – 3 of 3) sorted by relevance

/haiku/src/system/libroot/posix/glibc/locale/
H A DJamfile27 coll-lookup.c
/haiku/src/tests/system/libroot/posix/
H A Dlocale_test.cpp1593 test_coll(bool useStrxfrm, const char* locale, const coll_data* coll) in test_coll() argument
1599 for (unsigned int i = 0; coll[i].a != NULL; ++i) { in test_coll()
1605 strxfrm(sortKeyA, coll[i].a, 100); in test_coll()
1606 strxfrm(sortKeyB, coll[i].b, 100); in test_coll()
1609 coll[i].a, coll[i].b); in test_coll()
1611 result = sign(strcoll(coll[i].a, coll[i].b)); in test_coll()
1612 sprintf(funcCall, "strcoll(\"%s\", \"%s\")", coll[i].a, coll[i].b); in test_coll()
1615 if (result != coll[i].result || errno != coll[i].err) { in test_coll()
1618 funcCall, result, coll[i].result, errno, coll[i].err); in test_coll()
H A Dwcs_test.cpp2428 test_coll(bool useWcsxfrm, const char* locale, const coll_data coll[]) in test_coll() argument
2434 for (unsigned int i = 0; coll[i].a != NULL; ++i) { in test_coll()
2440 wcsxfrm(sortKeyA, coll[i].a, 100); in test_coll()
2441 wcsxfrm(sortKeyB, coll[i].b, 100); in test_coll()
2444 coll[i].a, coll[i].b); in test_coll()
2446 result = sign(wcscoll(coll[i].a, coll[i].b)); in test_coll()
2447 sprintf(funcCall, "wcscoll(\"%ls\", \"%ls\")", coll[i].a, in test_coll()
2448 coll[i].b); in test_coll()
2451 if (result != coll[i].result || errno != coll[i].err) { in test_coll()
2454 funcCall, result, coll[i].result, errno, coll[i].err); in test_coll()