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

/external/llvm/utils/yaml-bench/
H A DMakefile1 ##===- utils/yaml-bench/Makefile ---------------------------*- Makefile -*-===##
11 TOOLNAME = yaml-bench
H A DYAMLBench.cpp66 static void dumpNode( yaml::Node *n
76 if (yaml::ScalarNode *sn = dyn_cast<yaml::ScalarNode>(n)) {
79 outs() << "!!str \"" << yaml::escape(Val) << "\"";
80 } else if (yaml::SequenceNode *sn = dyn_cast<yaml::SequenceNode>(n)) {
83 for (yaml::SequenceNode::iterator i = sn->begin(), e = sn->end();
90 } else if (yaml::MappingNode *mn = dyn_cast<yaml::MappingNode>(n)) {
93 for (yaml
[all...]
/external/llvm/lib/Object/
H A DYAML.cpp20 using namespace object::yaml;
22 void yaml::ScalarTraits<object::yaml::BinaryRef>::output(
23 const object::yaml::BinaryRef &Val, void *, llvm::raw_ostream &Out) {
27 StringRef yaml::ScalarTraits<object::yaml::BinaryRef>::input(
28 StringRef Scalar, void *, object::yaml::BinaryRef &Val) {
36 Val = object::yaml::BinaryRef(Scalar);
H A DCOFFYAML.cpp25 namespace yaml { namespace in namespace:llvm
261 IO.mapOptional("AuxiliaryData", S.AuxiliaryData, object::yaml::BinaryRef());
H A DELFYAML.cpp17 namespace yaml { namespace in namespace:llvm
336 } // end namespace yaml
/external/llvm/unittests/Object/
H A DYAMLTest.cpp17 object::yaml::BinaryRef Binary;
21 namespace yaml { namespace in namespace:llvm
28 } // end namespace yaml
35 yaml::Output YOut(OS);
/external/llvm/include/llvm/Object/
H A DYAML.h22 namespace yaml { namespace in namespace:llvm::object
54 /// namespace yaml {
61 /// } // end namespace yaml
106 namespace yaml { namespace in namespace:llvm
107 template <> struct ScalarTraits<object::yaml::BinaryRef> {
108 static void output(const object::yaml::BinaryRef &, void *,
110 static StringRef input(StringRef, void *, object::yaml::BinaryRef &);
H A DELFYAML.h53 llvm::yaml::Hex64 Entry;
59 llvm::yaml::Hex64 Value;
60 llvm::yaml::Hex64 Size;
71 llvm::yaml::Hex64 Address;
72 object::yaml::BinaryRef Content;
74 llvm::yaml::Hex64 AddressAlign;
93 namespace yaml { namespace in namespace:llvm
160 } // end namespace yaml
H A DCOFFYAML.h35 // The structure of the yaml files is not an exact 1:1 match to COFF. In order
36 // to use yaml::IO, we use these structures which are closer to the source.
47 object::yaml::BinaryRef SectionData;
57 object::yaml::BinaryRef AuxiliaryData;
76 namespace yaml { namespace in namespace:llvm
138 } // end namespace 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
44 namespace yaml { namespace in namespace:llvm
151 namespace yaml { namespace in namespace:llvm
299 namespace yaml { namespace in namespace:llvm
373 namespace yaml { namespace in namespace:llvm
465 namespace yaml { namespace in namespace:llvm
547 namespace yaml { namespace in namespace:llvm
573 namespace yaml { namespace in namespace:llvm
645 namespace yaml { namespace in namespace:llvm
757 namespace yaml { namespace in namespace:llvm
870 namespace yaml { namespace in namespace:llvm
[all...]
/external/clang/lib/Tooling/
H A DJSONCompilationDatabase.cpp232 llvm::yaml::document_iterator I = YAMLStream.begin();
237 llvm::yaml::Node *Root = I->getRoot();
242 llvm::yaml::SequenceNode *Array = dyn_cast<llvm::yaml::SequenceNode>(Root);
247 for (llvm::yaml::SequenceNode::iterator AI = Array->begin(),
250 llvm::yaml::MappingNode *Object = dyn_cast<llvm::yaml::MappingNode>(&*AI);
255 llvm::yaml::ScalarNode *Directory = NULL;
256 llvm::yaml::ScalarNode *Command = NULL;
257 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;
/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
351 template <class T> friend typename T::iterator yaml::begin(T &);
352 template <class T> friend void yaml::skip(T &);
355 return yaml::begin(*this);
361 yaml::skip(*this);
411 template <class T> friend typename T::iterator yaml
[all...]
H A DYAMLTraits.h30 namespace yaml { namespace in namespace:llvm
87 /// to/from a yaml scalar. For example:
673 /// The Input class is used to parse a yaml document into in-memory structs
676 /// It works by using YAMLParser to do a syntax parse of the entire yaml
678 /// each yaml Node. The extra layer is buffering. The low level yaml
686 // Construct a yaml Input object from a StringRef and optional user-data.
797 OwningPtr<llvm::yaml::Stream> Strm;
801 llvm::yaml::document_iterator DocIterator;
811 /// The Output class is used to generate a yaml documen
[all...]
/external/llvm/tools/obj2yaml/
H A Dcoff2yaml.cpp67 Sec.SectionData = object::yaml::BinaryRef(sectionData);
101 Sym.AuxiliaryData = object::yaml::BinaryRef(Obj.getSymbolAuxData(Symbol));
116 yaml::Output Yout(Out);
/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/lib/Support/
H A DYAMLParser.cpp26 using namespace yaml;
98 namespace yaml { namespace in namespace:llvm
249 namespace yaml { namespace in namespace:llvm
507 } // end namespace yaml
539 bool yaml::dumpTokens(StringRef Input, raw_ostream &OS) {
620 bool yaml::scanTokens(StringRef Input) {
622 llvm::yaml::Scanner scanner(Input, SM);
624 llvm::yaml::Token T = scanner.getNext();
633 std::string yaml::escape(StringRef Input) {
H A DYAMLTraits.cpp19 using namespace yaml;
/external/llvm/tools/yaml2obj/
H A Dyaml2coff.cpp29 /// This parses a yaml stream that represents a COFF object file.
30 /// See docs/yaml2obj for the yaml scheema.
265 yaml::Input YIn(Buf->getBuffer());
H A Dyaml2elf.cpp375 yaml::Input YIn(Buf->getBuffer());
/external/clang/lib/Format/
H A DFormat.cpp35 namespace yaml { namespace in namespace:llvm
70 static void mapping(llvm::yaml::IO &IO, clang::format::FormatStyle &Style) {
283 llvm::yaml::Input Input(Text);
291 llvm::yaml::Output Output(Stream);

Completed in 748 milliseconds