HomeSort by relevance Sort by last modified time
    Searched defs:Read (Results 151 - 175 of 681) sorted by null

1 2 3 4 5 67 8 91011>>

  /prebuilts/go/linux-x86/src/testing/iotest/
reader.go 14 // each non-empty Read by reading one byte from r.
21 func (r *oneByteReader) Read(p []byte) (int, error) {
25 return r.r.Read(p[0:1])
28 // HalfReader returns a Reader that implements Read
36 func (r *halfReader) Read(p []byte) (int, error) {
37 return r.r.Read(p[0 : (len(p)+1)/2])
41 // Reader returns an error (typically EOF) from the first Read call after the
42 // last piece of data is read. DataErrReader wraps a Reader and changes its
53 func (r *dataErrReader) Read(p []byte) (n int, err error) {
58 n1, err1 := r.r.Read(r.data
    [all...]
  /system/nvram/messages/
io.cpp 50 // Read a varint-encoded number from stream, decode it and store the result in
87 bool InputStreamBuffer::Read(void* data, size_t size) {
288 return stream_buffer_->Read(data, size);
  /system/update_engine/payload_consumer/
file_descriptor.cc 41 ssize_t EintrSafeFileDescriptor::Read(void* buf, size_t count) {
43 return HANDLE_EINTR(read(fd_, buf, count));
95 // On some devices, the BLKDISCARD will actually read back as zeros, instead
  /build/soong/third_party/zip/
register.go 80 mu sync.Mutex // guards Close and Read
84 func (r *pooledFlateReader) Read(p []byte) (n int, err error) {
88 return 0, errors.New("Read after Close")
90 return r.fr.Read(p)
  /device/google/cuttlefish_common/guest/hals/audio/
vsoc_audio_input_stream.cpp 93 read = InThunker<ssize_t(void*, size_t)>::call<
94 &GceAudioInputStream::Read>;
184 ssize_t GceAudioInputStream::Read(void* buffer, size_t bytes) {
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/DebugPort/
DebugPort.h 76 EFI_DEBUGPORT_READ Read;
  /device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DebugPort.h 80 @param Timeout The number of microseconds to wait before timing out a read operation.
81 @param BufferSize On input, the requested number of bytes of data to read. On output, the
83 of data read and returned in Buffer.
84 @param Buffer A pointer to a buffer into which the data read will be saved.
86 @retval EFI_SUCCESS The data was read.
101 Checks to see if any data is available to be read from the debugport device.
105 @retval EFI_SUCCESS At least one byte of data is available to be read.
107 @retval EFI_NOT_READY No data is available to be read.
122 EFI_DEBUGPORT_READ Read;
  /external/boringssl/src/ssl/test/runner/
packet_adapter.go 19 // opcodeTimeout signals a read timeout, encoded by a 64-bit number of
24 // opcodeTimeoutAck acknowledges a read timeout. This opcode has no payload and
59 if err := binary.Read(p.Conn, binary.BigEndian, &length); err != nil {
69 func (p *packetAdaptor) Read(b []byte) (int, error) {
95 // SendReadTimeout instructs the peer to simulate a read timeout. It then waits
99 p.log("Simulating read timeout: "+d.String(), nil)
  /external/bsdiff/
extents_file.cc 34 bool ExtentsFile::Read(void* buf, size_t count, size_t* bytes_read) {
35 return IOOperation(&FileInterface::Read, buf, count, bytes_read);
  /external/libbrillo/brillo/streams/
memory_containers.cc 21 "Stream is read-only");
33 bool ContiguousBufferBase::Read(void* buffer,
  /external/libmojo/mojo/public/cpp/bindings/
array_data_view.h 77 bool Read(size_t index, U* output) {
155 bool Read(size_t index, U* output) {
180 bool Read(size_t index, U* output) {
223 // bool Read(size_t index, U* output);
235 // bool Read(size_t index, U* output);
  /external/libmojo/mojo/public/cpp/bindings/tests/
struct_with_traits_impl_traits.h 30 static bool Read(test::NestedStructWithTraits::DataView data,
44 static bool Read(test::StructWithTraits::DataView data,
99 static bool Read(test::PassByValueStructWithTraits::DataView data,
114 static bool Read(test::StructWithTraitsForUniquePtrTest::DataView data,
  /external/ltp/android/tools/
check_success_build.py 146 def Read(self, file_path):
147 """Read a file and return its entire content
156 return file.read()
159 """Read the LTP Android.mk file and seperate modules into
162 return self.Read(self._file_path_android_ltp_mk).split("\n\n")
  /external/lzma/CPP/7zip/Compress/
CopyCoder.cpp 40 HRESULT readRes = inStream->Read(_buf, size, &size);
85 STDMETHODIMP CCopyCoder::Read(void *data, UInt32 size, UInt32 *processedSize)
88 HRESULT res = _inStream->Read(data, size, &realProcessedSize);
  /external/pdfium/core/fxcrt/
cfx_fileaccess_posix.cpp 101 size_t CFX_FileAccess_Posix::Read(void* pBuffer, size_t szBuffer) {
105 return read(m_nFD, pBuffer, szBuffer);
125 return Read(pBuffer, szBuffer);
cfx_fileaccess_windows.cpp 132 size_t CFX_FileAccess_Windows::Read(void* pBuffer, size_t szBuffer) {
168 return Read(pBuffer, szBuffer);
  /external/puffin/src/
file_stream.cc 20 UniqueStreamPtr FileStream::Open(const string& path, bool read, bool write) {
21 TEST_AND_RETURN_VALUE(read || write, nullptr);
23 if (read && write) {
25 } else if (read) {
61 bool FileStream::Read(void* buffer, size_t length) {
66 read(fd_, c_bytes + total_bytes_read, length - total_bytes_read);
  /external/sfntly/cpp/src/sfntly/port/
file_input_stream.cc 60 int32_t FileInputStream::Read() {
79 int32_t FileInputStream::Read(ByteVector* b) {
80 return Read(b, 0, b->size());
83 int32_t FileInputStream::Read(ByteVector* b, int32_t offset, int32_t length) {
146 Read(b, offset, length);
memory_input_stream.cc 56 int32_t MemoryInputStream::Read() {
73 int32_t MemoryInputStream::Read(ByteVector* b) {
74 return Read(b, 0, b->size());
77 int32_t MemoryInputStream::Read(ByteVector* b, int32_t offset, int32_t length) {
137 Read(b, offset, length);
  /prebuilts/go/darwin-x86/src/archive/tar/
reader_test.go 533 // Ensure that we can read back the original Header as written with
650 _, err = io.CopyBuffer(h, tr, rdbuf) // Effectively an incremental read
690 cnt int // Number of bytes to read
691 output string // Expected value of string read
751 _, err = tr.Read([]byte{})
788 cnt int // Expected number of headers read
884 // TestReadHeaderOnly tests that Reader does not attempt to read special
906 // If a special flag, we should read nothing.
    [all...]
tar_test.go 35 func (f *testFile) Read(b []byte) (int, error) {
44 return 0, errors.New("unexpected Read operation")
320 // Read it back.
331 t.Fatalf("Read: %v", err)
839 // Read from the byte buffer.
  /prebuilts/go/darwin-x86/src/archive/zip/
register.go 80 mu sync.Mutex // guards Close and Read
84 func (r *pooledFlateReader) Read(p []byte) (n int, err error) {
88 return 0, errors.New("Read after Close")
90 return r.fr.Read(p)
  /prebuilts/go/darwin-x86/src/compress/bzip2/
bzip2.go 45 // the decompressor may read more data than necessary from r.
85 func (bz2 *reader) Read(buf []byte) (n int, err error) {
102 n, err = bz2.read(buf)
163 func (bz2 *reader) read(buf []byte) (int, error) { func
  /prebuilts/go/darwin-x86/src/crypto/ecdsa/
ecdsa.go 276 // Read replaces the contents of dst with zeros.
277 func (z *zr) Read(dst []byte) (n int, err error) {
  /prebuilts/go/darwin-x86/src/encoding/csv/
reader.go 101 // first call to Read or ReadAll.
123 // If FieldsPerRecord is positive, Read requires each record to
124 // have the given number of fields. If FieldsPerRecord is 0, Read sets it to
138 // ReuseRecord controls whether calls to Read may return a slice sharing
140 // By default, each call to Read returns newly allocated memory owned by the caller.
147 // numLine is the current line being read in the CSV file.
175 // Read reads one record (a slice of fields) from r.
177 // Read returns the record along with the error ErrFieldCount.
178 // Except for that case, Read always returns either a non-nil
180 // If there is no data left to be read, Read returns nil, io.EOF
    [all...]

Completed in 188 milliseconds

1 2 3 4 5 67 8 91011>>