Home
last modified time | relevance | path

Searched refs:end_offset (Results 1 – 7 of 7) sorted by relevance

/system/update_engine/
Dtest_http_server.cc79 off_t end_offset{0}; // non-inclusive, zero indicates unspecified. member
129 request->end_offset = atoll(range.c_str() + range.find('-') + 1) + 1; in ParseRequest()
134 if (request->end_offset > 0) in ParseRequest()
136 (intmax_t)request->end_offset); in ParseRequest()
180 ssize_t WriteHeaders(int fd, const off_t start_offset, const off_t end_offset, in WriteHeaders() argument
194 const off_t content_length = end_offset - start_offset;; in WriteHeaders()
198 if (start_offset || start_offset == end_offset) { in WriteHeaders()
202 Itoa(start_offset == end_offset ? 0 : start_offset) + in WriteHeaders()
203 "-" + Itoa(end_offset - 1) + "/" + Itoa(end_offset) + in WriteHeaders()
222 size_t WritePayload(int fd, const off_t start_offset, const off_t end_offset, in WritePayload() argument
[all …]
/system/connectivity/shill/dhcp/
Ddhcpv4_config_unittest.cc387 int end_offset = 3; variable
389 if (arg[end_offset] != "-h" ||
390 arg[end_offset + 1] != kHostName) {
393 end_offset += 2;
397 if (arg[end_offset] != "-i" ||
398 arg[end_offset + 1] != kVendorClass) {
401 end_offset += 2;
405 if (arg[end_offset] != "-R" ||
406 arg[end_offset + 1] != "-P") {
409 end_offset += 2;
[all …]
Ddhcpv6_config_unittest.cc223 int end_offset = 4; variable
227 return arg[end_offset] == device_arg;
Ddhcp_config_unittest.cc166 int end_offset = 2; variable
170 return arg[end_offset] == device_arg;
/system/extras/simpleperf/
Drecord_file_writer.cpp235 uint64_t end_offset; in WriteFeatureEnd() local
236 if (!SeekFileEnd(&end_offset)) { in WriteFeatureEnd()
241 desc.size = end_offset - start_offset; in WriteFeatureEnd()
/system/update_engine/common/
Dlibcurl_http_fetcher.cc166 size_t end_offset = 0; in ResumeTransfer() local
168 end_offset = static_cast<size_t>(resume_offset_) + download_length_ - 1; in ResumeTransfer()
169 CHECK_LE((size_t) resume_offset_, end_offset); in ResumeTransfer()
175 if (end_offset) in ResumeTransfer()
176 range_str += std::to_string(end_offset); in ResumeTransfer()
/system/extras/perfprofd/quipper/
Dperf_reader.cc216 size_t end_offset = *src_offset + size / sizeof(*buffer.ptr); in ReadDataFromBuffer() local
217 if (buffer.size < end_offset) { in ReadDataFromBuffer()
223 *src_offset = end_offset; in ReadDataFromBuffer()