Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/icu/text/
DTransliteratorIDParser.java269 int[] withParens, in parseGlobalFilter() argument
274 if (withParens[0] == -1) { in parseGlobalFilter()
275 withParens[0] = Utility.parseChar(id, pos, OPEN_REV) ? 1 : 0; in parseGlobalFilter()
276 } else if (withParens[0] == 1) { in parseGlobalFilter()
297 if (withParens[0] == 1 && !Utility.parseChar(id, pos, CLOSE_REV)) { in parseGlobalFilter()
307 if (withParens[0] == 1) { in parseGlobalFilter()
312 if (withParens[0] == 0) { in parseGlobalFilter()
350 int[] withParens = new int[1]; in parseCompoundID() local
357 withParens[0] = 0; // parens disallowed in parseCompoundID()
358 filter = parseGlobalFilter(id, pos, dir, withParens, canonID); in parseCompoundID()
[all …]
DTransliteratorParser.java1003 int[] withParens = new int[] { -1 }; in parseRules() local
1004 … UnicodeSet f = TransliteratorIDParser.parseGlobalFilter(rule, p, direction, withParens, null); in parseRules()
1007 (withParens[0] == 0)) { in parseRules()
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DTransliteratorIDParser.java268 int[] withParens, in parseGlobalFilter() argument
273 if (withParens[0] == -1) { in parseGlobalFilter()
274 withParens[0] = Utility.parseChar(id, pos, OPEN_REV) ? 1 : 0; in parseGlobalFilter()
275 } else if (withParens[0] == 1) { in parseGlobalFilter()
296 if (withParens[0] == 1 && !Utility.parseChar(id, pos, CLOSE_REV)) { in parseGlobalFilter()
306 if (withParens[0] == 1) { in parseGlobalFilter()
311 if (withParens[0] == 0) { in parseGlobalFilter()
349 int[] withParens = new int[1]; in parseCompoundID() local
356 withParens[0] = 0; // parens disallowed in parseCompoundID()
357 filter = parseGlobalFilter(id, pos, dir, withParens, canonID); in parseCompoundID()
[all …]
DTransliteratorParser.java1002 int[] withParens = new int[] { -1 }; in parseRules() local
1003 … UnicodeSet f = TransliteratorIDParser.parseGlobalFilter(rule, p, direction, withParens, null); in parseRules()
1006 (withParens[0] == 0)) { in parseRules()
/external/icu/icu4c/source/i18n/
Dtridpars.cpp261 int32_t& withParens, in parseGlobalFilter() argument
266 if (withParens == -1) { in parseGlobalFilter()
267 withParens = ICU_Utility::parseChar(id, pos, OPEN_REV) ? 1 : 0; in parseGlobalFilter()
268 } else if (withParens == 1) { in parseGlobalFilter()
296 if (withParens == 1 && !ICU_Utility::parseChar(id, pos, CLOSE_REV)) { in parseGlobalFilter()
306 if (withParens == 1) { in parseGlobalFilter()
312 if (withParens == 0) { in parseGlobalFilter()
364 int32_t withParens = 1; in parseCompoundID() local
371 withParens = 0; // parens disallowed in parseCompoundID()
372 filter = parseGlobalFilter(id, pos, dir, withParens, &canonID); in parseCompoundID()
[all …]
Dtridpars.h166 int32_t& withParens,
Drbt_pars.cpp1001 int32_t withParens = -1; in parseRules() local
1002 … UnicodeSet* f = TransliteratorIDParser::parseGlobalFilter(rule, p, direction, withParens, NULL); in parseRules()
1005 && (direction == UTRANS_FORWARD) == (withParens == 0)) in parseRules()