Home
last modified time | relevance | path

Searched refs:nestingLevel (Results 1 – 11 of 11) sorted by relevance

/external/proguard/src/proguard/classfile/util/
DDescriptorClassEnumeration.java38 private int nestingLevel; field in DescriptorClassEnumeration
84 nestingLevel = 0; in reset()
115 nestingLevel++; in nextFluff()
130 nestingLevel--; in nextFluff()
145 nestingLevel += 2; in nextFluff()
151 nestingLevel -= 2; in nextFluff()
168 if (nestingLevel == 1 && in nextFluff()
DInternalTypeEnumeration.java158 int nestingLevel = 1; in skipGeneric() local
166 nestingLevel++; in skipGeneric()
170 nestingLevel--; in skipGeneric()
174 while (nestingLevel > 0); in skipGeneric()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DMessagePattern.java857 private int parseMessage(int index, int msgStartLength, int nestingLevel, ArgType parentType) { in parseMessage() argument
858 if(nestingLevel>Part.MAX_VALUE) { in parseMessage()
862 addPart(Part.Type.MSG_START, index, msgStartLength, nestingLevel); in parseMessage()
919 index=parseArg(index-1, 1, nestingLevel); in parseMessage()
920 } else if((nestingLevel>0 && c=='}') || (parentType==ArgType.CHOICE && c=='|')) { in parseMessage()
925 addLimitPart(msgStart, Part.Type.MSG_LIMIT, index-1, limitLength, nestingLevel); in parseMessage()
935 if(nestingLevel>0 && !inTopLevelChoiceMessage(nestingLevel, parentType)) { in parseMessage()
939 addLimitPart(msgStart, Part.Type.MSG_LIMIT, index, 0, nestingLevel); in parseMessage()
943 private int parseArg(int index, int argStartLength, int nestingLevel) { in parseArg() argument
1034 index=parseChoiceStyle(index, nestingLevel); in parseArg()
[all …]
/external/messageformat/java/com/ibm/icu/text/
DMessagePattern.java927 private int parseMessage(int index, int msgStartLength, int nestingLevel, ArgType parentType) { in parseMessage() argument
928 if(nestingLevel>Part.MAX_VALUE) { in parseMessage()
932 addPart(Part.Type.MSG_START, index, msgStartLength, nestingLevel); in parseMessage()
989 index=parseArg(index-1, 1, nestingLevel); in parseMessage()
990 } else if((nestingLevel>0 && c=='}') || (parentType==ArgType.CHOICE && c=='|')) { in parseMessage()
995 addLimitPart(msgStart, Part.Type.MSG_LIMIT, index-1, limitLength, nestingLevel); in parseMessage()
1005 if(nestingLevel>0 && !inTopLevelChoiceMessage(nestingLevel, parentType)) { in parseMessage()
1009 addLimitPart(msgStart, Part.Type.MSG_LIMIT, index, 0, nestingLevel); in parseMessage()
1013 private int parseArg(int index, int argStartLength, int nestingLevel) { in parseArg() argument
1104 index=parseChoiceStyle(index, nestingLevel); in parseArg()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMessagePattern.java928 private int parseMessage(int index, int msgStartLength, int nestingLevel, ArgType parentType) { in parseMessage() argument
929 if(nestingLevel>Part.MAX_VALUE) { in parseMessage()
933 addPart(Part.Type.MSG_START, index, msgStartLength, nestingLevel); in parseMessage()
990 index=parseArg(index-1, 1, nestingLevel); in parseMessage()
991 } else if((nestingLevel>0 && c=='}') || (parentType==ArgType.CHOICE && c=='|')) { in parseMessage()
996 addLimitPart(msgStart, Part.Type.MSG_LIMIT, index-1, limitLength, nestingLevel); in parseMessage()
1006 if(nestingLevel>0 && !inTopLevelChoiceMessage(nestingLevel, parentType)) { in parseMessage()
1010 addLimitPart(msgStart, Part.Type.MSG_LIMIT, index, 0, nestingLevel); in parseMessage()
1014 private int parseArg(int index, int argStartLength, int nestingLevel) { in parseArg() argument
1105 index=parseChoiceStyle(index, nestingLevel); in parseArg()
[all …]
/external/icu/icu4c/source/common/
Dmessagepattern.cpp433 int32_t nestingLevel, UMessagePatternArgType parentType, in parseMessage() argument
438 if(nestingLevel>Part::MAX_VALUE) { in parseMessage()
443 addPart(UMSGPAT_PART_TYPE_MSG_START, index, msgStartLength, nestingLevel, errorCode); in parseMessage()
509 index=parseArg(index-1, 1, nestingLevel, parseError, errorCode); in parseMessage()
510 } else if((nestingLevel>0 && c==u_rightCurlyBrace) || in parseMessage()
517 nestingLevel, errorCode); in parseMessage()
527 if(nestingLevel>0 && !inTopLevelChoiceMessage(nestingLevel, parentType)) { in parseMessage()
532 addLimitPart(msgStart, UMSGPAT_PART_TYPE_MSG_LIMIT, index, 0, nestingLevel, errorCode); in parseMessage()
537 MessagePattern::parseArg(int32_t index, int32_t argStartLength, int32_t nestingLevel, in parseArg() argument
645 index=parseChoiceStyle(index, nestingLevel, parseError, errorCode); in parseArg()
[all …]
/external/icu/icu4c/source/common/unicode/
Dmessagepattern.h836 int32_t nestingLevel, UMessagePatternArgType parentType,
839 int32_t parseArg(int32_t index, int32_t argStartLength, int32_t nestingLevel,
844 int32_t parseChoiceStyle(int32_t index, int32_t nestingLevel,
847 …t32_t parsePluralOrSelectStyle(UMessagePatternArgType argType, int32_t index, int32_t nestingLevel,
902 UBool inMessageFormatPattern(int32_t nestingLevel);
908 UBool inTopLevelChoiceMessage(int32_t nestingLevel, UMessagePatternArgType parentType);
/external/jsoncpp/src/test_lib_json/
Djsontest.cpp90 unsigned int nestingLevel = 0; in addFailure() local
97 lastNode->file_, lastNode->line_, lastNode->expr_, nestingLevel); in addFailure()
102 ++nestingLevel; in addFailure()
106 addFailureInfo(file, line, expr, nestingLevel); in addFailure()
114 unsigned int nestingLevel) { in addFailureInfo() argument
121 failure.nestingLevel_ = nestingLevel; in addFailureInfo()
Djsontest.h105 unsigned int nestingLevel);
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/messagepattern/
DMessagePatternDemo.java50 int nestingLevel=part.getValue(); in printParts() local
51 if(nestingLevel>1) { in printParts()
52 indent=manySpaces.substring(0, (nestingLevel-1)*2); // outdent in printParts()
/external/icu/icu4c/source/i18n/
Dchoicfmt.cpp312 int32_t nestingLevel = 0; in setChoices() local
315 if (c == SINGLE_QUOTE && nestingLevel == 0) { in setChoices()
318 } else if (c == VERTICAL_BAR && nestingLevel == 0) { in setChoices()
330 ++nestingLevel; in setChoices()
331 } else if (c == RIGHT_CURLY_BRACE && nestingLevel > 0) { in setChoices()
332 --nestingLevel; in setChoices()