Home
last modified time | relevance | path

Searched refs:EscapeString (Results 1 – 20 of 20) sorted by relevance

/third_party/gn/src/gn/
Descape_unittest.cc12 std::string result = EscapeString("asdf: \"$\\bar", opts, nullptr); in TEST()
19 std::string result = EscapeString("asdf:$ \\#*[|]bar", opts, nullptr); in TEST()
29 EXPECT_EQ("foo\\bar", EscapeString("foo\\bar", opts, nullptr)); in TEST()
33 EXPECT_EQ("\"foo\\$ bar\"", EscapeString("foo\\ bar", opts, &needs_quoting)); in TEST()
39 EXPECT_EQ("foo\\$ bar", EscapeString("foo\\ bar", opts, &needs_quoting)); in TEST()
44 EXPECT_EQ("\"foo$ bar\\\\\\\\\"", EscapeString("foo bar\\\\", opts, nullptr)); in TEST()
47 EXPECT_EQ("\"foo\\\\\\\"$ bar\"", EscapeString("foo\\\" bar", opts, nullptr)); in TEST()
56 EXPECT_EQ("a$:\\$ \\\"\\$$\\\\b", EscapeString("a: \"$\\b", opts, nullptr)); in TEST()
59 EXPECT_EQ("a_\\;\\<\\*b", EscapeString("a_;<*b", opts, nullptr)); in TEST()
63 EXPECT_EQ("\\{a,b\\}\\{c,d\\}", EscapeString("{a,b}{c,d}", opts, nullptr)); in TEST()
[all …]
Descape.h74 std::string EscapeString(std::string_view str,
Dninja_build_writer.cc112 EscapeString(FilePathToUTF8(i->second), escape_shell, nullptr); in GetSelfInvocationCommandLine()
643 std::string escaped = EscapeString(phony_name, ninja_escape, nullptr); in WritePhonyRule()
Descape.cc289 std::string EscapeString(std::string_view str, in EscapeString() function
Dninja_target_writer.cc116 result.append(EscapeString( in RunAndWriteFile()
Dsubstitution_writer.cc164 result.append(EscapeString(range.literal, no_quoting, &needs_quotes));
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DGraphWriter.h42 std::string EscapeString(const std::string &Label);
100 O << "<s" << i << ">" << DOT::EscapeString(label); in getEdgeSourceLabels()
132 O << "digraph \"" << DOT::EscapeString(Title) << "\" {\n"; in writeHeader()
134 O << "digraph \"" << DOT::EscapeString(GraphName) << "\" {\n"; in writeHeader()
142 O << "\tlabel=\"" << DOT::EscapeString(Title) << "\";\n"; in writeHeader()
144 O << "\tlabel=\"" << DOT::EscapeString(GraphName) << "\";\n"; in writeHeader()
173 O << DOT::EscapeString(DTraits.getNodeLabel(Node, G)); in writeNode()
178 O << "|" << DOT::EscapeString(Id); in writeNode()
182 O << "|" << DOT::EscapeString(NodeDesc); in writeNode()
198 O << DOT::EscapeString(DTraits.getNodeLabel(Node, G)); in writeNode()
[all …]
/third_party/gn/examples/ios/host/
Dmain.cc18 void EscapeString(std::ostream* stream, const std::string& string) { in EscapeString() function
67 EscapeString(&std::cout, username); in main()
/third_party/node/src/tracing/
Dtraced_value.cc29 std::string EscapeString(const char* value) { in EscapeString() function
138 data_ += EscapeString(value); in SetString()
175 data_ += EscapeString(value); in AppendString()
/third_party/grpc/src/core/lib/json/
Djson_writer.cc59 void EscapeString(const std::string& string);
142 void JsonWriter::EscapeString(const std::string& string) { in EscapeString() function in grpc_core::__anon305d6b050111::JsonWriter
262 EscapeString(string); in ObjectKey()
277 EscapeString(string); in ValueString()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DVPlan.cpp535 OS << "\\n" << DOT::EscapeString(Plan.getName()); in dump()
542 OS << DOT::EscapeString(" := "); in dump()
600 OS << Indent << "\"" << DOT::EscapeString(BasicBlock->getName()) << ":\\n\""; in dumpBasicBlock()
609 OS << " (" << DOT::EscapeString(PredI->getParent()->getName()) in dumpBasicBlock()
624 OS << " (" << DOT::EscapeString(CBI->getParent()->getName()) << ")\\l\""; in dumpBasicBlock()
641 << DOT::EscapeString(Region->isReplicator() ? "<xVFxUF> " : "<x1> ") in dumpRegion()
642 << DOT::EscapeString(Region->getName()) << "\"\n"; in dumpRegion()
670 O << DOT::EscapeString(IngredientString); in printAsIngredient()
/third_party/giflib/
Dgifbuild.c40 static int EscapeString(char *cp, char *tp);
375 Len = EscapeString(buf, buf); in Icon2Gif()
397 Len = EscapeString(buf, buf); in Icon2Gif()
487 Len = EscapeString(buf, buf); in Icon2Gif()
889 static int EscapeString(char *cp, char *tp) in EscapeString() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DGraphWriter.cpp35 std::string llvm::DOT::EscapeString(const std::string &Label) { in EscapeString() function in llvm::DOT
/third_party/flatbuffers/src/
Didl_gen_json_schema.cpp204 if (!EscapeString(comment.c_str(), comment.length(), &description, true, in generate()
Didl_gen_text.cpp193 return EscapeString(s->c_str(), s->size(), &text, opts.allow_non_utf8, in PrintOffset()
Dreflection.cpp101 flatbuffers::EscapeString(val.c_str(), val.length(), &esc, true, in GetAnyValueS()
/third_party/flatbuffers/include/flatbuffers/
Dminireflect.h370 EscapeString(str->c_str(), str->size(), &s, true, false); in String()
Dflexbuffers.h548 flatbuffers::EscapeString(str.c_str(), str.length(), &s, true, false); in ToString()
555 flatbuffers::EscapeString(str, strlen(str), &s, true, false); in ToString()
589 flatbuffers::EscapeString(reinterpret_cast<const char *>(blob.data()), in ToString()
Dutil.h584 inline bool EscapeString(const char *s, size_t length, std::string *_text, in EscapeString() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLazyCallGraph.cpp1791 std::string Name = "\"" + DOT::EscapeString(N.getFunction().getName()) + "\""; in printNodeDOT()
1795 << DOT::EscapeString(E.getFunction().getName()) << "\""; in printNodeDOT()
1808 OS << "digraph \"" << DOT::EscapeString(M.getModuleIdentifier()) << "\" {\n"; in run()