Home
last modified time | relevance | path

Searched refs:ReadByte (Results 1 – 25 of 42) 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/libchrome/base/files/
Dfile_descriptor_watcher_posix_unittest.cc134 void ReadByte() { in ReadByte() function in base::__anon7ab4a7fa0111::FileDescriptorWatcherTest
189 ReadByte(); in TEST_P()
208 .WillOnce(testing::Invoke([this]() { ReadByte(); })) in TEST_P()
210 ReadByte(); in TEST_P()
230 ReadByte(); in TEST_P()
234 ReadByte(); in TEST_P()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-generated-sources/com/github/javaparser/
DJavaCharStream.java183 protected char ReadByte() throws java.io.IOException in ReadByte() method in JavaCharStream
289 if ((buffer[bufpos] = c = ReadByte()) == '\\') in readChar()
302 if ((buffer[bufpos] = c = ReadByte()) != '\\') in readChar()
334 while ((c = ReadByte()) == 'u') in readChar()
338 hexval(ReadByte()) << 8 | in readChar()
339 hexval(ReadByte()) << 4 | in readChar()
340 hexval(ReadByte())); in readChar()
/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/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/generated/com/github/javaparser/
DJavaCharStream.java180 protected char ReadByte() throws java.io.IOException in ReadByte() method in JavaCharStream
286 if ((buffer[bufpos] = c = ReadByte()) == '\\') in readChar()
299 if ((buffer[bufpos] = c = ReadByte()) != '\\') in readChar()
331 while ((c = ReadByte()) == 'u') in readChar()
335 hexval(ReadByte()) << 8 | in readChar()
336 hexval(ReadByte()) << 4 | in readChar()
337 hexval(ReadByte())); in readChar()
/external/brotli/csharp/
Dsharpen.cfg16 -methodMapping java.io.InputStream.read() ReadByte
17 -methodMapping org.brotli.dec.BrotliInputStream.read() ReadByte
/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/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/tensorflow/tensorflow/contrib/ignite/kernels/dataset/
Dignite_dataset_iterator.cc167 TF_RETURN_IF_ERROR(client_->ReadByte(&err_msg_header)); in CloseConnection()
235 TF_RETURN_IF_ERROR(client_->ReadByte(&handshake_res)); in Handshake()
245 TF_RETURN_IF_ERROR(client_->ReadByte(&header)); in Handshake()
303 TF_RETURN_IF_ERROR(client_->ReadByte(&err_msg_header)); in ScanQuery()
355 TF_RETURN_IF_ERROR(client_->ReadByte(&err_msg_header)); in LoadNextPage()
395 TF_RETURN_IF_ERROR(client_->ReadByte(&last_page_b)); in ReceivePage()
/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()
/external/lzma/CPP/7zip/Common/
DInBuffer.h64 bool ReadByte(Byte &b) in ReadByte() function
73 Byte ReadByte() in ReadByte() function
DCWrappers.h79 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.h318 Byte ReadByte();
374 Byte ReadByte() { return _inByteBack->ReadByte(); } in ReadByte() function
D7zIn.cpp109 Byte external = archive->ReadByte(); in Set()
130 Byte CInByte2::ReadByte() in ReadByte() function in NArchive::N7z::CInByte2
387 Byte mainByte = ReadByte(); in ParseFolder()
686 Byte mainByte = inByte->ReadByte(); in ReadUnpackInfo()
1028 b = ReadByte(); in ReadBoolVector()
1038 Byte allAreDefined = ReadByte(); in ReadBoolVector2()
1300 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()
/external/sfntly/cpp/src/sfntly/table/
Dbyte_array_table_builder.cc31 return data->ReadByte(index); in ByteValue()
/external/tensorflow/tensorflow/contrib/ignite/kernels/client/
Dignite_client.h35 Status ReadByte(uint8_t *data) { return ReadData(data, 1); } in ReadByte() function

12