/system/core/liblog/ |
H A D | pmsg_reader.c | 376 size_t offset; local 389 offset = split - prefix; 390 if ((msg[offset + sizeof(prio)] != ':') || 391 strncmp(msg + sizeof(prio), prefix, offset)) { 394 ++offset; 395 if ((prefix_len > offset) && strncmp(&msg[offset + sizeof(prio)], 396 split + 1, prefix_len - offset)) {
|
/system/core/libziparchive/include/ziparchive/ |
H A D | zip_archive.h | 102 // The offset to the start of data for this ZipEntry. 103 off64_t offset; member in struct:ZipEntry 200 * its current offset, and the file will be truncated at the end of 250 virtual bool ReadAtOffset(uint8_t* buf, size_t len, uint32_t offset) const = 0;
|
/system/extras/ioshark/ |
H A D | compile_ioshark.c | 244 get_mmap_offset_len_prot(char *buf, int *prot, off_t *offset, u_int64_t *len) argument 289 sscanf(s, "%jx", offset); 294 off_t *offset, char *action) 305 sscanf(s, "%ju", offset); 350 off_t *offset, 370 sscanf(s_offset + 2, "%ju", offset); 376 off_t *offset, 395 if (sscanf(s_offset, "%ju %ju", offset, len) != 2) { 293 get_lseek_offset_action(char *buf, enum file_op op, off_t *offset, char *action) argument 349 get_prw64_offset_len(char *buf, off_t *offset, u_int64_t *len) argument 375 get_ftrace_offset_len(char *buf, off_t *offset, u_int64_t *len) argument
|
/system/extras/perfprofd/ |
H A D | map_utils.h | 31 AggregatedSymbol(const SymType& sym, const ValType& offset) : symbol(sym) { argument 32 offsets.insert(offset);
|
/system/media/audio_utils/ |
H A D | echo_reference.c | 405 int offset = er->frames_in - previousFrameIn; local 420 if (offset > 0) { 422 0, offset * er->rd_frame_size); 423 ALOGV("echo_reference_read(): pushing ref buffer by [%d]", offset); 427 offset = -offset; 428 if (offset > 0) { 429 memcpy(er->buffer, (char *)er->buffer + (offset * er->rd_frame_size),
|
/system/nfc/src/nfc/tags/ |
H A D | rw_main.cc | 179 p_data->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE; 180 p = (uint8_t*)(p_data + 1) + p_data->offset;
|
/system/tools/hidl/ |
H A D | VectorType.h | 110 const std::string &offset, 120 const std::string &offset,
|
H A D | ScalarType.h | 96 const std::string &offset,
|
/system/update_engine/ |
H A D | libcurl_http_fetcher.h | 48 void SetOffset(off_t offset) override { bytes_downloaded_ = offset; } 227 // If we resumed an earlier transfer, data offset that we used for the
|
/system/update_engine/payload_generator/ |
H A D | deflate_utils_unittest.cc | 43 bit_extents.emplace_back(byte_extent.offset * 8 + (byte_extent.offset & 7),
|
H A D | full_update_generator.cc | 49 // Read a chunk of |size| bytes from |fd| starting at offset |offset|. 52 off_t offset, 58 offset_(offset), 68 // new operation to generate the region starting at |offset| of size |size| 50 ChunkProcessor(const PayloadVersion& version, int fd, off_t offset, size_t size, BlobFileWriter* blob_file, AnnotatedOperation* aop) argument
|
H A D | squashfs_filesystem.cc | 155 // Sort all files by their offset in the squashfs. 226 return a.offset < b.offset; 234 return (a.offset + a.length) > b.offset;
|
/system/chre/host/common/include/chre_host/ |
H A D | host_protocol_host.h | 146 * @param offset The AP to SLPI offset in nanoseconds 149 int64_t offset);
|
/system/core/libbacktrace/ |
H A D | UnwindStackMap.h | 48 virtual std::string GetFunctionName(uint64_t pc, uint64_t* offset) override;
|
/system/core/libunwindstack/include/unwindstack/ |
H A D | Maps.h | 45 void Add(uint64_t start, uint64_t end, uint64_t offset, uint64_t flags, const std::string& name,
|
/system/extras/simpleperf/ |
H A D | cmd_dumprecord.cpp | 127 printf("attrs[file section]: offset %" PRId64 ", size %" PRId64 "\n", header.attrs.offset, 129 printf("data[file section]: offset %" PRId64 ", size %" PRId64 "\n", header.data.offset, 131 printf("event_types[file section]: offset %" PRId64 ", size %" PRId64 "\n", 132 header.event_types.offset, header.event_types.size); 217 printf("feature section for %s: offset %" PRId64 ", size %" PRId64 "\n", 218 GetFeatureNameOrUnknown(feature).c_str(), section.offset, section.size);
|
H A D | read_apk.h | 64 uint64_t entry_offset_; // offset of ELF from start of containing APK file 71 // Given an APK/ZIP/JAR file and an offset into that file, if the 76 uint64_t* offset, uint32_t* uncompressed_length); 85 // First component of pair is APK file path, second is offset into APK.
|
/system/chre/platform/shared/ |
H A D | host_protocol_chre.cc | 86 HostMessageHandlers::handleTimeSyncMessage(request->offset()); 126 auto offset = fbs::CreateNanoappListEntry( local 128 if (!offsetVector.push_back(offset)) { 129 LOGE("Couldn't push nanoapp list entry offset!");
|
/system/core/libdiskconfig/ |
H A D | config_mbr.c | 89 /* grab the offset in mbr where to write this partition entry. */ 90 item->offset = (loff_t)((uintptr_t)((uint8_t *)(&mbr->ptable[pnum]))); 154 item->offset = ((loff_t)(*lba)) * dinfo->sect_size; 190 /* The start lba for next partition is an offset from the beginning 222 /* grab the offset in mbr where to write mbr signature. */ 223 item->offset = (loff_t)((uintptr_t)((uint8_t *)(&mbr->mbr_sig)));
|
/system/extras/perfprofd/scripts/ |
H A D | perf_proto_stack_sqlite_flame.py | 78 self.offset = start_offset 82 return self.offset + self.count 88 self.offset = 0
|
/system/nfc/src/nfc/llcp/ |
H A D | llcp_api.cc | 657 if (p_buf->offset >= LLCP_MIN_OFFSET) { 660 LOG(ERROR) << StringPrintf("offset (%d) must be %d at least", 661 p_buf->offset, LLCP_MIN_OFFSET); 713 p_ui_pdu = (uint8_t*)(p_buf + 1) + p_buf->offset; 722 /* layer_specific has the offset to read within UI PDU */ 734 0; /* reset offset to read from the first byte of next UI PDU */ 735 p_buf->offset += LLCP_PDU_AGF_LEN_SIZE + ui_pdu_length; 740 /* update offset to read from remaining UI PDU next time */ 797 p_ui_pdu = (uint8_t*)(p_buf + 1) + p_buf->offset; 806 p_buf->layer_specific = 0; /* offset */ [all...] |
/system/timezone/zone_compactor/main/java/ |
H A D | ZoneCompactor.java | 80 int offset = 0; 94 offsets.put(s, offset); 97 offset += length; 159 f.writeInt(0); // Used to be raw GMT offset. No longer used.
|
/system/nfc/src/nfc/nfc/ |
H A D | nfc_ncif.cc | 198 p->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE + 1; 200 pp = (uint8_t*)(p + 1) + p->offset; 201 ps = (uint8_t*)(p_data + 1) + p_data->offset; 206 p_data->offset += ulen; 212 p->offset -= NCI_DATA_HDR_SIZE; 213 pp = (uint8_t*)(p + 1) + p->offset; 261 ps = (uint8_t*)(p_buf + 1) + p_buf->offset; 361 p = (uint8_t*)(p_msg + 1) + p_msg->offset; 1389 p = (uint8_t*)(p_msg + 1) + p_msg->offset; 1434 p_evt->offset [all...] |
/system/bt/stack/a2dp/ |
H A D | a2dp_vendor_aptx_encoder.cc | 56 // offset 381 p_buf->offset = A2DP_APTX_OFFSET; 386 encoded_ptr += p_buf->offset; 420 for (uint32_t reads = 0, offset = 0; reads < framing_params->pcm_reads; 421 reads++, offset += 424 read_buffer16 + offset, encoded_ptr);
|
H A D | a2dp_vendor_aptx_hd_encoder.cc | 57 // offset 366 p_buf->offset = A2DP_APTX_HD_OFFSET; 371 encoded_ptr += p_buf->offset; 407 for (uint32_t reads = 0, offset = 0; reads < framing_params->pcm_reads; 408 reads++, offset += 412 read_buffer32 + offset, encoded_ptr);
|