/external/v8/build/ |
D | landmine_utils.py | 13 def memoize(default=None): function 29 @memoize() 34 @memoize() 39 @memoize() 44 @memoize() 51 @memoize() 58 @memoize() 63 @memoize() 76 @memoize() 95 @memoize()
|
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
D | SuppliersTest.java | 98 Supplier<Integer> memoizedSupplier = Suppliers.memoize(countingSupplier); in testMemoize() 104 Supplier<Integer> memoizedSupplier = Suppliers.memoize(countingSupplier); in testMemoize_redudantly() 105 assertSame(memoizedSupplier, Suppliers.memoize(memoizedSupplier)); in testMemoize_redudantly() 132 Supplier<Integer> memoizedSupplier = Suppliers.memoize(exceptingSupplier); in testMemoizeExceptionThrown()
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | SuppliersTest.java | 106 Supplier<Integer> memoizedSupplier = Suppliers.memoize(countingSupplier); in testMemoize() 112 Supplier<Integer> memoizedSupplier = Suppliers.memoize(countingSupplier); in testMemoize_redudantly() 113 assertSame(memoizedSupplier, Suppliers.memoize(memoizedSupplier)); in testMemoize_redudantly() 119 Supplier<Integer> memoizedSupplier = Suppliers.memoize(countingSupplier); in testMemoizeSerialized() 156 Supplier<Integer> memoizedSupplier = Suppliers.memoize(exceptingSupplier); in testMemoizeExceptionThrown() 255 return Suppliers.memoize(supplier); in testMemoizedSupplierThreadSafe() 387 reserialize(Suppliers.memoize(Suppliers.ofInstance(5))).get()); in testSerialization()
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/ |
D | profile.rb | 70 def memoize( rule, start_index, success ) method 71 @debug_listener.memoize( rule, rule_start_index, sucess ) 264 def memoize( rule, start_index, success ) method in ANTLR3.Profile.Profiler
|
/external/doclava/src/com/google/doclava/parser/ |
D | JavaParser.java | 636 if ( state.backtracking>0 ) { memoize(input, 1, compilationUnit_StartIndex); } in compilationUnit() 687 if ( state.backtracking>0 ) { memoize(input, 2, packageDeclaration_StartIndex); } in packageDeclaration() 993 if ( state.backtracking>0 ) { memoize(input, 3, importDeclaration_StartIndex); } in importDeclaration() 1074 if ( state.backtracking>0 ) { memoize(input, 4, qualifiedImportName_StartIndex); } in qualifiedImportName() 1156 if ( state.backtracking>0 ) { memoize(input, 5, typeDeclaration_StartIndex); } in typeDeclaration() 1234 … if ( state.backtracking>0 ) { memoize(input, 6, classOrInterfaceDeclaration_StartIndex); } in classOrInterfaceDeclaration() 1426 if ( state.backtracking>0 ) { memoize(input, 7, modifiers_StartIndex); } in modifiers() 1520 if ( state.backtracking>0 ) { memoize(input, 8, variableModifiers_StartIndex); } in variableModifiers() 1598 if ( state.backtracking>0 ) { memoize(input, 9, classDeclaration_StartIndex); } in classDeclaration() 1755 if ( state.backtracking>0 ) { memoize(input, 10, normalClassDeclaration_StartIndex); } in normalClassDeclaration() [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/ |
D | Python.stg | 51 backtracking, synpreds, memoize, numRules, 123 <if(memoize)> 201 def memoize(self, input, ruleIndex, ruleStartIndex, success): 204 super(<grammar.recognizerName>, self).memoize(input, ruleIndex, ruleStartIndex, success) 252 <if(memoize)> 381 <if(memoize)> 402 rule(ruleName,ruleDescriptor,block,emptyRule,description,exceptions,finally,memoize) ::= << 425 <if(memoize)> 437 <if(memoize)> 465 <memoize()> [all …]
|
D | Dbg.stg | 107 public void memoize(IntStream input, 111 …((Profiler)self._dbg).memoize(input, ruleIndex, ruleStartIndex, <grammar.composite.rootGrammar.rec… 112 super.memoize(input, ruleIndex, ruleStartIndex);
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/ |
D | ClassProto.java | 91 …@Nonnull private final Supplier<ClassDef> classDefSupplier = Suppliers.memoize(new Supplier<ClassD… 130 Suppliers.memoize(new Supplier<LinkedHashMap<String, ClassDef>>() { 384 Suppliers.memoize(new Supplier<SparseArray<FieldReference>>() { 585 Suppliers.memoize(new Supplier<SparseArray<FieldReference>>() { 766 …@Nonnull private final Supplier<List<Method>> vtableSupplier = Suppliers.memoize(new Supplier<List…
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Ruby/ |
D | Ruby.stg | 20 profile, backtracking, synpreds, memoize, numRules, fileName, ANTLRVersion, generatedTimestamp, 253 <if(memoize)><if(grammar.grammarIsRoot)> 295 rule(ruleName, ruleDescriptor, block, emptyRule, description, exceptions, finally, memoize) ::= << 429 <if(memoize)><if(backtracking)> 434 <if(memoize)><if(backtracking)> 455 <traceOut()><memoize()><ruleScopeCleanUp()><finally> 481 <if(memoize)> 539 <if(memoize)> 557 memoize() ::= << 558 <if(memoize)><if(backtracking)> [all …]
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/modes/ |
D | filter.rb | 50 def memoize( rule, start_index, success ) method
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/ |
D | ActionScript.stg | 45 backtracking, synpreds, memoize, numRules, 82 <if(memoize)> 152 public override function memoize(input:IntStream, 156 if ( this.state.backtracking>1 ) super.memoize(input, ruleIndex, ruleStartIndex); 226 <if(memoize)> 297 <if(memoize)> 315 rule(ruleName,ruleDescriptor,block,emptyRule,description,exceptions,finally,memoize) ::= << 349 <memoize()> 374 <if(memoize)> 434 memoize() ::= << [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/ |
D | JavaScript.stg | 10 backtracking, synpreds, memoize, numRules, 42 <if(memoize)> 129 memoize: function(input, ruleIndex, ruleStartIndex) { 131 …<grammar.recognizerName>.superclass.prototype.memoize.call(this, input, ruleIndex, ruleStartIndex); 230 <if(memoize)> 300 <if(memoize)> 318 rule(ruleName,ruleDescriptor,block,emptyRule,description,exceptions,finally,memoize) ::= << 359 <memoize()> 383 <if(memoize)> 443 memoize() ::= << [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/ |
D | Dbg.stg | 84 - (void) memoize:(id<ANTLRIntStream>)input RuleIndex:(NSInteger)ruleIndex StartIndex:(NSInteger)rul… 86 …[((Profiler)dbg) memoize:input RuleIndex:ruleIndex StartIndex:ruleStartIndex [<grammar.composite.r… 87 [super memoize:input RuleIndex:ruleIndex StartIndex:ruleStartIndex];
|
D | ObjC.stg | 99 memoize, 171 memoize, 226 memoize, 331 <if(memoize)> 424 - (void)memoize:(id\<ANTLRIntStream\>)anInput 428 …if ( state.backtracking > 1 ) [super memoize:anInput RuleIndex:ruleIndex StartIndex:ruleStartIndex… 459 memoize, 490 memoize, 521 memoize, 754 <if(memoize)> /* parserCtorBody */ [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/ |
D | Java.stg | 58 backtracking, synpreds, memoize, numRules, 108 <if(memoize)> 182 public void memoize(IntStream input, 186 if ( state.backtracking>1 ) super.memoize(input, ruleIndex, ruleStartIndex); 264 <if(memoize)> 347 <if(memoize)> 365 rule(ruleName,ruleDescriptor,block,emptyRule,description,exceptions,finally,memoize) ::= << 402 <memoize()> 427 <if(memoize)> 488 memoize() ::= << [all …]
|
D | Dbg.stg | 70 public void memoize(IntStream input, 74 …((Profiler)dbg).memoize(input, ruleIndex, ruleStartIndex, <grammar.composite.rootGrammar.recognize… 75 super.memoize(input, ruleIndex, ruleStartIndex);
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Scala/ |
D | Scala.stg | 49 backtracking, synpreds, memoize, numRules, 92 <if(memoize)> 164 override def memoize(input: IntStream, 167 if ( state.backtracking>1 ) super.memoize(input, ruleIndex, ruleStartIndex) 245 <if(memoize)> 324 <if(memoize)> 342 rule(ruleName,ruleDescriptor,block,emptyRule,description,exceptions,finally,memoize) ::= << 380 <memoize()> 405 <if(memoize)> 466 memoize() ::= << [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Perl5/ |
D | Perl5.stg | 39 backtracking, synpreds, memoize, numRules, 170 public void memoize(IntStream input, 174 if ( backtracking>1 ) super.memoize(input, ruleIndex, ruleStartIndex); 314 <if(memoize)> 336 rule(ruleName,ruleDescriptor,block,emptyRule,description,exceptions,finally,memoize) ::= << 373 <memoize()> 401 <if(memoize)> 461 memoize() ::= << 462 <if(memoize)> 464 if ( backtracking>0 ) { memoize(input, <ruleDescriptor.index>, <ruleDescriptor.name>_StartIndex); } [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CPP/ |
D | CPP.stg | 88 backtracking, synpreds, memoize, numRules, 174 memoize, 252 public void memoize(IntStream input, int ruleIndex, int ruleStartIndex) 255 super.memoize(input, ruleIndex, ruleStartIndex); 379 <if(memoize)> 407 rule(ruleName,ruleDescriptor,block,emptyRule,description,exceptions,memoize) ::= << 469 <if(memoize)> 507 <if(memoize)> 509 if ( backtracking > 0 ) { memoize(input, <ruleDescriptor.index>, <ruleDescriptor.name>_StartIndex);… 517 lexerRule(ruleName,nakedBlock,ruleDescriptor,block,memoize) ::= <<
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Delphi/ |
D | Delphi.stg | 71 * memoize (Boolean): should we memoize? 85 backtracking, synpreds, memoize, numRules, 193 <if(memoize)> 477 <if(memoize)> 570 <if(memoize)> 636 rule(ruleName,ruleDescriptor,block,emptyRule,description,exceptions,finally,memoize) ::= << 701 <memoize()> 730 <if(memoize)> 742 <if(memoize)> 821 memoize() ::= << [all …]
|
/external/antlr/antlr-3.4/runtime/C/include/ |
D | antlr3baserecognizer.h | 292 void (*memoize) (struct ANTLR3_BASE_RECOGNIZER_struct * recognizer, member
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
D | CodeGenerator.java | 360 String memoize = (String)grammar.getOption("memoize"); in genRecognizer() local 363 Boolean.valueOf(memoize != null && memoize.equals("true")) && in genRecognizer() 367 Boolean.valueOf(memoize != null && memoize.equals("true")) && in genRecognizer()
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/ |
D | CSharp2.stg | 47 backtracking, synpreds, memoize, numRules, 133 <if(memoize)> 394 <if(memoize)> 489 <if(memoize)> 507 rule(ruleName,ruleDescriptor,block,emptyRule,description,exceptions,finally,memoize) ::= << 559 <memoize()> 597 <if(memoize)> 667 memoize() ::= << 668 <if(memoize)> 678 lexerRule(ruleName,nakedBlock,ruleDescriptor,block,memoize) ::= << [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/ |
D | CSharp3.stg | 48 backtracking, synpreds, memoize, numRules, 132 <if(memoize)> 376 <if(memoize)> 470 <if(memoize)> 488 rule(ruleName,ruleDescriptor,block,emptyRule,description,exceptions,finally,memoize) ::= << 537 <memoize()> 575 <if(memoize)> 645 memoize() ::= << 646 <if(memoize)> 656 lexerRule(ruleName,nakedBlock,ruleDescriptor,block,memoize) ::= << [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/ |
D | C.stg | 95 memoize, 269 #define MEMOIZE(ri,si) RECOGNIZER->memoize(RECOGNIZER, ri, si) 372 #define MEMOIZE(ri,si) RECOGNIZER->memoize(RECOGNIZER, ri, si) 549 memoize, 869 * if (BACKTRACKING) if (BACKTRACKING > 1) memoize. 874 #define MEMOIZE(ri,si) if (BACKTRACKING>1) { RECOGNIZER->memoize(RECOGNIZER, ri, si) } 896 <if(memoize)> 995 <if(memoize)> 1341 <if(memoize)> 1385 <if(memoize)> [all …]
|