Home
last modified time | relevance | path

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

123

/external/libbrillo/brillo/streams/
Dmemory_stream_test.cc27 int ReadByte(Stream* stream, brillo::ErrorPtr* error) { in ReadByte() function
216 EXPECT_EQ(5, ReadByte(stream.get(), nullptr)); in TEST()
217 EXPECT_EQ(2, ReadByte(stream.get(), nullptr)); in TEST()
218 EXPECT_EQ(3, ReadByte(stream.get(), nullptr)); in TEST()
220 EXPECT_EQ(-1, ReadByte(stream.get(), &error)); in TEST()
230 EXPECT_EQ(1, ReadByte(stream.get(), nullptr)); in TEST()
231 EXPECT_EQ(2, ReadByte(stream.get(), nullptr)); in TEST()
232 EXPECT_EQ(3, ReadByte(stream.get(), nullptr)); in TEST()
234 EXPECT_EQ(-1, ReadByte(stream.get(), &error)); in TEST()
244 EXPECT_EQ('A', ReadByte(stream.get(), nullptr)); in TEST()
[all …]
/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/libwebm/webm_parser/tests/
Dparser_utils_test.cc30 TEST_F(ParserUtilsTest, ReadByte) { in TEST_F() argument
37 status = ReadByte(&reader, &byte); in TEST_F()
41 status = ReadByte(&reader, &byte); in TEST_F()
45 status = ReadByte(&reader, &byte); in TEST_F()
50 status = ReadByte(&reader, &byte); in TEST_F()
55 status = ReadByte(&reader, &byte); in TEST_F()
59 status = ReadByte(&reader, &byte); in TEST_F()
/external/protobuf/csharp/src/Google.Protobuf.Test/Compatibility/
DStreamExtensionsTest.cs59 Assert.AreEqual(0x31, destination.ReadByte()); in CopyToTest()
60 Assert.AreEqual(0x08, destination.ReadByte()); in CopyToTest()
61 Assert.AreEqual(0xFF, destination.ReadByte()); in CopyToTest()
62 Assert.AreEqual(0x00, destination.ReadByte()); in CopyToTest()
63 Assert.AreEqual(-1, destination.ReadByte()); in CopyToTest()
/external/libchrome/base/files/
Dfile_descriptor_watcher_posix_unittest.cc134 void ReadByte() { in ReadByte() function in base::__anonfcf877d80111::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/protobuf/csharp/src/Google.Protobuf.Test/
DByteStringTest.cs180 stream.ReadByte(); in FromStream_Seekable()
191 stream.ReadByte(); in FromStream_NotSeekable()
205 stream.ReadByte(); in FromStreamAsync_Seekable()
216 stream.ReadByte(); in FromStreamAsync_NotSeekable()
/external/libjpeg-turbo/
Drdgif.c141 ReadByte(gif_source_ptr sinfo) in ReadByte() function
160 count = ReadByte(sinfo); in GetDataBlock()
356 cmap[CM_RED][i] = (JSAMPLE)UPSCALE(ReadByte(sinfo)); in ReadColorMap()
357 cmap[CM_GREEN][i] = (JSAMPLE)UPSCALE(ReadByte(sinfo)); in ReadColorMap()
358 cmap[CM_BLUE][i] = (JSAMPLE)UPSCALE(ReadByte(sinfo)); in ReadColorMap()
371 extlabel = ReadByte(sinfo); in DoExtension()
437 c = ReadByte(source); in start_input_gif()
475 source->input_code_size = ReadByte(source); /* get min-code-size byte */ in start_input_gif()
/external/libwebm/webm_parser/src/
Dparser_utils.h22 Status ReadByte(Reader* reader, std::uint8_t* byte);
51 const Status status = ReadByte(reader, &byte); in AccumulateIntegerBytes()
Dparser_utils.cc18 Status ReadByte(Reader* reader, std::uint8_t* byte) { in ReadByte() function
/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()
/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.h64 bool ReadByte(Byte &b) in ReadByte() function
73 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
/external/pigweed/pw_sys_io/public/pw_sys_io/
Dsys_io.h56 Status ReadByte(std::byte* dest);
/external/pigweed/pw_hdlc/
Drpc_packets.cc30 PW_TRY(sys_io::ReadByte(&data)); in ReadAndProcessPackets()

123