Home
last modified time | relevance | path

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

12345678910>>...19

/external/v8/src/compiler/
Dsimplified-operator-reducer.cc49 return Replace(jsgraph()->BooleanConstant(!m.Value()->BooleanValue())); in Reduce()
51 if (m.IsBooleanNot()) return Replace(m.InputAt(0)); in Reduce()
56 if (m.Is(0)) return Replace(jsgraph()->FalseConstant()); in Reduce()
57 if (m.Is(1)) return Replace(jsgraph()->TrueConstant()); in Reduce()
58 if (m.IsChangeTaggedToBit()) return Replace(m.InputAt(0)); in Reduce()
64 if (m.IsChangeBitToTagged()) return Replace(m.InputAt(0)); in Reduce()
70 if (m.IsChangeTaggedToFloat64()) return Replace(m.node()->InputAt(0)); in Reduce()
78 return Replace(m.InputAt(0)); in Reduce()
86 if (m.IsChangeFloat64ToTagged()) return Replace(m.node()->InputAt(0)); in Reduce()
102 return Replace(m.InputAt(0)); in Reduce()
[all …]
Djs-builtin-reducer.cc101 return Replace(value); in ReduceMathAbs()
113 return Replace(value); in ReduceMathAtan()
128 return Replace(value); in ReduceMathAtan2()
139 return Replace(value); in ReduceMathAtanh()
151 return Replace(value); in ReduceMathCeil()
163 return Replace(value); in ReduceMathClz32()
175 return Replace(value); in ReduceMathCos()
187 return Replace(value); in ReduceMathExp()
198 return Replace(value); in ReduceMathExpm1()
210 return Replace(value); in ReduceMathFloor()
[all …]
Dmachine-operator-reducer.cc141 if (m.right().Is(0)) return Replace(m.left().node()); // x ^ 0 => x in Reduce()
149 return Replace(mleft.left().node()); in Reduce()
162 if (m.right().Is(0)) return Replace(m.left().node()); // x ror 0 => x in Reduce()
205 if (m.right().Is(0)) return Replace(m.right().node()); // x * 0 => 0 in Reduce()
206 if (m.right().Is(1)) return Replace(m.left().node()); // x * 1 => x in Reduce()
286 return Replace(m.right().node()); in Reduce()
296 return Replace(m.left().node()); // x - 0 => x in Reduce()
299 return Replace(m.right().node()); in Reduce()
302 return Replace(m.left().node()); in Reduce()
317 if (m.right().Is(1)) return Replace(m.left().node()); // x * 1.0 => x 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;
86 static Reduction Replace(Node* node) { return Reducer::Replace(node); } in Replace() function
89 void Replace(Node* node, Node* replacement) { in Replace() function
91 editor_->Replace(node, replacement); in Replace()
149 void Replace(Node* node, Node* replacement) final;
160 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.cc109 Replace(use, (decision == Decision::kTrue) ? control : dead()); in ReduceBranch()
112 Replace(use, (decision == Decision::kFalse) ? control : dead()); in ReduceBranch()
118 return Replace(dead()); in ReduceBranch()
151 return Replace(dead()); in ReduceDeoptimizeConditional()
183 return Replace(control); in ReduceMerge()
210 return Replace(effect); in ReduceEffectPhi()
297 return Replace(value); in ReducePhi()
327 Replace(control, dead()); in ReduceReturn()
328 return Replace(dead()); in ReduceReturn()
339 if (vtrue == vfalse) return Replace(vtrue); in ReduceSelect()
[all …]
/external/clang/test/SemaTemplate/
Ddeduction.cpp38 struct Replace { struct
44 struct Replace<_1, Arg1, Arg2> { struct
49 struct Replace<_2, Arg1, Arg2> { struct
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/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.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/openfst/src/script/
Dreplace.cc24 void Replace(const vector<pair<int64, const FstClass *> > &tuples, in Replace() function
40 REGISTER_FST_OPERATION(Replace, StdArc, ReplaceArgs);
41 REGISTER_FST_OPERATION(Replace, LogArc, ReplaceArgs);
42 REGISTER_FST_OPERATION(Replace, Log64Arc, ReplaceArgs);
/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 …]
/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/openfst/src/include/fst/
Drational.h96 StateId Start() { return Replace()->Start(); } in Start()
98 Weight Final(StateId s) { return Replace()->Final(s); } in Final()
100 size_t NumArcs(StateId s) { return Replace()->NumArcs(s); } in NumArcs()
103 return Replace()->NumInputEpsilons(s); in NumInputEpsilons()
107 return Replace()->NumOutputEpsilons(s); in NumOutputEpsilons()
114 if ((mask & kError) && Replace()->Properties(kError, false)) in Properties()
242 ReplaceFst<A> *Replace() const { in Replace() function
281 GetImpl()->Replace()->InitStateIterator(data); in InitStateIterator()
285 GetImpl()->Replace()->InitArcIterator(s, data); in InitArcIterator()
313 : StateIterator< ReplaceFst<A> >(*(fst.GetImpl()->Replace())) {} in StateIterator()
[all …]
/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 …]
/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-1.js26 function Replace(fun, original, patch) { class
46 Replace(LogNewTarget, "true", "false");
51 Replace(LogNewTarget, "false", "true");
Ddebug-liveedit-new-target-3.js28 function Replace(fun, original, patch) { class
45 Replace(Wrapper, "true", "false");
50 Replace(Wrapper, "false", "true");
/external/v8/test/mjsunit/
Ddebug-liveedit-exceptions.js25 Replace(BestEditor, "Emacs", "Eclipse");
28 Replace(BestEditor, "Eclipse", "Vim");
40 function Replace(fun, original, patch) { class
Ddebug-liveedit-stepin.js27 Replace(BestEditor, "Emacs", "Eclipse");
30 Replace(BestEditor, "Eclipse", "Vim");
42 function Replace(fun, original, patch) { class
/external/openfst/src/include/fst/script/
Dreplace.h36 void Replace(ReplaceArgs *args) { in Replace() function
52 Replace(fst_tuples, ofst, args->arg3, args->arg4); in Replace()
55 void Replace(const vector<pair<int64, const FstClass *> > &tuples,
/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/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()

12345678910>>...19