Searched refs:offset (Results 226 - 250 of 296) sorted by relevance

1234567891011>>

/system/bt/stack/bnep/
H A Dbnep_main.c478 UINT8 *p = (UINT8 *)(p_buf + 1) + p_buf->offset;
581 p_bcb->p_pending_data->offset = 0;
640 p_buf->offset += p_buf->len - rem_len;
/system/extras/ext4_utils/
H A Dext4fixup.c78 unsigned int group, offset; local
81 offset = (old_inum -1) % info.inodes_per_group;
83 return (group * new_inodes_per_group) + offset + 1;
308 /* The first superblock is offset by 1K to leave room for boot sectors */
/system/update_engine/payload_generator/
H A Dgenerate_delta_main.cc222 for (off_t offset = 0;; offset += buf.size()) {
224 CHECK(utils::PReadAll(fd, buf.data(), buf.size(), offset, &bytes_read));
/system/bt/bta/av/
H A Dbta_av_sbc.c660 p_buf->offset -= BTA_AV_SBC_HDR_SIZE;
661 p = (UINT8 *) (p_buf + 1) + p_buf->offset;
/system/core/libmemunreachable/
H A DAllocator.cpp215 ptrdiff_t offset = reinterpret_cast<uintptr_t>(ptr) local
217 return offset / allocation_size_;
/system/extras/pagecache/
H A Dpagecache.py27 def add_page(self, device_number, inode, offset):
41 def remove_page(self, device_number, inode, offset):
/system/bt/btif/src/
H A Dbtif_pan.c735 buffer->offset = PAN_MINIMUM_OFFSET;
736 buffer->len = PAN_BUF_SIZE - sizeof(BT_HDR) - buffer->offset;
738 UINT8 *packet = (UINT8 *)buffer + sizeof(BT_HDR) + buffer->offset;
777 buffer->offset += sizeof(tETH_HDR);
H A Dbtif_media_task.c144 /* offset */
289 UINT16 offset; member in struct:__anon665
1570 UINT8 *sbc_start_frame = ((UINT8*)(p_msg + 1) + p_msg->offset + 1);
1608 p_msg->offset += (p_msg->len - 1) - sbc_frame_len;
2771 (tBT_SBC_HDR *)osi_malloc(sizeof(tBT_SBC_HDR) + p_pkt->offset +
2773 memcpy((UINT8 *)(p_msg + 1), (UINT8 *)(p_pkt + 1) + p_pkt->offset,
2775 p_msg->num_frames_to_be_processed = (*((UINT8 *)(p_pkt + 1) + p_pkt->offset))& 0x0f;
2777 p_msg->offset = 0;
3010 p_buf->offset = BTIF_MEDIA_AA_SBC_OFFSET;
3017 btif_media_cb.encoder.pu8Packet = (UINT8 *) (p_buf + 1) + p_buf->offset
[all...]
H A Dbtif_gatt_server.c286 p_data->req_data.p_data->read_req.offset,
299 p_data->req_data.p_data->write_req.offset,
/system/bt/hci/src/
H A Dhci_packet_parser.c210 uint8_t *stream = response->data + response->offset;
/system/bt/stack/btu/
H A Dbtu_hcif.c142 UINT8 *p = (UINT8 *)(p_msg + 1) + p_msg->offset;
359 uint8_t *stream = p_buf->data + p_buf->offset;
909 uint8_t *stream = hack->response->data + hack->response->offset + 3; // 2 to skip the event headers, 1 to skip the command credits
1106 uint8_t *stream = hack->command->data + hack->command->offset;
1373 /* If failed to get clock offset just drop the result */
/system/bt/stack/sdp/
H A Dsdpint.h34 /* Continuation length - we use a 2-byte offset */
161 UINT16 attr_offset; /* offset within the attr to keep trak of partial attributes in the responses */
294 extern UINT8 *sdpu_build_partial_attrib_entry (UINT8 *p_out, tSDP_ATTRIBUTE *p_attr, UINT16 len, UINT16 *offset);
/system/connectivity/shill/wifi/
H A Dwake_on_wifi.h367 // |pattern_len| to match against. Bits |offset| to |pattern_len| - 1 are set,
368 // which bits 0 to bits 0 to |offset| - 1 are unset. This mask is saved in
370 static void SetMask(ByteString* mask, uint32_t pattern_len, uint32_t offset);
/system/core/libziparchive/
H A Dzip_archive.cc66 "Invalid offset",
125 * (which aren't null-terminated). The other fields are at a fixed offset
269 * Grab the CD offset and size, and the number of entries in the
403 ALOGW("Zip: bad LFH offset %" PRId64 " at entry %" PRIu16,
492 const uint16_t offset = (ddSignature == DataDescriptor::kOptSignature) ? 4 : 0; local
493 const DataDescriptor* descriptor = reinterpret_cast<const DataDescriptor*>(ddBuf + offset);
502 // Attempts to read |len| bytes into |buf| at offset |off|.
504 // offset is unchanged and there is no side effect to this call.
512 ALOGW("Zip: failed seek to offset %" PRId64, off);
542 // The offset o
[all...]
H A Dzip_archive_stream_entry.cc40 off64_t data_offset = entry.offset;
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/
H A Devent.h83 u16 offset; member in struct:stack_dump
/system/extras/simpleperf/
H A Ddwarf_unwind.cpp117 bt_map.offset = map->pgoff;
/system/extras/tests/ext4/
H A Drand_emmc_perf.c41 off64_t offset; member in struct:stats
/system/update_engine/
H A Dsideload_main.cc196 offset, 0, "The offset in the payload where the CrAU update starts. ");
H A Dupdate_engine_client_android.cc113 DEFINE_int64(offset, 0,
114 "The offset in the payload where the CrAU update starts. "
/system/bt/stack/btm/
H A Dbtm_sco.c279 UINT8 *p = (UINT8 *)(p_msg + 1) + p_msg->offset;
315 ** to be written p_buf needs to carry an offset of
322 ** BTM_ILLEGAL_VALUE: SCO data contains illegal offset value.
342 if (p_buf->offset < HCI_SCO_PREAMBLE_SIZE)
344 BTM_TRACE_ERROR ("BTM SCO - cannot send buffer, offset: %d", p_buf->offset);
351 p_buf->offset -= HCI_SCO_PREAMBLE_SIZE;
353 p = (UINT8 *)(p_buf + 1) + p_buf->offset;
/system/bt/stack/avdt/
H A Davdt_ccb_act.c814 (sizeof(BT_HDR) + p_ccb->p_curr_cmd->offset + p_ccb->p_curr_cmd->len));
854 (sizeof(BT_HDR) + p_msg->offset + p_msg->len));
/system/core/sdcard/
H A Dsdcard.c1241 __u64 offset = req->offset; local
1250 h, h->fd, size, (uint64_t) offset);
1254 res = pread64(h->fd, read_buffer, size, offset);
1277 h, h->fd, req->size, req->offset);
1278 res = pwrite64(h->fd, buffer, req->size, req->offset);
1414 if (req->offset == 0) {
1424 /* increment the offset so we can detect when rewinddir() seeks back to the beginning */
1425 fde->off = req->offset + 1;
/system/tpm/attestation/common/
H A Dtpm_utility_v1.cc681 UINT64 offset = 0; local
685 TSS_RESULT result = Trspi_UnloadBlob_PUBKEY(&offset, buffer, &parsed);
/system/bt/stack/gatt/
H A Dgatt_auth.c97 UINT8 *p, *p_orig = (UINT8 *)(p_buf + 1) + p_buf->offset;

Completed in 1204 milliseconds

1234567891011>>