/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/libweave/src/ |
D | streams.cc | 24 size_t size_read = std::min(size_to_read, data_.size() - read_position_); in Read() local 25 if (size_read > 0) in Read() 26 memcpy(buffer, data_.data() + read_position_, size_read); in Read() 27 read_position_ += size_read; in Read() 29 base::Bind(callback, size_read, nullptr), {}); in Read()
|
D | data_encoding.cc | 138 size_t size_read = modp_b64_decode(reinterpret_cast<char*>(output->data()), in Base64Decode() local 140 if (size_read == MODP_B64_ERROR) { in Base64Decode() 144 output->resize(size_read); in Base64Decode()
|
/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_containers.h | 40 size_t* size_read, 75 size_t* size_read,
|
D | memory_stream.cc | 142 size_t* size_read, in ReadNonBlocking() argument 151 *size_read = read; in ReadNonBlocking()
|
D | tls_stream.h | 54 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 | 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,
|
D | fake_stream.h | 99 size_t* size_read,
|
D | memory_stream.h | 165 size_t* size_read,
|
/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()
|
/external/autotest/client/virt/ |
D | ppm_utils.py | 165 size_read = fin.tell() 167 assert(size - size_read == width*height*3)
|