Home
last modified time | relevance | path

Searched refs:Replace (Results 1 – 25 of 429) sorted by relevance

12345678910>>...18

/external/clang/test/SemaTemplate/
Ddeduction.cpp38 struct Replace { struct
44 struct Replace<_1, Arg1, Arg2> { argument
49 struct Replace<_2, Arg1, Arg2> { struct
55 struct Replace<const T, Arg1, Arg2> { struct
56 typedef typename Replace<T, Arg1, Arg2>::type const type; argument
61 struct Replace<TT<T1>, Arg1, Arg2> { struct
62 typedef TT<typename Replace<T1, Arg1, Arg2>::type> type; argument
67 struct Replace<TT<T1, T2>, Arg1, Arg2> { struct
68 typedef TT<typename Replace<T1, Arg1, Arg2>::type,
69 typename Replace<T2, Arg1, Arg2>::type> type; argument
[all …]
/external/v8/src/compiler/
Dsimplified-operator-reducer.cc29 return Replace(jsgraph()->BooleanConstant(!m.Value()->BooleanValue())); in Reduce()
31 if (m.IsBooleanNot()) return Replace(m.InputAt(0)); in Reduce()
36 if (m.Is(0)) return Replace(jsgraph()->FalseConstant()); in Reduce()
37 if (m.Is(1)) return Replace(jsgraph()->TrueConstant()); in Reduce()
38 if (m.IsChangeBoolToBit()) return Replace(m.InputAt(0)); in Reduce()
44 if (m.IsChangeBitToBool()) return Replace(m.InputAt(0)); in Reduce()
60 if (m.IsChangeFloat64ToTagged()) return Replace(m.node()->InputAt(0)); in Reduce()
75 if (m.IsChangeInt32ToTagged()) return Replace(m.InputAt(0)); in Reduce()
84 if (m.IsChangeUint32ToTagged()) return Replace(m.InputAt(0)); in Reduce()
109 return Replace(jsgraph()->TrueConstant()); in ReduceReferenceEqual()
[all …]
Dmachine-operator-reducer.cc140 if (m.right().Is(0)) return Replace(m.left().node()); // x ^ 0 => x in Reduce()
148 return Replace(mleft.left().node()); in Reduce()
157 if (m.right().Is(0)) return Replace(m.left().node()); // x >>> 0 => x in Reduce()
167 if (m.right().Is(0)) return Replace(m.left().node()); // x ror 0 => x in Reduce()
210 if (m.right().Is(0)) return Replace(m.right().node()); // x * 0 => 0 in Reduce()
211 if (m.right().Is(1)) return Replace(m.left().node()); // x * 1 => x in Reduce()
315 return Replace(m.right().node()); in Reduce()
325 return Replace(m.left().node()); // x - 0 => x in Reduce()
328 return Replace(m.right().node()); in Reduce()
331 return Replace(m.left().node()); in Reduce()
[all …]
Dgraph-reducer.h57 static Reduction Replace(Node* node) { return Reduction(node); } in Replace() function
72 virtual void Replace(Node* node, Node* replacement) = 0;
87 static Reduction Replace(Node* node) { return Reducer::Replace(node); } in Replace() function
90 void Replace(Node* node, Node* replacement) { in Replace() function
92 editor_->Replace(node, replacement); in Replace()
150 void Replace(Node* node, Node* replacement) final;
161 void Replace(Node* node, Node* replacement, NodeId max_id);
Ddead-code-elimination.cc53 return Replace(dead()); in ReduceEnd()
93 return Replace(dead()); in ReduceLoopOrMerge()
98 Replace(use, use->InputAt(0)); in ReduceLoopOrMerge()
101 Replace(use, dead()); in ReduceLoopOrMerge()
104 return Replace(node->InputAt(0)); in ReduceLoopOrMerge()
132 if (control->opcode() == IrOpcode::kDead) return Replace(control); in ReduceNode()
Dmachine-operator-reducer.h52 return Replace(Float32Constant(value)); in ReplaceFloat32()
55 return Replace(Float64Constant(value)); in ReplaceFloat64()
58 return Replace(Int32Constant(value)); in ReplaceInt32()
61 return Replace(Uint32Constant(value)); in ReplaceUint32()
64 return Replace(Int64Constant(value)); in ReplaceInt64()
Dcommon-operator-reducer.cc114 Replace(use, (decision == Decision::kTrue) ? control : dead()); in ReduceBranch()
117 Replace(use, (decision == Decision::kFalse) ? control : dead()); in ReduceBranch()
123 return Replace(dead()); in ReduceBranch()
156 return Replace(control); in ReduceMerge()
183 return Replace(effect); in ReduceEffectPhi()
270 return Replace(value); in ReducePhi()
300 Replace(control, dead()); in ReduceReturn()
301 return Replace(dead()); in ReduceReturn()
312 if (vtrue == vfalse) return Replace(vtrue); in ReduceSelect()
315 return Replace(vtrue); in ReduceSelect()
[all …]
Djs-builtin-reducer.cc98 return Replace(jsgraph()->Constant(-V8_INFINITY)); in ReduceMathMax()
102 return Replace(r.left()); in ReduceMathMax()
114 return Replace(value); in ReduceMathMax()
126 return Replace(value); in ReduceMathImul()
139 return Replace(value); in ReduceMathFround()
/external/clang/unittests/Tooling/
DRefactoringTest.cpp47 Replacement Replace(createReplacement(Location, 4, "")); in TEST_F() local
48 EXPECT_TRUE(Replace.apply(Context.Rewrite)); in TEST_F()
55 Replacement Replace(createReplacement(Location, 17, "")); in TEST_F() local
56 EXPECT_TRUE(Replace.apply(Context.Rewrite)); in TEST_F()
63 Replacement Replace(createReplacement(Location, 0, "result")); in TEST_F() local
64 EXPECT_TRUE(Replace.apply(Context.Rewrite)); in TEST_F()
72 Replacement Replace(createReplacement(Location, 12, "x")); in TEST_F() local
73 EXPECT_TRUE(Replace.apply(Context.Rewrite)); in TEST_F()
94 Replacement Replace("nonexistent-file.cpp", 0, 1, ""); in TEST_F() local
95 EXPECT_FALSE(Replace.apply(Context.Rewrite)); in TEST_F()
[all …]
/external/sl4a/InterpreterForAndroid/src/com/googlecode/android_scripting/
DZipExtractorTask.java45 private static enum Replace { enum in ZipExtractorTask
179 Replace answer = showDialog(entry.getName()); in unzip()
219 private Replace showDialog(final String name) { in showDialog()
220 final FutureResult<Replace> mResult = new FutureResult<Replace>(); in showDialog()
232 Replace result = Replace.SKIPALL; in showDialog()
235 result = Replace.YES; in showDialog()
238 result = Replace.NO; in showDialog()
241 result = Replace.YESTOALL; in showDialog()
255 mResult.set(Replace.SKIPALL); in showDialog()
/external/clang/lib/Tooling/
DRefactoringCallbacks.cpp20 return Replace; in getReplacements()
43 Replace.insert(tooling::Replacement( in run()
58 Replace.insert(replaceStmtWithStmt( in run()
71 Replace.insert(replaceStmtWithStmt(*Result.SourceManager, *Node, *Body)); in run()
75 Replace.insert(replaceStmtWithText(*Result.SourceManager, *Node, "")); in run()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DTokenRewriteStream.cs275 public virtual void Replace(int index, object text) { in Replace() method in Antlr.Runtime.TokenRewriteStream
276 Replace(DEFAULT_PROGRAM_NAME, index, index, text); in Replace()
279 public virtual void Replace(int from, int to, object text) { in Replace() method in Antlr.Runtime.TokenRewriteStream
280 Replace(DEFAULT_PROGRAM_NAME, from, to, text); in Replace()
283 public virtual void Replace(IToken indexT, object text) { in Replace() method in Antlr.Runtime.TokenRewriteStream
284 Replace(DEFAULT_PROGRAM_NAME, indexT, indexT, text); in Replace()
287 public virtual void Replace(IToken from, IToken to, object text) { in Replace() method in Antlr.Runtime.TokenRewriteStream
288 Replace(DEFAULT_PROGRAM_NAME, from, to, text); in Replace()
291 public virtual void Replace(string programName, int from, int to, object text) { in Replace() method in Antlr.Runtime.TokenRewriteStream
301 public virtual void Replace(string programName, IToken from, IToken to, object text) { in Replace() method in Antlr.Runtime.TokenRewriteStream
[all …]
DClassicToken.cs165 txt = txt.Replace("\n", "\\\\n"); in ToString()
166 txt = txt.Replace("\r", "\\\\r"); in ToString()
167 txt = txt.Replace("\t", "\\\\t"); in ToString()
/external/lzma/CPP/7zip/Archive/Common/
DItemNameUtils.cpp31 zipName.Replace(kOSDirDelimiter, kDirDelimiter); in MakeLegalName()
38 newName.Replace(kDirDelimiter, kOSDirDelimiter); in GetOSName()
56 name.Replace(kDirDelimiter, kOSDirDelimiter); in ConvertToOSName2()
83 newName.Replace(L'\\', kOSDirDelimiter); in WinNameToOSName()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
DTokenRewriteStream.cs312 public virtual void Replace( int index, object text ) in Replace() method in Antlr.Runtime.TokenRewriteStream
314 Replace( DEFAULT_PROGRAM_NAME, index, index, text ); in Replace()
317 public virtual void Replace( int from, int to, object text ) in Replace() method in Antlr.Runtime.TokenRewriteStream
319 Replace( DEFAULT_PROGRAM_NAME, from, to, text ); in Replace()
322 public virtual void Replace( IToken indexT, object text ) in Replace() method in Antlr.Runtime.TokenRewriteStream
324 Replace( DEFAULT_PROGRAM_NAME, indexT, indexT, text ); in Replace()
327 public virtual void Replace( IToken from, IToken to, object text ) in Replace() method in Antlr.Runtime.TokenRewriteStream
329 Replace( DEFAULT_PROGRAM_NAME, from, to, text ); in Replace()
332 public virtual void Replace( string programName, int from, int to, object text ) in Replace() method in Antlr.Runtime.TokenRewriteStream
344 public virtual void Replace( string programName, IToken from, IToken to, object text ) in Replace() method in Antlr.Runtime.TokenRewriteStream
[all …]
DClassicToken.cs201 txt = txt.Replace( "\n", "\\\\n" ); in ToString()
202 txt = txt.Replace( "\r", "\\\\r" ); in ToString()
203 txt = txt.Replace( "\t", "\\\\t" ); in ToString()
/external/v8/test/mjsunit/es6/
Ddebug-liveedit-new-target-2.js23 function Replace(fun, original, patch) { class
43 Replace(LogNewTarget, "true", "new.target");
48 Replace(LogNewTarget, "new.target", "true");
Ddebug-liveedit-new-target-3.js28 function Replace(fun, original, patch) { class
45 Replace(Wrapper, "true", "false");
50 Replace(Wrapper, "false", "true");
Ddebug-liveedit-new-target-1.js26 function Replace(fun, original, patch) { class
46 Replace(LogNewTarget, "true", "false");
51 Replace(LogNewTarget, "false", "true");
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/streams/
Drewrite.rb127 class Replace < RewriteOperation class in ANTLR3.TokenRewriteStream
165 class Delete < Replace
183 op = Replace.new( @stream, range, text )
220 when Replace
227 when Replace
245 when Replace
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Utility/Antlr.Utility.Tree/
DDOTTreeGenerator.cs187 text = System.Text.RegularExpressions.Regex.Replace(text, "\"", "\\\\\""); in FixString()
188 text = System.Text.RegularExpressions.Regex.Replace(text, "\\t", " "); in FixString()
189 text = System.Text.RegularExpressions.Regex.Replace(text, "\\n", "\\\\n"); in FixString()
190 text = System.Text.RegularExpressions.Regex.Replace(text, "\\r", "\\\\r"); in FixString()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DDotTreeGenerator.cs204 text = System.Text.RegularExpressions.Regex.Replace( text, "\"", "\\\\\"" ); in FixString()
205 text = System.Text.RegularExpressions.Regex.Replace( text, "\\t", " " ); in FixString()
206 text = System.Text.RegularExpressions.Regex.Replace( text, "\\n", "\\\\n" ); in FixString()
207 text = System.Text.RegularExpressions.Regex.Replace( text, "\\r", "\\\\r" ); in FixString()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DDotTreeGenerator.cs204 text = System.Text.RegularExpressions.Regex.Replace( text, "\"", "\\\\\"" ); in FixString()
205 text = System.Text.RegularExpressions.Regex.Replace( text, "\\t", " " ); in FixString()
206 text = System.Text.RegularExpressions.Regex.Replace( text, "\\n", "\\\\n" ); in FixString()
207 text = System.Text.RegularExpressions.Regex.Replace( text, "\\r", "\\\\r" ); in FixString()
/external/v8/test/mjsunit/
Ddebug-liveedit-stepin.js28 Replace(BestEditor, "Emacs", "Eclipse");
31 Replace(BestEditor, "Eclipse", "Vim");
43 function Replace(fun, original, patch) { class
/external/v8/test/unittests/compiler/
Dgraph-reducer-unittest.cc68 return Replace(node); in Reduce()
72 return Replace(node); in Reduce()
76 return Replace(node); in Reduce()
92 return Replace(graph_->NewNode(&kOpB0)); in Reduce()
95 return Replace(graph_->NewNode(&kOpB1, node->InputAt(0))); in Reduce()
98 return Replace( in Reduce()
118 return Replace(graph_->NewNode(&kOpB1, node)); in Reduce()
137 return Replace(graph_->NewNode(&kOpC1, graph_->NewNode(&kOpC1, node))); in Reduce()
154 return Replace(node->InputAt(0)); in Reduce()
168 return Replace(node->InputAt(0)); in Reduce()
[all …]

12345678910>>...18