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

<<11121314151617181920>>

  /external/lzma/CPP/7zip/Compress/
Bcj2Coder.cpp 151 UInt64 totalStreamRead = 0; // size read from InputStream
273 RINOK(inStreams[0]->Read(_bufs[BCJ2_NUM_STREAMS], curSize, &curSize));
275 // printf("Read %6d bytes\n", curSize);
399 we want to call Read even even if size is 0
408 HRESULT res2 = inStreams[dec.state]->Read(_bufs[dec.state] + totalRead, curSize, &curSize);
545 STDMETHODIMP CDecoder::Read(void *data, UInt32 size, UInt32 *processedSize)
604 HRESULT res2 = _inStreams[dec.state]->Read(_bufs[dec.state] + totalRead, curSize, &curSize);
  /external/lzma/CPP/Windows/
FileIO.cpp 325 // If you Read or Write 64MB or more (probably min_failure_size = 64MB - 32KB + 1)
350 bool CInFile::Read(void *data, UInt32 size, UInt32 &processedSize) throw()
  /external/lzma/CS/7zip/Compress/LzmaAlone/
LzmaBench.cs 134 public override int Read(byte[] buffer, int offset, int count) { return 0; }
  /external/protobuf/src/google/protobuf/io/
zero_copy_stream_impl.cc 138 int FileInputStream::CopyingFileInputStream::Read(void* buffer, int size) {
143 result = read(file_, buffer, size);
147 // Read error (not EOF).
303 int IstreamInputStream::CopyingIstreamInputStream::Read(
305 input_->read(reinterpret_cast<char*>(buffer), size);
  /external/protobuf/src/google/protobuf/
map_type_handler.h 143 // Enum type cannot be used for MapTypeHandler::Read. Define a type which will
163 static inline bool Read(io::CodedInputStream* input,
219 static inline bool Read(io::CodedInputStream* input, \
404 inline bool MapTypeHandler<WireFormatLite::TYPE_MESSAGE, Type>::Read(
410 inline bool MapTypeHandler<WireFormatLite::TYPE_STRING, Type>::Read(
416 inline bool MapTypeHandler<WireFormatLite::TYPE_BYTES, Type>::Read(
423 inline bool MapTypeHandler<WireFormatLite::TYPE_##FieldType, Type>::Read( \
    [all...]
  /external/puffin/src/
puffin_stream.cc 207 bool PuffinStream::Read(void* buffer, size_t count) {
218 // Reading between two deflates. We also read bytes that have at least one
228 TEST_AND_RETURN_FALSE(stream_->Read(bytes + bytes_read, bytes_to_read));
230 // If true, we read the first byte of the curret deflate. So we have to
237 // If true, we read the last byte of the previous deflate and we have to
247 // Pass |deflate_bit_pos_| for all the read bytes.
259 // Reading the deflate itself. We read all bytes including the first and
278 stream_->Read(deflate_buffer_->data(), bytes_to_read));
352 // current deflate does not end in a byte boundary, then we have to read
  /external/syslinux/efi32/include/efi/
efiser.h 126 EFI_SERIAL_READ Read;
  /external/syslinux/efi32/include/efi/protocol/
efidbg.h 155 EFI_DEBUGPORT_IO_READ Read;
  /external/syslinux/efi64/include/efi/
efiser.h 126 EFI_SERIAL_READ Read;
  /external/syslinux/efi64/include/efi/protocol/
efidbg.h 155 EFI_DEBUGPORT_IO_READ Read;
  /external/syslinux/gnu-efi/gnu-efi-3.0/inc/
efiser.h 126 EFI_SERIAL_READ Read;
  /external/syslinux/gnu-efi/gnu-efi-3.0/inc/protocol/
efidbg.h 155 EFI_DEBUGPORT_IO_READ Read;
  /external/v8/samples/
shell.cc 55 void Read(const v8::FunctionCallbackInfo<v8::Value>& args);
116 // Bind the global 'read' function to the C++ Read callback.
118 isolate, "read", v8::NewStringType::kNormal).ToLocalChecked(),
119 v8::FunctionTemplate::New(isolate, Read));
159 // The callback that is invoked by v8 whenever the JavaScript 'read'
162 void Read(const v8::FunctionCallbackInfo<v8::Value>& args) {
310 // The read-eval-execute loop of the shell.
  /external/webrtc/webrtc/base/
filerotatingstream.cc 72 // |file_names_| is sorted newest first, so read from the end.
93 StreamResult FileRotatingStream::Read(void* buffer,
95 size_t* read,
115 StreamResult result = file_stream_->Read(buffer, buffer_len, read, error);
118 LOG(LS_ERROR) << "Failed to read from: "
121 // Reached the end of the file, read next file. If there is an error return
122 // the error status but allow for a next read by reading next file.
130 if (read) {
131 *read = 0
    [all...]
fileutils_mock.h 31 virtual StreamResult Read(void* buffer, size_t buffer_len,
32 size_t* read, int* error) {
33 return string_stream_.Read(buffer, buffer_len, read, error);
  /external/webrtc/webrtc/p2p/base/
dtlstransportchannel.cc 31 // Maximum number of pending packets in the queue. Packets are read immediately
50 rtc::StreamResult StreamInterfaceChannel::Read(void* buffer,
52 size_t* read,
59 if (!packets_.ReadFront(buffer, buffer_len, read)) {
82 // We force a read event here to ensure that we don't overflow our queue.
544 size_t read; local
545 if (dtls_->Read(buf, sizeof(buf), &read, NULL) == rtc::SR_SUCCESS) {
546 SignalReadPacket(this, buf, read, rtc::CreatePacketTime(0), 0);
  /frameworks/native/libs/vr/libpdx/
service.cpp 105 Status<size_t> Message::Read(void* buffer, size_t length) {
106 PDX_TRACE_NAME("Message::Read");
  /prebuilts/go/darwin-x86/src/bufio/
bufio.go 34 r, w int // buf read and write positions
69 // the buffered reader to read from r.
83 var errNegativeRead = errors.New("bufio: reader returned negative count from Read")
98 // Read new data: try a limited number of times.
100 n, err := b.rd.Read(b.buf[b.w:])
123 // being valid at the next read call. If Peek returns fewer than n bytes, it
124 // also returns an error explaining why the read is short. The error is
185 // Read reads data into p.
186 // It returns the number of bytes read into p.
187 // The bytes are taken from at most one Read on the underlying Reader
    [all...]
  /prebuilts/go/darwin-x86/src/bytes/
buffer.go 15 // A Buffer is a variable-sized buffer of bytes with Read and Write methods.
19 off int // read at &buf[off], write at &buf[len(buf)]
21 lastRead readOp // last read operation, so that Unread* can work correctly.
30 // converted to int they correspond to the rune size that was read.
36 opRead readOp = -1 // Any other read operation.
37 opInvalid readOp = 0 // Non-read operation.
38 opReadRune1 readOp = 1 // Read rune of size 1.
39 opReadRune2 readOp = 2 // Read rune of size 2.
40 opReadRune3 readOp = 3 // Read rune of size 3.
41 opReadRune4 readOp = 4 // Read rune of size 4
    [all...]
  /prebuilts/go/darwin-x86/src/crypto/tls/
conn.go 87 input *block // application data waiting to be read
88 hand bytes.Buffer // handshake data waiting to be read
123 // SetDeadline sets the read and write deadlines associated with the connection.
124 // A zero value for t means Read and Write will not time out.
130 // SetReadDeadline sets the read deadline on the underlying connection.
131 // A zero value for t means Read will not time out.
453 off int // index for Read
490 // read until have enough.
493 m, err := r.Read(b.data[len(b.data):cap(b.data)])
497 // that we're throwing away r.Read's err here
    [all...]
handshake_client_test.go 51 func (i opensslInput) Read(buf []byte) (n int, err error) {
326 // a goroutine to call client.Read and thus process the
330 // client.Read to complete.
341 n, err := client.Read(buf)
352 t.Errorf("Client.Read failed after renegotiation #%d: %s", i, err)
358 t.Errorf("Client.Read returned %q, but wanted %q", string(buf), opensslSentinel)
396 t.Fatalf("%s #%d: mismatch on read: got:%x want:%x", test.name, i, bb, b)
703 t.Fatalf("Failed to read new SessionTicketKey: %s", err)
    [all...]
  /prebuilts/go/darwin-x86/src/encoding/binary/
binary_test.go 126 err := Read(bytes.NewReader(b), order, &s2)
127 checkResult(t, "Read", order, err, s2, s1)
146 err := Read(bytes.NewReader(src), BigEndian, slice)
159 err = Read(bytes.NewReader([]byte{0}), BigEndian, &res)
162 err = Read(bytes.NewReader([]byte{1}), BigEndian, &res)
165 err = Read(bytes.NewReader([]byte{2}), BigEndian, &res)
171 err := Read(bytes.NewReader([]byte{0, 1, 2, 255}), BigEndian, slice)
211 err = Read(buf, BigEndian, dstSlice.Interface())
275 if err := Read(buf, LittleEndian, &p); err != nil {
289 // read should ignore blank fields in b
    [all...]
  /prebuilts/go/darwin-x86/src/encoding/gob/
debug.go 58 data []byte // read-ahead data
66 // Read is the usual method. It will first take data that has been read ahead.
67 func (p *peekReader) Read(b []byte) (n int, err error) {
69 return p.r.Read(b)
71 // Satisfy what's possible from the read-ahead data.
164 // Debug prints a human-readable representation of the gob data read from r.
210 errorf("debug: read error: %s", err)
241 // loadBlock preps us to read a message
334 nb, _ := deb.r.Read(b
    [all...]
  /prebuilts/go/darwin-x86/src/encoding/xml/
xml_test.go 242 func (d *downCaser) Read(p []byte) (int, error) {
243 d.t.Fatalf("unexpected Read call on downCaser reader")
  /prebuilts/go/darwin-x86/src/image/gif/
reader.go 109 tmp [1024]byte // must be at least 768 so we can read color table
158 // blockReader must implement io.Reader, but its Read shouldn't ever actually
160 func (b *blockReader) Read(p []byte) (int, error) {
311 // nothing to do but read the data.
355 return fmt.Errorf("gif: can't read graphic control: %s", err)
436 // the io.ReadFull call above successfully read len(m.Pix) bytes.
438 if n, err := lzwr.Read(d.tmp[256:257]); n != 0 || (err != io.EOF && err != io.ErrUnexpectedEOF) {
482 return nil, fmt.Errorf("gif: can't read image descriptor: %s", err)

Completed in 1710 milliseconds

<<11121314151617181920>>