Home
last modified time | relevance | path

Searched refs:nestingLevel (Results 1 – 13 of 13) 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.java862 private int parseMessage(int index, int msgStartLength, int nestingLevel, ArgType parentType) { in parseMessage() argument
863 if(nestingLevel>Part.MAX_VALUE) { in parseMessage()
867 addPart(Part.Type.MSG_START, index, msgStartLength, nestingLevel); in parseMessage()
924 index=parseArg(index-1, 1, nestingLevel); in parseMessage()
925 } else if((nestingLevel>0 && c=='}') || (parentType==ArgType.CHOICE && c=='|')) { in parseMessage()
930 addLimitPart(msgStart, Part.Type.MSG_LIMIT, index-1, limitLength, nestingLevel); in parseMessage()
940 if(nestingLevel>0 && !inTopLevelChoiceMessage(nestingLevel, parentType)) { in parseMessage()
944 addLimitPart(msgStart, Part.Type.MSG_LIMIT, index, 0, nestingLevel); in parseMessage()
948 private int parseArg(int index, int argStartLength, int nestingLevel) { in parseArg() argument
1039 index=parseChoiceStyle(index, nestingLevel); in parseArg()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMessagePattern.java933 private int parseMessage(int index, int msgStartLength, int nestingLevel, ArgType parentType) { in parseMessage() argument
934 if(nestingLevel>Part.MAX_VALUE) { in parseMessage()
938 addPart(Part.Type.MSG_START, index, msgStartLength, nestingLevel); in parseMessage()
995 index=parseArg(index-1, 1, nestingLevel); in parseMessage()
996 } else if((nestingLevel>0 && c=='}') || (parentType==ArgType.CHOICE && c=='|')) { in parseMessage()
1001 addLimitPart(msgStart, Part.Type.MSG_LIMIT, index-1, limitLength, nestingLevel); in parseMessage()
1011 if(nestingLevel>0 && !inTopLevelChoiceMessage(nestingLevel, parentType)) { in parseMessage()
1015 addLimitPart(msgStart, Part.Type.MSG_LIMIT, index, 0, nestingLevel); in parseMessage()
1019 private int parseArg(int index, int argStartLength, int nestingLevel) { in parseArg() argument
1110 index=parseChoiceStyle(index, nestingLevel); in parseArg()
[all …]
/external/icu/icu4c/source/common/
Dmessagepattern.cpp435 int32_t nestingLevel, UMessagePatternArgType parentType, in parseMessage() argument
440 if(nestingLevel>Part::MAX_VALUE) { in parseMessage()
445 addPart(UMSGPAT_PART_TYPE_MSG_START, index, msgStartLength, nestingLevel, errorCode); in parseMessage()
511 index=parseArg(index-1, 1, nestingLevel, parseError, errorCode); in parseMessage()
512 } else if((nestingLevel>0 && c==u_rightCurlyBrace) || in parseMessage()
519 nestingLevel, errorCode); in parseMessage()
529 if(nestingLevel>0 && !inTopLevelChoiceMessage(nestingLevel, parentType)) { in parseMessage()
534 addLimitPart(msgStart, UMSGPAT_PART_TYPE_MSG_LIMIT, index, 0, nestingLevel, errorCode); in parseMessage()
539 MessagePattern::parseArg(int32_t index, int32_t argStartLength, int32_t nestingLevel, in parseArg() argument
647 index=parseChoiceStyle(index, nestingLevel, parseError, errorCode); in parseArg()
[all …]
/external/icu/icu4c/source/common/unicode/
Dmessagepattern.h838 int32_t nestingLevel, UMessagePatternArgType parentType,
841 int32_t parseArg(int32_t index, int32_t argStartLength, int32_t nestingLevel,
846 int32_t parseChoiceStyle(int32_t index, int32_t nestingLevel,
849 …t32_t parsePluralOrSelectStyle(UMessagePatternArgType argType, int32_t index, int32_t nestingLevel,
904 UBool inMessageFormatPattern(int32_t nestingLevel);
910 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/icu4c/source/i18n/
Dchoicfmt.cpp314 int32_t nestingLevel = 0; in setChoices() local
317 if (c == SINGLE_QUOTE && nestingLevel == 0) { in setChoices()
320 } else if (c == VERTICAL_BAR && nestingLevel == 0) { in setChoices()
332 ++nestingLevel; in setChoices()
333 } else if (c == RIGHT_CURLY_BRACE && nestingLevel > 0) { in setChoices()
334 --nestingLevel; in setChoices()
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/messagepattern/
DMessagePatternDemo.java52 int nestingLevel=part.getValue(); in printParts() local
53 if(nestingLevel>1) { in printParts()
54 indent=manySpaces.substring(0, (nestingLevel-1)*2); // outdent in printParts()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBIMonkeyTest.java251 int nestingLevel = 1; in addRule() local
254 …for (setClosePos = setOpenPos + 2; nestingLevel > 0 && setClosePos<expandedRule.length(); ++setClo… in addRule()
259 ++nestingLevel; in addRule()
262 --nestingLevel; in addRule()
265 if (haveNesting && nestingLevel == 0) { in addRule()
275 if (nestingLevel > 0) { in addRule()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBIMonkeyTest.java248 int nestingLevel = 1; in addRule() local
251 …for (setClosePos = setOpenPos + 2; nestingLevel > 0 && setClosePos<expandedRule.length(); ++setClo… in addRule()
256 ++nestingLevel; in addRule()
259 --nestingLevel; in addRule()
262 if (haveNesting && nestingLevel == 0) { in addRule()
272 if (nestingLevel > 0) { in addRule()
/external/v8/tools/
Dparse-processor.js638 this.nestingLevel = 0;
684 let value = accumulator[this.nestingLevel] || 0;
685 accumulator[this.nestingLevel] = value + this.getOwnBytes();
701 child.nestingLevel = this.nestingLevel + 1;
702 return child.nestingLevel;