Home
last modified time | relevance | path

Searched refs:composite (Results 1 – 25 of 170) sorted by relevance

1234567

/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestCompositeGrammars.java211 CompositeGrammar composite = new CompositeGrammar(); in testDelegatesSeeSameTokenType2() local
212 Grammar g = new Grammar(antlr,tmpdir+"/M.g",composite); in testDelegatesSeeSameTokenType2()
213 composite.setDelegationRoot(g); in testDelegatesSeeSameTokenType2()
215 g.composite.assignTokenTypes(); in testDelegatesSeeSameTokenType2()
222 realElements(g.composite.tokenIDToTypeMap).toString()); in testDelegatesSeeSameTokenType2()
223 assertEquals(expectedStringLiteralToTypeMap, g.composite.stringLiteralToTypeMap.toString()); in testDelegatesSeeSameTokenType2()
225 realElements(g.composite.typeToTokenList).toString()); in testDelegatesSeeSameTokenType2()
249 CompositeGrammar composite = new CompositeGrammar(); in testCombinedImportsCombined() local
250 Grammar g = new Grammar(antlr,tmpdir+"/M.g",composite); in testCombinedImportsCombined()
251 composite.setDelegationRoot(g); in testCombinedImportsCombined()
[all …]
DTestSymbolDefinitions.java786 CompositeGrammar composite = new CompositeGrammar(); in testTokenVocabStringUsedInLexer() local
787 Grammar g = new Grammar(antlr,tmpdir+"/B.g",composite); in testTokenVocabStringUsedInLexer()
789 g.composite.assignTokenTypes(); in testTokenVocabStringUsedInLexer()
796 realElements(g.composite.tokenIDToTypeMap).toString()); in testTokenVocabStringUsedInLexer()
797 assertEquals(expectedStringLiteralToTypeMap, g.composite.stringLiteralToTypeMap.toString()); in testTokenVocabStringUsedInLexer()
799 realElements(g.composite.typeToTokenList).toString()); in testTokenVocabStringUsedInLexer()
818 CompositeGrammar composite = new CompositeGrammar(); in testTokenVocabStringUsedInCombined() local
819 Grammar g = new Grammar(antlr,tmpdir+"/B.g",composite); in testTokenVocabStringUsedInCombined()
821 g.composite.assignTokenTypes(); in testTokenVocabStringUsedInCombined()
828 realElements(g.composite.tokenIDToTypeMap).toString()); in testTokenVocabStringUsedInCombined()
[all …]
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
DGridLayoutFactory.java30 private GridLayoutFactory(Composite composite, GridLayout layout) { in GridLayoutFactory() argument
32 composite.setLayout(m_layout); in GridLayoutFactory()
35 public static GridLayoutFactory create(Composite composite) { in create() argument
36 return new GridLayoutFactory(composite, new GridLayout()); in create()
39 public static GridLayoutFactory modify(Composite composite) { in modify() argument
40 Layout layout = composite.getLayout(); in modify()
42 return new GridLayoutFactory(composite, (GridLayout) layout); in modify()
44 return create(composite); in modify()
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DGrammar.java304 public CompositeGrammar composite; field in Grammar
515 public Grammar(Tool tool, String fileName, CompositeGrammar composite) { in Grammar() argument
516 this.composite = composite; in Grammar()
520 if ( composite.delegateGrammarTreeRoot==null ) { in Grammar()
521 composite.setDelegationRoot(this); in Grammar()
536 composite = new CompositeGrammar(this); in Grammar()
559 composite.assignTokenTypes(); in Grammar()
562 composite.defineGrammarSymbols(); in Grammar()
605 composite.assignTokenTypes(); in setGrammarContent()
606 composite.defineGrammarSymbols(); in setGrammarContent()
[all …]
DInterp.java76 CompositeGrammar composite = new CompositeGrammar(); in main() local
77 Grammar parser = new Grammar(tool, grammarFileName, composite); in main()
78 composite.setDelegationRoot(parser); in main()
84 parser.composite.assignTokenTypes(); in main()
85 parser.composite.defineGrammarSymbols(); in main()
86 parser.composite.createNFAs(); in main()
109 lexer.composite.createNFAs(); in main()
DRandomPhrase.java155 CompositeGrammar composite = new CompositeGrammar(); in main() local
157 Grammar parser = new Grammar(tool, grammarFileName, composite); in main()
158 composite.setDelegationRoot(parser); in main()
165 parser.composite.assignTokenTypes(); in main()
166 parser.composite.defineGrammarSymbols(); in main()
167 parser.composite.createNFAs(); in main()
DGrammarReport2.java49 CompositeGrammar composite = root.composite; in toString() local
50 for (Grammar g : composite.getDelegates(root)) { in toString()
DBuildDependencyGenerator.java144 grammar.composite.getDelegates(grammar.composite.getRootGrammar()); in getGeneratedFileList()
168 grammar.composite.getDelegates(grammar.composite.getRootGrammar()); in getDependenciesFileList()
DNameSpaceChecker.java45 …for (int i = CompositeGrammar.MIN_RULE_INDEX; i < grammar.composite.ruleIndexToRuleList.size(); i+… in checkConflicts()
46 Rule r = grammar.composite.ruleIndexToRuleList.elementAt(i); in checkConflicts()
151 if ( !grammar.composite.lexerRules.contains(tokenID) && in lookForReferencesToUndefinedSymbols()
164 Grammar scopeG = grammar.composite.getGrammar(scopeAST.getText()); in lookForReferencesToUndefinedSymbols()
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/
Dtest_compose.py38 composite = bucket_uri.clone_replace_name(self.MakeTempName('obj'))
40 self.RunGsUtil(['compose'] + components + [composite.uri])
41 self.assertEqual(composite.get_contents_as_string(), ''.join(data_list))
92 composite = bucket_uri.clone_replace_name(self.MakeTempName('obj'))
94 self.RunGsUtil(['compose', component1.uri, component2.uri, composite.uri])
95 self.assertEqual(composite.get_contents_as_string(), 'hello world!')
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/
DCSpinner.java317 protected Point computeSize(Composite composite, int wHint, int hHint, boolean flushCache) { in computeSize() argument
334 protected void layout(Composite composite, boolean flushCache) { in layout() argument
335 Rectangle cRect = composite.getClientArea(); in layout()
368 protected Point computeSize(Composite composite, int wHint, int hHint, boolean flushCache) { in computeSize() argument
385 protected void layout(Composite composite, boolean flushCache) { in layout() argument
386 Rectangle cRect = composite.getClientArea(); in layout()
419 protected Point computeSize(Composite composite, int wHint, int hHint, boolean flushCache) { in computeSize() argument
434 protected void layout(Composite composite, boolean flushCache) { in layout() argument
435 Rectangle cRect = composite.getClientArea(); in layout()
467 protected Point computeSize(Composite composite, int wHint, int hHint, boolean flushCache) { in computeSize() argument
[all …]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
DNFA.java54 return grammar.composite.getNewNFAStateNumber(); in getNewNFAStateNumber()
58 grammar.composite.addState(state); in addState()
62 return grammar.composite.getState(s); in getState()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
DUnicodeNormalizer.java151 int composite = data.getPairwiseComposition(starterCh, ch); in internalCompose() local
152 if (composite != NormalizerData.NOT_COMPOSITE in internalCompose()
154 UTF16Util.setCodePointAt(target, starterPos, composite); in internalCompose()
155 starterCh = composite; in internalCompose()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DUnicodeNormalizer.java150 int composite = data.getPairwiseComposition(starterCh, ch); in internalCompose() local
151 if (composite != NormalizerData.NOT_COMPOSITE in internalCompose()
153 UTF16Util.setCodePointAt(target, starterPos, composite); in internalCompose()
154 starterCh = composite; in internalCompose()
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/
DTool.java462 rootGrammar.composite.assignTokenTypes(); in process()
465 rootGrammar.composite.defineGrammarSymbols(); in process()
466 rootGrammar.composite.createNFAs(); in process()
507 … lexerGrammar.composite.watchNFAConversion = internalOption_watchNFAConversion; in process()
519 lexerGrammar.composite.assignTokenTypes(); in process()
521 lexerGrammar.composite.defineGrammarSymbols(); in process()
522 lexerGrammar.composite.createNFAs(); in process()
599 CompositeGrammar composite = new CompositeGrammar(); in getRootGrammar() local
600 Grammar grammar = new Grammar(this, grammarFileName, composite); in getRootGrammar()
601 composite.setDelegationRoot(grammar); in getRootGrammar()
[all …]
/external/tpm2/
DRSAKeySieve.c471 UINT32 composite; in PrimeSieve() local
511 while((composite = NextPrime(&iter)) != 0) in PrimeSieve()
516 pList[i--] = composite; in PrimeSieve()
522 composite *= next; in PrimeSieve()
524 composite = BN_mod_word(bnN, composite); in PrimeSieve()
530 r = composite % next; in PrimeSieve()
/external/icu/icu4c/source/common/
Dnormalizer2impl.cpp842 UChar32 composite=compositeAndFwd>>1; in addComposites() local
844 addComposites(getCompositionsListForComposite(getNorm16(composite)), set); in addComposites()
846 set.add(composite); in addComposites()
932 UChar32 composite=compositeAndFwd>>1; in recompose() local
937 if(U_IS_SUPPLEMENTARY(composite)) { in recompose()
939 starter[0]=U16_LEAD(composite); in recompose()
940 starter[1]=U16_TRAIL(composite); in recompose()
942 *starter=(UChar)composite; in recompose()
953 } else if(U_IS_SUPPLEMENTARY(composite)) { in recompose()
963 *starter=U16_TRAIL(composite); in recompose()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DNormalizer2Impl.java1879 int composite=compositeAndFwd>>1; in addComposites() local
1881 addComposites(getCompositionsListForComposite(getNorm16(composite)), set); in addComposites()
1883 set.add(composite); in addComposites()
1965 int composite=compositeAndFwd>>1; in recompose() local
1973 if(composite>0xffff) { in recompose()
1975 sb.setCharAt(starter, UTF16.getLeadSurrogate(composite)); in recompose()
1976 sb.setCharAt(starter+1, UTF16.getTrailSurrogate(composite)); in recompose()
1985 } else if(composite>0xffff) { in recompose()
1989 sb.setCharAt(starter, UTF16.getLeadSurrogate(composite)); in recompose()
1990 sb.insert(starter+1, UTF16.getTrailSurrogate(composite)); in recompose()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DNormalizer2Impl.java1883 int composite=compositeAndFwd>>1; in addComposites() local
1885 addComposites(getCompositionsListForComposite(getNorm16(composite)), set); in addComposites()
1887 set.add(composite); in addComposites()
1969 int composite=compositeAndFwd>>1; in recompose() local
1977 if(composite>0xffff) { in recompose()
1979 sb.setCharAt(starter, UTF16.getLeadSurrogate(composite)); in recompose()
1980 sb.setCharAt(starter+1, UTF16.getTrailSurrogate(composite)); in recompose()
1989 } else if(composite>0xffff) { in recompose()
1993 sb.setCharAt(starter, UTF16.getLeadSurrogate(composite)); in recompose()
1994 sb.insert(starter+1, UTF16.getTrailSurrogate(composite)); in recompose()
[all …]
/external/antlr/antlr-3.4/antlr-ant/main/antlr3-task/
DReadme.txt59 d) composite-java_build.zip
61 Example build file for composite-java example grammar added
/external/libxml2/result/
Ddia2.rdr136 4 1 dia:composite 0 0
193 4 15 dia:composite 0 0
Ddia1.rdr136 4 1 dia:composite 0 0
193 4 15 dia:composite 0 0
Ddia2.rde136 4 1 dia:composite 0 0
193 4 15 dia:composite 0 0
Ddia1.rde136 4 1 dia:composite 0 0
193 4 15 dia:composite 0 0
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/Composition/
DVecMath.g321 …: 'DUMMY' // 1. If the parser or the composite grammar does not contain a token, no lexer is gener…

1234567