Searched refs:yaml (Results 1 - 25 of 31) sorted by relevance

12

/external/llvm/tools/yaml2obj/
H A Dyaml2obj.h17 namespace yaml { namespace in namespace:llvm
21 int yaml2coff(llvm::yaml::Input &YIn, llvm::raw_ostream &Out);
22 int yaml2elf(llvm::yaml::Input &YIn, llvm::raw_ostream &Out);
H A Dyaml2obj.cpp63 typedef int (*ConvertFuncPtr)(yaml::Input & YIn, raw_ostream &Out);
65 int convertYAML(yaml::Input & YIn, raw_ostream &Out, ConvertFuncPtr Convert) {
109 yaml::Input YIn(Buf.get()->getBuffer());
/external/llvm/unittests/MC/
H A DYAMLTest.cpp17 yaml::BinaryRef Binary;
21 namespace yaml { namespace in namespace:llvm
28 } // end namespace yaml
35 yaml::Output YOut(OS);
/external/llvm/utils/yaml-bench/
H A DMakefile1 ##===- utils/yaml-bench/Makefile ---------------------------*- Makefile -*-===##
11 TOOLNAME = yaml-bench
H A DYAMLBench.cpp66 /// \brief Pretty print a tag by replacing tag:yaml.org,2002: with !!.
67 static std::string prettyTag(yaml::Node *N) {
69 if (StringRef(Tag).startswith("tag:yaml.org,2002:")) {
80 static void dumpNode( yaml::Node *n
90 if (yaml::ScalarNode *sn = dyn_cast<yaml::ScalarNode>(n)) {
93 outs() << prettyTag(n) << " \"" << yaml::escape(Val) << "\"";
94 } else if (yaml::SequenceNode *sn = dyn_cast<yaml::SequenceNode>(n)) {
97 for (yaml
[all...]
/external/llvm/lib/MC/
H A DYAML.cpp22 void yaml::ScalarTraits<yaml::BinaryRef>::output(
23 const yaml::BinaryRef &Val, void *, llvm::raw_ostream &Out) {
27 StringRef yaml::ScalarTraits<yaml::BinaryRef>::input(StringRef Scalar, void *,
28 yaml::BinaryRef &Val) {
36 Val = yaml::BinaryRef(Scalar);
40 void yaml::BinaryRef::writeAsBinary(raw_ostream &OS) const {
52 void yaml::BinaryRef::writeAsHex(raw_ostream &OS) const {
/external/chromium_org/native_client_sdk/src/gonacl_appengine/
H A DMakefile11 dev_appserver.py app.yaml
/external/llvm/unittests/Support/
H A DYAMLParserTest.cpp35 yaml::Stream Stream(Input, SM);
44 yaml::Stream Stream(Input, SM);
149 yaml::Stream Stream(StringInArray, SM);
150 yaml::SequenceNode *ParsedSequence
151 = dyn_cast<yaml::SequenceNode>(Stream.begin()->getRoot());
153 = dyn_cast<yaml::ScalarNode>(
154 static_cast<yaml::Node*>(ParsedSequence->begin()))->getRawValue();
186 yaml::Stream Stream("[\"1\", \"2\", \"3\", \"4\", \"5\", \"6\"]", SM);
187 yaml::SequenceNode *Array
188 = dyn_cast<yaml
[all...]
H A DYAMLIOTest.cpp18 using llvm::yaml::Input;
19 using llvm::yaml::Output;
20 using llvm::yaml::IO;
21 using llvm::yaml::MappingTraits;
22 using llvm::yaml::MappingNormalization;
23 using llvm::yaml::ScalarTraits;
24 using llvm::yaml::Hex8;
25 using llvm::yaml::Hex16;
26 using llvm::yaml::Hex32;
27 using llvm::yaml
51 namespace yaml { namespace in namespace:llvm
169 namespace yaml { namespace in namespace:llvm
325 namespace yaml { namespace in namespace:llvm
449 namespace yaml { namespace in namespace:llvm
523 namespace yaml { namespace in namespace:llvm
615 namespace yaml { namespace in namespace:llvm
698 namespace yaml { namespace in namespace:llvm
726 namespace yaml { namespace in namespace:llvm
798 namespace yaml { namespace in namespace:llvm
910 namespace yaml { namespace in namespace:llvm
1023 namespace yaml { namespace in namespace:llvm
1102 namespace yaml { namespace in namespace:llvm
1184 namespace yaml { namespace in namespace:llvm
1618 namespace yaml { namespace in namespace:llvm
[all...]
/external/clang/lib/Tooling/
H A DJSONCompilationDatabase.cpp231 llvm::yaml::document_iterator I = YAMLStream.begin();
236 llvm::yaml::Node *Root = I->getRoot();
241 llvm::yaml::SequenceNode *Array = dyn_cast<llvm::yaml::SequenceNode>(Root);
246 for (llvm::yaml::SequenceNode::iterator AI = Array->begin(),
249 llvm::yaml::MappingNode *Object = dyn_cast<llvm::yaml::MappingNode>(&*AI);
254 llvm::yaml::ScalarNode *Directory = nullptr;
255 llvm::yaml::ScalarNode *Command = nullptr;
256 llvm::yaml
[all...]
/external/clang/include/clang/Tooling/
H A DJSONCompilationDatabase.h95 typedef std::pair<llvm::yaml::ScalarNode*,
96 llvm::yaml::ScalarNode*> CompileCommandRef;
109 llvm::yaml::Stream YAMLStream;
H A DReplacementsYaml.h27 namespace yaml { namespace in namespace:llvm
73 } // end namespace yaml
/external/clang/unittests/Tooling/
H A DReplacementsYamlTest.cpp34 yaml::Output YAML(YamlContentStream);
69 yaml::Input YAML(YamlContent);
96 yaml::Input YAML(YamlContent);
/external/llvm/include/llvm/Object/
H A DELFYAML.h58 llvm::yaml::Hex64 Entry;
64 llvm::yaml::Hex64 Value;
65 llvm::yaml::Hex64 Size;
79 llvm::yaml::Hex64 Address;
81 llvm::yaml::Hex64 AddressAlign;
86 yaml::BinaryRef Content;
87 llvm::yaml::Hex64 Size;
94 llvm::yaml::Hex64 Offset;
125 namespace yaml { namespace in namespace:llvm
212 } // end namespace yaml
[all...]
H A DCOFFYAML.h36 // The structure of the yaml files is not an exact 1:1 match to COFF. In order
37 // to use yaml::IO, we use these structures which are closer to the source.
52 yaml::BinaryRef SectionData;
86 namespace yaml { namespace in namespace:llvm
188 } // end namespace yaml
/external/clang/lib/Basic/
H A DVirtualFileSystem.cpp553 yaml::Stream &Stream;
555 void error(yaml::Node *N, const Twine &Msg) {
560 bool parseScalarString(yaml::Node *N, StringRef &Result,
562 yaml::ScalarNode *S = dyn_cast<yaml::ScalarNode>(N);
572 bool parseScalarBool(yaml::Node *N, bool &Result) {
600 bool checkDuplicateOrUnknownKey(yaml::Node *KeyNode, StringRef Key,
616 bool checkMissingKeys(yaml::Node *Obj, DenseMap<StringRef, KeyStatus> &Keys) {
628 Entry *parseEntry(yaml::Node *N) {
629 yaml
[all...]
/external/llvm/include/llvm/Support/
H A DYAMLParser.h12 // See http://www.yaml.org/spec/1.2/spec.html for the full standard.
25 // yaml::Stream stream(input, sm);
27 // for (yaml::document_iterator di = stream.begin(), de = stream.end();
29 // yaml::Node *n = di->getRoot();
55 namespace yaml { namespace in namespace:llvm
361 template <class T> friend typename T::iterator yaml::begin(T &);
362 template <class T> friend void yaml::skip(T &);
364 iterator begin() { return yaml::begin(*this); }
368 void skip() override { yaml::skip(*this); }
417 template <class T> friend typename T::iterator yaml
[all...]
H A DYAMLTraits.h30 namespace yaml { namespace in namespace:llvm
89 /// to/from a yaml scalar. For example:
640 assert(Err.empty() && "invalid struct trying to be written as yaml");
860 /// The Input class is used to parse a yaml document into in-memory structs
863 /// It works by using YAMLParser to do a syntax parse of the entire yaml
865 /// each yaml Node. The extra layer is buffering. The low level yaml
873 // Construct a yaml Input object from a StringRef and optional
989 std::unique_ptr<llvm::yaml::Stream> Strm;
993 llvm::yaml
[all...]
/external/llvm/include/llvm/MC/
H A DYAML.h7 namespace yaml { namespace in namespace:llvm
38 /// namespace yaml {
45 /// } // end namespace yaml
/external/llvm/lib/MC/MCAnalysis/
H A DMCModuleYAML.cpp101 yaml::Hex64 StartAddress;
105 yaml::BinaryRef Data;
109 yaml::Hex64 Address;
110 std::vector<yaml::Hex64> Preds;
111 std::vector<yaml::Hex64> Succs;
127 LLVM_YAML_IS_FLOW_SEQUENCE_VECTOR(llvm::yaml::Hex64)
136 namespace yaml { namespace in namespace:llvm
274 } // end namespace yaml
403 typedef std::vector<yaml::Hex64>::const_iterator AddrIt;
443 yaml
[all...]
/external/doclava/res/assets/templates/
H A Dyaml_navtree.cs28 # print out the yaml nav starting with the toc entry and using the first item,
/external/llvm/tools/obj2yaml/
H A Dcoff2yaml.cpp64 Sec.SectionData = yaml::BinaryRef(sectionData);
216 yaml::Output Yout(Out);
H A Delf2yaml.cpp271 S->Content = yaml::BinaryRef(ContentOrErr.get());
286 yaml::Output Yout(Out);
/external/llvm/lib/Support/
H A DYAMLParser.cpp26 using namespace yaml;
98 namespace yaml { namespace in namespace:llvm
258 namespace yaml { namespace in namespace:llvm
513 } // end namespace yaml
545 bool yaml::dumpTokens(StringRef Input, raw_ostream &OS) {
626 bool yaml::scanTokens(StringRef Input) {
628 llvm::yaml::Scanner scanner(Input, SM);
630 llvm::yaml::Token T = scanner.getNext();
639 std::string yaml::escape(StringRef Input) {
1601 return "tag:yaml
[all...]
H A DYAMLTraits.cpp21 using namespace yaml;
579 // the whole key/value can be not written. But, that produces wrong yaml

Completed in 1987 milliseconds

12