Home
last modified time | relevance | path

Searched refs:linePart (Results 1 – 5 of 5) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUnicodeRegex.java391 String linePart = line; // lineParts[i]; // .trim().replace("\\s+", " ");
392 if (linePart.trim().length() == 0) continue;
395 linePart = linePart.substring(0,linePart.lastIndexOf(';'));
397 int equalsPos = linePart.indexOf(bnfVariableInfix);
402 variable = linePart.substring(0,equalsPos).trim();
406 definition.append(linePart.substring(equalsPos+1).trim());
411 definition.append(bnfLineSeparator).append(linePart);
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUnicodeRegex.java393 String linePart = line; // lineParts[i]; // .trim().replace("\\s+", " ");
394 if (linePart.trim().length() == 0) continue;
397 linePart = linePart.substring(0,linePart.lastIndexOf(';'));
399 int equalsPos = linePart.indexOf(bnfVariableInfix);
404 variable = linePart.substring(0,equalsPos).trim();
408 definition.append(linePart.substring(equalsPos+1).trim());
413 definition.append(bnfLineSeparator).append(linePart);
/external/cldr/tools/java/org/unicode/cldr/tool/
DCheckLangTagBNF.java80 String linePart = line; // lineParts[i]; // .trim().replace("\\s+", " "); in setFromFile() local
81 if (linePart.trim().length() == 0) continue; in setFromFile()
84 linePart = linePart.substring(0, linePart.lastIndexOf(';')); in setFromFile()
86 int equalsPos = linePart.indexOf('='); in setFromFile()
91 variable = linePart.substring(0, equalsPos).trim(); in setFromFile()
92 definition.append(linePart.substring(equalsPos + 1).trim()); in setFromFile()
97 definition.append(CldrUtility.LINE_SEPARATOR).append(linePart); in setFromFile()
DCLDRModify.java2279 for (String linePart : lineParts) {
2280 int pos = linePart.indexOf('=');
2282 …row new IllegalArgumentException(lineCount + ":\t No = in command: «" + linePart + "» in " + line);
2284 … ConfigKeys key = ConfigKeys.valueOf(linePart.substring(0, pos).trim());
2288 String match = linePart.substring(pos + 1).trim();
/external/cldr/tools/java/org/unicode/cldr/json/
DLdml2JsonConverter.java182 for (String linePart : lineParts) { in Ldml2JsonConverter()
183 int pos = linePart.indexOf('='); in Ldml2JsonConverter()
187 key = linePart.substring(0, pos); in Ldml2JsonConverter()
188 value = linePart.substring(pos + 1); in Ldml2JsonConverter()