/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 int convertYAML(yaml::Input & YIn, raw_ostream &Out, ConvertFuncPtr Convert) { 109 yaml::Input YIn(Buf.get()->getBuffer());
|
/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/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...] |
/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/chromium_org/native_client_sdk/src/gonacl_appengine/ |
Makefile | 11 dev_appserver.py app.yaml
|
/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 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/ |
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/clang/include/clang/Tooling/ |
JSONCompilationDatabase.h | 94 // corresponding nodes in the YAML stream. 95 typedef std::pair<llvm::yaml::ScalarNode*, 96 llvm::yaml::ScalarNode*> CompileCommandRef; 109 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" 58 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 [all...] |
COFFYAML.h | 10 // This file declares classes for handling the YAML representation of COFF. 18 #include "llvm/MC/YAML.h" 36 // 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/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(); 55 namespace yaml { namespace in namespace:llvm 75 /// \brief This class represents a YAML stream potentially containing multiple 203 // 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. 640 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
|
/external/clang/lib/Basic/ |
VirtualFileSystem.cpp | 424 /// \brief A virtual file system parsed from a YAML file. 515 /// \brief Parses \p Buffer, which is expected to be in YAML format and 551 /// \brief A helper class to hold the common YAML parsing state. 553 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 [all...] |
/external/llvm/lib/MC/MCAnalysis/ |
MCModuleYAML.cpp | 10 // This file defines classes for handling the YAML representation of MCModule. 20 #include "llvm/MC/YAML.h" 101 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 [all...] |
/external/chromium_org/chrome/common/extensions/docs/server2/ |
app_yaml_helper.py | 20 '''Parses the app.yaml file, and is able to step back in the host file 34 '''Extracts the 'version' key from the contents of an app.yaml file. 37 # We could properly parse this using a yaml library but Python doesn't have 53 '''Return whether the app.yaml version |lhs| > |rhs|. This is tricky 88 '''Finds the first revision that the version in app.yaml was greater than 103 # XXX(ahernandez): Tricky. The 'version' of app.yaml coming from 118 # Back up a revision then find when app.yaml was last updated before then.
|
/external/llvm/tools/obj2yaml/ |
coff2yaml.cpp | 64 Sec.SectionData = yaml::BinaryRef(sectionData); 216 yaml::Output Yout(Out);
|
elf2yaml.cpp | 271 S->Content = yaml::BinaryRef(ContentOrErr.get()); 285 std::unique_ptr<ELFYAML::Object> YAML(YAMLOrErr.get()); 286 yaml::Output Yout(Out); 287 Yout << *YAML;
|
/external/llvm/lib/Support/ |
YAMLParser.cpp | 1 //===--- YAMLParser.cpp - Simple YAML parser ------------------------------===// 10 // This file implements a YAML parser. 26 using namespace yaml; 98 namespace yaml { namespace in namespace:llvm 108 /// Token - A single YAML token. 258 namespace yaml { namespace in namespace:llvm 259 /// @brief Scans YAML tokens from a MemoryBuffer. 311 // The following functions are based on the gramar rules in the YAML spec. The 480 /// @brief Current YAML indentation level in spaces. 513 } // end namespace yaml [all...] |
YAMLTraits.cpp | 21 using namespace yaml; 579 // the whole key/value can be not written. But, that produces wrong yaml
|