Home
last modified time | relevance | path

Searched refs:fileLine (Results 1 – 7 of 7) sorted by relevance

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDataDrivenNumberFormatTestSuite.java96 private String fileLine = null; field in DataDrivenNumberFormatTestSuite
144 if (fileLine != null && fileLine.charAt(0) == '\uFEFF') { in run()
145 fileLine = fileLine.substring(1); in run()
152 if (fileLine == null || fileLine.length() == 0) { in run()
156 if (fileLine.length() == 0 && state == 2) { in run()
161 if (fileLine.startsWith("//")) { in run()
162 fileLine = null; in run()
167 if (fileLine.startsWith("test ")) { in run()
168 fileTestName = fileLine; in run()
170 } else if (fileLine.startsWith("set ")) { in run()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDataDrivenNumberFormatTestSuite.java100 private String fileLine = null; field in DataDrivenNumberFormatTestSuite
148 if (fileLine != null && fileLine.charAt(0) == '\uFEFF') { in run()
149 fileLine = fileLine.substring(1); in run()
156 if (fileLine == null || fileLine.length() == 0) { in run()
160 if (fileLine.length() == 0 && state == 2) { in run()
165 if (fileLine.startsWith("//")) { in run()
166 fileLine = null; in run()
171 if (fileLine.startsWith("test ")) { in run()
172 fileTestName = fileLine; in run()
174 } else if (fileLine.startsWith("set ")) { in run()
[all …]
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationTest.java60 String fileLine; field in CollationTest
1032 while (isSpace(fileLine.charAt(i))) { in skipSpaces()
1065 fileLine = null; in readNonEmptyLine()
1081 fileLine = idx < line.length() ? line.substring(0, idx) : line; in readNonEmptyLine()
1089 int length = fileLine.length();
1091 for (i = start; i < length && !isSpace(fileLine.charAt(i)); ++i) {
1093 int pipeIndex = fileLine.indexOf('|', start);
1095 String tmpPrefix = Utility.unescape(fileLine.substring(start, pipeIndex));
1098 logln(fileLine);
1107 String tmp = Utility.unescape(fileLine.substring(start, i));
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationTest.java64 String fileLine; field in CollationTest
1036 while (isSpace(fileLine.charAt(i))) { in skipSpaces()
1069 fileLine = null; in readNonEmptyLine()
1085 fileLine = idx < line.length() ? line.substring(0, idx) : line; in readNonEmptyLine()
1093 int length = fileLine.length();
1095 for (i = start; i < length && !isSpace(fileLine.charAt(i)); ++i) {
1097 int pipeIndex = fileLine.indexOf('|', start);
1099 String tmpPrefix = Utility.unescape(fileLine.substring(start, pipeIndex));
1102 logln(fileLine);
1111 String tmp = Utility.unescape(fileLine.substring(start, i));
[all …]
/external/icu/icu4c/source/test/intltest/
Dcollationtest.cpp93 while(isSpace(fileLine[i])) { ++i; } in skipSpaces()
123 UnicodeString fileLine; member in CollationTest
974 fileLine.remove(); in readNonEmptyLine()
987 fileLine.setTo(FALSE, line, lineLength); in readNonEmptyLine()
996 int32_t length = fileLine.length(); in parseString()
998 for(i = start; i < length && !isSpace(fileLine[i]); ++i) {} in parseString()
999 int32_t pipeIndex = fileLine.indexOf((UChar)0x7c, start, i - start); // '|' in parseString()
1001 prefix = fileLine.tempSubStringBetween(start, pipeIndex).unescape(); in parseString()
1004 infoln(fileLine); in parseString()
1012 s = fileLine.tempSubStringBetween(start, i).unescape(); in parseString()
[all …]
Dnumfmtst.cpp7291 UnicodeString fileLine = UnicodeString(file)+UnicodeString(":")+line+UnicodeString(": "); in testFormattableAsUFormattable() local
7300 logln(fileLine + toString(f)); in testFormattableAsUFormattable()
7347 exactMatch = assertEquals(fileLine + " array count", count, count2); in testFormattableAsUFormattable()
7399 if( assertEquals(fileLine + " isNumeric()", f.isNumeric(), ufmt_isNumeric(u)) in testFormattableAsUFormattable()
7404 … assertTrue(fileLine + " as doubles ==", f.getDouble(convStatus)==ufmt_getDouble(u, &convStatus)); in testFormattableAsUFormattable()
7407 if( assertSuccess(fileLine + " (numeric conversion status)", convStatus) ) { in testFormattableAsUFormattable()
7418 if( assertSuccess(fileLine + " (decNumbers conversion)", convStatus) ) { in testFormattableAsUFormattable()
7419 logln(fileLine + decNumChars); in testFormattableAsUFormattable()
7420 assertEquals(fileLine + " decNumChars length==", len, fDecNum.length()); in testFormattableAsUFormattable()
7421 assertEquals(fileLine + " decNumChars digits", decNumChars, fDecNum.data()); in testFormattableAsUFormattable()
[all …]
/external/icu/icu4c/source/tools/gendict/
Dgendict.cpp220 static UBool readLine(UCHARBUF *f, UnicodeString &fileLine, IcuToolErrorCode &errorCode) { in readLine() argument
232 fileLine.setTo(FALSE, line, lineLength); in readLine()
329 UnicodeString fileLine; in main() local
338 while (readLine(f, fileLine, status)) { in main()
340 if (fileLine.isEmpty()) continue; in main()
344 for (keyLen = 0; keyLen < fileLine.length() && !u_isspace(fileLine[keyLen]); ++keyLen) {} in main()
352 valueStart < fileLine.length() && u_isspace(fileLine[valueStart]); in main()
356 int32_t valueLength = fileLine.length() - valueStart; in main()
363 fileLine.extract(valueStart, valueLength, s, 16, US_INV); in main()
371 dict.addWord(fileLine.tempSubString(0, keyLen), (int32_t)value, status); in main()
[all …]