/external/openthread/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_mps.data | 1 MPS Reader: Single step, single round, pausing disabled 4 MPS Reader: Single step, single round, pausing enabled but unused 7 MPS Reader: Single step, multiple rounds, pausing disabled 10 MPS Reader: Single step, multiple rounds, pausing enabled but unused 13 MPS Reader: Multiple steps, single round, pausing disabled 16 MPS Reader: Multiple steps, single round, pausing enabled but unused 19 MPS Reader: Multiple steps, multiple rounds, pausing disabled 22 MPS Reader: Multiple steps, multiple rounds, pausing enabled but unused 25 MPS Reader: Pausing needed but disabled 28 MPS Reader: Pausing needed + enabled, but buffer too small [all …]
|
/external/mbedtls/tests/suites/ |
D | test_suite_mps.data | 1 MPS Reader: Single step, single round, pausing disabled 4 MPS Reader: Single step, single round, pausing enabled but unused 7 MPS Reader: Single step, multiple rounds, pausing disabled 10 MPS Reader: Single step, multiple rounds, pausing enabled but unused 13 MPS Reader: Multiple steps, single round, pausing disabled 16 MPS Reader: Multiple steps, single round, pausing enabled but unused 19 MPS Reader: Multiple steps, multiple rounds, pausing disabled 22 MPS Reader: Multiple steps, multiple rounds, pausing enabled but unused 25 MPS Reader: Pausing needed but disabled 28 MPS Reader: Pausing needed + enabled, but buffer too small [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/ |
D | RecordSerialization.h | 46 inline Error consume(BinaryStreamReader &Reader) { return Error::success(); } in consume() argument 52 Error consume(BinaryStreamReader &Reader, APSInt &Num); 55 Error consume_numeric(BinaryStreamReader &Reader, uint64_t &Value); 58 Error consume(BinaryStreamReader &Reader, uint32_t &Item); 59 Error consume(BinaryStreamReader &Reader, int32_t &Item); 62 Error consume(BinaryStreamReader &Reader, StringRef &Item); 69 template <typename T> Error consume(BinaryStreamReader &Reader, T *&Item) { in consume() argument 70 return Reader.readObject(Item); in consume() 76 Error deserialize(BinaryStreamReader &Reader) const { in deserialize() 79 return consume(Reader, Item); in deserialize() [all …]
|
D | TypeDeserializer.h | 31 : Stream(RecordData, llvm::support::little), Reader(Stream), in MappingInfo() 32 Mapping(Reader) {} in MappingInfo() 35 BinaryStreamReader Reader; member 105 : Reader(R), Mapping(Reader), StartOffset(0) {} in MappingInfo() 107 BinaryStreamReader &Reader; member 113 explicit FieldListDeserializer(BinaryStreamReader &Reader) : Mapping(Reader) { in FieldListDeserializer() argument 126 Mapping.StartOffset = Mapping.Reader.getOffset(); in visitMemberBegin() 151 uint32_t EndOffset = Mapping.Reader.getOffset(); in visitKnownMemberImpl() 153 Mapping.Reader.setOffset(Mapping.StartOffset); in visitKnownMemberImpl() 154 if (auto EC = Mapping.Reader.readBytes(CVR.Data, RecordLength)) in visitKnownMemberImpl() [all …]
|
/external/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 31 ASTReader &Reader; member in clang::ASTStmtReader 38 return Reader.ReadToken(F, R, I); in ReadToken() 42 return Reader.ReadSourceLocation(F, R, I); in ReadSourceLocation() 46 return Reader.ReadSourceRange(F, R, I); in ReadSourceRange() 50 return Reader.ReadString(R, I); in ReadString() 54 return Reader.GetTypeSourceInfo(F, R, I); in GetTypeSourceInfo() 58 return Reader.ReadDeclID(F, R, I); in ReadDeclID() 62 return Reader.ReadDecl(F, R, I); in ReadDecl() 67 return Reader.ReadDeclAs<T>(F, R, I); in ReadDeclAs() 72 Reader.ReadDeclarationNameLoc(F, DNLoc, Name, R, I); in ReadDeclarationNameLoc() [all …]
|
D | ASTReaderDecl.cpp | 38 ASTReader &Reader; member in clang::ASTDeclReader 68 return Local ? Reader.getGlobalBitOffset(F, Local) : 0; in ReadGlobalOffset() 72 return Reader.ReadSourceLocation(F, R, I); in ReadSourceLocation() 76 return Reader.ReadSourceRange(F, R, I); in ReadSourceRange() 80 return Reader.GetTypeSourceInfo(F, R, I); in GetTypeSourceInfo() 84 return Reader.ReadDeclID(F, R, I); in ReadDeclID() 88 return Reader.ReadString(R, I); in ReadString() 97 return Reader.ReadDecl(F, R, I); in ReadDecl() 102 return Reader.ReadDeclAs<T>(F, R, I); in ReadDeclAs() 107 Reader.ReadQualifierInfo(F, Info, R, I); in ReadQualifierInfo() [all …]
|
D | ASTReaderInternals.h | 42 ASTReader &Reader; variable 82 explicit ASTDeclContextNameLookupTrait(ASTReader &Reader, ModuleFile &F) in ASTDeclContextNameLookupTrait() argument 83 : Reader(Reader), F(F) { } in ASTDeclContextNameLookupTrait() 166 ASTReader &Reader; variable 177 ASTIdentifierLookupTrait(ASTReader &Reader, ModuleFile &F, 179 : Reader(Reader), F(F), KnownII(II) { } in Reader() function 187 ASTReader &getReader() const { return Reader; } in getReader() 198 ASTReader &Reader; variable 217 ASTSelectorLookupTrait(ASTReader &Reader, ModuleFile &F) in ASTSelectorLookupTrait() argument 218 : Reader(Reader), F(F) { } in ASTSelectorLookupTrait() [all …]
|
/external/marisa-trie/lib/marisa/grimoire/io/ |
D | reader.cc | 17 Reader::Reader() in Reader() function in marisa::grimoire::io::Reader 20 Reader::~Reader() { in ~Reader() 26 void Reader::open(const char *filename) { in open() 29 Reader temp; in open() 34 void Reader::open(std::FILE *file) { in open() 37 Reader temp; in open() 42 void Reader::open(int fd) { in open() 45 Reader temp; in open() 50 void Reader::open(std::istream &stream) { in open() 51 Reader temp; in open() [all …]
|
D | reader.h | 13 class Reader { 15 Reader(); 16 ~Reader(); 42 void swap(Reader &rhs); 58 Reader(const Reader &); 59 Reader &operator=(const Reader &);
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/ |
D | PDBStringTable.cpp | 27 Error PDBStringTable::readHeader(BinaryStreamReader &Reader) { in readHeader() argument 28 if (auto EC = Reader.readObject(Header)) in readHeader() 38 assert(Reader.bytesRemaining() == 0); in readHeader() 42 Error PDBStringTable::readStrings(BinaryStreamReader &Reader) { in readStrings() argument 44 if (auto EC = Reader.readStreamRef(Stream)) in readStrings() 53 assert(Reader.bytesRemaining() == 0); in readStrings() 62 Error PDBStringTable::readHashTable(BinaryStreamReader &Reader) { in readHashTable() argument 64 if (auto EC = Reader.readObject(HashCount)) in readHashTable() 67 if (auto EC = Reader.readArray(IDs, *HashCount)) { in readHashTable() 76 Error PDBStringTable::readEpilogue(BinaryStreamReader &Reader) { in readEpilogue() argument [all …]
|
D | PublicsStream.cpp | 59 BinaryStreamReader Reader(*Stream); in reload() local 62 if (Reader.bytesRemaining() < in reload() 68 if (Reader.readObject(Header)) in reload() 73 if (auto E = PublicsTable.read(Reader)) in reload() 78 if (auto EC = Reader.readArray(AddressMap, NumAddressMapEntries)) in reload() 84 if (auto EC = Reader.readArray(ThunkMap, Header->NumThunks)) in reload() 90 if (Reader.bytesRemaining() > 0) { in reload() 91 if (auto EC = Reader.readArray(SectionOffsets, Header->NumSections)) in reload() 97 if (Reader.bytesRemaining() > 0) in reload()
|
D | ModuleDebugStream.cpp | 38 BinaryStreamReader Reader(*Stream); in reload() local 41 if (Error E = reloadSerialize(Reader)) in reload() 44 if (Reader.bytesRemaining() > 0) in reload() 50 Error ModuleDebugStreamRef::reloadSerialize(BinaryStreamReader &Reader) { in reloadSerialize() argument 61 if (auto EC = Reader.readInteger(Signature)) in reloadSerialize() 63 Reader.setOffset(0); in reloadSerialize() 64 if (auto EC = Reader.readSubstream(SymbolsSubstream, SymbolSize)) in reloadSerialize() 66 if (auto EC = Reader.readSubstream(C11LinesSubstream, C11Size)) in reloadSerialize() 68 if (auto EC = Reader.readSubstream(C13LinesSubstream, C13Size)) in reloadSerialize() 82 if (auto EC = Reader.readInteger(GlobalRefsSize)) in reloadSerialize() [all …]
|
D | GlobalsStream.cpp | 41 BinaryStreamReader Reader(*Stream); in reload() local 42 if (auto E = GlobalsTable.read(Reader)) in reload() 94 BinaryStreamReader &Reader) { in readGSIHashHeader() argument 95 if (Reader.readObject(HashHdr)) in readGSIHashHeader() 109 BinaryStreamReader &Reader) { in readGSIHashRecords() argument 119 if (auto EC = Reader.readArray(HashRecords, NumHashRecords)) in readGSIHashRecords() 132 BinaryStreamReader &Reader) { in readGSIHashBuckets() argument 140 if (auto EC = Reader.readArray(HashBitmap, NumBitmapEntries)) in readGSIHashBuckets() 163 if (auto EC = Reader.readArray(HashBuckets, NumBuckets)) in readGSIHashBuckets() 171 Error GSIHashTable::read(BinaryStreamReader &Reader) { in read() argument [all …]
|
/external/pigweed/pw_ring_buffer/public/pw_ring_buffer/ |
D | prefixed_entry_ring_buffer.h | 63 class Reader : public IntrusiveList<Reader>::Item { 65 constexpr Reader() : buffer_(nullptr), read_idx_(0), entry_count_(0) {} in Reader() function 164 constexpr Reader(Reader& reader) in Reader() function 165 : Reader(reader.buffer_, reader.read_idx_, reader.entry_count_) {} in Reader() 166 constexpr Reader(PrefixedEntryRingBufferMulti* buffer, in Reader() function 190 iterator(Reader& reader) in iterator() 287 Status AttachReader(Reader& reader); 296 Status DetachReader(Reader& reader); 382 Status InternalPeekFront(const Reader& reader, 385 Status InternalPeekFront(const Reader& reader, ReadOutput output) const; [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/ |
D | RecordSerialization.cpp | 36 Error llvm::codeview::consume(BinaryStreamReader &Reader, APSInt &Num) { in consume() argument 40 if (auto EC = Reader.readInteger(Short)) in consume() 52 if (auto EC = Reader.readInteger(N)) in consume() 59 if (auto EC = Reader.readInteger(N)) in consume() 66 if (auto EC = Reader.readInteger(N)) in consume() 73 if (auto EC = Reader.readInteger(N)) in consume() 80 if (auto EC = Reader.readInteger(N)) in consume() 87 if (auto EC = Reader.readInteger(N)) in consume() 94 if (auto EC = Reader.readInteger(N)) in consume() 114 Error llvm::codeview::consume_numeric(BinaryStreamReader &Reader, in consume_numeric() argument [all …]
|
D | DebugSubsectionVisitor.cpp | 31 BinaryStreamReader Reader(R.getRecordData()); in visitDebugSubsection() local 35 if (auto EC = Fragment.initialize(Reader)) in visitDebugSubsection() 42 if (auto EC = Fragment.initialize(Reader)) in visitDebugSubsection() 49 if (auto EC = Fragment.initialize(Reader)) in visitDebugSubsection() 55 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection() 61 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection() 67 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection() 73 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection() 79 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection() 85 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection()
|
D | DebugCrossImpSubsection.cpp | 28 BinaryStreamReader Reader(Stream); in operator ()() local 29 if (Reader.bytesRemaining() < sizeof(CrossModuleImport)) in operator ()() 33 if (auto EC = Reader.readObject(Item.Header)) in operator ()() 35 if (Reader.bytesRemaining() < Item.Header->Count * sizeof(uint32_t)) in operator ()() 39 if (auto EC = Reader.readArray(Item.Imports, Item.Header->Count)) in operator ()() 45 BinaryStreamReader Reader) { in initialize() argument 46 return Reader.readArray(References, Reader.bytesRemaining()); in initialize() 50 BinaryStreamReader Reader(Stream); in initialize() local 51 return initialize(Reader); in initialize()
|
D | DebugFrameDataSubsection.cpp | 15 Error DebugFrameDataSubsectionRef::initialize(BinaryStreamReader Reader) { in initialize() argument 16 if (Reader.bytesRemaining() % sizeof(FrameData) != 0) { in initialize() 17 if (auto EC = Reader.readObject(RelocPtr)) in initialize() 21 if (Reader.bytesRemaining() % sizeof(FrameData) != 0) in initialize() 25 uint32_t Count = Reader.bytesRemaining() / sizeof(FrameData); in initialize() 26 if (auto EC = Reader.readArray(Frames, Count)) in initialize() 32 BinaryStreamReader Reader(Section); in initialize() local 33 return initialize(Reader); in initialize()
|
D | DebugInlineeLinesSubsection.cpp | 25 BinaryStreamReader Reader(Stream); in operator ()() local 27 if (auto EC = Reader.readObject(Item.Header)) in operator ()() 32 if (auto EC = Reader.readInteger(ExtraFileCount)) in operator ()() 34 if (auto EC = Reader.readArray(Item.ExtraFiles, ExtraFileCount)) in operator ()() 38 Len = Reader.getOffset(); in operator ()() 45 Error DebugInlineeLinesSubsectionRef::initialize(BinaryStreamReader Reader) { in initialize() argument 46 if (auto EC = Reader.readEnum(Signature)) in initialize() 50 if (auto EC = Reader.readArray(Lines, Reader.bytesRemaining())) in initialize() 53 assert(Reader.bytesRemaining() == 0); in initialize()
|
/external/apache-commons-io/src/test/java/org/apache/commons/io/jmh/ |
D | IOUtilsContentEqualsReadersBenchmark.java | 26 import java.io.Reader; 84 …public static boolean contentEquals_release_2_8_0(final Reader input1, final Reader input2) throws… in contentEquals_release_2_8_0() 106 …public static boolean contentEqualsPr118(final Reader input1, final Reader input2) throws IOExcept… in contentEqualsPr118() 152 …try (Reader input1 = new InputStreamReader(getClass().getResourceAsStream(TEST_PATH_A), DEFAULT_CH… in testFileCurrent() 153 …Reader input2 = new InputStreamReader(getClass().getResourceAsStream(TEST_PATH_B), DEFAULT_CHARSET… in testFileCurrent() 156 …try (Reader input1 = new InputStreamReader(getClass().getResourceAsStream(TEST_PATH_A), DEFAULT_CH… in testFileCurrent() 157 …Reader input2 = new InputStreamReader(getClass().getResourceAsStream(TEST_PATH_A), DEFAULT_CHARSET… in testFileCurrent() 160 …try (Reader input1 = new InputStreamReader(getClass().getResourceAsStream(TEST_PATH_16K_A), DEFAUL… in testFileCurrent() 161 … Reader input2 = new InputStreamReader(getClass().getResourceAsStream(TEST_PATH_16K_A_COPY), in testFileCurrent() 171 …try (Reader input1 = new InputStreamReader(getClass().getResourceAsStream(TEST_PATH_A), DEFAULT_CH… in testFilePr118() [all …]
|
/external/llvm/unittests/Bitcode/ |
D | BitstreamReaderTest.cpp | 39 BitstreamReader Reader(std::begin(Bytes), std::end(Bytes)); in TEST() local 40 BitstreamCursor Cursor(Reader); in TEST() 59 BitstreamReader Reader(std::begin(Bytes), std::end(Bytes)); in TEST() local 60 BitstreamCursor Cursor(Reader); in TEST() 68 BitstreamReader Reader(&Dummy, &Dummy); in TEST() local 69 BitstreamCursor Cursor(Reader); in TEST() 76 BitstreamReader Reader(std::begin(Bytes), std::end(Bytes)); in TEST() local 77 SimpleBitstreamCursor Cursor(Reader); in TEST() 88 BitstreamReader Reader(std::begin(Bytes), std::end(Bytes)); in TEST() local 89 SimpleBitstreamCursor Cursor(Reader); in TEST() [all …]
|
/external/apache-commons-io/src/test/java/org/apache/commons/io/input/ |
D | SequenceReaderTest.java | 26 import java.io.Reader; 39 private static class CustomReader extends Reader { 74 private void checkRead(final Reader reader, final String expected) throws IOException { in checkRead() 80 private void checkReadEof(final Reader reader) throws IOException { in checkReadEof() 88 try (Reader reader = new SequenceReader(new CharSequenceReader("FooBar"))) { in testAutoClose() 97 final Reader reader = new SequenceReader(new CharSequenceReader("FooBar")); in testClose() 148 try (Reader reader = new SequenceReader()) { in testMarkSupported() 155 try (Reader reader = new SequenceReader(new StringReader("Foo"), new StringReader("Bar"))) { in testRead() 168 try (Reader reader = new SequenceReader(new StringReader("Foo"), new StringReader("Bar"))) { in testReadCharArray() 185 try (Reader reader = new SequenceReader(new StringReader("Foo"), new StringReader("Bar"))) { in testReadCharArrayPortion() [all …]
|
/external/pigweed/pw_ring_buffer/ |
D | prefixed_entry_ring_buffer.cc | 30 using Reader = PrefixedEntryRingBufferMulti::Reader; typedef 35 for (Reader& reader : readers_) { in Clear() 55 Status PrefixedEntryRingBufferMulti::AttachReader(Reader& reader) { in AttachReader() 65 const Reader& slowest_reader = GetSlowestReader(); in AttachReader() 74 Status PrefixedEntryRingBufferMulti::DetachReader(Reader& reader) { in DetachReader() 125 for (Reader& reader : readers_) { in InternalPushBack() 144 const Reader& reader, span<byte> data, size_t* bytes_read_out) const { in InternalPeekFront() 150 const Reader& reader, ReadOutput output) const { in InternalPeekFront() 155 const Reader& reader, span<byte> data, size_t* bytes_read_out) const { in InternalPeekFrontWithPreamble() 161 const Reader& reader, ReadOutput output) const { in InternalPeekFrontWithPreamble() [all …]
|
/external/python/pyyaml/lib/yaml/ |
D | loader.py | 11 class BaseLoader(Reader, Scanner, Parser, Composer, BaseConstructor, BaseResolver): 14 Reader.__init__(self, stream) 21 class FullLoader(Reader, Scanner, Parser, Composer, FullConstructor, Resolver): 24 Reader.__init__(self, stream) 31 class SafeLoader(Reader, Scanner, Parser, Composer, SafeConstructor, Resolver): 34 Reader.__init__(self, stream) 41 class Loader(Reader, Scanner, Parser, Composer, Constructor, Resolver): 44 Reader.__init__(self, stream) 55 class UnsafeLoader(Reader, Scanner, Parser, Composer, Constructor, Resolver): 58 Reader.__init__(self, stream)
|
/external/llvm/lib/DebugInfo/PDB/Raw/ |
D | PublicsStream.cpp | 89 codeview::StreamReader Reader(*Stream); in reload() local 92 if (Reader.bytesRemaining() < sizeof(HeaderInfo) + sizeof(GSIHashHeader)) in reload() 97 if (Reader.readObject(Header)) in reload() 101 if (Reader.readObject(HashHdr)) in reload() 110 if (auto EC = Reader.readArray(HashRecords, NumHashRecords)) in reload() 118 if (auto EC = Reader.readBytes(Bitmap, NumBitmapEntries)) in reload() 131 if (auto EC = Reader.readArray(HashBuckets, NumBuckets)) in reload() 138 if (auto EC = Reader.readArray(AddressMap, NumAddressMapEntries)) in reload() 144 if (auto EC = Reader.readArray(ThunkMap, Header->NumThunks)) in reload() 150 if (auto EC = Reader.readArray(SectionOffsets, Header->NumSections)) in reload() [all …]
|