HomeSort by relevance Sort by last modified time
    Searched refs:yaml (Results 1 - 25 of 40) sorted by null

1 2

  /external/llvm/tools/yaml2obj/
yaml2obj.h 17 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);
yaml2obj.cpp 1 //===- yaml2obj - Convert YAML to a binary object file --------------------===//
10 // This program takes a YAML description of an object file and outputs the
35 // TODO: The "right" way to tell what kind of object file a given YAML file
36 // corresponds to is to look at YAML "tags" (e.g. `!Foo`). Then, different
41 // them appropriately requires some work in the YAML parser and the YAMLIO
63 typedef int (*ConvertFuncPtr)(yaml::Input & YIn, raw_ostream &Out);
65 static int convertYAML(yaml::Input &YIn, raw_ostream &Out,
110 yaml::Input YIn(Buf.get()->getBuffer());
  /external/llvm/include/llvm/Transforms/Utils/
SymbolRewriter.h 43 namespace yaml { namespace in namespace:llvm
97 bool parseEntry(yaml::Stream &Stream, yaml::KeyValueNode &Entry,
99 bool parseRewriteFunctionDescriptor(yaml::Stream &Stream,
100 yaml::ScalarNode *Key,
101 yaml::MappingNode *Value,
103 bool parseRewriteGlobalVariableDescriptor(yaml::Stream &Stream,
104 yaml::ScalarNode *Key,
105 yaml::MappingNode *Value,
107 bool parseRewriteGlobalAliasDescriptor(yaml::Stream &YS, yaml::ScalarNode *K
    [all...]
  /external/llvm/unittests/MC/
YAMLTest.cpp 1 //===- llvm/unittest/Object/YAMLTest.cpp - Tests for Object YAML ----------===//
10 #include "llvm/MC/YAML.h"
17 yaml::BinaryRef Binary;
21 namespace yaml { namespace in namespace:llvm
28 } // end namespace yaml
35 yaml::Output YOut(OS);
  /external/llvm/utils/yaml-bench/
Makefile 1 ##===- utils/yaml-bench/Makefile ---------------------------*- Makefile -*-===##
11 TOOLNAME = yaml-bench
YAMLBench.cpp 10 // This program executes the YAMLParser on differently sized YAML texts and
36 , cl::desc("Print the canonical YAML for this file.")
66 /// \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))
    [all...]
  /external/llvm/lib/MC/
YAML.cpp 1 //===- YAML.cpp - YAMLIO utilities for object files -----------------------===//
10 // This file defines utility classes for handling the YAML representation of
15 #include "llvm/MC/YAML.h"
22 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)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/networkx/readwrite/
nx_yaml.py 3 YAML
5 Read and write NetworkX graphs in YAML format.
7 "YAML is a data serialization format designed for human readability
9 See http://www.yaml.org for documentation.
31 """Write graph G in YAML format to path.
33 YAML is a data serialization format designed for human readability
49 >>> nx.write_yaml(G,'test.yaml')
53 .. [1] http://www.yaml.org
56 import yaml namespace
59 yaml.dump(G, path, **kwds
90 import yaml namespace
102 import yaml namespace
    [all...]
  /external/llvm/unittests/Support/
YAMLParserTest.cpp 35 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::SequenceNode>(Stream.begin()->getRoot())
    [all...]
YAMLIOTest.cpp 18 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::Hex64
54 namespace yaml { namespace in namespace:llvm
262 namespace yaml { namespace in namespace:llvm
418 namespace yaml { namespace in namespace:llvm
542 namespace yaml { namespace in namespace:llvm
616 namespace yaml { namespace in namespace:llvm
708 namespace yaml { namespace in namespace:llvm
791 namespace yaml { namespace in namespace:llvm
819 namespace yaml { namespace in namespace:llvm
891 namespace yaml { namespace in namespace:llvm
1003 namespace yaml { namespace in namespace:llvm
1116 namespace yaml { namespace in namespace:llvm
1195 namespace yaml { namespace in namespace:llvm
1277 namespace yaml { namespace in namespace:llvm
1711 namespace yaml { namespace in namespace:llvm
    [all...]
  /docs/source.android.com/scripts/
build2stage.sh 33 # Edit the app.yaml file to upload to the specified server.
34 sed 's/staging[0-9]*$/staging'$1'/' online-sac/app.yaml > .temp
36 # Copy in new app.yaml content
37 cp .temp online-sac/app.yaml
  /external/clang/lib/Tooling/
JSONCompilationDatabase.cpp 231 llvm::yaml::document_iterator I = YAMLStream.begin();
233 ErrorMessage = "Error while parsing YAML.";
236 llvm::yaml::Node *Root = I->getRoot();
238 ErrorMessage = "Error while parsing YAML.";
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
    [all...]
  /external/llvm/lib/Transforms/Utils/
SymbolRewriter.cpp 12 // YAML configuration file.
14 // The YAML configuration file format is as follows:
251 yaml::Stream YS(MapFile->getBuffer(), SM);
254 yaml::MappingNode *DescriptorList;
257 if (isa<yaml::NullNode>(Document.getRoot()))
260 DescriptorList = dyn_cast<yaml::MappingNode>(Document.getRoot());
274 bool RewriteMapParser::parseEntry(yaml::Stream &YS, yaml::KeyValueNode &Entry,
276 yaml::ScalarNode *Key;
277 yaml::MappingNode *Value
    [all...]
  /external/clang/include/clang/Tooling/
JSONCompilationDatabase.h 95 // corresponding nodes in the YAML stream.
96 typedef std::pair<llvm::yaml::ScalarNode*,
97 llvm::yaml::ScalarNode*> CompileCommandRef;
110 llvm::yaml::Stream YAMLStream;
ReplacementsYaml.h 11 /// \brief This file defines the structure of a YAML document for serializing
27 namespace yaml { namespace in namespace:llvm
73 } // end namespace yaml
  /external/clang/unittests/Tooling/
ReplacementsYamlTest.cpp 34 yaml::Output YAML(YamlContentStream);
35 YAML << Doc;
69 yaml::Input YAML(YamlContent);
70 YAML >> DocActual;
71 ASSERT_FALSE(YAML.error());
96 yaml::Input YAML(YamlContent);
97 YAML >> DocActual
    [all...]
  /external/llvm/include/llvm/Object/
ELFYAML.h 11 /// \brief This file declares classes for handling the YAML representation
19 #include "llvm/MC/YAML.h"
60 llvm::yaml::Hex64 Entry;
66 llvm::yaml::Hex64 Value;
67 llvm::yaml::Hex64 Size;
86 llvm::yaml::Hex64 Address;
89 llvm::yaml::Hex64 AddressAlign;
94 yaml::BinaryRef Content;
95 llvm::yaml::Hex64 Size;
113 llvm::yaml::Hex64 Offset
144 namespace yaml { namespace in namespace:llvm
    [all...]
COFFYAML.h 10 // This file declares classes for handling the YAML representation of COFF.
18 #include "llvm/MC/YAML.h"
42 // The structure of the yaml files is not an exact 1:1 match to COFF. In order
43 // to use yaml::IO, we use these structures which are closer to the source.
58 yaml::BinaryRef SectionData;
98 namespace yaml { namespace in namespace:llvm
220 } // end namespace yaml
  /external/llvm/include/llvm/Support/
YAMLParser.h 1 //===--- YAMLParser.h - Simple YAML parser --------------------------------===//
10 // This is a YAML 1.2 parser.
12 // See http://www.yaml.org/spec/1.2/spec.html for the full standard.
20 // The most important class here is Stream. This represents a YAML stream with
25 // yaml::Stream stream(input, sm);
27 // for (yaml::document_iterator di = stream.begin(), de = stream.end();
29 // yaml::Node *n = di->getRoot();
54 namespace yaml { namespace in namespace:llvm
74 /// \brief This class represents a YAML stream potentially containing multiple
201 // Return Value without any escaping or folding or other fun YAML stuff. Thi
    [all...]
YAMLTraits.h 30 namespace yaml { namespace in namespace:llvm
34 /// to/from a YAML mapping. For example:
53 /// to/from a YAML scalar where there is a one-to-one mapping between
54 /// in-memory values and a string in YAML. For example:
71 /// of bit values and the YAML representation is a flow sequence of
89 /// to/from a yaml scalar. For example:
121 /// to/from a YAML sequence. For example:
140 // The following is option and will cause generated YAML to use
147 /// to/from a list of YAML documents.
651 assert(Err.empty() && "invalid struct trying to be written as yaml");
    [all...]
  /external/llvm/include/llvm/MC/
YAML.h 7 namespace yaml { namespace in namespace:llvm
13 /// It renders as a string of hex digits in a YAML file.
14 /// For example, it might render as `DEADBEEFCAFEBABE` (YAML does not
27 /// The YAML mapping:
38 /// namespace yaml {
45 /// } // end namespace yaml
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/networkx/readwrite/tests/
test_yaml.py 2 Unit tests for yaml.
14 global yaml
16 import yaml namespace
18 raise SkipTest('yaml not available.')
  /external/clang/lib/Basic/
VirtualFileSystem.cpp 412 /// \brief A virtual file system parsed from a YAML file.
503 /// \brief Parses \p Buffer, which is expected to be in YAML format and
536 /// \brief A helper class to hold the common YAML parsing state.
538 yaml::Stream &Stream;
540 void error(yaml::Node *N, const Twine &Msg) {
545 bool parseScalarString(yaml::Node *N, StringRef &Result,
547 yaml::ScalarNode *S = dyn_cast<yaml::ScalarNode>(N);
557 bool parseScalarBool(yaml::Node *N, bool &Result) {
585 bool checkDuplicateOrUnknownKey(yaml::Node *KeyNode, StringRef Key
    [all...]
  /external/vboot_reference/utility/include/
bmpblk_utility.h 13 #include <yaml.h>
73 * Load the config file (yaml format) and parse it. */
84 /* Helper functions for parsing a YAML config file. */
  /external/llvm/tools/obj2yaml/
coff2yaml.cpp 116 NewYAMLSection.SectionData = yaml::BinaryRef(sectionData);
271 yaml::Output Yout(Out);

Completed in 803 milliseconds

1 2