/external/llvm-project/llvm/unittests/BinaryFormat/ |
D | MsgPackDocumentTest.cpp | 17 Document Doc; in TEST() local 19 DocNode Int1 = Doc.getNode(1), Int2 = Doc.getNode(2); in TEST() 20 DocNode Str1 = Doc.getNode("ab"), Str2 = Doc.getNode("ab"); in TEST() 27 Document Doc; in TEST() local 28 bool Ok = Doc.readFromBlob(StringRef("\xd0\x00", 2), /*Multi=*/false); in TEST() 30 ASSERT_EQ(Doc.getRoot().getKind(), Type::Int); in TEST() 31 ASSERT_EQ(Doc.getRoot().getInt(), 0); in TEST() 35 Document Doc; in TEST() local 36 bool Ok = Doc.readFromBlob(StringRef("\x92\xd0\x01\xc0"), /*Multi=*/false); in TEST() 38 ASSERT_EQ(Doc.getRoot().getKind(), Type::Array); in TEST() [all …]
|
/external/llvm-project/llvm/lib/ObjectYAML/ |
D | yaml2obj.cpp | 28 yaml::YamlObjectFile Doc; in convertYAML() local 29 YIn >> Doc; in convertYAML() 35 if (Doc.Arch) in convertYAML() 36 return yaml2archive(*Doc.Arch, Out, ErrHandler); in convertYAML() 37 if (Doc.Elf) in convertYAML() 38 return yaml2elf(*Doc.Elf, Out, ErrHandler, MaxSize); in convertYAML() 39 if (Doc.Coff) in convertYAML() 40 return yaml2coff(*Doc.Coff, Out, ErrHandler); in convertYAML() 41 if (Doc.MachO || Doc.FatMachO) in convertYAML() 42 return yaml2macho(Doc, Out, ErrHandler); in convertYAML() [all …]
|
D | ArchiveEmitter.cpp | 20 bool yaml2archive(ArchYAML::Archive &Doc, raw_ostream &Out, ErrorHandler EH) { in yaml2archive() argument 21 Out.write(Doc.Magic.data(), Doc.Magic.size()); in yaml2archive() 23 if (Doc.Content) { in yaml2archive() 24 Doc.Content->writeAsBinary(Out); in yaml2archive() 28 if (!Doc.Members) in yaml2archive() 37 for (const Archive::Child &C : *Doc.Members) { in yaml2archive()
|
D | ELFEmitter.cpp | 195 ELFYAML::Object &Doc; member in __anonbe606ff10111::ELFState 315 static bool writeELF(raw_ostream &OS, ELFYAML::Object &Doc, 332 : Doc(D), ErrHandler(EH) { in ELFState() 333 std::vector<ELFYAML::Section *> Sections = Doc.getSections(); in ELFState() 336 Doc.Chunks.insert( in ELFState() 337 Doc.Chunks.begin(), in ELFState() 345 for (size_t I = 0; I < Doc.Chunks.size(); ++I) { in ELFState() 346 const std::unique_ptr<ELFYAML::Chunk> &C = Doc.Chunks[I]; in ELFState() 360 if (Doc.DynamicSymbols) in ELFState() 362 if (Doc.Symbols) in ELFState() [all …]
|
/external/tensorflow/tensorflow/compiler/xrt/ops/ |
D | xrt_state_ops.cc | 33 .Doc( 46 .Doc( 64 .Doc( 90 .Doc( 105 .Doc( 122 .Doc( 140 .Doc( 153 .Doc( 166 .Doc( 181 .Doc( [all …]
|
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/ |
D | OpsBuilder.java | 242 Doc.Token.make( in drain() 244 Doc.Token.RealOrImaginary.IMAGINARY, in drain() 290 Doc.Token.RealOrImaginary.IMAGINARY, in guessToken() 297 Doc.Token.RealOrImaginary realOrImaginary, in token() 303 Doc.Token.make( in token() 305 Doc.Token.RealOrImaginary.REAL, in token() 333 Doc.Token.RealOrImaginary.REAL, in op() 341 add(Doc.Space.make()); in space() 346 breakOp(Doc.FillMode.UNIFIED, "", ZERO); in breakOp() 355 breakOp(Doc.FillMode.UNIFIED, "", plusIndent); in breakOp() [all …]
|
D | DocBuilder.java | 23 private final Doc.Level base = Doc.Level.make(Indent.Const.ZERO); 24 private final ArrayDeque<Doc.Level> stack = new ArrayDeque<>(); 42 private Doc.Level appendLevel = base; 68 Doc.Level level = Doc.Level.make(plusIndent); in open() 74 Doc.Level top = stack.removeLast(); in close() 83 void add(Doc doc) { in add() 92 void breakDoc(Doc.Break breakDoc) { in breakDoc() 102 public Doc build() { in build()
|
D | Doc.java | 37 public abstract class Doc { class 188 static final class Level extends Doc { 190 private final List<Doc> docs = new ArrayList<>(); // The elements of the level. 211 void add(Doc doc) { in add() 218 for (Doc doc : docs) { in computeWidth() 227 for (Doc doc : docs) { in computeFlat() 236 for (Doc doc : docs) { in computeRange() 253 List<List<Doc>> splits = new ArrayList<>(); 271 private static void splitByBreaks(List<Doc> docs, List<List<Doc>> splits, List<Break> breaks) { in splitByBreaks() 275 for (Doc doc : docs) { in splitByBreaks() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/ |
D | yaml2obj.cpp | 28 yaml::YamlObjectFile Doc; in convertYAML() local 29 YIn >> Doc; in convertYAML() 35 if (Doc.Elf) in convertYAML() 36 return yaml2elf(*Doc.Elf, Out, ErrHandler); in convertYAML() 37 if (Doc.Coff) in convertYAML() 38 return yaml2coff(*Doc.Coff, Out, ErrHandler); in convertYAML() 39 if (Doc.MachO || Doc.FatMachO) in convertYAML() 40 return yaml2macho(Doc, Out, ErrHandler); in convertYAML() 41 if (Doc.Minidump) in convertYAML() 42 return yaml2minidump(*Doc.Minidump, Out, ErrHandler); in convertYAML() [all …]
|
D | ELFEmitter.cpp | 129 ELFYAML::Object &Doc; member in __anon637653e50111::ELFState 219 static bool writeELF(raw_ostream &OS, ELFYAML::Object &Doc, 236 : Doc(D), ErrHandler(EH) { in ELFState() 237 std::vector<ELFYAML::Section *> Sections = Doc.getSections(); in ELFState() 245 Doc.Chunks.insert( in ELFState() 246 Doc.Chunks.begin(), in ELFState() 251 if (Doc.Symbols) in ELFState() 255 if (Doc.DynamicSymbols) in ELFState() 267 Doc.Chunks.push_back(std::move(Sec)); in ELFState() 282 Header.e_ident[EI_DATA] = Doc.Header.Data; in writeELFHeader() [all …]
|
/external/llvm/tools/yaml2obj/ |
D | yaml2elf.cpp | 115 const ELFYAML::Object &Doc; member in __anon35a54e5e0311::ELFState 146 unsigned getDotSymTabSecNo() const { return Doc.Sections.size() + 1; } in getDotSymTabSecNo() 147 unsigned getDotStrTabSecNo() const { return Doc.Sections.size() + 2; } in getDotStrTabSecNo() 148 unsigned getDotShStrTabSecNo() const { return Doc.Sections.size() + 3; } in getDotShStrTabSecNo() 149 unsigned getSectionCount() const { return Doc.Sections.size() + 4; } in getSectionCount() 151 ELFState(const ELFYAML::Object &D) : Doc(D) {} in ELFState() 154 static int writeELF(raw_ostream &OS, const ELFYAML::Object &Doc); 170 Header.e_ident[EI_OSABI] = Doc.Header.OSABI; in initELFHeader() 172 Header.e_type = Doc.Header.Type; in initELFHeader() 173 Header.e_machine = Doc.Header.Machine; in initELFHeader() [all …]
|
D | yaml2obj.cpp | 47 yaml::YamlObjectFile Doc; in convertYAML() local 48 YIn >> Doc; in convertYAML() 54 if (Doc.Elf) in convertYAML() 55 return yaml2elf(*Doc.Elf, Out); in convertYAML() 56 if (Doc.Coff) in convertYAML() 57 return yaml2coff(*Doc.Coff, Out); in convertYAML() 58 if (Doc.MachO || Doc.FatMachO) in convertYAML() 59 return yaml2macho(Doc, Out); in convertYAML()
|
/external/llvm-project/clang/unittests/Tooling/ |
D | ReplacementsYamlTest.cpp | 21 TranslationUnitReplacements Doc; in TEST() local 23 Doc.MainSourceFile = "/path/to/source.cpp"; in TEST() 24 Doc.Replacements.emplace_back("/path/to/file1.h", 232, 56, "replacement #1"); in TEST() 25 Doc.Replacements.emplace_back("/path/to/file2.h", 301, 2, "replacement #2"); in TEST() 31 YAML << Doc; in TEST() 50 TranslationUnitReplacements Doc; in TEST() local 52 Doc.MainSourceFile = "/path/to/source.cpp"; in TEST() 53 Doc.Replacements.emplace_back("/path/to/file1.h", 0, 0, "#include <utility>\n"); in TEST() 59 YAML << Doc; in TEST()
|
/external/dokka/core/src/main/kotlin/javadoc/ |
D | tags.kt | 7 class TagImpl(val holder: Doc, val name: String, val text: String): Tag { 10 override fun holder(): Doc = holder in text() 20 class TextTag(val holder: Doc, val content: ContentText) : Tag { in text() 28 override fun holder(): Doc = holder in text() 33 abstract class SeeTagAdapter(val holder: Doc, val content: ContentNodeLink) : SeeTag { 37 override fun holder(): Doc = holder in position() 42 class SeeExternalLinkTagAdapter(val holder: Doc, val link: ContentExternalLink) : SeeTag { in position() 57 override fun holder(): Doc = holder in position() 68 class SeeMethodTagAdapter(holder: Doc, val method: MethodAdapter, content: ContentNodeLink) : SeeTa… 80 class SeeClassTagAdapter(holder: Doc, val clazz: ClassDocumentationNodeAdapter, content: ContentNod… in referencedMember() [all …]
|
/external/tensorflow/tensorflow/compiler/tf2xla/ops/ |
D | xla_ops.cc | 51 .Doc(R"doc( 74 .Doc(R"doc( 110 .Doc(R"doc( 148 .Doc(R"doc( 285 .Doc(R"doc( 301 .Doc( 314 .Doc( 327 .Doc(R"doc( 357 .Doc(R"doc( 389 .Doc(R"doc( [all …]
|
/external/fonttools/ |
D | MANIFEST.in | 26 include Doc/Makefile 27 include Doc/make.bat 28 include Doc/docs-requirements.txt 29 include Doc/README.md 30 include Doc/source/assets/img/favicon.ico 31 recursive-include Doc/man/man1 *.1 32 recursive-include Doc/source *.py *.rst
|
/external/llvm-project/llvm/include/llvm/ObjectYAML/ |
D | yaml2obj.h | 53 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);
|
/external/tensorflow/tensorflow/compiler/jit/ops/ |
D | xla_ops.cc | 37 .Doc("XLA Launch Op. For use by the XLA JIT only."); 50 .Doc( 67 .Doc(R"(XLA Compile Op. For use by the XLA JIT only. 92 .Doc(R"(XLA Run Op. For use by the XLA JIT only. 107 .Doc(R"(XLA Merge Op. For use by the XLA JIT only.
|
/external/clang/unittests/Tooling/ |
D | ReplacementsYamlTest.cpp | 22 TranslationUnitReplacements Doc; in TEST() local 24 Doc.MainSourceFile = "/path/to/source.cpp"; in TEST() 25 Doc.Context = "some context"; in TEST() 26 Doc.Replacements in TEST() 28 Doc.Replacements in TEST() 35 YAML << Doc; in TEST()
|
/external/python/cpython2/ |
D | .bzrignore | 24 Doc/tools/sphinx 25 Doc/tools/jinja 26 Doc/tools/jinja2 27 Doc/tools/pygments 28 Doc/tools/docutils
|
/external/tensorflow/tensorflow/core/ops/ |
D | tpu_configuration_ops.cc | 93 .Doc(R"doc( 124 .Doc(R"doc( 146 .Doc(R"doc( 157 .Doc(R"doc( 177 .Doc(R"doc( 194 .Doc(R"doc(
|
D | function_ops.cc | 86 .Doc(R"doc( 113 .Doc(R"doc( 128 .Doc(R"doc( 143 .Doc(R"doc( 157 .Doc(R"doc( 168 .Doc(R"doc(
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ObjectYAML/ |
D | yaml2obj.h | 49 bool yaml2coff(COFFYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH); 50 bool yaml2elf(ELFYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH); 51 bool yaml2macho(YamlObjectFile &Doc, raw_ostream &Out, ErrorHandler EH); 52 bool yaml2minidump(MinidumpYAML::Object &Doc, raw_ostream &Out, 54 bool yaml2wasm(WasmYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH);
|
/external/llvm/include/llvm/Support/ |
D | YAMLParser.h | 157 std::unique_ptr<Document> &Doc; 564 document_iterator() : Doc(nullptr) {} in document_iterator() 565 document_iterator(std::unique_ptr<Document> &D) : Doc(&D) {} in document_iterator() 571 return Doc == Other.Doc; 576 assert(Doc && "incrementing iterator past the end."); 577 if (!(*Doc)->skip()) { 578 Doc->reset(nullptr); 580 Stream &S = (*Doc)->stream; 581 Doc->reset(new Document(S)); 586 Document &operator*() { return *Doc->get(); } [all …]
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | YAMLParser.h | 160 std::unique_ptr<Document> &Doc; 567 document_iterator() : Doc(nullptr) {} in document_iterator() 568 document_iterator(std::unique_ptr<Document> &D) : Doc(&D) {} in document_iterator() 574 return Doc == Other.Doc; 579 assert(Doc && "incrementing iterator past the end."); 580 if (!(*Doc)->skip()) { 581 Doc->reset(nullptr); 583 Stream &S = (*Doc)->stream; 584 Doc->reset(new Document(S)); 589 Document &operator*() { return *Doc->get(); } [all …]
|