Home | History | Annotate | Download | only in cintltst

Lines Matching defs:second

550   UChar second[256];
568 *first = *second = 0;
586 second[0] = 0;
588 u_strncpy(second,src.source+chOffset, chLen);
589 second[chLen] = 0;
603 if(before == TRUE) { /* swap first and second */
605 u_strcpy(first, second);
606 u_strcpy(second, tempB);
624 testEquality(coll,first,second);
627 testPrimary(coll,first,second);
630 testSecondary(coll,first,second);
633 testTertiary(coll,first,second);
646 if(before == TRUE && strength != UCOL_TOK_RESET) { /* first and second were swapped */
651 u_strcpy(first, second);
893 static uint32_t testSwitch(tst_strcoll* func, void *collator, int opts, uint32_t strength, const UChar *first, const UChar *second, const char* msg, UBool error) {
899 uint32_t tLen = u_strlen(second);
901 realResult = func(collator, opts, first, sLen, second, tLen);
902 realStrength = probeStrength(func, collator, opts, first, sLen, second, tLen, realResult);
905 logFailure(msg, "tailoring", first, sLen, second, tLen, realResult, realStrength, UCOL_EQUAL, strength, error);
908 logFailure(msg, "tailoring", first, sLen, second, tLen, realResult, realStrength, UCOL_LESS, strength, error);
931 UChar second[256];
952 *first = *second = 0;
970 u_strncpy(second,src.source+chOffset, chLen);
971 second[chLen] = 0;
981 if((*first<0x3400 || *first>=0xa000) && (*second<0x3400 || *second>=0xa000)) {
982 UCAdiff += testSwitch(&ucaTest, (void *)UCA, 0, strength, first, second, refName, error);
983 /*Windiff += testSwitch(&winTest, (void *)lcid, 0, strength, first, second, "Win32");*/
989 u_strcpy(first, second);
2982 UChar second[256] = { 0 };
3073 u_strncpy(second, src.source+chOffset, chLen);
3074 second[chLen] = 0;
3076 u_strncpy(second, src.source+oldExOffset, oldExLen);
3077 u_strncpy(second+oldChLen, src.source+chOffset, chLen);
3078 u_strncpy(second+oldChLen+chLen, src.source+oldExOffset, oldExLen);
3079 second[2*oldExLen+chLen] = 0;
3081 result = ucol_strcoll(coll, first, -1, second, -1);
3083 doTest(coll, first, second, UCOL_EQUAL);
3628 * and the first and second characters (by primary weights) after it.
4880 log_err("Hit bug at second try\n");