Searched refs:Replace (Results 1 - 25 of 136) sorted by relevance

123456

/external/clang/test/SemaTemplate/
H A 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> { struct
56 typedef typename Replace<T, Arg1, Arg2>::type const type;
61 struct Replace<TT<T1>, Arg1, Arg2> { struct
62 typedef TT<typename Replace<T1, Arg1, Arg2>::type> type;
67 struct Replace<TT<T1, T2>, Arg1, Arg2> { struct
68 typedef TT<typename Replace<T1, Arg1, Arg2>::type,
69 typename Replace<T
75 struct Replace<TT<T1, _2>, Arg1, Arg2> { struct
[all...]
/external/openfst/src/script/
H A Dreplace.cc24 void Replace(const vector<pair<int64, const FstClass *> > &tuples, function in namespace:fst::script
28 if (!ArcTypesMatch(*tuples[i].second, *tuples[i+1].second, "Replace")) {
33 if (!ArcTypesMatch(*tuples[0].second, *ofst, "Replace")) return;
37 Apply<Operation<ReplaceArgs> >("Replace", ofst->ArcType(), &args);
40 REGISTER_FST_OPERATION(Replace, StdArc, ReplaceArgs);
41 REGISTER_FST_OPERATION(Replace, LogArc, ReplaceArgs);
42 REGISTER_FST_OPERATION(Replace, Log64Arc, ReplaceArgs);
/external/chromium_org/v8/src/compiler/
H A Dsimplified-operator-reducer.cc23 return Replace(jsgraph()->TrueConstant());
26 return Replace(jsgraph()->FalseConstant());
28 if (m.IsBooleanNot()) return Replace(m.node()->InputAt(0));
33 if (m.Is(0)) return Replace(jsgraph()->FalseConstant());
34 if (m.Is(1)) return Replace(jsgraph()->TrueConstant());
35 if (m.IsChangeBoolToBit()) return Replace(m.node()->InputAt(0));
46 if (m.IsChangeBitToBool()) return Replace(m.node()->InputAt(0));
62 if (m.IsChangeFloat64ToTagged()) return Replace(m.node()->InputAt(0));
80 if (m.IsChangeInt32ToTagged()) return Replace(m.node()->InputAt(0));
90 if (m.IsChangeUint32ToTagged()) return Replace(
[all...]
H A Dmachine-operator-reducer.h37 return Replace(Float32Constant(value));
40 return Replace(Float64Constant(value));
43 return Replace(Int32Constant(value));
46 return Replace(Int64Constant(value));
H A Dphi-reducer.h23 if (n == 1) return Replace(node->InputAt(0));
35 return Replace(replacement);
H A Dmachine-operator-reducer.cc51 if (m.right().Is(0)) return Replace(m.right().node()); // x & 0 => 0
52 if (m.right().Is(-1)) return Replace(m.left().node()); // x & -1 => x
56 if (m.LeftEqualsRight()) return Replace(m.left().node()); // x & x => x
61 if (m.right().Is(0)) return Replace(m.left().node()); // x | 0 => x
62 if (m.right().Is(-1)) return Replace(m.right().node()); // x | -1 => -1
66 if (m.LeftEqualsRight()) return Replace(m.left().node()); // x | x => x
121 if (m.right().Is(0)) return Replace(m.left().node()); // x ^ 0 => x
130 if (m.right().Is(0)) return Replace(m.left().node()); // x << 0 => x
138 if (m.right().Is(0)) return Replace(m.left().node()); // x >>> 0 => x
146 if (m.right().Is(0)) return Replace(
[all...]
/external/clang/lib/Tooling/
H A DRefactoringCallbacks.cpp20 return Replace;
43 Replace.insert(tooling::Replacement(
58 Replace.insert(replaceStmtWithStmt(
71 Replace.insert(replaceStmtWithStmt(*Result.SourceManager, *Node, *Body));
75 Replace.insert(replaceStmtWithText(*Result.SourceManager, *Node, ""));
/external/chromium_org/third_party/mesa/src/src/gallium/targets/
H A DSConscript.dri11 drienv.Replace(CPPPATH = [
/external/mesa3d/src/gallium/targets/
H A DSConscript.dri11 drienv.Replace(CPPPATH = [
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/
H A Dregexp_adapter.h48 // phonenumberutil.cc. Consume(), Match() and Replace() methods must be
134 virtual bool Replace(string* string_to_process,
138 // Helper methods calling the Replace method with the right arguments.
139 inline bool Replace(string* string_to_process, function in class:i18n::phonenumbers::RegExp
141 return Replace(string_to_process, false, replacement_string);
146 return Replace(string_to_process, true, replacement_string);
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
H A DClassicToken.cs165 txt = txt.Replace("\n", "\\\\n");
166 txt = txt.Replace("\r", "\\\\r");
167 txt = txt.Replace("\t", "\\\\t");
H A DTokenRewriteStream.cs275 public virtual void Replace(int index, object text) { method in class:Antlr.Runtime.TokenRewriteStream
276 Replace(DEFAULT_PROGRAM_NAME, index, index, text);
279 public virtual void Replace(int from, int to, object text) { method in class:Antlr.Runtime.TokenRewriteStream
280 Replace(DEFAULT_PROGRAM_NAME, from, to, text);
283 public virtual void Replace(IToken indexT, object text) { method in class:Antlr.Runtime.TokenRewriteStream
284 Replace(DEFAULT_PROGRAM_NAME, indexT, indexT, text);
287 public virtual void Replace(IToken from, IToken to, object text) { method in class:Antlr.Runtime.TokenRewriteStream
288 Replace(DEFAULT_PROGRAM_NAME, from, to, text);
291 public virtual void Replace(string programName, int from, int to, object text) { method in class:Antlr.Runtime.TokenRewriteStream
301 public virtual void Replace(strin method in class:Antlr.Runtime.TokenRewriteStream
[all...]
H A DCommonToken.cs205 txt = Regex.Replace(txt, "\n", "\\\\n");
206 txt = Regex.Replace(txt, "\r", "\\\\r");
207 txt = Regex.Replace(txt, "\t", "\\\\t");
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
H A DClassicToken.cs201 txt = txt.Replace( "\n", "\\\\n" );
202 txt = txt.Replace( "\r", "\\\\r" );
203 txt = txt.Replace( "\t", "\\\\t" );
H A DCommonToken.cs242 txt = Regex.Replace( txt, "\n", "\\\\n" );
243 txt = Regex.Replace( txt, "\r", "\\\\r" );
244 txt = Regex.Replace( txt, "\t", "\\\\t" );
/external/chromium_org/remoting/host/setup/
H A Doauth_helper_unittest.cc11 std::string Replace(const std::string& s, const std::string& old_substr, function in namespace:__anon10473
65 url = Replace(url, "https:", "http");
71 url = Replace(url, "google", "goggle");
/external/lzma/CPP/7zip/Archive/Common/
H A DItemNameUtils.cpp18 zipName.Replace(kOSDirDelimiter, kDirDelimiter);
25 newName.Replace(kDirDelimiter, kOSDirDelimiter);
56 newName.Replace(L'\\', kOSDirDelimiter);
/external/openfst/src/include/fst/script/
H A Dreplace.h36 void Replace(ReplaceArgs *args) { function in namespace:fst::script
38 // pair<real label, real fst> that the real Replace will use
52 Replace(fst_tuples, ofst, args->arg3, args->arg4);
55 void Replace(const vector<pair<int64, const FstClass *> > &tuples,
/external/clang/unittests/Tooling/
H A DRefactoringTest.cpp47 Replacement Replace(createReplacement(Location, 4, ""));
48 EXPECT_TRUE(Replace.apply(Context.Rewrite));
55 Replacement Replace(createReplacement(Location, 17, ""));
56 EXPECT_TRUE(Replace.apply(Context.Rewrite));
63 Replacement Replace(createReplacement(Location, 0, "result"));
64 EXPECT_TRUE(Replace.apply(Context.Rewrite));
72 Replacement Replace(createReplacement(Location, 12, "x"));
73 EXPECT_TRUE(Replace.apply(Context.Rewrite));
94 Replacement Replace("nonexistent-file.cpp", 0, 1, "");
95 EXPECT_FALSE(Replace
315 expectReplacementAt(const Replacement &Replace, StringRef File, unsigned Offset, unsigned Length) argument
331 Replacement Replace; member in class:clang::tooling::ClassDeclXVisitor
354 Replacement Replace; member in class:clang::tooling::CallToFVisitor
[all...]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
H A DStringExtensions.cs99 return str.Replace(oldValue, newValue);
105 return Regex.Replace( str, regex, newValue );
110 return Regex.Replace( str, regex, replacement );
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
H A DDotTreeGenerator.cs204 text = System.Text.RegularExpressions.Regex.Replace( text, "\"", "\\\\\"" );
205 text = System.Text.RegularExpressions.Regex.Replace( text, "\\t", " " );
206 text = System.Text.RegularExpressions.Regex.Replace( text, "\\n", "\\\\n" );
207 text = System.Text.RegularExpressions.Regex.Replace( text, "\\r", "\\\\r" );
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Utility/Antlr.Utility.Tree/
H A DDOTTreeGenerator.cs187 text = System.Text.RegularExpressions.Regex.Replace(text, "\"", "\\\\\"");
188 text = System.Text.RegularExpressions.Regex.Replace(text, "\\t", " ");
189 text = System.Text.RegularExpressions.Regex.Replace(text, "\\n", "\\\\n");
190 text = System.Text.RegularExpressions.Regex.Replace(text, "\\r", "\\\\r");
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
H A DDotTreeGenerator.cs204 text = System.Text.RegularExpressions.Regex.Replace( text, "\"", "\\\\\"" );
205 text = System.Text.RegularExpressions.Regex.Replace( text, "\\t", " " );
206 text = System.Text.RegularExpressions.Regex.Replace( text, "\\n", "\\\\n" );
207 text = System.Text.RegularExpressions.Regex.Replace( text, "\\r", "\\\\r" );
/external/chromium_org/cc/test/
H A Dordered_texture_map.h24 void Replace(GLuint id, scoped_refptr<TestTexture> texture);
/external/chromium_org/tools/grit/grit/gather/
H A Drc.py50 def Replace(match): function in function:Section.Escape
52 return _NEED_ESCAPE.sub(Replace, text)
57 def Replace(match): function in function:Section.UnEscape
59 return _NEED_UNESCAPE.sub(Replace, text)

Completed in 681 milliseconds

123456