HomeSort by: relevance | last modified time | path
    Searched refs:YAML (Results 1 - 22 of 22) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/include/llvm/Remarks/
RemarkFormat.h 25 enum class Format { Unknown, YAML, YAMLStrTab, Bitstream };
YAMLRemarkSerializer.h 1 //===-- YAMLRemarkSerializer.h - YAML Remark serialization ---*- C++ -*-===//
9 // This file provides an interface for serializing remarks to YAML.
22 /// Serialize the remarks to YAML. One remark entry looks like this:
34 /// The YAML streamer.
35 yaml::Output YAMLOutput;
46 return S->SerializerFormat == Format::YAML;
64 /// Serialize the remarks to YAML using a string table. An remark entry looks
65 /// like the regular YAML remark but instead of string entries it's using
  /src/external/bsd/ntp/dist/sntp/unity/auto/
test_file_filter.rb 7 require'yaml'
15 filters = YAML.load_file( 'test_file_filter.yml' )
generate_module.rb 30 " -y\"my.yml\" selects a different yaml config file for module generation",
103 #load yaml file if one was requested
105 require 'yaml'
106 cfg = YAML.load_file(HERE + @yaml_config)[:generate_module]
generate_test_runner.rb 40 require 'yaml'
41 yaml_guts = YAML.load_file(config_file)
382 " *.yml / *.yaml - loads configuration from here in :unity or :cmock",
  /src/external/apache2/llvm/dist/llvm/lib/Remarks/
