/external/libbrillo/brillo/streams/ |
D | memory_stream_unittest.cc | 26 int ReadByte(Stream* stream, brillo::ErrorPtr* error) { in ReadByte() function 209 EXPECT_EQ(5, ReadByte(stream.get(), nullptr)); in TEST() 210 EXPECT_EQ(2, ReadByte(stream.get(), nullptr)); in TEST() 211 EXPECT_EQ(3, ReadByte(stream.get(), nullptr)); in TEST() 213 EXPECT_EQ(-1, ReadByte(stream.get(), &error)); in TEST() 223 EXPECT_EQ(1, ReadByte(stream.get(), nullptr)); in TEST() 224 EXPECT_EQ(2, ReadByte(stream.get(), nullptr)); in TEST() 225 EXPECT_EQ(3, ReadByte(stream.get(), nullptr)); in TEST() 227 EXPECT_EQ(-1, ReadByte(stream.get(), &error)); in TEST() 237 EXPECT_EQ('A', ReadByte(stream.get(), nullptr)); in TEST() [all …]
|
D | file_stream_unittest.cc | 44 inline int ReadByte(Stream* stream) { in ReadByte() function 99 EXPECT_EQ(10, ReadByte(stream)); in TestCreateFile() 100 EXPECT_EQ(11, ReadByte(stream)); in TestCreateFile() 101 EXPECT_EQ(12, ReadByte(stream)); in TestCreateFile() 103 EXPECT_EQ(20, ReadByte(stream)); in TestCreateFile() 109 EXPECT_EQ(20, ReadByte(stream)); in TestCreateFile() 111 EXPECT_EQ(100, ReadByte(stream)); in TestCreateFile() 112 EXPECT_EQ(20, ReadByte(stream)); in TestCreateFile() 115 EXPECT_EQ(255, ReadByte(stream)); in TestCreateFile() 116 EXPECT_EQ(-1, ReadByte(stream)); in TestCreateFile()
|
/external/sfntly/cpp/src/sfntly/table/bitmap/ |
D | big_glyph_metrics.cc | 31 return data_->ReadByte(Offset::kHeight); in Height() 35 return data_->ReadByte(Offset::kWidth); in Width() 39 return data_->ReadByte(Offset::kHoriBearingX); in HoriBearingX() 43 return data_->ReadByte(Offset::kHoriBearingY); in HoriBearingY() 47 return data_->ReadByte(Offset::kHoriAdvance); in HoriAdvance() 51 return data_->ReadByte(Offset::kVertBearingX); in VertBearingX() 55 return data_->ReadByte(Offset::kVertBearingY); in VertBearingY() 59 return data_->ReadByte(Offset::kVertAdvance); in VertAdvance() 77 return InternalReadData()->ReadByte(Offset::kHeight); in Height() 85 return InternalReadData()->ReadByte(Offset::kWidth); in Width() [all …]
|
D | small_glyph_metrics.cc | 31 return data_->ReadByte(Offset::kHeight); in Height() 35 return data_->ReadByte(Offset::kWidth); in Width() 39 return data_->ReadByte(Offset::kBearingX); in BearingX() 43 return data_->ReadByte(Offset::kBearingY); in BearingY() 47 return data_->ReadByte(Offset::kAdvance); in Advance() 65 return InternalReadData()->ReadByte(Offset::kHeight); in Height() 73 return InternalReadData()->ReadByte(Offset::kWidth); in Width() 81 return InternalReadData()->ReadByte(Offset::kBearingX); in BearingX() 89 return InternalReadData()->ReadByte(Offset::kBearingY); in BearingY() 97 return InternalReadData()->ReadByte(Offset::kAdvance); in Advance()
|
D | ebsc_table.cc | 49 return data_->ReadByte(Offset::kBitmapScaleTable_ppemX); in PpemX() 53 return data_->ReadByte(Offset::kBitmapScaleTable_ppemY); in PpemY() 57 return data_->ReadByte(Offset::kBitmapScaleTable_substitutePpemX); in SubstitutePpemX() 61 return data_->ReadByte(Offset::kBitmapScaleTable_substitutePpemY); in SubstitutePpemY()
|
D | bitmap_size_table.cc | 64 return data_->ReadByte(EblcTable::Offset::kBitmapSizeTable_ppemX); in PpemX() 68 return data_->ReadByte(EblcTable::Offset::kBitmapSizeTable_ppemY); in PpemY() 72 return data_->ReadByte(EblcTable::Offset::kBitmapSizeTable_bitDepth); in BitDepth() 304 return InternalReadData()->ReadByte( in PpemX() 309 return InternalReadData()->ReadByte( in PpemY() 314 return InternalReadData()->ReadByte( in BitDepth()
|
/external/lzma/CS/7zip/Compress/RangeCoder/ |
D | RangeCoder.cs | 138 Code = (Code << 8) | (byte)Stream.ReadByte(); in Init() 156 Code = (Code << 8) | (byte)Stream.ReadByte(); in Normalize() 165 Code = (Code << 8) | (byte)Stream.ReadByte(); in Normalize2() 204 code = (code << 8) | (byte)Stream.ReadByte(); in DecodeDirectBits()
|
D | RangeCoderBit.cs | 98 rangeDecoder.Code = (rangeDecoder.Code << 8) | (byte)rangeDecoder.Stream.ReadByte(); in Decode() 110 rangeDecoder.Code = (rangeDecoder.Code << 8) | (byte)rangeDecoder.Stream.ReadByte(); in Decode()
|
/external/lzma/CS/7zip/Common/ |
D | InBuffer.cs | 49 public bool ReadByte(byte b) // check it in ReadByte() method in SevenZip.Buffer.InBuffer 58 public byte ReadByte() in ReadByte() method in SevenZip.Buffer.InBuffer
|
/external/libmojo/mojo/edk/test/ |
D | multiprocess_test_helper_unittest.cc | 43 bool ReadByte(const PlatformHandle& handle, char* c) { in ReadByte() function 88 EXPECT_TRUE(ReadByte(handle.get(), &d)); in TEST_F() 107 EXPECT_TRUE(ReadByte(handle.get(), &c)); in MOJO_MULTIPROCESS_TEST_CHILD_MAIN()
|
/external/sfntly/cpp/src/test/ |
D | open_type_data_test.cc | 34 EXPECT_EQ(-1, data->ReadByte(0)); in TestOTFRead() 36 EXPECT_EQ(0x01, data->ReadByte(1)); in TestOTFRead()
|
D | endian_test.cc | 45 EXPECT_EQ(rfd->ReadByte(5), -54); in TestEndian()
|
D | font_data_test.cc | 146 (*buffer)[index] = (byte_t)(rfd->ReadByte(index)); in ReadFontDataWithSingleByte() 181 byte_t b = (byte_t)(rfd->ReadByte(index)); in WriteFontDataWithSingleByte()
|
/external/sonivox/jet_tools/JetCreator/ |
D | midifile.py | 257 def ReadByte (stream): function 267 bytes.append(ReadByte(stream)) 273 byte = ReadByte(stream) 407 note = ReadByte(stream) 408 velocity = ReadByte(stream) 441 note = ReadByte(stream) 442 velocity = ReadByte(stream) 472 note = ReadByte(stream) 473 value = ReadByte(stream) 498 controller = ReadByte(stream) [all …]
|
/external/lzma/CPP/7zip/Common/ |
D | InBuffer.h | 63 bool ReadByte(Byte &b) in ReadByte() function 71 Byte ReadByte() in ReadByte() function
|
D | CWrappers.h | 74 Byte ReadByte() in ReadByte() function
|
/external/lzma/CPP/7zip/Bundles/LzmaSpec/ |
D | LzmaSpec.cpp | 37 Byte ReadByte() in ReadByte() function 157 Byte b = InStream->ReadByte(); in Init() 160 Code = (Code << 8) | InStream->ReadByte(); in Init() 174 Code = (Code << 8) | InStream->ReadByte(); in Normalize() 632 header[i] = inStream.ReadByte(); in main2()
|
/external/lzma/CPP/7zip/Archive/7z/ |
D | 7zIn.h | 306 Byte ReadByte(); 362 Byte ReadByte() { return _inByteBack->ReadByte(); } in ReadByte() function
|
D | 7zIn.cpp | 93 Byte external = archive->ReadByte(); in Set() 114 Byte CInByte2::ReadByte() in ReadByte() function in NArchive::N7z::CInByte2 371 Byte mainByte = ReadByte(); in ParseFolder() 661 Byte mainByte = inByte->ReadByte(); in ReadUnpackInfo() 1003 b = ReadByte(); in ReadBoolVector() 1013 Byte allAreDefined = ReadByte(); in ReadBoolVector2() 1286 if (ReadByte() != 0) in ReadHeader()
|
/external/sfntly/cpp/src/sfntly/data/ |
D | readable_font_data.cc | 74 int32_t ReadableFontData::ReadByte(int32_t index) { in ReadByte() function in sfntly::ReadableFontData 108 int32_t b1 = ReadByte(index); in ReadShort() 175 int32_t b1 = ReadByte(index); in ReadLong()
|
D | readable_font_data.h | 87 virtual int32_t ReadByte(int32_t index);
|
/external/sfntly/cpp/src/sfntly/table/ |
D | byte_array_table_builder.cc | 31 return data->ReadByte(index); in ByteValue()
|
/external/autotest/client/common_lib/ |
D | i2c_slave.py | 158 byte_read = self.lib_obj.ReadByte(self.fd, reg)
|
/external/zlib/src/contrib/dotzlib/DotZLib/ |
D | GZipStream.cs | 181 public override int ReadByte() in ReadByte() method in DotZLib.GZipStream
|
/external/protobuf/csharp/src/Google.Protobuf/ |
D | CodedInputStream.cs | 817 int b = input.ReadByte(); in ReadRawVarint32() 831 int b = input.ReadByte(); in ReadRawVarint32()
|