Lines Matching refs:fileLine
96 while(isSpace(fileLine[i])) { ++i; } in skipSpaces()
126 UnicodeString fileLine; member in CollationTest
973 fileLine.remove(); in readNonEmptyLine()
986 fileLine.setTo(FALSE, line, lineLength); in readNonEmptyLine()
995 int32_t length = fileLine.length(); in parseString()
997 for(i = start; i < length && !isSpace(fileLine[i]); ++i) {} in parseString()
998 int32_t pipeIndex = fileLine.indexOf((UChar)0x7c, start, i - start); // '|' in parseString()
1000 prefix = fileLine.tempSubStringBetween(start, pipeIndex).unescape(); in parseString()
1003 infoln(fileLine); in parseString()
1011 s = fileLine.tempSubStringBetween(start, i).unescape(); in parseString()
1014 infoln(fileLine); in parseString()
1024 if(fileLine[0] == 0x3c) { // < in parseRelationAndString()
1025 UChar second = fileLine[1]; in parseRelationAndString()
1051 } else if(fileLine[0] == 0x3d) { // = in parseRelationAndString()
1057 if(start == 0 || !isSpace(fileLine[start])) { in parseRelationAndString()
1059 infoln(fileLine); in parseRelationAndString()
1068 infoln(fileLine); in parseRelationAndString()
1072 if(start < fileLine.length()) { in parseRelationAndString()
1074 infoln(fileLine); in parseRelationAndString()
1117 int32_t equalPos = fileLine.indexOf((UChar)0x3d); in parseAndSetAttribute()
1119 if(fileLine.compare(start, 7, UNICODE_STRING("reorder", 7)) == 0) { in parseAndSetAttribute()
1124 infoln(fileLine); in parseAndSetAttribute()
1129 UnicodeString attrString = fileLine.tempSubStringBetween(start, equalPos); in parseAndSetAttribute()
1130 UnicodeString valueString = fileLine.tempSubString(equalPos+1); in parseAndSetAttribute()
1143 infoln(fileLine); in parseAndSetAttribute()
1152 infoln(fileLine); in parseAndSetAttribute()
1156 fileLine.remove(); in parseAndSetAttribute()
1164 infoln(fileLine); in parseAndSetAttribute()
1178 infoln(fileLine); in parseAndSetAttribute()
1193 infoln(fileLine); in parseAndSetAttribute()
1197 fileLine.remove(); in parseAndSetAttribute()
1202 while(start < fileLine.length()) { in parseAndSetReorderCodes()
1205 while(limit < fileLine.length() && !isSpace(fileLine[limit])) { ++limit; } in parseAndSetReorderCodes()
1207 name.appendInvariantChars(fileLine.tempSubStringBetween(start, limit), errorCode); in parseAndSetReorderCodes()
1214 infoln(fileLine); in parseAndSetReorderCodes()
1227 infoln(fileLine); in parseAndSetReorderCodes()
1231 fileLine.remove(); in parseAndSetReorderCodes()
1236 while(readNonEmptyLine(f, errorCode) && !isSectionStarter(fileLine[0])) { in buildTailoring()
1237 rules.append(fileLine.unescape()); in buildTailoring()
1282 int32_t at = fileLine.indexOf((UChar)0x40, 9); // @ is not invariant in setLocaleCollator()
1284 fileLine.setCharAt(at, (UChar)0x2a); // * in setLocaleCollator()
1287 localeID.appendInvariantChars(fileLine.tempSubString(9), errorCode); in setLocaleCollator()
1292 if(fileLine.length() == 9 || errorCode.isFailure() || locale.isBogus()) { in setLocaleCollator()
1294 infoln(fileLine); in setLocaleCollator()
1304 infoln(fileLine); in setLocaleCollator()
1556 … if(!getCollationKey(norm, fileLine, s.getBuffer(), s.length(), key, errorCode)) { return FALSE; } in checkCompareTwo()
1564 infoln(fileLine); in checkCompareTwo()
1575 infoln(fileLine); in checkCompareTwo()
1589 infoln(fileLine); in checkCompareTwo()
1600 infoln(fileLine); in checkCompareTwo()
1630 infoln(fileLine); in checkCompareTwo()
1641 infoln(fileLine); in checkCompareTwo()
1654 infoln(fileLine); in checkCompareTwo()
1665 infoln(fileLine); in checkCompareTwo()
1683 infoln(fileLine); in checkCompareTwo()
1695 infoln(fileLine); in checkCompareTwo()
1708 infoln(fileLine); in checkCompareTwo()
1733 infoln(fileLine); in checkCompareTwo()
1746 infoln(fileLine); in checkCompareTwo()
1761 while(readNonEmptyLine(f, errorCode) && !isSectionStarter(fileLine[0])) { in checkCompareStrings()
1801 prevFileLine = fileLine; in checkCompareStrings()
1825 …while(errorCode.isSuccess() && (!fileLine.isEmpty() || readNonEmptyLine(f.getAlias(), errorCode)))… in TestDataDriven()
1826 if(!isSectionStarter(fileLine[0])) { in TestDataDriven()
1828 infoln(fileLine); in TestDataDriven()
1831 if(fileLine.startsWith(UNICODE_STRING("** test: ", 9))) { in TestDataDriven()
1832 fileTestName = fileLine; in TestDataDriven()
1833 logln(fileLine); in TestDataDriven()
1834 fileLine.remove(); in TestDataDriven()
1835 } else if(fileLine == UNICODE_STRING("@ root", 6)) { in TestDataDriven()
1837 fileLine.remove(); in TestDataDriven()
1838 } else if(fileLine.startsWith(UNICODE_STRING("@ locale ", 9))) { in TestDataDriven()
1840 fileLine.remove(); in TestDataDriven()
1841 } else if(fileLine == UNICODE_STRING("@ rules", 7)) { in TestDataDriven()
1843 } else if(fileLine[0] == 0x25 && isSpace(fileLine[1])) { // % in TestDataDriven()
1845 } else if(fileLine == UNICODE_STRING("* compare", 9)) { in TestDataDriven()
1849 infoln(fileLine); in TestDataDriven()