• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/ICU-511.35/icuSources/test/cintltst/

Lines Matching defs:second

551   UChar second[256];
569 *first = *second = 0;
587 second[0] = 0;
589 u_strncpy(second,src.source+chOffset, chLen);
590 second[chLen] = 0;
604 if(before == TRUE) { /* swap first and second */
606 u_strcpy(first, second);
607 u_strcpy(second, tempB);
625 testEquality(coll,first,second);
628 testPrimary(coll,first,second);
631 testSecondary(coll,first,second);
634 testTertiary(coll,first,second);
647 if(before == TRUE && strength != UCOL_TOK_RESET) { /* first and second were swapped */
652 u_strcpy(first, second);
895 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) {
901 uint32_t tLen = u_strlen(second);
903 realResult = func(collator, opts, first, sLen, second, tLen);
904 realStrength = probeStrength(func, collator, opts, first, sLen, second, tLen, realResult);
907 logFailure(msg, "tailoring", first, sLen, second, tLen, realResult, realStrength, UCOL_EQUAL, strength, error);
910 logFailure(msg, "tailoring", first, sLen, second, tLen, realResult, realStrength, UCOL_LESS, strength, error);
933 UChar second[256];
954 *first = *second = 0;
972 u_strncpy(second,src.source+chOffset, chLen);
973 second[chLen] = 0;
983 if((*first<0x3400 || *first>=0xa000) && (*second<0x3400 || *second>=0xa000)) {
984 UCAdiff += testSwitch(&ucaTest, (void *)UCA, 0, strength, first, second, refName, error);
985 /*Windiff += testSwitch(&winTest, (void *)lcid, 0, strength, first, second, "Win32");*/
991 u_strcpy(first, second);
2994 UChar second[256] = { 0 };
3085 u_strncpy(second, src.source+chOffset, chLen);
3086 second[chLen] = 0;
3088 u_strncpy(second, src.source+oldExOffset, oldExLen);
3089 u_strncpy(second+oldChLen, src.source+chOffset, chLen);
3090 u_strncpy(second+oldChLen+chLen, src.source+oldExOffset, oldExLen);
3091 second[2*oldExLen+chLen] = 0;
3093 result = ucol_strcoll(coll, first, -1, second, -1);
3095 doTest(coll, first, second, UCOL_EQUAL);
3647 * and the first and second characters (by primary weights) after it.
4899 log_err("Hit bug at second try\n");