Home
last modified time | relevance | path

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

/system/update_engine/
Dtest_http_server.cc78 off_t start_offset{0}; member
128 request->start_offset = atoll(range.c_str() + strlen("bytes=")); in ParseRequest()
135 (intmax_t)request->start_offset); in ParseRequest()
182 ssize_t WriteHeaders(int fd, const off_t start_offset, const off_t end_offset, in WriteHeaders() argument
196 const off_t content_length = end_offset - start_offset;; in WriteHeaders()
200 if (start_offset || start_offset == end_offset) { in WriteHeaders()
204 Itoa(start_offset == end_offset ? 0 : start_offset) + in WriteHeaders()
224 size_t WritePayload(int fd, const off_t start_offset, const off_t end_offset, in WritePayload() argument
226 CHECK_LE(start_offset, end_offset); in WritePayload()
230 << first_byte << "', offset range " << start_offset << " -> " in WritePayload()
[all …]
/system/core/libunwindstack/
DSymbols.cpp45 if (addr < info->start_offset) { in GetInfoFromCache()
64 CHECK(addr >= info->start_offset && addr <= info->end_offset); in GetName()
65 *func_offset = addr - info->start_offset; in GetName()
83 uint64_t start_offset = entry.st_value; in GetName() local
85 start_offset += load_bias; in GetName()
87 uint64_t end_offset = start_offset + entry.st_size; in GetName()
90 symbols_.emplace_back(start_offset, end_offset, str_offset_ + entry.st_name); in GetName()
93 if (addr >= start_offset && addr < end_offset) { in GetName()
94 *func_offset = addr - start_offset; in GetName()
106 [](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.h71 bool GetLocationInfo(uint64_t pc, uint64_t start_offset, uint64_t end_offset,
74 bool Log(uint32_t indent, uint64_t pc, uint64_t load_bias, uint64_t start_offset,
DDwarfOp.cpp142 uint64_t start_offset = memory_->cur_offset(); in GetLogInfo() local
152 memory_->set_cur_offset(start_offset); in GetLogInfo()
153 for (size_t i = start_offset; i < end_offset; i++) { in GetLogInfo()
DElfInterfaceArm.h82 uint64_t start_offset() { return start_offset_; } in start_offset() function
DDwarfCfa.cpp40 bool DwarfCfa<AddressType>::GetLocationInfo(uint64_t pc, uint64_t start_offset, uint64_t end_offset, in GetLocationInfo() argument
50 memory_->set_cur_offset(start_offset); in GetLocationInfo()
268 uint64_t start_offset, uint64_t end_offset) { in Log() argument
269 memory_->set_cur_offset(start_offset); in Log()
/system/core/libunwindstack/tests/
DSymbolsTest.cpp334 uint64_t start_offset = 0x1000; in TYPED_TEST_P() local
336 Symbols symbols(start_offset, 4 * sizeof(TypeParam), sizeof(TypeParam), str_offset, 0x1000); in TYPED_TEST_P()
343 this->memory_.SetMemory(start_offset, &sym, sizeof(sym)); in TYPED_TEST_P()
346 start_offset += sizeof(sym); in TYPED_TEST_P()
353 this->memory_.SetMemory(start_offset, &sym, sizeof(sym)); in TYPED_TEST_P()
356 start_offset += sizeof(sym); in TYPED_TEST_P()
361 this->memory_.SetMemory(start_offset, &sym, sizeof(sym)); in TYPED_TEST_P()
364 start_offset += sizeof(sym); in TYPED_TEST_P()
371 this->memory_.SetMemory(start_offset, &sym, sizeof(sym)); in TYPED_TEST_P()
DElfInterfaceArmTest.cpp275 ASSERT_EQ(0x1000U, interface.start_offset()); in TEST_F()
283 ASSERT_EQ(0x1000U, interface.start_offset()); in TEST_F()
291 ASSERT_EQ(0x2000U, interface.start_offset()); in TEST_F()
296 ASSERT_EQ(0x1000U, interface.start_offset()); in TEST_F()
DElfInterfaceTest.cpp477 ASSERT_EQ(0x2000U, elf_arm.start_offset()); in TEST_F()
/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/extras/perfprofd/scripts/
Dperf_proto_stack_sqlite_flame.py77 def generate_offset(self, start_offset): argument
78 self.offset = start_offset
79 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/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.cc217 int start_offset; in nfa_ee_update_route_aid_size() local
222 start_offset = 0; in nfa_ee_update_route_aid_size()
226 pa = &p_cb->aid_cfg[start_offset]; in nfa_ee_update_route_aid_size()
233 start_offset += p_cb->aid_len[xx]; in nfa_ee_update_route_aid_size()
401 int start_offset = 0; in nfa_ee_add_aid_route_to_ecb() local
410 uint8_t* pa = &p_cb->aid_cfg[start_offset]; in nfa_ee_add_aid_route_to_ecb()
432 start_offset += p_cb->aid_len[xx]; in nfa_ee_add_aid_route_to_ecb()
464 int start_offset = 0; in nfa_ee_add_sys_code_route_to_ecb() local
471 uint8_t* p_sys_code_cfg = &p_cb->sys_code_cfg[start_offset]; in nfa_ee_add_sys_code_route_to_ecb()
483 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_api.cc793 p_clcb->start_offset = p_write->offset; in GATTC_Write()
Dgatt_cl.cc344 offset += p_clcb->start_offset; in gatt_send_prepare_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()