Home
last modified time | relevance | path

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

12345678910>>...15

/external/clang/test/SemaTemplate/
Ddeduction.cpp38 struct Replace { struct
44 struct Replace<_1, Arg1, Arg2> { argument
49 struct Replace<_2, Arg1, Arg2> { argument
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.cc23 return Replace(jsgraph()->TrueConstant()); in Reduce()
26 return Replace(jsgraph()->FalseConstant()); in Reduce()
28 if (m.IsBooleanNot()) return Replace(m.node()->InputAt(0)); in Reduce()
33 if (m.Is(0)) return Replace(jsgraph()->FalseConstant()); in Reduce()
34 if (m.Is(1)) return Replace(jsgraph()->TrueConstant()); in Reduce()
35 if (m.IsChangeBoolToBit()) return Replace(m.node()->InputAt(0)); in Reduce()
46 if (m.IsChangeBitToBool()) return Replace(m.node()->InputAt(0)); in Reduce()
62 if (m.IsChangeFloat64ToTagged()) return Replace(m.node()->InputAt(0)); in Reduce()
80 if (m.IsChangeInt32ToTagged()) return Replace(m.node()->InputAt(0)); in Reduce()
90 if (m.IsChangeUint32ToTagged()) return Replace(m.node()->InputAt(0)); in Reduce()
[all …]
Dmachine-operator-reducer.cc51 if (m.right().Is(0)) return Replace(m.right().node()); // x & 0 => 0 in Reduce()
52 if (m.right().Is(-1)) return Replace(m.left().node()); // x & -1 => x in Reduce()
56 if (m.LeftEqualsRight()) return Replace(m.left().node()); // x & x => x in Reduce()
61 if (m.right().Is(0)) return Replace(m.left().node()); // x | 0 => x in Reduce()
62 if (m.right().Is(-1)) return Replace(m.right().node()); // x | -1 => -1 in Reduce()
66 if (m.LeftEqualsRight()) return Replace(m.left().node()); // x | x => x in Reduce()
121 if (m.right().Is(0)) return Replace(m.left().node()); // x ^ 0 => x in Reduce()
130 if (m.right().Is(0)) return Replace(m.left().node()); // x << 0 => x in Reduce()
138 if (m.right().Is(0)) return Replace(m.left().node()); // x >>> 0 => x in Reduce()
146 if (m.right().Is(0)) return Replace(m.left().node()); // x >> 0 => x in Reduce()
[all …]
Dmachine-operator-reducer.h37 return Replace(Float32Constant(value)); in ReplaceFloat32()
40 return Replace(Float64Constant(value)); in ReplaceFloat64()
43 return Replace(Int32Constant(value)); in ReplaceInt32()
46 return Replace(Int64Constant(value)); in ReplaceInt64()
Djs-builtin-reducer.cc104 return Replace(value); in ReduceMathSqrt()
115 return Replace(jsgraph()->Constant(-V8_INFINITY)); in ReduceMathMax()
119 return Replace(r.left()); in ReduceMathMax()
136 return Replace(value); in ReduceMathMax()
148 return Replace(value); in ReduceMathImul()
Dchange-lowering.cc118 return Replace(phi); in ChangeBitToBool()
123 return Replace( in ChangeBoolToBit()
129 return Replace(AllocateHeapNumberWithValue(val, control)); in ChangeFloat64ToTagged()
135 return Replace( in ChangeInt32ToTagged()
157 return Replace(phi); in ChangeInt32ToTagged()
184 return Replace(phi); in ChangeTaggedToUI32()
207 return Replace(phi); in ChangeTaggedToFloat64()
235 return Replace(phi); in ChangeUint32ToTagged()
/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/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 …]
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()
DCommonToken.cs205 txt = Regex.Replace(txt, "\n", "\\\\n"); in ToString()
206 txt = Regex.Replace(txt, "\r", "\\\\r"); in ToString()
207 txt = Regex.Replace(txt, "\t", "\\\\t"); in ToString()
/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 …]
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()
DCommonToken.cs242 txt = Regex.Replace( txt, "\n", "\\\\n" ); in ToString()
243 txt = Regex.Replace( txt, "\r", "\\\\r" ); in ToString()
244 txt = Regex.Replace( txt, "\t", "\\\\t" ); in ToString()
/external/lzma/CPP/7zip/Archive/Common/
DItemNameUtils.cpp18 zipName.Replace(kOSDirDelimiter, kDirDelimiter); in MakeLegalName()
25 newName.Replace(kDirDelimiter, kOSDirDelimiter); in GetOSName()
56 newName.Replace(L'\\', kOSDirDelimiter); in WinNameToOSName()
/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/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/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/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/v8/test/cctest/compiler/
Dtest-graph-reducer.cc43 return Replace(node); in Reduce()
47 return Replace(node); in Reduce()
51 return Replace(node); in Reduce()
66 return Replace(graph_->NewNode(&OPB0)); in Reduce()
69 return Replace(graph_->NewNode(&OPB1, node->InputAt(0))); in Reduce()
72 return Replace( in Reduce()
89 return Replace(node); in Reduce()
93 return Replace(node); in Reduce()
97 return Replace(node); in Reduce()
112 return Replace(graph_->NewNode(&OPB1, node)); in Reduce()
[all …]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DStringExtensions.cs99 return str.Replace(oldValue, newValue); in replace()
105 return Regex.Replace( str, regex, newValue ); in replaceAll()
110 return Regex.Replace( str, regex, replacement ); in replaceFirst()
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/
DAntlr.Runtime.pas1313 procedure Replace(const Index: Integer; const Text: IANTLRInterface); overload; procedure
1314 procedure Replace(const Start, Stop: Integer; const Text: IANTLRInterface); overload; procedure
1315 procedure Replace(const IndexT: IToken; const Text: IANTLRInterface); overload; procedure
1316 procedure Replace(const Start, Stop: IToken; const Text: IANTLRInterface); overload; procedure
1317 procedure Replace(const ProgramName: String; const Start, Stop: Integer; procedure
1319 procedure Replace(const ProgramName: String; const Start, Stop: IToken; procedure
1321 procedure Replace(const Index: Integer; const Text: String); overload; procedure
1322 procedure Replace(const Start, Stop: Integer; const Text: String); overload; procedure
1323 procedure Replace(const IndexT: IToken; const Text: String); overload; procedure
1324 procedure Replace(const Start, Stop: IToken; const Text: String); overload; procedure
[all …]

12345678910>>...15