Home
last modified time | relevance | path

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

/system/update_engine/
Dtest_http_server.cc77 off_t end_offset{0}; // non-inclusive, zero indicates unspecified. member
131 request->end_offset = atoll(range.c_str() + range.find('-') + 1) + 1; in ParseRequest()
137 if (request->end_offset > 0) in ParseRequest()
139 &tmp_str, "%jd (non-inclusive)", (intmax_t)request->end_offset); in ParseRequest()
185 const off_t end_offset, in WriteHeaders() argument
198 const off_t content_length = end_offset - start_offset; in WriteHeaders()
202 if (start_offset || start_offset == end_offset) { in WriteHeaders()
206 Itoa(start_offset == end_offset ? 0 : start_offset) + "-" + in WriteHeaders()
207 Itoa(end_offset - 1) + "/" + Itoa(end_offset) + EOL); in WriteHeaders()
227 const off_t end_offset, in WritePayload() argument
[all …]
Dlibcurl_http_fetcher.cc222 size_t end_offset = 0; in ResumeTransfer() local
224 end_offset = static_cast<size_t>(resume_offset_) + download_length_ - 1; in ResumeTransfer()
225 CHECK_LE((size_t)resume_offset_, end_offset); in ResumeTransfer()
231 if (end_offset) in ResumeTransfer()
232 range_str += std::to_string(end_offset); in ResumeTransfer()
/system/core/libunwindstack/
DSymbols.h32 Info(uint64_t start_offset, uint64_t end_offset, uint64_t str_offset) in Info()
33 : start_offset(start_offset), end_offset(end_offset), str_offset(str_offset) {} in Info()
35 uint64_t end_offset; member
DSymbols.cpp48 } else if (addr < info->end_offset) { in GetInfoFromCache()
62 CHECK(addr >= info->start_offset && addr <= info->end_offset); in GetName()
82 uint64_t end_offset = start_offset + entry.st_size; in GetName() local
85 symbols_.emplace_back(start_offset, end_offset, str_offset_ + entry.st_name); in GetName()
88 if (addr >= start_offset && addr < end_offset) { in GetName()
DDwarfCfa.cpp41 bool DwarfCfa<AddressType>::GetLocationInfo(uint64_t pc, uint64_t start_offset, uint64_t end_offset, in GetLocationInfo() argument
60 if ((cfa_offset = memory_->cur_offset()) >= end_offset) { in GetLocationInfo()
187 uint64_t end_offset = memory_->cur_offset(); in LogOffsetRegisterString() local
191 for (uint64_t i = cfa_offset; i < end_offset; i++) { in LogOffsetRegisterString()
218 uint64_t end_offset; in LogInstruction() local
219 if (!memory_->ReadULEB128(&end_offset)) { in LogInstruction()
222 log_string += " " + std::to_string(end_offset); in LogInstruction()
223 end_offset += memory_->cur_offset(); in LogInstruction()
226 op.GetLogInfo(memory_->cur_offset(), end_offset, &expression_lines); in LogInstruction()
227 memory_->set_cur_offset(end_offset); in LogInstruction()
[all …]
DDwarfCfa.h78 bool GetLocationInfo(uint64_t pc, uint64_t start_offset, uint64_t end_offset,
81 bool Log(uint32_t indent, uint64_t pc, uint64_t start_offset, uint64_t end_offset);
DDwarfOp.cpp1594 uint64_t end_offset = memory_->cur_offset(); in GetLogInfo() local
1597 for (size_t i = start_offset; i < end_offset; i++) { in GetLogInfo()
1604 memory_->set_cur_offset(end_offset); in GetLogInfo()
/system/update_engine/payload_consumer/
Dverity_writer_android.cc78 uint64_t end_offset = std::min(offset + size, hash_tree_data_end); in Update() local
79 if (start_offset < end_offset) { in Update()
81 buffer + start_offset - offset, end_offset - start_offset)); in Update()
83 if (end_offset == hash_tree_data_end) { in Update()
/system/libufdt/
Dufdt_convert.c296 int end_offset; in ufdt_from_fdt() local
297 int start_tag = fdt_next_tag(fdtp, start_offset, &end_offset); in ufdt_from_fdt()
299 fdt_to_ufdt_tree(fdtp, start_offset, &end_offset, start_tag, pool); in ufdt_from_fdt()
/system/core/libunwindstack/tests/
DDwarfDebugFrameTest.cpp460 uint64_t end_offset) { in VerifyCieVersion() argument
472 EXPECT_EQ(0x5000U + end_offset, cie->cfa_instructions_end); in VerifyCieVersion()
/system/nfc/src/nfc/tags/
Drw_t1t_ndef.cc856 uint8_t end_offset = T1T_STATIC_SIZE - (2 * T1T_BLOCK_SIZE); in rw_t1t_handle_tlv_detect_rsp() local
863 for (offset = start_offset; offset < end_offset && !failed && !found;) { in rw_t1t_handle_tlv_detect_rsp()