/external/antlr/runtime/Ruby/test/functional/token-rewrite/ |
D | basic.rb | 18 def rewrite( input, expected ) method in TestRewritingLexerOutputDirectly 27 rewrite( 'abc', '0abc' ) do |stream| 33 rewrite( 'abc', 'abcx' ) do |stream| 39 rewrite( 'abc', 'axbxc' ) do |stream| 46 rewrite( 'abc', 'xbc' ) do |stream| 52 rewrite( 'abc', 'abx' ) do |stream| 58 rewrite( 'abc', 'abx' ) do |stream| 64 rewrite( 'abc', 'axc' ) do |stream| 70 rewrite( 'abc', 'ayc' ) do |stream| 77 rewrite( 'abc', '_ayc' ) do |stream| [all …]
|
/external/llvm-project/mlir/test/Dialect/PDL/ |
D | invalid.mlir | 12 pdl.rewrite %op with "rewriter" 28 pdl.rewrite %op with "rewriter" 35 pdl.rewrite %op { 38 // expected-error@below {{expected constant value when specified within a `pdl.rewrite`}} 47 pdl.rewrite %op { 48 // expected-error@below {{expected constant value when specified within a `pdl.rewrite`}} 60 pdl.rewrite %op with "rewriter" 74 pdl.rewrite %op with "rewriter" 85 pdl.rewrite %op { 86 // expected-error@below {{must have an operation name when nested within a `pdl.rewrite`}} [all …]
|
D | ops.mlir | 16 pdl.rewrite %root with "rewriter" 24 pdl.rewrite %root with "rewriter"(%input : !pdl.value) 31 pdl.rewrite %root with "rewriter"["I am param"] 39 pdl.rewrite %root with "rewriter"["I am param"](%input : !pdl.value) 44 // Check that the result type of an operation within a rewrite can be inferred 50 pdl.rewrite %root { 59 // Check that the result type of an operation within a rewrite can be inferred 65 pdl.rewrite %root { 74 // Check that the result type of an operation within a rewrite can be inferred 80 pdl.rewrite %root {
|
/external/python/cpython3/Modules/_decimal/libmpdec/literature/ |
D | mulmod-ppro.txt | 151 rewrite <- (Qred_correct (T)); simpl (Qred (T)). 172 rewrite <- (Qdiv_mult_l x z). rewrite <- (Qdiv_mult_l y z). 196 rewrite Qlt_mult_by_z with (z := (p * (1 + (2#1)^(-63))^2)). 199 rewrite <- Qmult_assoc. 200 rewrite (Qmult_comm (/ (p * (1 + (2 # 1) ^ (-63)) ^ 2)) (p * (1 + (2 # 1) ^ (-63)) ^ 2)). 201 rewrite Qmult_inv_r. 202 rewrite Qmult_1_r. 209 rewrite H5. 211 rewrite Qplus_comm. 212 rewrite Qlt_move_right. [all …]
|
/external/angle/src/compiler/translator/tree_ops/gl/ |
D | RewriteRepeatedAssignToSwizzled.cpp | 30 ANGLE_NO_DISCARD static bool rewrite(TCompiler *compiler, TIntermBlock *root); 45 bool RewriteAssignToSwizzledTraverser::rewrite(TCompiler *compiler, TIntermBlock *root) in rewrite() function in sh::__anon4fb8f25b0111::RewriteAssignToSwizzledTraverser 47 RewriteAssignToSwizzledTraverser rewrite; in rewrite() local 50 rewrite.nextIteration(); in rewrite() 51 root->traverse(&rewrite); in rewrite() 52 if (!rewrite.updateTree(compiler, root)) in rewrite() 56 } while (rewrite.didRewrite()); in rewrite() 94 return RewriteAssignToSwizzledTraverser::rewrite(compiler, root); in RewriteRepeatedAssignToSwizzled()
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/processors/ |
D | AddAnnotation.java | 61 import org.eclipse.jdt.core.dom.rewrite.ASTRewrite; 62 import org.eclipse.jdt.core.dom.rewrite.ListRewrite; 304 final ASTRewrite rewrite = context.rewrite(); in process() local 308 return handleBodyDeclaration(rewrite, node); in process() 313 return handleBodyDeclaration(rewrite, node); in process() 318 return handleBodyDeclaration(rewrite, node); in process() 323 return handleBodyDeclaration(rewrite, node); in process() 328 return handleBodyDeclaration(rewrite, node); in process() 333 return handleBodyDeclaration(rewrite, node); in process() 338 return handleBodyDeclaration(rewrite, node); in process() [all …]
|
D | AddDefaultConstructor.java | 30 import org.eclipse.jdt.core.dom.rewrite.ASTRewrite; 31 import org.eclipse.jdt.core.dom.rewrite.ListRewrite; 70 final ASTRewrite rewrite = context.rewrite(); in process() local 75 addDefaultConstructor(rewrite, typeDeclaration); in process() 81 private void addDefaultConstructor(ASTRewrite rewrite, TypeDeclaration node) { in addDefaultConstructor() argument 82 AST ast = rewrite.getAST(); in addDefaultConstructor() 100 ListRewrite listRewrite = rewrite.getListRewrite(node, node.getBodyDeclarationsProperty()); in addDefaultConstructor()
|
D | BaseJavadocNodeScanner.java | 26 import org.eclipse.jdt.core.dom.rewrite.ASTRewrite; 39 ASTRewrite rewrite = context.rewrite(); in process() local 44 visit(reporter, javadoc, rewrite); in process() 49 protected abstract void visit(Reporter reporter, Javadoc javadoc, ASTRewrite rewrite); in visit() argument
|
D | BaseTagElementNodeScanner.java | 23 import org.eclipse.jdt.core.dom.rewrite.ASTRewrite; 31 final ASTRewrite rewrite) { in visit() argument 35 return visitTagElement(reporter, rewrite, node); in visit() 40 protected abstract boolean visitTagElement(Reporter reporter, ASTRewrite rewrite, TagElement tag); in visitTagElement() argument
|
/external/mesa3d/src/gallium/drivers/r600/sb/ |
D | sb_gvn.cpp | 45 bool rewrite = true; in visit() local 48 rewrite = false; in visit() 52 process_op(n, rewrite); in visit() 135 bool gvn::process_src(value* &v, bool rewrite) { in process_src() argument 139 if (rewrite && !v->gvn_source->is_rel()) { in process_src() 188 void gvn::process_op(node& n, bool rewrite) { in process_op() argument 194 process_src(v->rel, rewrite); in process_op() 197 if (rewrite && v->gvn_source && v->gvn_source->is_readonly() && in process_op() 200 } else if (rewrite && v->gvn_source && v->gvn_source->is_const() && in process_op() 205 process_src(v, rewrite); in process_op() [all …]
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/ |
D | JavadocUtils.java | 25 import org.eclipse.jdt.core.dom.rewrite.ASTRewrite; 26 import org.eclipse.jdt.core.dom.rewrite.ListRewrite; 36 public static void addJavadocTag(ASTRewrite rewrite, BodyDeclaration node, String tagText) { in addJavadocTag() argument 41 rewrite.set(node, node.getJavadocProperty(), javadoc, null /* editGroup */); in addJavadocTag() 43 addJavadocTag(rewrite, javadoc, tagText); in addJavadocTag() 46 public static void addJavadocTag(ASTRewrite rewrite, Javadoc javadoc, String tagText) { in addJavadocTag() argument 49 ListRewrite listRewrite = rewrite.getListRewrite(javadoc, Javadoc.TAGS_PROPERTY); in addJavadocTag()
|
/external/icu/tools/srcgen/src/main/java/com/android/icu4j/srcgen/ |
D | ReplaceIcuTags.java | 25 import org.eclipse.jdt.core.dom.rewrite.ASTRewrite; 35 protected boolean visitTagElement(Reporter reporter, ASTRewrite rewrite, TagElement tag) { in visitTagElement() argument 45 rewrite.replace(tag, createIcuMarker(ast), null /* editGroup */); in visitTagElement() 49 rewrite.replace(tag, createIcuUsageText(ast), null /* editGroup */); in visitTagElement() 59 rewrite.replace(tag, createIcuEnhancementText(ast, element), null /* editGroup */); in visitTagElement() 63 rewrite.replace(tag, createIcuNoteText(ast), null /* editGroup */); in visitTagElement() 67 rewrite.replace(tag, createDiscouragedText(ast, fragments), null /* editGroup */); in visitTagElement() 71 rewrite.remove(tag, null /* editGroup */); in visitTagElement()
|
D | ShardingAnnotator.java | 36 import org.eclipse.jdt.core.dom.rewrite.ASTRewrite; 73 ASTRewrite rewrite = context.rewrite(); in process() local 79 annotateTestType(cu, rewrite, declaration, imports); in process() 93 CompilationUnit cu, ASTRewrite rewrite, TypeDeclaration type, Set<String> imports) { in annotateTestType() argument 99 appendImport(cu, rewrite, annotationName); in annotateTestType() 106 rewrite.getListRewrite(type, type.getModifiersProperty()) in annotateTestType() 118 private void appendImport(CompilationUnit cu, ASTRewrite rewrite, String annotationName) { in appendImport() argument 123 rewrite.getListRewrite(cu, CompilationUnit.IMPORTS_PROPERTY) in appendImport()
|
/external/tensorflow/tensorflow/core/common_runtime/eager/ |
D | eager_op_rewrite_registry.h | 92 #define REGISTER_REWRITE(phase, rewrite) \ argument 93 REGISTER_REWRITE_UNIQ_HELPER(__COUNTER__, __FILE__, __LINE__, phase, rewrite) 95 #define REGISTER_REWRITE_UNIQ_HELPER(ctr, file, line, phase, rewrite) \ argument 96 REGISTER_REWRITE_UNIQ(ctr, file, line, phase, rewrite) 98 #define REGISTER_REWRITE_UNIQ(ctr, file, line, phase, rewrite) \ argument 102 new rewrite(#rewrite, file, #line)))
|
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/compiler/ |
D | preprocessor_test.cc | 47 AccuInlineRewrite rewrite(&blocks); in ParseInlines() local 48 preprocessor.AddRewrite(&rewrite); in ParseInlines() 73 AccuInlineRewrite rewrite(&blocks); in RewriteInlines() local 74 preprocessor.AddRewrite(&rewrite); in RewriteInlines() 111 SingleRewrite rewrite; in TEST() local 112 preprocessor.AddRewrite(&rewrite); in TEST() 120 SingleRewrite rewrite; in TEST() local 121 preprocessor.AddRewrite(&rewrite); in TEST()
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_RegexReplace.pbtxt | 12 name: "rewrite" 14 The rewrite string to be substituted for the `pattern` expression where it is 20 description: "The text after applying pattern match and rewrite substitution." 26 expression in each input string are rewritten), otherwise the `rewrite` 32 replacement string provided in `rewrite`.
|
D | api_def_StaticRegexReplace.pbtxt | 9 description: "The text after applying pattern and rewrite." 16 name: "rewrite" 17 description: "The rewrite to be applied to the matched expression." 23 summary: "Replaces the match of pattern in input with rewrite."
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/rewriter/ |
D | EncodedValueRewriter.java | 52 @Nonnull @Override public EncodedValue rewrite(@Nonnull EncodedValue encodedValue) { in rewrite() method in EncodedValueRewriter 79 return rewriters.getTypeRewriter().rewrite(typeEncodedValue.getValue()); in getValue() 91 return rewriters.getFieldReferenceRewriter().rewrite(fieldEncodedValue.getValue()); in getValue() 103 return rewriters.getFieldReferenceRewriter().rewrite(enumEncodedValue.getValue()); in getValue() 115 return rewriters.getMethodReferenceRewriter().rewrite(methodEncodedValue.getValue()); in getValue() 139 return rewriters.getTypeRewriter().rewrite(annotationEncodedValue.getType()); in getType()
|
D | MethodRewriter.java | 52 @Nonnull @Override public Method rewrite(@Nonnull Method value) { in rewrite() method in MethodRewriter 64 return rewriters.getMethodReferenceRewriter().rewrite(method).getDefiningClass(); in getDefiningClass() 68 return rewriters.getMethodReferenceRewriter().rewrite(method).getName(); in getName() 72 return rewriters.getMethodReferenceRewriter().rewrite(method).getParameterTypes(); in getParameterTypes() 84 return rewriters.getMethodReferenceRewriter().rewrite(method).getReturnType(); in getReturnType()
|
/external/llvm-project/mlir/test/Conversion/PDLToPDLInterp/ |
D | pdl-to-pdl-interp-rewriter.mlir | 13 pdl.rewrite %root with "rewriter"[true](%input : !pdl.value) 27 pdl.rewrite %root { 44 pdl.rewrite %root { 64 pdl.rewrite %root { 85 pdl.rewrite %root { 105 pdl.rewrite %root { 123 pdl.rewrite %root { 142 pdl.rewrite %root { 161 pdl.rewrite %root { 178 pdl.rewrite %root { [all …]
|
/external/jsoncpp/test/ |
D | pyjsontestrunner.py | 61 rewrite = json.dumps(value) 63 file(rewrite_path, 'wt').write(rewrite + '\n') 64 return rewrite 68 rewrite = rewriteValueTree(json.write(root), rewrite_path) variable 69 rewrite_root = parseAndSaveValueTree(rewrite, rewrite_actual_path)
|
/external/clang/test/Driver/ |
D | rewrite-legacy-objc.m | 1 // RUN: %clang -no-canonical-prefixes -target x86_64-apple-macosx10.7.0 -rewrite-legacy-objc %s -o … 4 // TEST0: "-rewrite-objc" 7 // TEST0: rewrite-legacy-objc.m" 8 // RUN: %clang -no-canonical-prefixes -target i386-apple-macosx10.9.0 -rewrite-legacy-objc %s -o - … 10 // RUN: %clang -no-canonical-prefixes -target i386-apple-macosx10.6.0 -rewrite-legacy-objc %s -o - …
|
/external/llvm-project/mlir/include/mlir/Dialect/PDL/IR/ |
D | PDLOps.td | 83 defined within a `pdl.rewrite` region, the constant value must be specified. 156 `pdl.erase` operations are used within `pdl.rewrite` regions to specify that 219 within the MLIR module. Inside of a `pdl.rewrite`, these operations 233 `pdl.rewrite`, all of the result types must be "inferable". This means that 280 let summary = "Define a rewrite pattern"; 285 the pattern is specified within the region body, with the rewrite provided 286 by a terminating `pdl.rewrite`. 297 pdl.rewrite %root { 326 /// Returns the rewrite operation of this pattern. 344 `pdl.replace` operations are used within `pdl.rewrite` regions to specify [all …]
|
/external/llvm-project/clang/test/Driver/ |
D | rewrite-legacy-objc.m | 1 // RUN: %clang -no-canonical-prefixes -target x86_64-apple-macosx10.7.0 -rewrite-legacy-objc %s -o … 4 // TEST0: "-rewrite-objc" 7 // TEST0: rewrite-legacy-objc.m" 8 // RUN: %clang -no-canonical-prefixes -target i386-apple-macosx10.9.0 -rewrite-legacy-objc %s -o - … 10 // RUN: %clang -no-canonical-prefixes -target i386-apple-macosx10.6.0 -rewrite-legacy-objc %s -o - …
|
/external/tensorflow/tensorflow/core/kernels/ |
D | regex_replace_op_test.cc | 75 Tensor rewrite(DT_STRING, TensorShape({})); in SetupRegexReplaceGraph() local 76 rewrite.flat<tstring>().setConstant(input_rewrite); in SetupRegexReplaceGraph() 81 .Input(test::graph::Constant(g, rewrite)) in SetupRegexReplaceGraph() 107 const string& rewrite) { in SetupStaticGraph() argument 112 .Attr("rewrite", rewrite) in SetupStaticGraph()
|