Searched refs:offset (Results 126 - 150 of 502) sorted by relevance

1234567891011>>

/system/core/libunwindstack/include/unwindstack/
H A DDwarfSection.h81 virtual bool Init(uint64_t offset, uint64_t size) = 0;
123 FdeInfo(uint64_t offset, uint64_t start, uint64_t length) argument
124 : offset(offset), start(start), end(start + length) {}
126 uint64_t offset; member in struct:unwindstack::DwarfSectionImpl::FdeInfo
134 bool Init(uint64_t offset, uint64_t size) override;
145 const DwarfCie* GetCie(uint64_t offset);
148 const DwarfFde* GetFdeFromOffset(uint64_t offset) override;
H A DMemory.h48 uint64_t offset = reinterpret_cast<uintptr_t>(field) - reinterpret_cast<uintptr_t>(start); local
49 if (__builtin_add_overflow(addr, offset, &offset)) {
52 // The read will check if offset + size overflows.
53 return ReadFully(offset, field, size);
72 uint8_t* GetPtr(size_t offset);
87 bool Init(const std::string& file, uint64_t offset, uint64_t size = UINT64_MAX);
124 // The range [src_begin, src_begin + length) in the underlying Memory is mapped onto offset,
125 // such that range.read(offset) is equivalent to underlying.read(src_begin).
129 uint64_t offset);
[all...]
/system/libfmq/include/fmq/
H A DEventFlag.h39 * @param offset Offset parameter to mmap.
47 static status_t createEventFlag(int fd, off_t offset, EventFlag** ef);
116 EventFlag(int fd, off_t offset, status_t* status);
/system/libhidl/base/include/hidl/
H A DMQDescriptor.h34 uint32_t offset __attribute__ ((aligned(4))); member in struct:android::hardware::GrantorDescriptor
38 static_assert(offsetof(GrantorDescriptor, flags) == 0, "wrong offset");
39 static_assert(offsetof(GrantorDescriptor, fdIndex) == 4, "wrong offset");
40 static_assert(offsetof(GrantorDescriptor, offset) == 8, "wrong offset");
41 static_assert(offsetof(GrantorDescriptor, extent) == 16, "wrong offset");
134 static inline size_t isAlignedToWordBoundary(size_t offset) { argument
136 return (offset & (kAlignmentSize/8 - 1)) == 0;
175 if (isAlignedToWordBoundary(grantors[i].offset) == false) {
188 * for containing the fd and offset fo
[all...]
/system/nfc/src/nfc/tags/
H A Dce_main.cc70 p_data->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE;
71 p = (uint8_t*)(p_data + 1) + p_data->offset;
H A Drw_t1t_ndef.cc188 uint16_t offset; local
194 /* Based on the Command used to read Tag, calculate the offset of the tag read
212 /* Get the exact offset of the dynamic lock byte in the tag */
213 offset = p_t1t->lock_tlv[p_t1t->lockbyte[num_locks].tlv_index].offset +
215 if ((offset < end) && (offset >= start))
220 lock_offset = (offset % T1T_SEGMENT_SIZE);
222 lock_offset = (offset % T1T_BLOCK_SIZE);
224 lock_offset = offset;
290 uint16_t offset; local
343 uint16_t offset; local
843 uint16_t offset; local
1628 uint16_t offset; local
1764 uint16_t offset; local
2418 uint16_t offset; local
[all...]
H A Dce_t4t.cc88 p_r_apdu->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE;
89 p = (uint8_t*)(p_r_apdu + 1) + p_r_apdu->offset;
154 static bool ce_t4t_read_binary(uint16_t offset, uint8_t length) { argument
162 offset, length, p_t4t->status);
181 p_r_apdu->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE;
182 p_dst = (uint8_t*)(p_r_apdu + 1) + p_r_apdu->offset;
186 /* add NLEN before NDEF message and adjust offset */
187 /* if NDEF file is selected and offset < T4T_FILE_LENGTH_SIZE */
189 if (offset == 0) {
197 } else if (offset
238 ce_t4t_update_binary(uint16_t offset, uint8_t length, uint8_t* p_data) argument
545 uint16_t offset, max_file_size; local
[all...]
/system/update_engine/common/
H A Dfile_fetcher.h47 void SetOffset(off_t offset) override { offset_ = offset; }
103 // The offset inside the file where the read should start.
/system/update_engine/payload_consumer/
H A Dextent_reader.h38 // Seeks to the given |offset| assuming all extents are concatenated together.
39 virtual bool Seek(uint64_t offset) = 0;
55 bool Seek(uint64_t offset) override;
/system/core/adf/libadf/tests/
H A Dadf_test.cpp128 char format_str[ADF_FORMAT_STR_SIZE], int &buf_fd, uint32_t &offset,
133 buf_fd = adf_interface_simple_buffer_alloc(intf, w, h, format, &offset,
140 offset);
314 uint32_t offset;
316 int buf_fd = adf_interface_simple_buffer_alloc(intf, w, h, format, &offset,
323 buf_fd = adf_interface_simple_buffer_alloc(intf, w, h, 0xDEADBEEF, &offset,
333 uint32_t w, h, format, offset, pitch;
336 buf_fd, offset, pitch));
342 buf_fd, offset, pitch, -1);
351 uint32_t w, h, format, offset, pitc
[all...]
/system/core/libpixelflinger/codeflinger/
H A DMIPS64Assembler.h121 int Rn, uint32_t offset = 0);
123 int Rn, uint32_t offset = 0);
125 int Rn, uint32_t offset = 0);
127 int Rn, uint32_t offset = 0);
129 int Rn, uint32_t offset = 0);
131 int Rn, uint32_t offset = 0);
133 int Rn, uint32_t offset = 0);
135 int Rn, uint32_t offset = 0);
146 virtual void PLD(int Rn, uint32_t offset);
170 virtual void ADDR_LDR(int cc, int Rd, int Rn, uint32_t offset
[all...]
H A DMIPSAssembler.h116 int Rn, uint32_t offset = 0);
118 int Rn, uint32_t offset = 0);
120 int Rn, uint32_t offset = 0);
122 int Rn, uint32_t offset = 0);
124 int Rn, uint32_t offset = 0);
126 int Rn, uint32_t offset = 0);
128 int Rn, uint32_t offset = 0);
130 int Rn, uint32_t offset = 0);
141 virtual void PLD(int Rn, uint32_t offset);
335 void LW(int Rt, int Rbase, int16_t offset);
[all...]
H A DMIPSAssembler.cpp298 // uint32_t offset = abs(immed8);
310 // uint32_t offset = abs(immed8);
762 void ArmToMipsAssembler::LDR(int cc __unused, int Rd, int Rn, uint32_t offset) argument
766 if (offset > AMODE_UNSUPPORTED) offset = 0;
767 switch (offset) {
796 void ArmToMipsAssembler::LDRB(int cc __unused, int Rd, int Rn, uint32_t offset) argument
800 if (offset > AMODE_UNSUPPORTED) offset = 0;
801 switch (offset) {
825 STR(int cc __unused, int Rd, int Rn, uint32_t offset) argument
861 STRB(int cc __unused, int Rd, int Rn, uint32_t offset) argument
889 LDRH(int cc __unused, int Rd, int Rn, uint32_t offset) argument
933 STRH(int cc __unused, int Rd, int Rn, uint32_t offset) argument
1031 PLD(int Rn __unused, uint32_t offset) argument
1404 int32_t offset = int32_t(target_pc - (bt.pc+1)); local
1699 LW(int Rt, int Rbase, int16_t offset) argument
1704 SW(int Rt, int Rbase, int16_t offset) argument
1710 LB(int Rt, int Rbase, int16_t offset) argument
1715 LBU(int Rt, int Rbase, int16_t offset) argument
1720 SB(int Rt, int Rbase, int16_t offset) argument
1726 LH(int Rt, int Rbase, int16_t offset) argument
1731 LHU(int Rt, int Rbase, int16_t offset) argument
1736 SH(int Rt, int Rbase, int16_t offset) argument
1741 LUI(int Rt, int16_t offset) argument
[all...]
H A DArm64Assembler.h124 int Rn, uint32_t offset = 0);
130 int Rn, uint32_t offset = 0);
133 int Rn, uint32_t offset = 0);
135 int Rn, uint32_t offset = 0);
137 int Rn, uint32_t offset = 0);
139 int Rn, uint32_t offset = 0);
141 int Rn, uint32_t offset = 0);
143 int Rn, uint32_t offset = 0);
145 int Rn, uint32_t offset = 0);
147 int Rn, uint32_t offset
[all...]
/system/extras/libfec/
H A Dfec_private.h74 uint64_t start; /* offset in file */
88 uint64_t metadata_start; /* offset in file */
114 uint64_t offset);
116 uint64_t offset);
120 uint64_t offset, size_t *errors);
123 uint64_t offset, read_func func);
129 extern int verity_parse_header(fec_handle *f, uint64_t offset);
/system/bt/service/ipc/binder/
H A Dbluetooth_gatt_server_binder_server.cc112 int offset, const std::vector<uint8_t>& value, bool* _aidl_return) {
125 static_cast<bluetooth::GATTError>(status), offset, value);
178 int request_id, int offset, bool is_long, uint16_t handle) {
190 offset, is_long, handle); local
195 int request_id, int offset, bool is_long, uint16_t handle) {
207 offset, is_long, handle); local
241 int request_id, int offset, bool is_prepare_write, bool need_response,
254 offset, is_prepare_write, need_response, value, handle); local
259 int request_id, int offset, bool is_prepare_write, bool need_response,
272 offset, is_prepare_writ local
110 SendResponse( int server_id, const String16& device_address, int request_id, int status, int offset, const std::vector<uint8_t>& value, bool* _aidl_return) argument
176 OnCharacteristicReadRequest( bluetooth::GattServer* gatt_server, const std::string& device_address, int request_id, int offset, bool is_long, uint16_t handle) argument
193 OnDescriptorReadRequest( bluetooth::GattServer* gatt_server, const std::string& device_address, int request_id, int offset, bool is_long, uint16_t handle) argument
239 OnCharacteristicWriteRequest( bluetooth::GattServer* gatt_server, const std::string& device_address, int request_id, int offset, bool is_prepare_write, bool need_response, const std::vector<uint8_t>& value, uint16_t handle) argument
257 OnDescriptorWriteRequest( bluetooth::GattServer* gatt_server, const std::string& device_address, int request_id, int offset, bool is_prepare_write, bool need_response, const std::vector<uint8_t>& value, uint16_t handle) argument
[all...]
/system/nfc/src/nfc/llcp/
H A Dllcp_sdp.cc75 llcp_cb.sdp_cb.p_snl->offset -= LLCP_PDU_HEADER_SIZE;
77 p = (uint8_t*)(llcp_cb.sdp_cb.p_snl + 1) + llcp_cb.sdp_cb.p_snl->offset;
107 p = (uint8_t*)(llcp_cb.sdp_cb.p_snl + 1) + llcp_cb.sdp_cb.p_snl->offset +
141 llcp_cb.sdp_cb.p_snl->offset =
149 llcp_cb.sdp_cb.p_snl->offset - llcp_cb.sdp_cb.p_snl->len;
166 llcp_cb.sdp_cb.p_snl->offset =
203 p = (uint8_t*)(llcp_cb.sdp_cb.p_snl + 1) + llcp_cb.sdp_cb.p_snl->offset +
236 llcp_cb.sdp_cb.p_snl->offset =
244 llcp_cb.sdp_cb.p_snl->offset - llcp_cb.sdp_cb.p_snl->len;
259 llcp_cb.sdp_cb.p_snl->offset
[all...]
/system/core/libunwindstack/tests/
H A DMapsTest.cpp40 info->offset = element->offset;
58 ASSERT_EQ(0U, info->offset);
72 EXPECT_EQ(3U, info.offset);
79 EXPECT_EQ(0xcU, info.offset);
86 EXPECT_EQ(3U, info.offset);
145 EXPECT_EQ(0xf0b0d0f010305070UL, info.offset);
151 EXPECT_EQ(0xf0305070UL, info.offset);
171 EXPECT_EQ(0U, info->offset);
179 EXPECT_EQ(0U, info->offset);
[all...]
H A DDwarfEhFrameWithHdrTest.cpp39 void TestSetEntriesOffset(uint64_t offset) { this->entries_offset_ = offset; } argument
41 void TestSetEntriesDataOffset(uint64_t offset) { this->entries_data_offset_ = offset; } argument
42 void TestSetCurEntriesOffset(uint64_t offset) { this->cur_entries_offset_ = offset; } argument
138 EXPECT_EQ(0x1540U, info->offset);
153 EXPECT_EQ(0x3500U, info->offset);
167 EXPECT_EQ(0x500U, info->offset);
175 EXPECT_EQ(0x500U, info->offset);
[all...]
/system/extras/perfprofd/scripts/
H A Dperf_proto_stack.py226 # Get offset, too.
227 offset = 0
232 offset = int(offset_str)
234 logging.warn('error parsing offset from %s', parts[0])
238 offset)
240 unwind_symbols_cache[(path, offset_hex)] = (sym, offset)
241 return [(sym, offset, filename)]
304 # offset = addr - map.start + map.pgoff
306 # offset = addr - map.start (+ min_vaddr)
309 offset
[all...]
/system/keymaster/key_blob_utils/
H A Docb.c620 block offset; /* Memory correct */ member in struct:_ae_ctx
925 block offset, checksum; local
932 ctx->offset = gen_offset_from_nonce(ctx, nonce);
944 offset = ctx->offset;
950 oa[BPI - 1] = offset;
998 ctx->offset = offset = oa[BPI - 1];
1012 oa[0] = xor_block(offset, ctx->L[0]);
1021 offset
1136 block offset, checksum; local
[all...]
/system/core/libutils/
H A DFileMap.cpp129 bool FileMap::create(const char* origFileName, int fd, off64_t offset, size_t length, argument
154 adjust = offset % mPageSize;
155 adjOffset = offset - adjust;
178 assert(offset >= 0);
190 adjust = offset % mPageSize;
191 adjOffset = offset - adjust;
210 mDataOffset = offset;
/system/bt/include/hardware/
H A Dbt_gatt_server.h31 uint16_t offset; member in struct:__anon722
71 int offset, bool is_long);
79 int offset, bool need_rsp, bool is_prep,
/system/bt/stack/test/common/
H A Dstack_test_packet_utils.cc62 packet->offset = 4 + L2CAP_PKT_OVERHEAD;
82 packet->offset = L2CAP_MIN_OFFSET;
86 memcpy(packet->data + packet->offset - acl_l2cap_header_size,
/system/core/libunwindstack/
H A DElfInterfaceArm.h67 bool GetPrel31Addr(uint32_t offset, uint32_t* addr);
71 bool HandleType(uint64_t offset, uint32_t type, uint64_t load_bias) override;
80 uint64_t* offset) override;

Completed in 439 milliseconds

1234567891011>>