Searched refs:Doc (Results 1 - 19 of 19) sorted by relevance

/netbsd-current/external/apache2/llvm/dist/llvm/lib/ObjectYAML/
H A Dyaml2obj.cpp28 yaml::YamlObjectFile Doc; local
29 YIn >> Doc; local
35 if (Doc.Arch)
36 return yaml2archive(*Doc.Arch, Out, ErrHandler);
37 if (Doc.Elf)
38 return yaml2elf(*Doc.Elf, Out, ErrHandler, MaxSize);
39 if (Doc.Coff)
40 return yaml2coff(*Doc.Coff, Out, ErrHandler);
41 if (Doc.MachO || Doc
[all...]
H A DArchiveEmitter.cpp20 bool yaml2archive(ArchYAML::Archive &Doc, raw_ostream &Out, ErrorHandler EH) { argument
21 Out.write(Doc.Magic.data(), Doc.Magic.size());
23 if (Doc.Content) {
24 Doc.Content->writeAsBinary(Out);
28 if (!Doc.Members)
37 for (const Archive::Child &C : *Doc.Members) {
H A DELFEmitter.cpp192 ELFYAML::Object &Doc; member in class:__anon2044::ELFState
312 static bool writeELF(raw_ostream &OS, ELFYAML::Object &Doc,
329 : Doc(D), ErrHandler(EH) {
330 std::vector<ELFYAML::Section *> Sections = Doc.getSections();
333 Doc.Chunks.insert(
334 Doc.Chunks.begin(),
340 for (size_t I = 0; I < Doc.Chunks.size(); ++I) {
341 const std::unique_ptr<ELFYAML::Chunk> &C = Doc.Chunks[I];
367 if (Doc.DynamicSymbols)
369 if (Doc
1876 writeELF(raw_ostream &OS, ELFYAML::Object &Doc, yaml::ErrorHandler EH, uint64_t MaxSize) argument
1942 yaml2elf(llvm::ELFYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH, uint64_t MaxSize) argument
[all...]
H A DMachOEmitter.cpp635 bool yaml2macho(YamlObjectFile &Doc, raw_ostream &Out, ErrorHandler EH) { argument
636 UniversalWriter Writer(Doc);
H A DWasmEmitter.cpp682 bool yaml2wasm(WasmYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH) { argument
683 WasmWriter Writer(Doc, EH);
H A DCOFFEmitter.cpp603 bool yaml2coff(llvm::COFFYAML::Object &Doc, raw_ostream &Out, argument
605 COFFParser CP(Doc, ErrHandler);
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/ObjectYAML/
H A Dyaml2obj.h53 bool yaml2archive(ArchYAML::Archive &Doc, raw_ostream &Out, ErrorHandler EH);
54 bool yaml2coff(COFFYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH);
55 bool yaml2elf(ELFYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH,
57 bool yaml2macho(YamlObjectFile &Doc, raw_ostream &Out, ErrorHandler EH);
58 bool yaml2minidump(MinidumpYAML::Object &Doc, raw_ostream &Out,
60 bool yaml2wasm(WasmYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH);
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Tooling/
H A DReplacementsYaml.h65 clang::tooling::TranslationUnitReplacements &Doc) {
66 Io.mapRequired("MainSourceFile", Doc.MainSourceFile);
67 Io.mapRequired("Replacements", Doc.Replacements);
64 mapping(IO &Io, clang::tooling::TranslationUnitReplacements &Doc) argument
H A DDiagnosticsYaml.h99 static void mapping(IO &Io, clang::tooling::TranslationUnitDiagnostics &Doc) { argument
100 Io.mapRequired("MainSourceFile", Doc.MainSourceFile);
101 Io.mapRequired("Diagnostics", Doc.Diagnostics);
/netbsd-current/external/apache2/llvm/dist/clang/utils/TableGen/
H A DClangSyntaxEmitter.cpp177 static void printDoc(llvm::StringRef Doc, llvm::raw_ostream &OS) { argument
178 Doc = Doc.rtrim();
180 while (Line.trim().empty() && !Doc.empty())
181 std::tie(Line, Doc) = Doc.split('\n');
183 for (; !Line.empty() || !Doc.empty(); std::tie(Line, Doc) = Doc.split('\n')) {
H A DClangOptionDocEmitter.cpp350 void emitDocumentation(int Depth, const Documentation &Doc,
371 void emitDocumentation(int Depth, const Documentation &Doc,
373 for (auto &O : Doc.Options)
375 for (auto &G : Doc.Groups)
H A DClangAttrEmitter.cpp4335 const DocumentationData &Doc, raw_ostream &OS) {
4336 OS << Doc.Heading << "\n" << std::string(Doc.Heading.length(), '-') << "\n";
4351 for (StringRef Spelling : Doc.SupportedSpellings[K]) {
4362 *Doc.Attribute))
4368 if (!Doc.Documentation->isValueUnset("Deprecated")) {
4371 const Record &Deprecated = *Doc.Documentation->getValueAsDef("Deprecated");
4379 const StringRef ContentStr = Doc.Documentation->getValueAsString("Content");
4405 const Record &Doc = *D;
4406 const Record *Category = Doc
[all...]
H A DClangDiagnosticsEmitter.cpp1817 auto Doc = G->getValueAsString("Documentation"); local
1818 if (!Doc.empty())
1819 OS << Doc; local
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DYAMLParser.h181 std::unique_ptr<Document> &Doc; member in class:llvm::yaml::Node
591 document_iterator(std::unique_ptr<Document> &D) : Doc(&D) {}
597 return Doc == Other.Doc;
604 assert(Doc && "incrementing iterator past the end.");
605 if (!(*Doc)->skip()) {
606 Doc->reset(nullptr);
608 Stream &S = (*Doc)->stream;
609 Doc->reset(new Document(S));
614 Document &operator*() { return *Doc
621 std::unique_ptr<Document> *Doc = nullptr; member in class:llvm::yaml::document_iterator
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/
H A DAtomicChange.cpp55 static void mapping(IO &Io, NormalizedAtomicChange &Doc) { argument
56 Io.mapRequired("Key", Doc.Key);
57 Io.mapRequired("FilePath", Doc.FilePath);
58 Io.mapRequired("Error", Doc.Error);
59 Io.mapRequired("InsertedHeaders", Doc.InsertedHeaders);
60 Io.mapRequired("RemovedHeaders", Doc.RemovedHeaders);
61 Io.mapRequired("Replacements", Doc.Replaces);
68 static void mapping(IO &Io, clang::tooling::AtomicChange &Doc) { argument
70 Keys(Io, Doc);
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/BinaryFormat/
H A DMsgPackDocument.h32 Document *Doc; member in struct:llvm::msgpack::KindAndDocument
80 Document *getDocument() const { return KindAndDoc->Doc; }
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Support/
H A DYAMLParser.cpp1885 : Doc(D), TypeID(Type), Anchor(A), Tag(T) {
1895 Ret = std::string(Doc->getTagMap().find("!")->second);
1899 Ret = std::string(Doc->getTagMap().find("!!")->second);
1905 Doc->getTagMap().find(TagHandle);
1906 if (It != Doc->getTagMap().end())
1936 return Doc->peekNext();
1940 return Doc->getNext();
1944 return Doc->parseBlockNode();
1948 return Doc->NodeAllocator;
1952 Doc
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/lib/WindowsManifest/
H A DWindowsManifestMerger.cpp618 for (auto &Doc : MergedDocs)
619 xmlFreeDoc(Doc);
/netbsd-current/external/apache2/llvm/dist/clang/tools/c-index-test/
H A Dc-index-test.c649 xmlDocPtr Doc; local
663 Doc = xmlParseDoc((const xmlChar *) Str);
665 if (!Doc) {
672 status = xmlRelaxNGValidateDoc(ValidationCtxt, Doc);
682 xmlFreeDoc(Doc);

Completed in 325 milliseconds