Searched refs:offset (Results 176 - 200 of 502) sorted by relevance

1234567891011>>

/system/extras/tests/lib/testUtil/include/
H A DtestUtil.h61 void testXDumpSetOffset(uint64_t offset);
/system/netd/server/
H A Dndc.cpp161 int offset = 0; local
169 strncpy(tmp, buffer + offset, 3);
173 printf("%s\n", buffer + offset);
178 offset = i + 1;
/system/nfc/src/nfc/llcp/
H A Dllcp_util.cc262 p_msg->offset -= LLCP_PDU_HEADER_SIZE;
265 p = (uint8_t*)(p_msg + 1) + p_msg->offset;
309 p_msg->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE;
311 p = (uint8_t*)(p_msg + 1) + p_msg->offset;
424 p_msg->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE;
426 p = (uint8_t*)(p_msg + 1) + p_msg->offset;
565 p_msg->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE;
567 p = (uint8_t*)(p_msg + 1) + p_msg->offset;
668 p_msg->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE;
670 p = (uint8_t*)(p_msg + 1) + p_msg->offset;
[all...]
/system/chre/host/msm/daemon/
H A Dchre_daemon.cc129 int offset = 0; local
141 offset += snprintf(&line[offset], sizeof(line) - offset, "%02x ",
148 offset = 0;
151 offset += snprintf(&line[offset], sizeof(line) - offset, " ");
155 if (offset > 0) {
158 while (offset < 2
[all...]
/system/extras/simpleperf/
H A Drecord_file_writer.cpp103 file_attr.ids.offset = id_section_offset;
213 off_t offset = ftello(record_fp_); local
214 if (offset == -1) {
218 *file_pos = static_cast<uint64_t>(offset);
379 if (!GetFilePos(&sec.offset)) {
392 uint64_t offset; local
393 if (!GetFilePos(&offset)) {
396 it->second.size = offset - it->second.offset;
421 header.attrs.offset
[all...]
/system/nfc/src/nfc/tags/
H A Drw_t4t.cc96 static bool rw_t4t_read_file(uint16_t offset, uint16_t length,
162 p_c_apdu->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE;
163 p = (uint8_t*)(p_c_apdu + 1) + p_c_apdu->offset;
199 p_c_apdu->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE;
200 p = (uint8_t*)(p_c_apdu + 1) + p_c_apdu->offset;
230 p = (uint8_t*)(p_r_apdu + 1) + p_r_apdu->offset;
279 p_c_apdu->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE;
280 p = (uint8_t*)(p_c_apdu + 1) + p_c_apdu->offset;
318 p_c_apdu->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE;
319 p = (uint8_t*)(p_c_apdu + 1) + p_c_apdu->offset;
652 rw_t4t_read_file(uint16_t offset, uint16_t length, bool is_continue) argument
[all...]
/system/bt/btif/src/
H A Dbtif_gatt_util.cc52 p_dest->attr_value.offset = p_src->attr_value.offset;
/system/bt/service/hal/
H A Dfake_bluetooth_gatt_interface.cc231 int offset, bool is_long) {
234 attr_handle, offset, is_long);
240 int offset, bool is_long) {
243 attr_handle, offset, is_long);
249 int offset, bool need_rsp, bool is_prep, std::vector<uint8_t> value) {
252 attr_handle, offset, need_rsp,
259 int offset, bool need_rsp, bool is_prep, std::vector<uint8_t> value) {
262 attr_handle, offset, need_rsp,
229 NotifyRequestReadCharacteristicCallback( int conn_id, int trans_id, const RawAddress& bda, int attr_handle, int offset, bool is_long) argument
238 NotifyRequestReadDescriptorCallback( int conn_id, int trans_id, const RawAddress& bda, int attr_handle, int offset, bool is_long) argument
247 NotifyRequestWriteCharacteristicCallback( int conn_id, int trans_id, const RawAddress& bda, int attr_handle, int offset, bool need_rsp, bool is_prep, std::vector<uint8_t> value) argument
257 NotifyRequestWriteDescriptorCallback( int conn_id, int trans_id, const RawAddress& bda, int attr_handle, int offset, bool need_rsp, bool is_prep, std::vector<uint8_t> value) argument
/system/bt/vendor_libs/test_vendor_lib/include/
H A Ddevice.h92 // Return the clock offset, which is a defined in the Spec as:
97 // Set the clock offset.
98 void SetClockOffset(uint16_t offset) { clock_offset_ = offset; } argument
/system/core/libappfuse/include/libappfuse/
H A DFuseAppLoop.h37 virtual void OnWrite(uint64_t unique, uint64_t inode, uint64_t offset, uint32_t size,
39 virtual void OnRead(uint64_t unique, uint64_t inode, uint64_t offset, uint32_t size) = 0;
/system/core/libbacktrace/
H A DGetPss.cpp27 #define _BITS(x, offset, bits) (((x) >> (offset)) & ((1LL << (bits)) - 1))
/system/core/libdiskconfig/include/diskconfig/
H A Ddiskconfig.h101 loff_t offset; member in struct:write_list
120 int write_raw_image(const char *dst, const char *src, loff_t offset, int test);
/system/core/libunwindstack/
H A DElf.cpp330 // If elf_offset != 0, then cache both name:offset and name.
337 if (info->offset == 0 || info->elf_offset != 0) {
341 if (info->offset != 0) {
343 // be set to offset when getting out of the cache.
344 (*cache_)[info->name + ':' + std::to_string(info->offset)] =
350 if (info->name.empty() || info->offset == 0 || info->elf_offset == 0) {
360 // been cached. Add an entry at name:offset to get this directly out
363 (*cache_)[info->name + ':' + std::to_string(info->offset)] = std::make_pair(info->elf, true);
369 if (info->offset != 0) {
370 name += ':' + std::to_string(info->offset);
[all...]
/system/core/trusty/storage/interface/include/trusty/interface/
H A Dstorage.h182 * @offset: the offset in the file from whence to read
187 uint64_t offset; member in struct:storage_file_read_req
201 * @offset: the offset in the file from whence to write
206 uint64_t offset; member in struct:storage_file_write_req
/system/nfc/src/adaptation/
H A Dandroid_logmsg.cc80 uint32_t nBytes = ((NFC_HDR_SIZE + p_buf->offset + p_buf->len) * 2) + 1;
84 int data_len = NFC_HDR_SIZE + p_buf->offset + p_buf->len;
/system/tpm/tpm_manager/server/
H A Dtpm_status_impl.cc57 uint64_t offset = 0; local
59 Trspi_UnloadBlob_DA_INFO(&offset, bytes.data(), &da_info);
/system/update_engine/payload_consumer/
H A Dfile_descriptor.h70 // Seeks to an offset. Returns the resulting offset location as measured in
73 virtual off64_t Seek(off64_t offset, int whence) = 0;
120 off64_t Seek(off64_t offset, int whence) override;
H A Dmtd_file_descriptor.h42 off64_t Seek(off64_t offset, int whence) override;
78 off64_t Seek(off64_t offset, int whence) override;
/system/core/include/utils/
H A DFlattenable.h53 static void advance(void*& buffer, size_t& size, size_t offset) { argument
54 buffer = reinterpret_cast<void*>( uintptr_t(buffer) + offset );
55 size -= offset;
58 static void advance(void const*& buffer, size_t& size, size_t offset) { argument
59 buffer = reinterpret_cast<void const*>( uintptr_t(buffer) + offset );
60 size -= offset;
/system/core/libpixelflinger/
H A Draster.cpp77 GGLint offset = GGLint(c->state.scissor.left) - xd; local
79 xs += offset;
80 width -= offset;
83 GGLint offset = GGLint(c->state.scissor.top) - yd; local
85 ys += offset;
86 height -= offset;
/system/core/libutils/include/utils/
H A DFlattenable.h53 static void advance(void*& buffer, size_t& size, size_t offset) { argument
54 buffer = reinterpret_cast<void*>( uintptr_t(buffer) + offset );
55 size -= offset;
58 static void advance(void const*& buffer, size_t& size, size_t offset) { argument
59 buffer = reinterpret_cast<void const*>( uintptr_t(buffer) + offset );
60 size -= offset;
/system/extras/ioshark/
H A Dconvert_format.c45 #define lseek_offset_old u.lseek_a.offset
47 off_t offset; member in struct:ioshark_file_operation_old::__anon1869::lseek_args_old
51 #define prw_offset_old u.prw_a.offset
53 off_t offset; member in struct:ioshark_file_operation_old::__anon1869::prw_args_old
60 #define mmap_offset_old u.mmap_a.offset
64 off_t offset; member in struct:ioshark_file_operation_old::__anon1869::mmap_args_old
/system/bt/stack/avdt/
H A Davdt_msg.cc1064 /* check what kind of message we've got here; we are using the offset
1069 if ((p_ccb->p_curr_msg->offset == AVDT_MSG_OFFSET) &&
1076 else if ((p_ccb->p_curr_msg->offset == AVDT_MSG_OFFSET) &&
1089 p_buf->offset = L2CAP_MIN_OFFSET + hdr_len;
1091 memcpy((uint8_t*)(p_buf + 1) + p_buf->offset,
1092 (uint8_t*)(p_ccb->p_curr_msg + 1) + p_ccb->p_curr_msg->offset,
1096 else if ((p_ccb->p_curr_msg->offset > AVDT_MSG_OFFSET) &&
1106 p_buf->offset = L2CAP_MIN_OFFSET + hdr_len;
1108 memcpy((uint8_t*)(p_buf + 1) + p_buf->offset,
1109 (uint8_t*)(p_ccb->p_curr_msg + 1) + p_ccb->p_curr_msg->offset,
[all...]
/system/bt/stack/avrc/
H A Davrc_bld_tg.cc68 p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset;
127 p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset;
173 p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset;
222 p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset;
292 p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset;
299 len_left = BT_DEFAULT_BUFFER_SIZE - BT_HDR_SIZE - p_pkt->offset - p_pkt->len;
474 BT_DEFAULT_BUFFER_SIZE - BT_HDR_SIZE - p_pkt->offset;
481 uint8_t* p_pdu_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset;
530 p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset;
563 p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset;
1297 uint16_t offset = 0; local
[all...]
/system/bt/stack/gatt/
H A Dgatt_cl.cc35 #define GATT_WRITE_LONG_HDR_SIZE 5 /* 1 opcode + 2 handle + 2 offset */
139 void gatt_act_read(tGATT_CLCB* p_clcb, uint16_t offset) { argument
174 msg.read_blob.offset = offset;
183 msg.read_blob.offset = offset;
308 memcmp(p_rsp_value->value, p_attr->value + p_attr->offset,
317 /* update write offset and check if end of attribute value */
318 if ((p_attr->offset += p_rsp_value->len) >= p_attr->len) exec = true;
334 uint16_t to_send = p_attr->len - p_attr->offset;
342 uint16_t offset = p_attr->offset; local
892 uint16_t offset = p_clcb->counter; local
[all...]

Completed in 526 milliseconds

1234567891011>>