/external/python/cpython2/Lib/ |
D | chunk.py | 70 self.size_read = 0 109 pos = pos + self.size_read 115 self.size_read = pos 120 return self.size_read 130 if self.size_read >= self.chunksize: 133 size = self.chunksize - self.size_read 134 if size > self.chunksize - self.size_read: 135 size = self.chunksize - self.size_read 137 self.size_read = self.size_read + len(data) 138 if self.size_read == self.chunksize and \ [all …]
|
D | wave.py | 245 if nitems * self._sampwidth > chunk.chunksize - chunk.size_read: 246 nitems = (chunk.chunksize - chunk.size_read) // self._sampwidth 249 chunk.size_read = chunk.size_read + nitems * self._sampwidth 252 chunk.size_read = chunk.size_read + nitems * self._sampwidth
|
/external/python/cpython3/Lib/ |
D | chunk.py | 70 self.size_read = 0 109 pos = pos + self.size_read 115 self.size_read = pos 120 return self.size_read 130 if self.size_read >= self.chunksize: 133 size = self.chunksize - self.size_read 134 if size > self.chunksize - self.size_read: 135 size = self.chunksize - self.size_read 137 self.size_read = self.size_read + len(data) 138 if self.size_read == self.chunksize and \ [all …]
|
/external/zlib/src/contrib/minizip/ |
D | minizip.c | 191 unsigned long size_read = 0; in getFileCrc() local 202 size_read = (int)fread(buf,1,size_buf,fin); in getFileCrc() 203 if (size_read < size_buf) in getFileCrc() 210 if (size_read>0) in getFileCrc() 211 calculate_crc = crc32(calculate_crc,buf,size_read); in getFileCrc() 212 total_read += size_read; in getFileCrc() 214 } while ((err == ZIP_OK) && (size_read>0)); in getFileCrc() 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/ |
D | stream.cc | 67 size_t* size_read, in ReadBlocking() argument 71 if (!ReadNonBlocking(buffer, size_to_read, size_read, &eos, error)) in ReadBlocking() 74 if (*size_read > 0 || eos) in ReadBlocking() 89 size_t size_read = 0; in ReadAllBlocking() local 90 if (!ReadBlocking(buffer, size_to_read, &size_read, error)) in ReadAllBlocking() 93 if (size_read == 0) in ReadAllBlocking() 96 size_to_read -= size_read; in ReadAllBlocking() 97 buffer = AdvancePointer(buffer, size_read); in ReadAllBlocking() 325 size_t size_read, in ReadAllAsyncCallback() argument 328 size_to_read -= size_read; in ReadAllAsyncCallback() [all …]
|
D | input_stream_set.cc | 111 size_t* size_read, in ReadNonBlocking() argument 120 if (!stream->ReadNonBlocking(buffer, size_to_read, size_read, &eos, error)) in ReadNonBlocking() 123 if (*size_read > 0 || !eos) { in ReadNonBlocking() 131 *size_read = 0; in ReadNonBlocking()
|
D | memory_containers.cc | 36 size_t* size_read, in Read() argument 52 if (size_read) in Read() 53 *size_read = size_to_read; in Read()
|
D | tls_stream.cc | 85 size_t* size_read, 145 size_t* size_read, in ReadNonBlocking() argument 152 *size_read = static_cast<size_t>(ret); in ReadNonBlocking() 160 *size_read = 0; in ReadNonBlocking() 175 *size_read = 0; in ReadNonBlocking() 491 size_t* size_read, in ReadNonBlocking() argument 496 return impl_->ReadNonBlocking(buffer, size_to_read, size_read, end_of_stream, in ReadNonBlocking()
|
D | stream.h | 237 size_t* size_read, 257 size_t* size_read, 477 size_t size_read,
|
D | fake_stream.cc | 199 size_t* size_read, in ReadNonBlocking() argument 210 *size_read = 0; in ReadNonBlocking() 230 *size_read = size_to_read; in ReadNonBlocking() 237 *size_read = 0; in ReadNonBlocking()
|
D | memory_stream.cc | 142 size_t* size_read, in ReadNonBlocking() argument 151 *size_read = read; in ReadNonBlocking()
|
D | memory_containers.h | 40 size_t* size_read, 75 size_t* size_read,
|
D | file_stream.cc | 444 size_t* size_read, in ReadNonBlocking() argument 457 *size_read = 0; in ReadNonBlocking() 466 *size_read = read; in ReadNonBlocking()
|
D | tls_stream.h | 54 size_t* size_read,
|
D | input_stream_set.h | 82 size_t* size_read,
|
D | fake_stream_unittest.cc | 41 size_t size_read = 0; in ReadString() local 42 bool ok = stream_->ReadNonBlocking(data.data(), data.size(), &size_read, in ReadString() 45 out_buffer->assign(data.data(), data.data() + size_read); in ReadString()
|
D | file_stream.h | 117 size_t* size_read,
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_fs_copy_propagation.cpp | 47 uint8_t size_read; member 167 acp[i]->src, acp[i]->size_read)) { in setup_initial_values() 357 if (!region_contained_in(inst->src[arg], inst->size_read(arg), in try_copy_propagate() 515 if (!region_contained_in(inst->src[i], inst->size_read(i), in try_constant_propagate() 728 inst->src[0], inst->size_read(0))) || in can_propagate_from() 775 if (regions_overlap(entry->src, entry->size_read, in opt_copy_propagation_local() 790 entry->size_read = inst->size_read(0); in opt_copy_propagation_local() 807 entry->size_read = inst->size_read(i); in opt_copy_propagation_local()
|
D | brw_ir_fs.h | 347 unsigned size_read(int arg) const; 446 inst->size_read(i) - in regs_read() 447 MIN2(inst->size_read(i), reg_padding(inst->src[i])), in regs_read()
|
D | brw_vec4_live_variables.cpp | 79 for (unsigned j = 0; j < DIV_ROUND_UP(inst->size_read(i), 16); j++) { in setup_def_use() 258 for (unsigned j = 0; j < DIV_ROUND_UP(inst->size_read(i), 16); j++) { in calculate_live_intervals()
|
D | brw_ir_vec4.h | 286 unsigned size_read(unsigned arg) const; 404 return DIV_ROUND_UP(reg_offset(inst->src[i]) % reg_size + inst->size_read(i), in regs_read()
|
D | brw_fs_cmod_propagation.cpp | 92 inst->src[0], inst->size_read(0))) { in opt_cmod_propagation_local()
|
/external/google-breakpad/src/common/windows/ |
D | http_upload.cc | 220 DWORD size_read; in ReadResponse() local 224 bytes_available, &size_read); in ReadResponse() 226 if (return_code && size_read > 0) { in ReadResponse() 227 total_read += size_read; in ReadResponse() 228 response_body.append(&response_buffer[0], size_read); in ReadResponse()
|
/external/libbrillo/brillo/ |
D | data_encoding.cc | 142 size_t size_read = modp_b64_decode(reinterpret_cast<char*>(output->data()), in Base64Decode() local 144 if (size_read == MODP_B64_ERROR) { in Base64Decode() 148 output->resize(size_read); in Base64Decode()
|
/external/libbrillo/brillo/http/ |
D | http_connection_curl_unittest.cc | 74 size_t size_read = read_callback(buffer, sizeof(buffer), 1, connection); in DoPerform() local 75 if (size_read == CURL_READFUNC_ABORT) in DoPerform() 77 if (size_read == CURL_READFUNC_PAUSE) in DoPerform() 79 if (size_read == 0) in DoPerform() 81 request_body.append(buffer, size_read); in DoPerform()
|