Home
last modified time | relevance | path

Searched refs:ReadByte (Results 1 – 25 of 33) sorted by relevance

12

/external/libbrillo/brillo/streams/
Dmemory_stream_unittest.cc26 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 …]
Dfile_stream_unittest.cc44 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/
Dbig_glyph_metrics.cc31 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 …]
Dsmall_glyph_metrics.cc31 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()
Debsc_table.cc49 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()
Dbitmap_size_table.cc64 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/
DRangeCoder.cs138 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()
DRangeCoderBit.cs98 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/
DInBuffer.cs49 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/
Dmultiprocess_test_helper_unittest.cc43 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/
Dopen_type_data_test.cc34 EXPECT_EQ(-1, data->ReadByte(0)); in TestOTFRead()
36 EXPECT_EQ(0x01, data->ReadByte(1)); in TestOTFRead()
Dendian_test.cc45 EXPECT_EQ(rfd->ReadByte(5), -54); in TestEndian()
Dfont_data_test.cc146 (*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/
Dmidifile.py257 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/
DInBuffer.h63 bool ReadByte(Byte &b) in ReadByte() function
71 Byte ReadByte() in ReadByte() function
DCWrappers.h74 Byte ReadByte() in ReadByte() function
/external/lzma/CPP/7zip/Bundles/LzmaSpec/
DLzmaSpec.cpp37 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/
D7zIn.h306 Byte ReadByte();
362 Byte ReadByte() { return _inByteBack->ReadByte(); } in ReadByte() function
D7zIn.cpp93 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/
Dreadable_font_data.cc74 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()
Dreadable_font_data.h87 virtual int32_t ReadByte(int32_t index);
/external/sfntly/cpp/src/sfntly/table/
Dbyte_array_table_builder.cc31 return data->ReadByte(index); in ByteValue()
/external/autotest/client/common_lib/
Di2c_slave.py158 byte_read = self.lib_obj.ReadByte(self.fd, reg)
/external/zlib/src/contrib/dotzlib/DotZLib/
DGZipStream.cs181 public override int ReadByte() in ReadByte() method in DotZLib.GZipStream
/external/protobuf/csharp/src/Google.Protobuf/
DCodedInputStream.cs817 int b = input.ReadByte(); in ReadRawVarint32()
831 int b = input.ReadByte(); in ReadRawVarint32()

12