Home
last modified time | relevance | path

Searched refs:start_offset (Results 1 – 22 of 22) sorted by relevance

/system/update_engine/
Dtest_http_server.cc76 off_t start_offset{0}; member
128 request->start_offset = atoll(range.c_str() + strlen("bytes=")); in ParseRequest()
136 (intmax_t)request->start_offset); in ParseRequest()
184 const off_t start_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()
226 const off_t start_offset, in WritePayload() argument
230 CHECK_LE(start_offset, end_offset); in WritePayload()
234 << first_byte << "', offset range " << start_offset << " -> " in WritePayload()
[all …]
/system/core/libunwindstack/
DSymbols.cpp46 if (addr < info->start_offset) { in GetInfoFromCache()
62 CHECK(addr >= info->start_offset && addr <= info->end_offset); in GetName()
63 *func_offset = addr - info->start_offset; in GetName()
81 uint64_t start_offset = entry.st_value; in GetName() local
82 uint64_t end_offset = start_offset + entry.st_size; in GetName()
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()
89 *func_offset = addr - start_offset; in GetName()
101 [](const Info& a, const Info& b) { return a.start_offset < b.start_offset; }); in GetName()
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()
34 uint64_t start_offset; member
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);
DDwarfCfa.cpp41 bool DwarfCfa<AddressType>::GetLocationInfo(uint64_t pc, uint64_t start_offset, uint64_t end_offset, in GetLocationInfo() argument
51 memory_->set_cur_offset(start_offset); in GetLocationInfo()
270 bool DwarfCfa<AddressType>::Log(uint32_t indent, uint64_t pc, uint64_t start_offset, in Log() argument
272 memory_->set_cur_offset(start_offset); in Log()
DElfInterfaceArm.h81 uint64_t start_offset() { return start_offset_; } in start_offset() function
DDwarfSection.cpp657 uint64_t start_offset = next_entries_offset_; in GetNextCieOrFde() local
712 DwarfCie* cie = &cie_entries_[start_offset]; in GetNextCieOrFde()
718 cie_entries_.erase(start_offset); in GetNextCieOrFde()
723 DwarfFde* fde = &fde_entries_[start_offset]; in GetNextCieOrFde()
728 fde_entries_.erase(start_offset); in GetNextCieOrFde()
DDwarfOp.cpp1586 uint64_t start_offset = memory_->cur_offset(); in GetLogInfo() local
1596 memory_->set_cur_offset(start_offset); in GetLogInfo()
1597 for (size_t i = start_offset; i < end_offset; i++) { in GetLogInfo()
/system/core/libunwindstack/tests/
DSymbolsTest.cpp306 uint64_t start_offset = 0x1000; in TYPED_TEST_P() local
308 Symbols symbols(start_offset, 4 * sizeof(TypeParam), sizeof(TypeParam), str_offset, 0x1000); in TYPED_TEST_P()
315 this->memory_.SetMemory(start_offset, &sym, sizeof(sym)); in TYPED_TEST_P()
318 start_offset += sizeof(sym); in TYPED_TEST_P()
325 this->memory_.SetMemory(start_offset, &sym, sizeof(sym)); in TYPED_TEST_P()
328 start_offset += sizeof(sym); in TYPED_TEST_P()
333 this->memory_.SetMemory(start_offset, &sym, sizeof(sym)); in TYPED_TEST_P()
336 start_offset += sizeof(sym); in TYPED_TEST_P()
343 this->memory_.SetMemory(start_offset, &sym, sizeof(sym)); in TYPED_TEST_P()
DElfInterfaceArmTest.cpp253 ASSERT_EQ(0x1000U, interface.start_offset()); in TEST_F()
258 ASSERT_EQ(0x2000U, interface.start_offset()); in TEST_F()
DDwarfDebugFrameTest.cpp459 uint8_t fde_encoding, uint64_t return_address, uint64_t start_offset, in VerifyCieVersion() argument
471 EXPECT_EQ(0x5000U + start_offset, cie->cfa_instructions_offset); in VerifyCieVersion()
DElfInterfaceTest.cpp485 ASSERT_EQ(0x2000U, elf_arm.start_offset()); in TEST_F()
/system/update_engine/payload_consumer/
Dverity_writer_android.cc77 uint64_t start_offset = std::max(offset, partition_->hash_tree_data_offset); in Update() local
79 if (start_offset < end_offset) { in Update()
81 buffer + start_offset - offset, end_offset - start_offset)); in Update()
/system/extras/simpleperf/scripts/inferno/
Ddata_types.py131 def generate_offset(self, start_offset): argument
132 self.offset = start_offset
133 child_offset = start_offset
/system/libufdt/
Dufdt_convert.c290 int start_offset = fdt_path_offset(fdtp, "/"); in ufdt_from_fdt() local
291 if (start_offset < 0) { in ufdt_from_fdt()
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/extras/perfprofd/scripts/
Dperf_proto_stack_sqlite_flame.py79 def generate_offset(self, start_offset): argument
80 self.offset = start_offset
81 child_offset = start_offset
/system/extras/boottime_tools/io_analysis/
Dcheck_file_read.py90 start_offset = min(total_read_offsets)
94 self.add_if_single_block(self.block_single_block_accesses, total_lens, start_offset, \
97 self.blocks_histogram[start_offset + s] = self.blocks_histogram.get(start_offset + s, 0) + 1
/system/nfc/src/nfa/ee/
Dnfa_ee_act.cc226 int start_offset; in nfa_ee_update_route_aid_size() local
231 start_offset = 0; in nfa_ee_update_route_aid_size()
235 pa = &p_cb->aid_cfg[start_offset]; in nfa_ee_update_route_aid_size()
242 start_offset += p_cb->aid_len[xx]; in nfa_ee_update_route_aid_size()
413 int start_offset = 0; in nfa_ee_add_aid_route_to_ecb() local
422 uint8_t* pa = &p_cb->aid_cfg[start_offset]; in nfa_ee_add_aid_route_to_ecb()
444 start_offset += p_cb->aid_len[xx]; in nfa_ee_add_aid_route_to_ecb()
476 int start_offset = 0; in nfa_ee_add_sys_code_route_to_ecb() local
483 uint8_t* p_sys_code_cfg = &p_cb->sys_code_cfg[start_offset]; in nfa_ee_add_sys_code_route_to_ecb()
495 start_offset += NFA_EE_SYSTEM_CODE_LEN; in nfa_ee_add_sys_code_route_to_ecb()
/system/bt/stack/gatt/
Dgatt_int.h316 uint16_t start_offset; member
Dgatt_cl.cc343 offset += p_clcb->start_offset; in gatt_send_prepare_write()
Dgatt_api.cc793 p_clcb->start_offset = p_write->offset; in GATTC_Write()
/system/nfc/src/nfc/tags/
Drw_t1t_ndef.cc855 uint8_t start_offset = T1T_UID_LEN + T1T_CC_LEN + T1T_RES_BYTE_LEN; 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()