/third_party/gn/src/gn/ |
D | escape_unittest.cc | 12 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 …]
|
D | escape.h | 74 std::string EscapeString(std::string_view str,
|
D | ninja_build_writer.cc | 112 EscapeString(FilePathToUTF8(i->second), escape_shell, nullptr); in GetSelfInvocationCommandLine() 643 std::string escaped = EscapeString(phony_name, ninja_escape, nullptr); in WritePhonyRule()
|
D | escape.cc | 289 std::string EscapeString(std::string_view str, in EscapeString() function
|
D | ninja_target_writer.cc | 116 result.append(EscapeString( in RunAndWriteFile()
|
D | substitution_writer.cc | 164 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/ |
D | GraphWriter.h | 42 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/ |
D | main.cc | 18 void EscapeString(std::ostream* stream, const std::string& string) { in EscapeString() function 67 EscapeString(&std::cout, username); in main()
|
/third_party/node/src/tracing/ |
D | traced_value.cc | 29 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/ |
D | json_writer.cc | 59 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/ |
D | VPlan.cpp | 535 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/ |
D | gifbuild.c | 40 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/ |
D | GraphWriter.cpp | 35 std::string llvm::DOT::EscapeString(const std::string &Label) { in EscapeString() function in llvm::DOT
|
/third_party/flatbuffers/src/ |
D | idl_gen_json_schema.cpp | 204 if (!EscapeString(comment.c_str(), comment.length(), &description, true, in generate()
|
D | idl_gen_text.cpp | 193 return EscapeString(s->c_str(), s->size(), &text, opts.allow_non_utf8, in PrintOffset()
|
D | reflection.cpp | 101 flatbuffers::EscapeString(val.c_str(), val.length(), &esc, true, in GetAnyValueS()
|
/third_party/flatbuffers/include/flatbuffers/ |
D | minireflect.h | 370 EscapeString(str->c_str(), str->size(), &s, true, false); in String()
|
D | flexbuffers.h | 548 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()
|
D | util.h | 584 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/ |
D | LazyCallGraph.cpp | 1791 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()
|