Home
last modified time | relevance | path

Searched full:rewrite (Results 1 – 25 of 4674) sorted by relevance

12345678910>>...187

/aosp_15_r20/prebuilts/sdk/current/extras/material-design-x/
H A DAndroid.bp3rewrite=^androidx.activity:activity$=androidx.activity_activity' '-rewrite=^androidx.activity:acti…
/aosp_15_r20/prebuilts/sdk/current/extras/constraint-layout/
H A DAndroid.bp2rewrite=^android.arch.core:common$=android-arch-core-common' '-rewrite=^android.arch.core:runtime$…
/aosp_15_r20/prebuilts/sdk/current/extras/constraint-layout-x/
H A DAndroid.bp2rewrite=^android.arch.core:common$=android-arch-core-common' '-rewrite=^android.arch.core:runtime$…
/aosp_15_r20/prebuilts/sdk/current/extras/app-toolkit/
H A DAndroid.bp3rewrite=^android.arch.core:common$=android-arch-core-common' '-rewrite=^android.arch.core:runtime$…
/aosp_15_r20/prebuilts/sdk/current/support/
H A DAndroid.bp3rewrite=^android.arch.core:common$=android-arch-core-common' '-rewrite=^android.arch.core:runtime$…
/aosp_15_r20/external/perfetto/src/trace_processor/sqlite/
H A Dsql_source.cc157 rewriter.Rewrite(0, static_cast<uint32_t>(root_.original_sql.size()), in RewriteAllIgnoreExisting()
163 const std::vector<Rewrite>& rewrites) { in ApplyRewrites()
166 for (const auto& rewrite : rewrites) { in ApplyRewrites() local
167 PERFETTO_CHECK(prev_idx <= rewrite.original_sql_start); in ApplyRewrites()
169 original_sql.substr(prev_idx, rewrite.original_sql_start - prev_idx)); in ApplyRewrites()
170 sql.append(rewrite.rewrite_node.rewritten_sql); in ApplyRewrites()
171 prev_idx = rewrite.original_sql_end; in ApplyRewrites()
182 const Rewrite& rewrite = rewrites[*opt_idx]; in AsTraceback() local
183 PERFETTO_CHECK(rewritten_offset >= rewrite.rewritten_sql_start); in AsTraceback()
184 PERFETTO_CHECK(rewritten_offset < rewrite.rewritten_sql_end); in AsTraceback()
[all …]
H A Dsql_source.h98 struct Rewrite;
100 // Represents a tree of SQL rewrites, preserving the source for each rewrite.
110 // while retaining information about the source of the rewrite.
160 std::vector<Rewrite> rewrites;
186 // IMPORTANT: if |rewritten_offset| is *inside* a rewrite, the original
187 // offset will point to the *start of the rewrite*. For example, if
208 // rewrite whose original range contains |original_offset|.
209 // Returns std::nullopt if there is no such rewrite.
214 // Defines a rewrite. See the documentation for |SqlSource::Node| for details
216 struct Rewrite { struct
[all …]
/aosp_15_r20/external/clang/test/Frontend/
H A Drewrite-includes.c6 #include "rewrite-includes1.h"
8 #define HEADER "rewrite-includes3.h"
11 #include "rewrite-includes4.h"
14 #/**/include /**/ "rewrite-includes5.h" /**/ \
16 #include "rewrite-includes6.h" // comment
18 #include "rewrite-includes6.h" /* comment
20 #include "rewrite-includes7.h"
21 #include "rewrite-includes7.h"
22 #include "rewrite-includes8.h"
24 // CHECK: {{^}}# 1 "{{.*}}rewrite-includes.c"{{$}}
[all …]
/aosp_15_r20/external/antlr/runtime/Ruby/test/functional/token-rewrite/
H A Dbasic.rb18 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 …]
/aosp_15_r20/frameworks/base/cmds/idmap2/tests/
H A DResourceMappingTests.cpp76 ResourceId overlay_resource, bool rewrite) { in MappingExists() argument
100 if ((overlay_iter != overlay_map.end()) != rewrite) { in MappingExists()
101 return Error(R"(Expected rewriting: "%s")", rewrite ? "true" : "false"); in MappingExists()
104 if (rewrite && overlay_iter->second != target_resource) { in MappingExists()
105 return Error(R"(Expected rewrite id: "0x%02x" Actual id: "0x%02x")", target_resource, in MappingExists()
152 MappingExists(res, R::target::integer::int1, R::overlay::integer::int1, false /* rewrite */)); in TEST()
154 MappingExists(res, R::target::string::str1, R::overlay::string::str1, false /* rewrite */)); in TEST()
156 MappingExists(res, R::target::string::str3, R::overlay::string::str3, false /* rewrite */)); in TEST()
158 MappingExists(res, R::target::string::str4, R::overlay::string::str4, false /* rewrite */)); in TEST()
170 MappingExists(res, R::target::string::str1, R::overlay::string::str4, true /* rewrite */)); in TEST()
[all …]
/aosp_15_r20/external/python/cpython3/Modules/_decimal/libmpdec/literature/
Dmulmod-ppro.txt151 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 …]
/aosp_15_r20/external/clang/test/Driver/
H A Dsymbol-rewriter.c1 // RUN: %clang -frewrite-map-file %S/Inputs/rewrite.map -### %s 2>&1 | FileCheck %s -check-prefix C…
3 // CHECK-SINGLE: "-frewrite-map-file" "{{.*[\\/]}}rewrite.map"
5 // RUN: %clang -frewrite-map-file %S/Inputs/rewrite-1.map -frewrite-map-file %S/Inputs/rewrite-2.ma…
7 …CHECK-MULTIPLE: "-frewrite-map-file" "{{.*[\\/]}}rewrite-1.map" "-frewrite-map-file" "{{.*[\\/]}}r…
9 // RUN: %clang -frewrite-map-file=%S/Inputs/rewrite.map -### %s 2>&1 | FileCheck %s -check-prefix C…
11 // CHECK-SINGLE-EQ: "-frewrite-map-file" "{{.*[\\/]}}rewrite.map"
13 // RUN: %clang -frewrite-map-file=%S/Inputs/rewrite-1.map -frewrite-map-file=%S/Inputs/rewrite-2.ma…
15 // CHECK-MULTIPLE-EQ: "-frewrite-map-file" "{{.*[\\/]}}rewrite-1.map"
16 // CHECK-MULTIPLE-EQ: "-frewrite-map-file" "{{.*[\\/]}}rewrite-2.map"
18 // RUN: %clang -frewrite-map-file %S/Inputs/rewrite-1.map -frewrite-map-file=%S/Inputs/rewrite-2.ma…
[all …]
/aosp_15_r20/external/llvm/lib/Transforms/Utils/
H A DSymbolRewriter.cpp10 // SymbolRewriter is a LLVM pass which can rewrite symbols transparently within
44 // New rewrite descriptors can be created. Addding a new rewrite descriptor
47 // a) extended the rewrite descriptor kind enumeration
51 // c) extending the rewrite map parser
54 // Specify to rewrite the symbols using the `-rewrite-symbols` option, and
55 // specify the map file to use for the rewriting via the `-rewrite-map-file`
76 static cl::list<std::string> RewriteMapFiles("rewrite-map-file",
77 cl::desc("Symbol Rewrite Map"),
181 /// Represents a rewrite for an explicitly named (function) symbol. Both the
188 /// Represents a rewrite for an explicitly named (global variable) symbol. Both
[all …]
/aosp_15_r20/prebuilts/misc/common/androidx-test/
H A DAndroid.bp3rewrite 'androidx.test:=androidx.test.' -rewrite 'androidx.test.ext:=androidx.test.ext.' -rewrite
H A Dupdate-from-gmaven.py157 atxRewriteStr += "-rewrite %s=%s " % (name, mavenToBpPatternMap[name])
165 "-rewrite com.google.truth:truth=truth " +
166 "-rewrite net.sf.kxml:kxml2=kxml2-android " +
167 "-rewrite androidx.lifecycle:lifecycle-common=androidx.lifecycle_lifecycle-common " +
168 "-rewrite androidx.annotation:annotation=androidx.annotation_annotation " +
169 "-rewrite org.hamcrest:hamcrest-integration=hamcrest " +
170 "-rewrite org.hamcrest:hamcrest-core=hamcrest " +
171 "-rewrite javax.inject:javax.inject=jsr330 " +
172 "-rewrite com.google.android.material:material=com.google.android.material_material " +
173 "-rewrite androidx.drawerlayout:drawerlayout=androidx.drawerlayout_drawerlayout " +
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/core/common_runtime/eager/
H A Deager_op_rewrite_registry.h34 // To be implemented by an Eager op rewrite pass.
38 // Holds information about the rewrite registration.
43 // Returns information about the registered Eager op rewrite.
52 // Phases at which the Eager op rewrite pass should run.
58 // Add a rewrite pass to the registry.
62 // Run the rewrite pass registered for a given phase.
66 // Returns the global registry of rewrite passes.
79 // This class is used to register a new Eager Op rewrite.
90 #define REGISTER_REWRITE(phase, ordinal, rewrite) \ argument
92 ordinal, rewrite)
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
H A DSymbolRewriter.cpp9 // SymbolRewriter is a LLVM pass which can rewrite symbols transparently within
43 // New rewrite descriptors can be created. Addding a new rewrite descriptor
46 // a) extended the rewrite descriptor kind enumeration
50 // c) extending the rewrite map parser
53 // Specify to rewrite the symbols using the `-rewrite-symbols` option, and
54 // specify the map file to use for the rewriting via the `-rewrite-map-file`
91 static cl::list<std::string> RewriteMapFiles("rewrite-map-file",
92 cl::desc("Symbol Rewrite Map"),
206 /// Represents a rewrite for an explicitly named (function) symbol. Both the
213 /// Represents a rewrite for an explicitly named (global variable) symbol. Both
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Utils/
H A DSymbolRewriter.cpp9 // SymbolRewriter is a LLVM pass which can rewrite symbols transparently within
43 // New rewrite descriptors can be created. Addding a new rewrite descriptor
46 // a) extended the rewrite descriptor kind enumeration
50 // c) extending the rewrite map parser
53 // Specify to rewrite the symbols using the `-rewrite-symbols` option, and
54 // specify the map file to use for the rewriting via the `-rewrite-map-file`
90 static cl::list<std::string> RewriteMapFiles("rewrite-map-file",
91 cl::desc("Symbol Rewrite Map"),
207 /// Represents a rewrite for an explicitly named (function) symbol. Both the
214 /// Represents a rewrite for an explicitly named (global variable) symbol. Both
[all …]
/aosp_15_r20/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/processors/
H A DAddAnnotation.java61 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 …]
/aosp_15_r20/external/antlr/runtime/Ruby/test/functional/ast-output/
H A Dtree-rewrite.rb565 rewrite=true;
591 rewrite=true;
609 …=Ruby; output=AST; ASTLabelType=CommonTree; tokenVocab=RewriteModeChainRuleFlatTree; rewrite=true;}
627 …uage=Ruby; output=AST; ASTLabelType=CommonTree; tokenVocab=RewriteModeChainRuleTree; rewrite=true;}
645 …age=Ruby; output=AST; ASTLabelType=CommonTree; tokenVocab=RewriteModeChainRuleTree2; rewrite=true;}
664 …age=Ruby; output=AST; ASTLabelType=CommonTree; tokenVocab=RewriteModeChainRuleTree3; rewrite=true;}
683 …age=Ruby; output=AST; ASTLabelType=CommonTree; tokenVocab=RewriteModeChainRuleTree4; rewrite=true;}
702 …age=Ruby; output=AST; ASTLabelType=CommonTree; tokenVocab=RewriteModeChainRuleTree5; rewrite=true;}
721 …ns {language=Ruby; output=AST; ASTLabelType=CommonTree; tokenVocab=RewriteOfRuleRef; rewrite=true;}
737 …language=Ruby; output=AST; ASTLabelType=CommonTree; tokenVocab=RewriteOfRuleRefRoot; rewrite=true;}
[all …]
/aosp_15_r20/external/perfetto/src/trace_processor/perfetto_sql/preprocessor/
H A Dperfetto_sql_preprocessor.cc74 struct Rewrite { struct
83 using Type = std::variant<Root, Rewrite, Append>;
170 frame.tokenizer.Rewrite( in RewriteIntrinsicMacro()
196 Frame::Rewrite{frame.tokenizer, frame.rewriter, name, rp}, in ExecuteSqlMacro()
231 Frame::Rewrite{frame.tokenizer, frame.rewriter, name, rp}, in ExecuteStringify()
241 frame.tokenizer.Rewrite(frame.rewriter, name, rp, std::move(res), in ExecuteStringify()
256 Frame::Rewrite{frame.tokenizer, frame.rewriter, name, rp}, in ExecuteApply()
289 auto& rewrite = std::get<Frame::Rewrite>(frame.type); in OnPreprocessorApply() local
290 rewrite.tokenizer.Rewrite(rewrite.rewriter, rewrite.start, rewrite.end, in OnPreprocessorApply()
445 case base::variant_index<Frame::Type, Frame::Rewrite>(): { in OnPreprocessorEnd()
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/lite/delegates/gpu/gl/compiler/
H A Dpreprocessor_test.cc34 RewriteStatus Rewrite(absl::string_view input, std::string* output) final { in Rewrite() function in tflite::gpu::gl::__anon655283260111::AccuInlineRewrite
47 AccuInlineRewrite rewrite(&blocks); in ParseInlines() local
48 preprocessor.AddRewrite(&rewrite); in ParseInlines()
50 preprocessor.Rewrite(text, &discard).IgnoreError(); in ParseInlines()
73 AccuInlineRewrite rewrite(&blocks); in RewriteInlines() local
74 preprocessor.AddRewrite(&rewrite); in RewriteInlines()
76 preprocessor.Rewrite(text, &out).IgnoreError(); in RewriteInlines()
98 RewriteStatus Rewrite(absl::string_view input, std::string* output) final { in Rewrite() function in tflite::gpu::gl::__anon655283260111::SingleRewrite
111 SingleRewrite rewrite; in TEST() local
112 preprocessor.AddRewrite(&rewrite); in TEST()
[all …]
/aosp_15_r20/external/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeRecord.h82 /// Rewrite member type indices with IndexMap. Returns false if a type index
121 /// Rewrite member type indices with IndexMap. Returns false if a type index
151 /// Rewrite member type indices with IndexMap. Returns false if a type index
195 /// Rewrite member type indices with IndexMap. Returns false if a type index
241 /// Rewrite member type indices with IndexMap. Returns false if a type index
268 /// Rewrite member type indices with IndexMap. Returns false if a type index
312 /// Rewrite member type indices with IndexMap. Returns false if a type index
388 /// Rewrite member type indices with IndexMap. Returns false if a type index
417 /// Rewrite member type indices with IndexMap. Returns false if a type index
451 /// Rewrite member type indices with IndexMap. Returns false if a type index
[all …]
/aosp_15_r20/prebuilts/misc/common/androidx-media3/
H A Dupdate-from-gmaven.py14 # * Extend external dependency rewrite for any new external dependencies
189 atxRewriteStr += "-rewrite %s=%s " % (name, mavenToBpPatternMap[name])
193 "-rewrite androidx.annotation:annotation=androidx.annotation_annotation " +
194 …"-rewrite androidx.annotation:annotation-experimental=androidx.annotation_annotation-experimental …
195 "-rewrite androidx.collection:collection=androidx.collection_collection " +
196 "-rewrite androidx.core:core=androidx.core_core " +
197 "-rewrite androidx.exifinterface:exifinterface=androidx.exifinterface_exifinterface " +
198 "-rewrite androidx.media:media=androidx.media_media " +
199 "-rewrite androidx.recyclerview:recyclerview=androidx.recyclerview_recyclerview " +
200 "-rewrite androidx.test:core=androidx.test.core " +
[all …]
/aosp_15_r20/external/regex-re2/re2/
H A Dre2.cc367 const StringPiece& rewrite) { in Replace() argument
369 int nvec = 1 + MaxSubmatch(rewrite); in Replace()
376 if (!re.Rewrite(&s, rewrite, vec, nvec)) in Replace()
387 const StringPiece& rewrite) { in GlobalReplace() argument
389 int nvec = 1 + MaxSubmatch(rewrite); in GlobalReplace()
441 re.Rewrite(&out, rewrite, vec, nvec); in GlobalReplace()
459 const StringPiece& rewrite, in GlobalReplace() argument
462 int nvec = 1 + MaxSubmatch(rewrite); in GlobalReplace()
470 return re.Rewrite(out, rewrite, vec, nvec); in GlobalReplace()
855 // Checks that the rewrite string is well-formed with respect to this in GlobalReplace()
[all …]

12345678910>>...187