Lines Matching refs:fileLine
95 while(isSpace(fileLine[i])) { ++i; } in skipSpaces()
125 UnicodeString fileLine; member in CollationTest
972 fileLine.remove(); in readNonEmptyLine()
985 fileLine.setTo(FALSE, line, lineLength); in readNonEmptyLine()
994 int32_t length = fileLine.length(); in parseString()
996 for(i = start; i < length && !isSpace(fileLine[i]); ++i) {} in parseString()
997 int32_t pipeIndex = fileLine.indexOf((UChar)0x7c, start, i - start); // '|' in parseString()
999 prefix = fileLine.tempSubStringBetween(start, pipeIndex).unescape(); in parseString()
1002 infoln(fileLine); in parseString()
1010 s = fileLine.tempSubStringBetween(start, i).unescape(); in parseString()
1013 infoln(fileLine); in parseString()
1023 if(fileLine[0] == 0x3c) { // < in parseRelationAndString()
1024 UChar second = fileLine[1]; in parseRelationAndString()
1050 } else if(fileLine[0] == 0x3d) { // = in parseRelationAndString()
1056 if(start == 0 || !isSpace(fileLine[start])) { in parseRelationAndString()
1058 infoln(fileLine); in parseRelationAndString()
1067 infoln(fileLine); in parseRelationAndString()
1071 if(start < fileLine.length()) { in parseRelationAndString()
1073 infoln(fileLine); in parseRelationAndString()
1116 int32_t equalPos = fileLine.indexOf((UChar)0x3d); in parseAndSetAttribute()
1118 if(fileLine.compare(start, 7, UNICODE_STRING("reorder", 7)) == 0) { in parseAndSetAttribute()
1123 infoln(fileLine); in parseAndSetAttribute()
1128 UnicodeString attrString = fileLine.tempSubStringBetween(start, equalPos); in parseAndSetAttribute()
1129 UnicodeString valueString = fileLine.tempSubString(equalPos+1); in parseAndSetAttribute()
1142 infoln(fileLine); in parseAndSetAttribute()
1151 infoln(fileLine); in parseAndSetAttribute()
1155 fileLine.remove(); in parseAndSetAttribute()
1163 infoln(fileLine); in parseAndSetAttribute()
1177 infoln(fileLine); in parseAndSetAttribute()
1192 infoln(fileLine); in parseAndSetAttribute()
1196 fileLine.remove(); in parseAndSetAttribute()
1201 while(start < fileLine.length()) { in parseAndSetReorderCodes()
1204 while(limit < fileLine.length() && !isSpace(fileLine[limit])) { ++limit; } in parseAndSetReorderCodes()
1206 name.appendInvariantChars(fileLine.tempSubStringBetween(start, limit), errorCode); in parseAndSetReorderCodes()
1213 infoln(fileLine); in parseAndSetReorderCodes()
1226 infoln(fileLine); in parseAndSetReorderCodes()
1230 fileLine.remove(); in parseAndSetReorderCodes()
1235 while(readNonEmptyLine(f, errorCode) && !isSectionStarter(fileLine[0])) { in buildTailoring()
1236 rules.append(fileLine.unescape()); in buildTailoring()
1281 int32_t at = fileLine.indexOf((UChar)0x40, 9); // @ is not invariant in setLocaleCollator()
1283 fileLine.setCharAt(at, (UChar)0x2a); // * in setLocaleCollator()
1286 localeID.appendInvariantChars(fileLine.tempSubString(9), errorCode); in setLocaleCollator()
1291 if(fileLine.length() == 9 || errorCode.isFailure() || locale.isBogus()) { in setLocaleCollator()
1293 infoln(fileLine); in setLocaleCollator()
1303 infoln(fileLine); in setLocaleCollator()
1555 … if(!getCollationKey(norm, fileLine, s.getBuffer(), s.length(), key, errorCode)) { return FALSE; } in checkCompareTwo()
1563 infoln(fileLine); in checkCompareTwo()
1574 infoln(fileLine); in checkCompareTwo()
1588 infoln(fileLine); in checkCompareTwo()
1599 infoln(fileLine); in checkCompareTwo()
1629 infoln(fileLine); in checkCompareTwo()
1640 infoln(fileLine); in checkCompareTwo()
1653 infoln(fileLine); in checkCompareTwo()
1664 infoln(fileLine); in checkCompareTwo()
1682 infoln(fileLine); in checkCompareTwo()
1694 infoln(fileLine); in checkCompareTwo()
1707 infoln(fileLine); in checkCompareTwo()
1732 infoln(fileLine); in checkCompareTwo()
1745 infoln(fileLine); in checkCompareTwo()
1760 while(readNonEmptyLine(f, errorCode) && !isSectionStarter(fileLine[0])) { in checkCompareStrings()
1800 prevFileLine = fileLine; in checkCompareStrings()
1824 …while(errorCode.isSuccess() && (!fileLine.isEmpty() || readNonEmptyLine(f.getAlias(), errorCode)))… in TestDataDriven()
1825 if(!isSectionStarter(fileLine[0])) { in TestDataDriven()
1827 infoln(fileLine); in TestDataDriven()
1830 if(fileLine.startsWith(UNICODE_STRING("** test: ", 9))) { in TestDataDriven()
1831 fileTestName = fileLine; in TestDataDriven()
1832 logln(fileLine); in TestDataDriven()
1833 fileLine.remove(); in TestDataDriven()
1834 } else if(fileLine == UNICODE_STRING("@ root", 6)) { in TestDataDriven()
1836 fileLine.remove(); in TestDataDriven()
1837 } else if(fileLine.startsWith(UNICODE_STRING("@ locale ", 9))) { in TestDataDriven()
1839 fileLine.remove(); in TestDataDriven()
1840 } else if(fileLine == UNICODE_STRING("@ rules", 7)) { in TestDataDriven()
1842 } else if(fileLine[0] == 0x25 && isSpace(fileLine[1])) { // % in TestDataDriven()
1844 } else if(fileLine == UNICODE_STRING("* compare", 9)) { in TestDataDriven()
1848 infoln(fileLine); in TestDataDriven()