HomeSort by relevance Sort by last modified time
    Searched refs:size_read (Results 1 - 25 of 33) sorted by null

1 2

  /prebuilts/gdb/darwin-x86/lib/python2.7/
chunk.py 70 self.size_read = 0
107 pos = pos + self.size_read
113 self.size_read = pos
118 return self.size_read
128 if self.size_read >= self.chunksize:
131 size = self.chunksize - self.size_read
132 if size > self.chunksize - self.size_read:
133 size = self.chunksize - self.size_read
135 self.size_read = self.size_read + len(data
    [all...]
wave.py 242 if nitems * self._sampwidth > chunk.chunksize - chunk.size_read:
243 nitems = (chunk.chunksize - chunk.size_read) / self._sampwidth
246 chunk.size_read = chunk.size_read + nitems * self._sampwidth
249 chunk.size_read = chunk.size_read + nitems * self._sampwidth
  /prebuilts/gdb/linux-x86/lib/python2.7/
chunk.py 70 self.size_read = 0
107 pos = pos + self.size_read
113 self.size_read = pos
118 return self.size_read
128 if self.size_read >= self.chunksize:
131 size = self.chunksize - self.size_read
132 if size > self.chunksize - self.size_read:
133 size = self.chunksize - self.size_read
135 self.size_read = self.size_read + len(data
    [all...]
wave.py 242 if nitems * self._sampwidth > chunk.chunksize - chunk.size_read:
243 nitems = (chunk.chunksize - chunk.size_read) / self._sampwidth
246 chunk.size_read = chunk.size_read + nitems * self._sampwidth
249 chunk.size_read = chunk.size_read + nitems * self._sampwidth
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
chunk.py 70 self.size_read = 0
107 pos = pos + self.size_read
113 self.size_read = pos
118 return self.size_read
128 if self.size_read >= self.chunksize:
131 size = self.chunksize - self.size_read
132 if size > self.chunksize - self.size_read:
133 size = self.chunksize - self.size_read
135 self.size_read = self.size_read + len(data
    [all...]
wave.py 242 if nitems * self._sampwidth > chunk.chunksize - chunk.size_read:
243 nitems = (chunk.chunksize - chunk.size_read) / self._sampwidth
246 chunk.size_read = chunk.size_read + nitems * self._sampwidth
249 chunk.size_read = chunk.size_read + nitems * self._sampwidth
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
chunk.py 70 self.size_read = 0
107 pos = pos + self.size_read
113 self.size_read = pos
118 return self.size_read
128 if self.size_read >= self.chunksize:
131 size = self.chunksize - self.size_read
132 if size > self.chunksize - self.size_read:
133 size = self.chunksize - self.size_read
135 self.size_read = self.size_read + len(data
    [all...]
wave.py 242 if nitems * self._sampwidth > chunk.chunksize - chunk.size_read:
243 nitems = (chunk.chunksize - chunk.size_read) / self._sampwidth
246 chunk.size_read = chunk.size_read + nitems * self._sampwidth
249 chunk.size_read = chunk.size_read + nitems * self._sampwidth
  /external/libweave/src/
streams.cc 24 size_t size_read = std::min(size_to_read, data_.size() - read_position_); local
25 if (size_read > 0)
26 memcpy(buffer, data_.data() + read_position_, size_read);
27 read_position_ += size_read;
29 base::Bind(callback, size_read, nullptr), {});
data_encoding.cc 138 size_t size_read = modp_b64_decode(reinterpret_cast<char*>(output->data()), local
140 if (size_read == MODP_B64_ERROR) {
144 output->resize(size_read);
  /external/zlib/src/contrib/minizip/
minizip.c 191 unsigned long size_read = 0; local
202 size_read = (int)fread(buf,1,size_buf,fin);
203 if (size_read < size_buf)
210 if (size_read>0)
211 calculate_crc = crc32(calculate_crc,buf,size_read);
212 total_read += size_read;
214 } while ((err == ZIP_OK) && (size_read>0));
399 int size_read; local
475 size_read = (int)fread(buf,1,size_buf,fin);
476 if (size_read < size_buf
    [all...]
  /external/libbrillo/brillo/streams/
memory_containers.cc 36 size_t* size_read,
52 if (size_read)
53 *size_read = size_to_read;
stream.cc 67 size_t* size_read,
71 if (!ReadNonBlocking(buffer, size_to_read, size_read, &eos, error))
74 if (*size_read > 0 || eos)
89 size_t size_read = 0; local
90 if (!ReadBlocking(buffer, size_to_read, &size_read, error))
93 if (size_read == 0)
96 size_to_read -= size_read;
97 buffer = AdvancePointer(buffer, size_read);
325 size_t size_read,
328 size_to_read -= size_read;
    [all...]
stream.h 228 // |size_read|.
232 // without blocking, |size_read| will contain 0 and the function will still
237 size_t* size_read,
248 // of data read (which could be 0 bytes) is returned in |size_read|.
252 // before the error has occurred and |size_read| is not updated.
253 // If end of stream is reached, |size_read| will contain 0 and the function
257 size_t* size_read,
477 size_t size_read,
input_stream_set.cc 111 size_t* size_read,
120 if (!stream->ReadNonBlocking(buffer, size_to_read, size_read, &eos, error))
123 if (*size_read > 0 || !eos) {
131 *size_read = 0;
input_stream_set.h 82 size_t* size_read,
tls_stream.h 54 size_t* size_read,
tls_stream.cc 85 size_t* size_read,
145 size_t* size_read,
152 *size_read = static_cast<size_t>(ret);
160 *size_read = 0;
175 *size_read = 0;
491 size_t* size_read,
496 return impl_->ReadNonBlocking(buffer, size_to_read, size_read, end_of_stream,
fake_stream.cc 199 size_t* size_read,
210 *size_read = 0;
230 *size_read = size_to_read;
237 *size_read = 0;
file_stream.h 117 size_t* size_read,
memory_containers.h 34 // size of data read is provided in |size_read|.
40 size_t* size_read,
75 size_t* size_read,
  /external/libbrillo/brillo/
data_encoding.cc 142 size_t size_read = modp_b64_decode(reinterpret_cast<char*>(output->data()), local
144 if (size_read == MODP_B64_ERROR) {
148 output->resize(size_read);
  /external/google-breakpad/src/common/windows/
http_upload.cc 220 DWORD size_read; local
224 bytes_available, &size_read);
226 if (return_code && size_read > 0) {
227 total_read += size_read;
228 response_body.append(&response_buffer[0], size_read);
  /external/autotest/client/virt/
ppm_utils.py 165 size_read = fin.tell()
167 assert(size - size_read == width*height*3)
  /external/libbrillo/brillo/http/
http_connection_curl_unittest.cc 74 size_t size_read = read_callback(buffer, sizeof(buffer), 1, connection); local
75 if (size_read == CURL_READFUNC_ABORT)
77 if (size_read == CURL_READFUNC_PAUSE)
79 if (size_read == 0)
81 request_body.append(buffer, size_read);

Completed in 1724 milliseconds

1 2