RemarkFormat.cpp 22 .Cases("", "yaml", Format::YAML)
23 .Case("yaml-strtab", Format::YAMLStrTab)
38 .StartsWith("--- ", Format::YAML) // This is only an assumption.
RemarkSerializer.cpp 27 case Format::YAML:
44 case Format::YAML:
RemarkParser.cpp 54 case Format::YAML:
59 "The YAML with string table format requires a parsed string table.");
73 case Format::YAML:
75 "The YAML format can't be used with a string "
76 "table. Use yaml-strtab instead.");
93 // Depending on the metadata, the format can be either yaml or yaml-strtab,
95 case Format::YAML:
132 return wrap(new CParser(Format::YAML,
YAMLRemarkParser.h 1 //===-- YAMLRemarkParser.h - Parser for YAML remarks ------------*- C++/-*-===//
9 // This file provides the impementation of the YAML remark parser.
35 YAMLParseError(StringRef Message, SourceMgr &SM, yaml::Stream &Stream,
36 yaml::Node &Node);
49 /// Regular YAML to Remark parser.
53 /// Last error message that can come from the YAML parser diagnostics.
58 /// Stream for yaml parsing.
59 yaml::Stream Stream;
60 /// Iterator in the YAML stream.
61 yaml::document_iterator YAMLIt
    [all...]
YAMLRemarkSerializer.cpp 9 // This file provides the implementation of the YAML remark serializer using
24 static void mapRemarkHeader(yaml::IO &io, T PassName, T RemarkName,
37 namespace yaml { namespace in namespace:llvm
157 } // end namespace yaml
164 : YAMLRemarkSerializer(Format::YAML, OS, Mode, std::move(StrTabIn)) {}
YAMLRemarkParser.cpp 36 yaml::Stream &Stream, yaml::Node &Node) {
174 : RemarkParser{Format::YAML}, StrTab(std::move(StrTab)), LastErrorMessage(),
177 Error YAMLRemarkParser::error(StringRef Message, yaml::Node &Node) {
190 YAMLRemarkParser::parseRemark(yaml::Document &RemarkEntry) {
194 yaml::Node *YAMLRoot = RemarkEntry.getRoot();
197 "not a valid YAML file.");
200 auto *Root = dyn_cast<yaml::MappingNode>(YAMLRoot);
216 for (yaml::KeyValueNode &RemarkField : *Root) {
248 auto *Args = dyn_cast<yaml::SequenceNode>(RemarkField.getValue())
    [all...]
  /src/external/apache2/llvm/lib/libLLVMObjectYAML/
Makefile 30 YAML.cpp
  /src/external/apache2/llvm/dist/clang/tools/clang-rename/
ClangRename.cpp 51 namespace yaml { namespace in namespace:llvm
63 } // end namespace yaml
91 cl::desc("YAML file to store suggested fixes in."),
94 Input("input", cl::desc("YAML file to load oldname-newname pairs from."),
110 // Populate QualifiedNames and NewNames from a YAML file.
120 llvm::yaml::Input YAML(Buffer.get()->getBuffer());
121 YAML >> Infos;
210 yaml::Output YAML(OS)
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/obj2yaml/
archive2yaml.cpp 109 std::unique_ptr<ArchYAML::Archive> YAML(YAMLOrErr.get());
110 yaml::Output Yout(Out);
111 Yout << *YAML;
macho2yaml.cpp 91 yaml::BinaryRef(Obj.getSectionContents(Sec.offset, Sec.size));
181 // instead of an entry in the DWARF section of the YAML.
483 * de-serialization, but it makes the YAML representation more human readable.
593 Expected<std::unique_ptr<MachOYAML::Object>> YAML = Dumper.dump();
594 if (!YAML)
595 return YAML.takeError();
597 yaml::YamlObjectFile YAMLFile;
598 YAMLFile.MachO = std::move(YAML.get());
600 yaml::Output Yout(Out);
606 yaml::YamlObjectFile YAMLFile
    [all...]
wasm2yaml.cpp 187 CustomSec->Payload = yaml::BinaryRef(WasmSec.Content);
205 // being represented as a custom section in the YAML output.
351 Function.Body = yaml::BinaryRef(Func.Body);
365 Seg.Content = yaml::BinaryRef(Segment.Data.Content);
401 std::unique_ptr<WasmYAML::Object> YAML(YAMLOrErr.get());
402 yaml::Output Yout(Out);
403 Yout << *YAML;
elf2yaml.cpp 219 // Generally we are trying to reduce noise in the YAML output. Because
256 // the noise in the YAML output.
258 Sec.Offset = (yaml::Hex64)SecHdr.sh_offset;
458 PH.Align = static_cast<llvm::yaml::Hex64>(Phdr.p_align);
504 // instead of an entry in the DWARF section of the YAML.
595 // The contents of these sections are described by other parts of the YAML
672 S.Value = (yaml::Hex64)Sym->st_value;
674 S.Size = (yaml::Hex64)Sym->st_size;
759 S.EntSize = static_cast<llvm::yaml::Hex64>(Shdr->sh_entsize);
826 S->Content = yaml::BinaryRef(Content)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/
AtomicChange.cpp 20 /// YAML string.
24 NormalizedAtomicChange(const llvm::yaml::IO &) {}
28 NormalizedAtomicChange(const llvm::yaml::IO &,
36 clang::tooling::AtomicChange denormalize(const llvm::yaml::IO &) {
37 llvm_unreachable("Do not convert YAML to AtomicChange directly with '>>'. "
50 namespace yaml { namespace in namespace:llvm
80 } // end namespace yaml
236 llvm::yaml::Output YAML(YamlContentStream);
237 YAML << *this
    [all...]
  /src/external/apache2/llvm/dist/clang/tools/driver/
cc1gen_reproducer_main.cpp 51 namespace yaml { namespace in namespace:llvm
71 } // end namespace yaml
171 llvm::yaml::Input YAML(Buffer.get()->getBuffer());
173 YAML >> InvocationInfo;
  /src/external/apache2/llvm/dist/llvm/tools/llvm-xray/
xray-converter.cpp 36 enum class ConvertFormats { BINARY, YAML, CHROME_TRACE_EVENT };
40 clEnumValN(ConvertFormats::YAML, "yaml", "output in yaml"),
76 using llvm::yaml::Output;
399 case ConvertFormats::YAML:
  /src/external/apache2/llvm/dist/llvm/lib/IR/
LLVMRemarkStreamer.cpp 109 auto Flags = *Format == remarks::Format::YAML ? sys::fs::OF_TextWithCRLF
  /src/external/apache2/llvm/dist/clang/lib/Frontend/
FrontendActions.cpp 364 namespace yaml { namespace in namespace:llvm
374 } // namespace yaml
450 std::string YAML;
452 llvm::raw_string_ostream OS(YAML);
453 llvm::yaml::Output YO(OS);
456 llvm::yaml::EmptyContext Context;
457 llvm::yaml::yamlize(YO, Entry, true, Context);
459 Out << "---" << YAML << "\n";

Completed in 21 milliseconds