Home
last modified time | relevance | path

Searched refs:labelType (Results 1 – 25 of 32) sorted by relevance

12

/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetBOCU1.java249 …private int labelType = fastSingle; //labeType is set to fastSingle to start the code from fastSin… field in CharsetBOCU1.CharsetEncoderBOCU
412 labelType = getTrail; in encodeLoop()
416 switch(labelType){ in encodeLoop()
418 labelType = fastSingle(source, target, offsets); in encodeLoop()
421 labelType = getTrail(source, target, offsets); in encodeLoop()
424 labelType = regularLoop(source, target, offsets); in encodeLoop()
552 labelType = fastSingle; in regularLoop()
553 return labelType; in regularLoop()
677 labelType = fastSingle; in regularLoop()
678 return labelType; in regularLoop()
[all …]
DCharsetSCSU.java254 int labelType = 0; in decodeLoop() local
257 switch(labelType){ in decodeLoop()
260 labelType = fastSingle(source, target, offsets, ByteMode); in decodeLoop()
264 labelType = singleByteMode(source, target, offsets, ByteMode); in decodeLoop()
271 switch(labelType){ in decodeLoop()
274 labelType = fastSingle(source, target, offsets, UnicodeMode); in decodeLoop()
278 labelType = singleByteMode(source, target, offsets, UnicodeMode); in decodeLoop()
665 int labelType = Loop; // set to Loop so that the code starts from loop: in encodeLoop() local
671 switch(labelType){ in encodeLoop()
673 labelType = loop(source, target, offsets); in encodeLoop()
[all …]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DAlphabeticIndex.java898 private final LabelType labelType; field in AlphabeticIndex.Bucket
940 private Bucket(String label, String lowerBoundary, LabelType labelType) { in Bucket() argument
943 this.labelType = labelType; in Bucket()
963 return labelType; in getLabelType()
995 "labelType=" + labelType in toString()
1072 if (singleBucket.labelType != LabelType.NORMAL) { in createBucketList()
1125 if (bucket.labelType == LabelType.INFLOW) { in createBucketList()
1126 if (nextBucket.labelType != LabelType.NORMAL) { in createBucketList()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DAlphabeticIndex.java864 private final LabelType labelType; field in AlphabeticIndex.Bucket
899 private Bucket(String label, String lowerBoundary, LabelType labelType) { in Bucket() argument
902 this.labelType = labelType; in Bucket()
920 return labelType; in getLabelType()
949 "labelType=" + labelType in toString()
1026 if (singleBucket.labelType != LabelType.NORMAL) { in createBucketList()
1079 if (bucket.labelType == LabelType.INFLOW) { in createBucketList()
1080 if (nextBucket.labelType != LabelType.NORMAL) { in createBucketList()
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
DCSharp3.stg100 lexer(grammar, name, tokens, scopes, rules, numRules, filterMode, labelType="CommonToken",
277 labelType, members, rewriteElementType,
410 …perClass)><actions.(actionScope).superClass><else>Antlr.Runtime.Parser<endif>}, labelType="IToken",
419 numRules, bitsets, filterMode, labelType={<ASTLabelType>}, ASTLabelType="object",
611 retval.Start = (<labelType>)input.LT(1);
632 ruleLabelDefs(ruleDescriptor, labelType, ASTLabelType, rewriteElementType) ::= <<
634 :{it|<labelType> <it.label.text> = default(<labelType>);}; separator="\n"
637 :{it|List\<<labelType>\> list_<it.label.text> = null;}; separator="\n"
650 :{it|<labelType> <it.label.text> = default(<labelType>);}; separator="\n"
658 :{it|List\<<labelType>\> list_<it.label.text> = null;}; separator="\n"
[all …]
DASTParser.stg80 <listLabelElem(elem=label,elemType=labelType,...)>
86 <listLabelElem(elem=label,elemType=labelType,...)>
92 <listLabelElem(elem=label,elemType=labelType,...)>
123 <label>=(<labelType>)input.LT(1);
DAST.stg82 Ast<if(TREE_PARSER)>Tree<else>Parser<endif>RuleReturnScope\<<ASTLabelType>, <labelType>>
91 ruleLabelDefs(ruleDescriptor, labelType, ASTLabelType, rewriteElementType) ::= <%
128 <listLabelElem(elem=label,elemType=labelType,...)>
140 <listLabelElem(elem=label,elemType=labelType,...)>
DST.stg54 Template<if(TREE_PARSER)>Tree<else>Parser<endif>RuleReturnScope\<StringTemplate, <labelType>>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
DCSharp2.stg102 lexer(grammar, name, tokens, scopes, rules, numRules, filterMode, labelType="CommonToken",
282 labelType, members, rewriteElementType,
428 …perClass)><actions.(actionScope).superClass><else>Antlr.Runtime.Parser<endif>}, labelType="IToken",
437 numRules, bitsets, filterMode, labelType={<ASTLabelType>}, ASTLabelType="object",
633 retval.Start = (<labelType>)input.LT(1);
656 :{it|<labelType> <it.label.text> = default(<labelType>);}; separator="\n"
659 :{it|List\<<labelType>\> list_<it.label.text> = null;}; separator="\n"
672 :{it|<labelType> <it.label.text> = default(<labelType>);}; separator="\n"
680 :{it|List\<<labelType>\> list_<it.label.text> = null;}; separator="\n"
704 retval.Stop = (<labelType>)input.LT(-1);
[all …]
DASTParser.stg75 <listLabelElem(elem=label,elemType=labelType,...)>
81 <listLabelElem(elem=label,elemType=labelType,...)>
87 <listLabelElem(elem=label,elemType=labelType,...)>
118 <label>=(<labelType>)input.LT(1);
DAST.stg82 Ast<if(TREE_PARSER)>Tree<else>Parser<endif>RuleReturnScope\<<ASTLabelType>, <labelType>>
130 <listLabelElem(elem=label,elemType=labelType,...)>
142 <listLabelElem(elem=label,elemType=labelType,...)>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Scala/
DScala.stg67 lexer(grammar, name, tokens, scopes, rules, numRules, filterMode, labelType="CommonToken",
183 labelType, members, rewriteElementType,
255 ASTLabelType="Object", superClass="Parser", labelType="Token",
264 numRules, bitsets, filterMode, labelType={<ASTLabelType>}, ASTLabelType="Object",
424 :{it | var <it.label.text>: <labelType> = null}; separator="\n"
437 :{it | var <it.label.text>: <labelType>=null}; separator="\n"
665 …put,<token>,FOLLOW_<token>_in_<ruleName><elementIndex>)<if(label)>.asInstanceOf[<labelType>]<endif>
703 <label>=input.LT(1).asInstanceOf[<labelType>]<\n>
745 <label> = new <labelType>(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, <label>Start, get…
756 <label>=input.LT(1).asInstanceOf[<labelType>]<\n>
[all …]
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
DActionScript.stg63 lexer(grammar, name, tokens, scopes, rules, numRules, filterMode, labelType="Token",
171 labelType, members, rewriteElementType,
234 …, rules, numRules, bitsets, ASTLabelType="Object", superClass="Parser", labelType="Token", members…
237 labelType, members, "Token",
245 numRules, bitsets, filterMode, labelType={<ASTLabelType>}, ASTLabelType="Object",
249 labelType, members, "Node",
399 :{it |var <it.label.text>:<labelType>=null;}; separator="\n"
412 :{it |var <it.label.text>:<labelType>=null;}; separator="\n"
635 <if(label)><label>=<labelType>(<endif>matchStream(input,<token>,FOLLOW_<token>_in_<ruleName><elemen…
671 <label>=<labelType>(input.LT(1));<\n>
[all …]
DASTParser.stg115 <label>=<labelType>(input.LT(1));<\n>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Java/
DJava.stg85 lexer(grammar, name, tokens, scopes, rules, numRules, filterMode, labelType="CommonToken",
206 labelType, members, rewriteElementType,
278 ASTLabelType="Object", superClass="Parser", labelType="Token",
282 labelType, members, "Token",
290 numRules, bitsets, filterMode, labelType={<ASTLabelType>}, ASTLabelType="Object",
296 labelType, members, "Node",
461 :{it |<labelType> <it.label.text>=null;}; separator="\n"
474 :{it |<labelType> <it.label.text>=null;}; separator="\n"
700 <if(label)><label>=(<labelType>)<endif>match(input,<token>,FOLLOW_<token>_in_<ruleName><elementInde…
777 <label> = new <labelType>(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, <label>Start, get…
[all …]
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Perl5/
DPerl5.stg57 lexer(grammar, name, tokens, scopes, rules, numRules, labelType="Token",
190 ASTLabelType="Object", labelType, members) ::= <<
250 …, numRules, bitsets, ASTLabelType, superClass="ANTLR::Runtime::Parser", labelType="ANTLR::Runtime:…
257 …me, scopes, tokens, tokenNames, globalAction, rules, numRules, bitsets, labelType={<ASTLabelType>}…
431 :{<labelType> <it.label.text>=null;}; separator="\n"
697 <label>=(<labelType>)input.LT(1);<\n>
737 <labelType> <label> = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, <labe…
745 <label>=(<labelType>)input.LT(1);<\n>
815 <labelType> <label> = new CommonToken(input, EOF, Token.DEFAULT_CHANNEL, <label>Start<elementIndex>…
1291 ruleLabelPropertyRef_start(scope,attr) ::= "((<labelType>)<scope>.start)"
[all …]
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
DObjC.stg311 labelType="CommonToken",
406 return [<labelType> eofToken];
636 labelType="CommonToken",
655 labelType={<ASTLabelType>},
673 labelType,
944 :{it |<labelType> *<it.label.text> = nil;}; separator="\n"><"\n">
955 :{it |<labelType> *<it.label.text>=nil;}; separator="\n"
1188 <if(label)><label>=(<labelType> *)<endif>[self match:input TokenType:<token> Follow:FOLLOW_<token>_…
1220 <label> = (<labelType> *)[input LT:1]; /* matchSet */<\n>
1261 <label> = [[<labelType> newToken:input Type:TokenTypeInvalid Channel:TokenChannelDefault Start:<lab…
[all …]
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Delphi/
DDelphi.stg117 lexer(grammar, name, tokens, scopes, rules, numRules, labelType="Token",
308 ASTLabelType="ANTLRInterface", labelType, members, rewriteElementType) ::= <<
485 …okenNames, rules, numRules, bitsets, ASTLabelType, superClass="Parser", labelType="Token", members…
492 …me, scopes, tokens, tokenNames, globalAction, rules, numRules, bitsets, labelType={<ASTLabelType>}…
765 <[ruleDescriptor.tokenLabels,ruleDescriptor.tokenListLabels]:{<it.label.text>: I<labelType>;}; sepa…
789 :{<it.label.text>: I<labelType>;}; separator="\n"
1039 …t, <token>, FOLLOW_<token>_in_<ruleName><elementIndex>)<if(label)> as I<labelType><endif>;<\n><che…
1075 <label> := Input.LT(1) as I<labelType>;<\n>
1123 <label> := Input.LT(1) as I<labelType>;<\n>
1712 …rtyRef_start(scope,attr) ::= "(IfThen(Assigned(<scope>), Def(<scope>).Start, nil) as I<labelType>)"
[all …]
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python3/
DPython3.stg104 labelType="CommonToken", superClass="Lexer") ::= <<
227 bitsets, inputStreamType, superClass, labelType, members,
313 ASTLabelType="Object", superClass="Parser", labelType="Token",
319 labelType, members, "Token",
327 numRules, bitsets, filterMode, labelType={<ASTLabelType>}, ASTLabelType="Object",
334 labelType, members, "Node",
851 <label> = <labelType>(input=self.input, type=INVALID_TOKEN_TYPE, channel=DEFAULT_CHANNEL, start=<la…
913 <label> = <labelType>(
939 <label> = <labelType>(input=self.input, type=EOF, channel=DEFAULT_CHANNEL, start=<label>Start<eleme…
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python/
DPython.stg108 labelType="CommonToken", superClass="Lexer") ::= <<
224 bitsets, inputStreamType, superClass, labelType, members,
306 ASTLabelType="Object", superClass="Parser", labelType="Token",
312 labelType, members, "Token",
320 numRules, bitsets, filterMode, labelType={<ASTLabelType>}, ASTLabelType="Object",
327 labelType, members, "Node",
844 <label> = <labelType>(input=self.input, type=INVALID_TOKEN_TYPE, channel=DEFAULT_CHANNEL, start=<la…
906 <label> = <labelType>(
932 <label> = <labelType>(input=self.input, type=EOF, channel=DEFAULT_CHANNEL, start=<label>Start<eleme…
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DAlphabeticIndexTest.java327 LabelType labelType = bucket.getLabelType(); in TestEmpty() local
374 LabelType labelType = bucket.getLabelType(); in TestInflow() local
375 counter.add(labelType, 1); in TestInflow()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DAlphabeticIndexTest.java324 LabelType labelType = bucket.getLabelType(); in TestEmpty() local
371 LabelType labelType = bucket.getLabelType(); in TestInflow() local
372 counter.add(labelType, 1); in TestInflow()
/external/icu/icu4c/source/test/intltest/
Dalphaindextst.cpp387 UAlphabeticIndexLabelType labelType = index.getBucketLabelType(); in ManyLocalesTest() local
388 TEST_ASSERT(labelType == bucket->getLabelType()); in ManyLocalesTest()
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Cpp/
DCpp.stg543 labelType="ImplTraits::CommonTokenType*") ::= <<
810 labelType, members, rewriteElementType,
1010 labelType="ImplTraits::CommonTokenType*",
1031 labelType={<ASTLabelType>},
1263 :{it |<labelType> <it.label.text> = NULL;}; separator="\n"
1283 :{it |<labelType> <it.label.text> = NULL;}; separator="\n"
1639 <label>=(<labelType>) this->LT(1);<\n>
1707 <label>=(<labelType>)this->LT(1);<\n>
1792 <labelType> <label>;
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/C/
DC.stg858 labelType="pANTLR3_COMMON_TOKEN") ::= <<
1181 labelType,
1483 labelType="pANTLR3_COMMON_TOKEN",
1502 labelType={<ASTLabelType>},
1724 :{it |<labelType> <it.label.text>;}; separator="\n"
1755 :{it |<labelType> <it.label.text>;}; separator="\n"
2072 <if(label)><label> = (<labelType>)<endif> MATCHT(<token>, &FOLLOW_<token>_in_<ruleName><elementInde…
2115 <label>=(<labelType>)LT(1);<\n>
2176 <label>=(<labelType>)LT(1);<\n>
2255 <labelType> <label>;

12