Home
last modified time | relevance | path

Searched refs:QuotingType (Results 1 – 17 of 17) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DYAMLTraits.h124 enum class QuotingType { None, Single, Double }; enum
279 using Signature_mustQuote = QuotingType (*)(StringRef);
509 inline QuotingType needsQuotes(StringRef S) {
511 return QuotingType::Single;
513 return QuotingType::Single;
515 return QuotingType::Single;
517 return QuotingType::Single;
519 return QuotingType::Single;
1348 void scalarString(StringRef &, QuotingType) override;
1426 static QuotingType mustQuote(StringRef) { return QuotingType::None; }
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DYAMLTraits.cpp334 void Input::scalarString(StringRef &S, QuotingType) { in scalarString() argument
342 void Input::blockScalarString(StringRef &S) { scalarString(S, QuotingType::None); } in blockScalarString()
621 void Output::scalarString(StringRef &S, QuotingType MustQuote) { in scalarString()
629 if (MustQuote == QuotingType::None) { in scalarString()
640 const char *const Quote = MustQuote == QuotingType::Single ? "'" : "\""; in scalarString()
646 if (MustQuote == QuotingType::Double) { in scalarString()
DStatistic.cpp214 assert(yaml::needsQuotes(Stat->getDebugType()) == yaml::QuotingType::None && in PrintStatisticsJSON()
216 assert(yaml::needsQuotes(Stat->getName()) == yaml::QuotingType::None && in PrintStatisticsJSON()
DTimer.cpp380 assert(yaml::needsQuotes(Name) == yaml::QuotingType::None && in printJSONValue()
382 assert(yaml::needsQuotes(R.Name) == yaml::QuotingType::None && in printJSONValue()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/
DDebugMap.h242 static QuotingType mustQuote(StringRef) { return QuotingType::Single; } in LLVM_YAML_IS_SEQUENCE_VECTOR()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ObjectYAML/
DCodeViewYAMLTypeHashing.h59 LLVM_YAML_DECLARE_SCALAR_TRAITS(CodeViewYAML::GlobalHash, QuotingType::None)
DCodeViewYAMLTypes.h63 LLVM_YAML_DECLARE_SCALAR_TRAITS(codeview::GUID, QuotingType::Single)
DYAML.h110 static QuotingType mustQuote(StringRef S) { return needsQuotes(S); }
DMachOYAML.h264 static QuotingType mustQuote(StringRef S); in LLVM_YAML_IS_SEQUENCE_VECTOR()
274 static QuotingType mustQuote(StringRef S); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-exegesis/lib/
DBenchmarkResult.cpp111 static QuotingType mustQuote(StringRef) { return QuotingType::Single; } in mustQuote()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DMIRYamlMapping.h59 static QuotingType mustQuote(StringRef S) { return needsQuotes(S); }
76 static QuotingType mustQuote(StringRef S) { return needsQuotes(S); }
123 static QuotingType mustQuote(StringRef Scalar) {
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ObjectYAML/
DCodeViewYAMLSymbols.cpp46 LLVM_YAML_DECLARE_SCALAR_TRAITS(APSInt, QuotingType::None) in LLVM_YAML_IS_SEQUENCE_VECTOR()
47 LLVM_YAML_DECLARE_SCALAR_TRAITS(TypeIndex, QuotingType::None) in LLVM_YAML_IS_SEQUENCE_VECTOR()
66 LLVM_YAML_DECLARE_SCALAR_TRAITS(TypeName, QuotingType::Single) in LLVM_YAML_IS_SEQUENCE_VECTOR()
DMachOYAML.cpp55 QuotingType ScalarTraits<char_16>::mustQuote(StringRef S) { in mustQuote()
80 QuotingType ScalarTraits<uuid_t>::mustQuote(StringRef S) { in mustQuote()
DCodeViewYAMLTypes.cpp51 LLVM_YAML_DECLARE_SCALAR_TRAITS(TypeIndex, QuotingType::None)
52 LLVM_YAML_DECLARE_SCALAR_TRAITS(APSInt, QuotingType::None)
DCodeViewYAMLDebugSections.cpp69 LLVM_YAML_DECLARE_SCALAR_TRAITS(HexFormattedString, QuotingType::None)
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DYAMLIOTest.cpp936 static QuotingType mustQuote(StringRef) { return QuotingType::Single; } in mustQuote()
1140 static QuotingType mustQuote(StringRef) { return QuotingType::None; } in mustQuote()
1151 static QuotingType mustQuote(StringRef S) { in mustQuote()
2310 static QuotingType mustQuote(StringRef S) { return QuotingType::None; } in mustQuote()
/external/swiftshader/third_party/llvm-7.0/llvm/docs/
DYamlIO.rst469 static QuotingType mustQuote(StringRef) { return QuotingType::Single; }