Home
last modified time | relevance | path

Searched refs:PAREN_STACK_DEPTH (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4c/source/common/
Dusc_impl.cpp22 #define PAREN_STACK_DEPTH 32 macro
24 #define MOD(sp) ((sp) % PAREN_STACK_DEPTH)
25 #define LIMIT_INC(sp) (((sp) < PAREN_STACK_DEPTH)? (sp) + 1 : PAREN_STACK_DEPTH)
28 #define DEC(sp,count) (MOD((sp) + PAREN_STACK_DEPTH - (count)))
50 struct ParenStackEntry parenStack[PAREN_STACK_DEPTH];
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/
DUScriptRun.java438 return sp % PAREN_STACK_DEPTH; in mod()
453 return mod(sp + PAREN_STACK_DEPTH - count); in dec()
463 if (count < PAREN_STACK_DEPTH) { in limitInc()
544 private static int PAREN_STACK_DEPTH = 32; field in UScriptRun
545 private static ParenStackEntry parenStack[] = new ParenStackEntry[PAREN_STACK_DEPTH];
/external/icu/android_icu4j/src/main/java/android/icu/lang/
DUScriptRun.java440 return sp % PAREN_STACK_DEPTH; in mod()
455 return mod(sp + PAREN_STACK_DEPTH - count); in dec()
465 if (count < PAREN_STACK_DEPTH) { in limitInc()
546 private static int PAREN_STACK_DEPTH = 32; field in UScriptRun
547 private static ParenStackEntry parenStack[] = new ParenStackEntry[PAREN_STACK_DEPTH];