/system/update_engine/ |
D | test_http_server.cc | 77 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 199 const off_t content_length = end_offset - start_offset; in WriteHeaders() 203 if (start_offset || start_offset == end_offset) { in WriteHeaders() 207 Itoa(start_offset == end_offset ? 0 : start_offset) + "-" + in WriteHeaders() 208 Itoa(end_offset - 1) + "/" + Itoa(end_offset) + EOL); in WriteHeaders() 228 const off_t end_offset, in WritePayload() argument [all …]
|
D | libcurl_http_fetcher.cc | 219 size_t end_offset = 0; in ResumeTransfer() local 221 end_offset = static_cast<size_t>(resume_offset_) + download_length_ - 1; in ResumeTransfer() 222 CHECK_LE((size_t)resume_offset_, end_offset); in ResumeTransfer() 228 if (end_offset) in ResumeTransfer() 229 range_str += std::to_string(end_offset); in ResumeTransfer()
|
/system/update_engine/payload_consumer/ |
D | filesystem_verifier_action.cc | 201 const off64_t end_offset, in WriteVerityAndHashPartition() argument 206 if (start_offset >= end_offset) { in WriteVerityAndHashPartition() 207 LOG_IF(WARNING, start_offset > end_offset) in WriteVerityAndHashPartition() 209 << end_offset; in WriteVerityAndHashPartition() 233 std::min<size_t>(buffer_size, end_offset - start_offset); in WriteVerityAndHashPartition() 254 end_offset, in WriteVerityAndHashPartition() 260 const off64_t end_offset, in HashPartition() argument 265 if (start_offset >= end_offset) { in HashPartition() 266 LOG_IF(WARNING, start_offset > end_offset) in HashPartition() 268 << end_offset; in HashPartition() [all …]
|
D | filesystem_verifier_action.h | 90 const off64_t end_offset, 94 const off64_t end_offset,
|
D | verity_writer_android.cc | 91 const uint64_t end_offset = std::min(offset + size, hash_tree_data_end); in Update() local 92 if (start_offset < end_offset) { in Update() 94 buffer + start_offset - offset, end_offset - start_offset)); in Update() 96 if (end_offset == hash_tree_data_end) { in Update()
|
/system/unwinding/libunwindstack/ |
D | DwarfCfa.cpp | 43 bool DwarfCfa<AddressType>::GetLocationInfo(uint64_t pc, uint64_t start_offset, uint64_t end_offset, in GetLocationInfo() argument 62 if ((cfa_offset = memory_->cur_offset()) >= end_offset) { in GetLocationInfo() 189 uint64_t end_offset = memory_->cur_offset(); in LogOffsetRegisterString() local 193 for (uint64_t i = cfa_offset; i < end_offset; i++) { in LogOffsetRegisterString() 224 uint64_t end_offset; in LogInstruction() local 225 if (!memory_->ReadULEB128(&end_offset)) { in LogInstruction() 228 log_string += " " + std::to_string(end_offset); in LogInstruction() 229 end_offset += memory_->cur_offset(); in LogInstruction() 232 op.GetLogInfo(memory_->cur_offset(), end_offset, &expression_lines); in LogInstruction() 233 memory_->set_cur_offset(end_offset); in LogInstruction() [all …]
|
D | DwarfCfa.h | 81 bool GetLocationInfo(uint64_t pc, uint64_t start_offset, uint64_t end_offset, 84 bool Log(uint32_t indent, uint64_t pc, uint64_t start_offset, uint64_t end_offset);
|
D | ElfInterface.cpp | 539 uint64_t end_offset; in GetMaxSize() local 540 if (__builtin_add_overflow(phdr.p_offset, phdr.p_memsz, &end_offset)) { in GetMaxSize() 543 if (end_offset > elf_size) { in GetMaxSize() 544 elf_size = end_offset; in GetMaxSize()
|
D | MemoryXz.cpp | 191 Int64 end_offset = compressed_size_; in ReadBlocks() local 192 if (Xzs_ReadBackward(&xzs, &callbacks, &end_offset, &callbacks, &alloc) == SZ_OK) { in ReadBlocks()
|
D | DwarfOp.cpp | 1594 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/incremental_delivery/incfs/util/ |
D | map_ptr.cpp | 123 size_t end_offset = (data_end - start_block_ptr_) + map_->getDataOffset(); in Verify() local 128 start_offset, end_offset, location.c_str()); in Verify()
|
/system/libufdt/ |
D | ufdt_convert.c | 303 int end_offset; in ufdt_from_fdt() local 304 int start_tag = fdt_next_tag(fdtp, start_offset, &end_offset); in ufdt_from_fdt() 314 fdt_to_ufdt_tree(fdtp, start_offset, &end_offset, start_tag, pool); in ufdt_from_fdt()
|
/system/core/fastboot/device/ |
D | commands.cpp | 815 uint64_t end_offset = start_offset_ + total_size_to_read_; in Fetch() local 818 while (current_offset < end_offset) { in Fetch() 822 uint64_t remaining = end_offset - current_offset; in Fetch()
|
/system/unwinding/libunwindstack/tests/ |
D | DwarfDebugFrameTest.cpp | 479 uint64_t end_offset) { in VerifyCieVersion() argument 491 EXPECT_EQ(0x5000U + end_offset, cie->cfa_instructions_end); in VerifyCieVersion()
|
/system/nfc/src/nfc/tags/ |
D | rw_t1t_ndef.cc | 856 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()
|