Home
last modified time | relevance | path

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

12345678910>>...21

/external/v8/src/compiler/
Dsimplified-operator-reducer.cc52 if (m.IsBooleanNot()) return Replace(m.InputAt(0)); in Reduce()
57 if (m.Is(0)) return Replace(jsgraph()->FalseConstant()); in Reduce()
58 if (m.Is(1)) return Replace(jsgraph()->TrueConstant()); in Reduce()
59 if (m.IsChangeTaggedToBit()) return Replace(m.InputAt(0)); in Reduce()
67 if (m.IsChangeBitToTagged()) return Replace(m.InputAt(0)); in Reduce()
73 if (m.IsChangeTaggedToFloat64()) return Replace(m.node()->InputAt(0)); in Reduce()
81 return Replace(m.InputAt(0)); in Reduce()
90 return Replace(m.node()->InputAt(0)); in Reduce()
108 return Replace(m.InputAt(0)); in Reduce()
118 if (m.IsChangeUint32ToTagged()) return Replace(m.InputAt(0)); in Reduce()
[all …]
Dtyped-optimization.cc110 return Replace(value); in ReduceConvertReceiver()
113 return Replace(global_proxy); in ReduceConvertReceiver()
123 return Replace(input); in ReduceCheckHeapObject()
133 return Replace(input); in ReduceCheckNotTaggedHole()
158 return Replace(effect); in ReduceCheckMaps()
170 return Replace(input); in ReduceCheckNumber()
180 return Replace(input); in ReduceCheckString()
191 if (val_type.Is(exp_type)) return Replace(effect); in ReduceCheckEqualsInternalizedString()
203 if (val_type.Is(exp_type)) return Replace(effect); in ReduceCheckEqualsSymbol()
224 return Replace(value); in ReduceLoadField()
[all …]
Ddead-code-elimination.cc83 if (control->opcode() == IrOpcode::kDead) return Replace(control); in PropagateDeadControl()
101 return Replace(dead()); in ReduceEnd()
141 return Replace(dead()); in ReduceLoopOrMerge()
147 Replace(use, use->InputAt(0)); in ReduceLoopOrMerge()
156 Replace(use, dead()); in ReduceLoopOrMerge()
163 return Replace(node->InputAt(0)); in ReduceLoopOrMerge()
188 Replace(use, use->InputAt(0)); in RemoveLoopExit()
192 Replace(node, control); in RemoveLoopExit()
193 return Replace(control); in RemoveLoopExit()
222 return Replace(DeadValue(node, rep)); in ReducePhi()
[all …]
Dmachine-operator-reducer.cc170 if (m.right().Is(0)) return Replace(m.left().node()); // x ror 0 => x in Reduce()
217 if (m.right().Is(0)) return Replace(m.right().node()); // x * 0 => 0 in Reduce()
218 if (m.right().Is(1)) return Replace(m.left().node()); // x * 1 => x in Reduce()
322 return Replace(m.left().node()); // x - 0 => x in Reduce()
342 return Replace(graph()->NewNode(machine()->Float32RoundUp().op(), in Reduce()
365 return Replace(m.left().node()); // x - 0 => x in Reduce()
385 return Replace(graph()->NewNode(machine()->Float64RoundUp().op(), in Reduce()
400 return Replace(m.left().node()); // x * 1.0 => x in Reduce()
424 return Replace(m.left().node()); // x / 1.0 => x in Reduce()
458 return Replace(m.right().node()); in Reduce()
[all …]
Dgraph-reducer.h64 static Reduction Replace(Node* node) { return Reduction(node); } in Replace() function
79 virtual void Replace(Node* node, Node* replacement) = 0;
93 static Reduction Replace(Node* node) { return Reducer::Replace(node); } in Replace() function
96 void Replace(Node* node, Node* replacement) { in Replace() function
98 editor_->Replace(node, replacement); in Replace()
157 void Replace(Node* node, Node* replacement) final; in NON_EXPORTED_BASE()
168 void Replace(Node* node, Node* replacement, NodeId max_id); in NON_EXPORTED_BASE()
Dcommon-operator-reducer.cc123 Replace(use, (decision == Decision::kTrue) ? control : dead()); in ReduceBranch()
126 Replace(use, (decision == Decision::kFalse) ? control : dead()); in ReduceBranch()
132 return Replace(dead()); in ReduceBranch()
169 return Replace(dead()); in ReduceDeoptimizeConditional()
201 return Replace(control); in ReduceMerge()
229 return Replace(effect); in ReduceEffectPhi()
296 return Replace(value); in ReducePhi()
361 Replace(control, dead()); in ReduceReturn()
362 return Replace(dead()); in ReduceReturn()
377 Replace(control, dead()); in ReduceReturn()
[all …]
Dmachine-operator-reducer.h62 return Replace(Float32Constant(value)); in NON_EXPORTED_BASE()
65 return Replace(Float64Constant(value)); in NON_EXPORTED_BASE()
68 return Replace(Int32Constant(value)); in NON_EXPORTED_BASE()
71 return Replace(Uint32Constant(value)); in NON_EXPORTED_BASE()
74 return Replace(Int64Constant(value)); in NON_EXPORTED_BASE()
/external/pdfium/core/fxcrt/xml/
Dcfx_xmldoc.cpp76 wsValue.Replace(L"&", L"&"); in SaveXMLNode()
77 wsValue.Replace(L"<", L"&lt;"); in SaveXMLNode()
78 wsValue.Replace(L">", L"&gt;"); in SaveXMLNode()
79 wsValue.Replace(L"\'", L"&apos;"); in SaveXMLNode()
80 wsValue.Replace(L"\"", L"&quot;"); in SaveXMLNode()
109 wsValue.Replace(L"&", L"&amp;"); in SaveXMLNode()
110 wsValue.Replace(L"<", L"&lt;"); in SaveXMLNode()
111 wsValue.Replace(L">", L"&gt;"); in SaveXMLNode()
112 wsValue.Replace(L"\'", L"&apos;"); in SaveXMLNode()
113 wsValue.Replace(L"\"", L"&quot;"); in SaveXMLNode()
[all …]
Dcfx_xmlnode.cpp355 wsValue.Replace(L"&", L"&amp;"); in SaveXMLNode()
356 wsValue.Replace(L"<", L"&lt;"); in SaveXMLNode()
357 wsValue.Replace(L">", L"&gt;"); in SaveXMLNode()
358 wsValue.Replace(L"\'", L"&apos;"); in SaveXMLNode()
359 wsValue.Replace(L"\"", L"&quot;"); in SaveXMLNode()
388 wsValue.Replace(L"&", L"&amp;"); in SaveXMLNode()
389 wsValue.Replace(L"<", L"&lt;"); in SaveXMLNode()
390 wsValue.Replace(L">", L"&gt;"); in SaveXMLNode()
391 wsValue.Replace(L"\'", L"&apos;"); in SaveXMLNode()
392 wsValue.Replace(L"\"", L"&quot;"); in SaveXMLNode()
[all …]
/external/clang/test/SemaTemplate/
Ddeduction.cpp38 struct Replace { struct
44 struct Replace<_1, Arg1, Arg2> { struct
49 struct Replace<_2, Arg1, Arg2> { argument
55 struct Replace<const T, Arg1, Arg2> { argument
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/capstone/bindings/vb6/
DmMisc.bas56 str = Replace(Trim(str), "0x", "")
57 str = Replace(str, " ", "")
58 str = Replace(str, "`", "")
180 str = Replace(hexstr, vbCr, Empty)
181 str = Replace(str, vbLf, Empty)
182 str = Replace(str, vbTab, Empty)
183 str = Replace(str, Chr(0), Empty)
184 str = Replace(str, "{", Empty)
185 str = Replace(str, "}", Empty)
186 str = Replace(str, ";", Empty)
[all …]
/external/sl4a/InterpreterForAndroid/src/com/googlecode/android_scripting/
DZipExtractorTask.java43 private static enum Replace { enum in ZipExtractorTask
177 Replace answer = showDialog(entry.getName()); in unzip()
217 private Replace showDialog(final String name) { in showDialog()
218 final FutureResult<Replace> mResult = new FutureResult<Replace>(); in showDialog()
230 Replace result = Replace.SKIPALL; in showDialog()
233 result = Replace.YES; in showDialog()
236 result = Replace.NO; in showDialog()
239 result = Replace.YESTOALL; in showDialog()
253 mResult.set(Replace.SKIPALL); in showDialog()
/external/clang/unittests/Tooling/
DRefactoringTest.cpp48 Replacement Replace(createReplacement(Location, 4, "")); in TEST_F() local
49 EXPECT_TRUE(Replace.apply(Context.Rewrite)); in TEST_F()
56 Replacement Replace(createReplacement(Location, 17, "")); in TEST_F() local
57 EXPECT_TRUE(Replace.apply(Context.Rewrite)); in TEST_F()
64 Replacement Replace(createReplacement(Location, 0, "result")); in TEST_F() local
65 EXPECT_TRUE(Replace.apply(Context.Rewrite)); in TEST_F()
73 Replacement Replace(createReplacement(Location, 12, "x")); in TEST_F() local
74 EXPECT_TRUE(Replace.apply(Context.Rewrite)); in TEST_F()
95 Replacement Replace("nonexistent-file.cpp", 0, 1, ""); in TEST_F() local
96 EXPECT_FALSE(Replace.apply(Context.Rewrite)); in TEST_F()
[all …]
/external/swiftshader/third_party/subzero/unittest/
DIceParseInstsTest.cpp111 ReplaceIndex, NaClMungedBitcode::Replace, in TEST()
121 ReplaceIndex, NaClMungedBitcode::Replace, in TEST()
137 ReplaceIndex, NaClMungedBitcode::Replace, in TEST()
176 ReplaceIndex, NaClMungedBitcode::Replace, in TEST()
189 ReplaceIndex, NaClMungedBitcode::Replace, in TEST()
202 ReplaceIndex, NaClMungedBitcode::Replace, in TEST()
215 ReplaceIndex, NaClMungedBitcode::Replace, in TEST()
258 ReplaceIndex, NaClMungedBitcode::Replace, in TEST()
272 ReplaceIndex, NaClMungedBitcode::Replace, in TEST()
281 ReplaceIndex, NaClMungedBitcode::Replace, in TEST()
[all …]
/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/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/antlr/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/lzma/CPP/7zip/Archive/Common/
DItemNameUtils.cpp17 name.Replace(kOsPathSepar, kUnixPathSepar); in ReplaceSlashes_OsToUnix()
28 newName.Replace(kUnixPathSepar, kOsPathSepar); in GetOsPath()
52 name.Replace(kUnixPathSepar, kOsPathSepar); in ReplaceToOsSlashes_Remove_TailSlash()
83 newName.Replace(L'\\', WCHAR_PATH_SEPARATOR); in WinPathToOsPath()
/external/antlr/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/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/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/antlr/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/syzkaller/pkg/csource/
Dcommon.go48 src = bytes.Replace(src, []byte("[["+from+"]]"), []byte(to), -1)
57 src = bytes.Replace(src, []byte(from), []byte(to), -1)
122 src = bytes.Replace(src, []byte("#define "+def+" "+val+"\n"), nil, -1)
134 src = bytes.Replace(src, src[pos:end+1], nil, -1)

12345678910>>...21