Home
last modified time | relevance | path

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

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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 …]
/third_party/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 …]
/third_party/node/deps/icu-small/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 …]
/third_party/skia/third_party/externals/icu/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 …]
/third_party/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 …]
/third_party/node/deps/icu-small/source/common/unicode/
Dmessagepattern.h840 int32_t nestingLevel, UMessagePatternArgType parentType,
843 int32_t parseArg(int32_t index, int32_t argStartLength, int32_t nestingLevel,
848 int32_t parseChoiceStyle(int32_t index, int32_t nestingLevel,
851 …t32_t parsePluralOrSelectStyle(UMessagePatternArgType argType, int32_t index, int32_t nestingLevel,
906 UBool inMessageFormatPattern(int32_t nestingLevel);
912 UBool inTopLevelChoiceMessage(int32_t nestingLevel, UMessagePatternArgType parentType);
/third_party/icu/icu4c/source/common/unicode/
Dmessagepattern.h840 int32_t nestingLevel, UMessagePatternArgType parentType,
843 int32_t parseArg(int32_t index, int32_t argStartLength, int32_t nestingLevel,
848 int32_t parseChoiceStyle(int32_t index, int32_t nestingLevel,
851 …t32_t parsePluralOrSelectStyle(UMessagePatternArgType argType, int32_t index, int32_t nestingLevel,
906 UBool inMessageFormatPattern(int32_t nestingLevel);
912 UBool inTopLevelChoiceMessage(int32_t nestingLevel, UMessagePatternArgType parentType);
/third_party/skia/third_party/externals/icu/source/common/unicode/
Dmessagepattern.h840 int32_t nestingLevel, UMessagePatternArgType parentType,
843 int32_t parseArg(int32_t index, int32_t argStartLength, int32_t nestingLevel,
848 int32_t parseChoiceStyle(int32_t index, int32_t nestingLevel,
851 …t32_t parsePluralOrSelectStyle(UMessagePatternArgType argType, int32_t index, int32_t nestingLevel,
906 UBool inMessageFormatPattern(int32_t nestingLevel);
912 UBool inTopLevelChoiceMessage(int32_t nestingLevel, UMessagePatternArgType parentType);
/third_party/node/deps/icu-small/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()
/third_party/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()
/third_party/skia/third_party/externals/icu/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()
/third_party/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()
/third_party/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()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/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()
/third_party/node/deps/v8/tools/
Dparse-processor.mjs637 this.nestingLevel = 0;
683 let value = accumulator[this.nestingLevel] || 0;
684 accumulator[this.nestingLevel] = value + this.getOwnBytes();
700 child.nestingLevel = this.nestingLevel + 1;
701 return child.nestingLevel;
/third_party/typescript/tests/baselines/reference/
DparserRealSource11.js240 typeFlow.nestingLevel++;
246 typeFlow.nestingLevel--;
895 constructor (public id: Identifier, nodeType: NodeType, public nestingLevel: number) {
2608 typeFlow.nestingLevel++;
2614 typeFlow.nestingLevel--;
3243 function BoundDecl(id, nodeType, nestingLevel) { argument
3246 _this.nestingLevel = nestingLevel;
DparserRealSource11.types1050 typeFlow.nestingLevel++;
1051 >typeFlow.nestingLevel++ : number
1052 >typeFlow.nestingLevel : any
1054 >nestingLevel : any
1090 typeFlow.nestingLevel--;
1091 >typeFlow.nestingLevel-- : number
1092 >typeFlow.nestingLevel : any
1094 >nestingLevel : any
4058 constructor (public id: Identifier, nodeType: NodeType, public nestingLevel: number) {
4061 >nestingLevel : number
DparserRealSource11.errors.txt851 typeFlow.nestingLevel++;
857 typeFlow.nestingLevel--;
1844 constructor (public id: Identifier, nodeType: NodeType, public nestingLevel: number) {
DparserRealSource11.symbols668 typeFlow.nestingLevel++;
697 typeFlow.nestingLevel--;
2541 constructor (public id: Identifier, nodeType: NodeType, public nestingLevel: number) {
2546 >nestingLevel : Symbol(BoundDecl.nestingLevel, Decl(parserRealSource11.ts, 893, 63))
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/
DparserRealSource11.ts239 typeFlow.nestingLevel++;
245 typeFlow.nestingLevel--;
894 constructor (public id: Identifier, nodeType: NodeType, public nestingLevel: number) { property in BoundDecl