/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/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/libbrillo/brillo/streams/ |
fake_stream_unittest.cc | 41 size_t size_read = 0; local 42 bool ok = stream_->ReadNonBlocking(data.data(), data.size(), &size_read, 45 out_buffer->assign(data.data(), data.data() + size_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...] |
/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);
|
/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/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...] |
/system/extras/perfprofd/quipper/ |
perf_reader.cc | 794 size_t size_read = ReadPerfSampleFromData( local 803 if (size_read != expected_size) { 804 LOG(ERROR) << "Read " << size_read << " bytes, expected " 808 return (size_read == expected_size); [all...] |
/hardware/qcom/display/msm8909/libhwcomposer/ |
hwc_mdpcomp.cpp | 2794 ssize_t size_read = read(fd, value, sizeof(value)-1); local [all...] |
/hardware/qcom/display/msm8994/libhwcomposer/ |
hwc_mdpcomp.cpp | 2975 ssize_t size_read = read(fd, value, sizeof(value)-1); local [all...] |