Searched defs:offset (Results 1 - 25 of 100) sorted by relevance

1234

/system/bt/stack/avrc/
H A Davrc_bld_ct.c48 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset;
80 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset;
106 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset;
129 UINT16 offset = 0, chnl = AVCT_DATA_CTRL, len=AVRC_META_CMD_POOL_SIZE; local
139 offset = AVRC_MSG_PASS_THRU_OFFSET;
143 offset = AVRC_MSG_VENDOR_OFFSET;
155 p_pkt->offset = offset;
156 p_data = (UINT8 *)(p_pkt + 1) + p_pkt->offset;
H A Davrc_bld_tg.c59 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset;
127 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset;
179 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset;
235 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset;
313 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset;
315 len_left = GKI_get_buf_size(p_pkt) - BT_HDR_SIZE - p_pkt->offset - p_pkt->len;
462 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset;
517 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset;
550 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset;
696 p_data = (UINT8 *)(p_pkt+1) + p_pkt->offset;
741 UINT16 offset = AVRC_MSG_PASS_THRU_OFFSET, chnl = AVCT_DATA_CTRL, len=AVRC_META_CMD_POOL_SIZE; local
[all...]
/system/core/include/utils/
H A DCompat.h28 static inline off64_t lseek64(int fd, off64_t offset, int whence) { argument
29 return lseek(fd, offset, whence);
32 static inline ssize_t pread64(int fd, void* buf, size_t nbytes, off64_t offset) { argument
33 return pread(fd, buf, nbytes, offset);
H A DFlattenable.h50 static void advance(void*& buffer, size_t& size, size_t offset) { argument
51 buffer = reinterpret_cast<void*>( intptr_t(buffer) + offset );
52 size -= offset;
55 static void advance(void const*& buffer, size_t& size, size_t offset) { argument
56 buffer = reinterpret_cast<void const*>( intptr_t(buffer) + offset );
57 size -= offset;
/system/core/include/ziparchive/
H A Dzip_archive.h81 // The offset to the start of data for this ZipEntry.
82 off64_t offset; member in struct:ZipEntry
177 * its current offset, and the file will be truncated at the end of
/system/core/libbacktrace/
H A DUnwindCurrent.cpp31 std::string UnwindCurrent::GetFunctionNameRaw(uintptr_t pc, uintptr_t* offset) { argument
32 *offset = 0;
37 *offset = static_cast<uintptr_t>(value);
H A DUnwindPtrace.cpp125 std::string UnwindPtrace::GetFunctionNameRaw(uintptr_t pc, uintptr_t* offset) { argument
126 *offset = 0;
131 *offset = static_cast<uintptr_t>(value);
H A DBacktrace.cpp60 std::string Backtrace::GetFunctionName(uintptr_t pc, uintptr_t* offset) { argument
61 std::string func_name = GetFunctionNameRaw(pc, offset);
105 // Special handling for non-zero offset maps, we need to print that
107 if (frame->map.offset != 0) {
108 line += " (offset " + StringPrintf("0x%" PRIxPTR, frame->map.offset) + ")";
/system/core/libcutils/
H A Dashmem-dev.c75 int ashmem_pin_region(int fd, size_t offset, size_t len) argument
77 struct ashmem_pin pin = { offset, len };
81 int ashmem_unpin_region(int fd, size_t offset, size_t len) argument
83 struct ashmem_pin pin = { offset, len };
H A Dopen_memstream.c71 size_t offset; /* current write offset */ member in struct:__anon1406
79 * current offset. We also have to take into account the extra '\0'
86 DBUG(("+++ ensureCap off=%d size=%d\n", stream->offset, writeSize));
88 size_t neededSize = stream->offset + writeSize + 1;
129 if (stream->eof < stream->offset) {
131 stream->eof, stream->offset-1));
133 stream->offset - stream->eof);
137 memcpy(*stream->bufp + stream->offset, buf, size);
138 stream->offset
162 seek_memstream(void* cookie, fpos_t offset, int whence) argument
[all...]
/system/core/libdiskconfig/
H A Ddiskutils.c34 write_raw_image(const char *dst, const char *src, loff_t offset, int test) argument
44 ALOGI("Writing RAW image '%s' to '%s' (offset=%llu)", src, dst, (unsigned long long)offset);
56 if (lseek64(dst_fd, offset, SEEK_SET) != offset) {
57 ALOGE("Could not seek to offset %lld in %s.", (long long)offset, dst);
105 ALOGI("Wrote %" PRIu64 " bytes to %s @ %lld", total, dst, (long long)offset);
/system/core/libion/kernel-headers/linux/
H A Dion_test.h26 __u64 offset; member in struct:ion_test_rw_data
/system/core/libion/original-kernel-headers/linux/
H A Dion_test.h26 * @offset: offset into the ion buffer to start reading
32 __u64 offset; member in struct:ion_test_rw_data
/system/core/libpixelflinger/codeflinger/
H A DARMAssemblerInterface.cpp54 uint32_t offset = abs(immed8); local
61 ((W&1)<<21) | (((offset&0xF0)<<4)|(offset&0xF));
69 int Rn, uint32_t offset)
71 LDR(cc, Rd, Rn, offset);
74 int Rn, uint32_t offset)
76 STR(cc, Rd, Rn, offset);
68 ADDR_LDR(int cc, int Rd, int Rn, uint32_t offset) argument
73 ADDR_STR(int cc, int Rd, int Rn, uint32_t offset) argument
/system/extras/simpleperf/
H A Drecord_file.h99 const char* DataAtOffset(uint64_t offset) { argument
100 return mmap_addr_ + offset;
/system/core/base/
H A Dstrings.cpp112 size_t offset = string_length - suffix_length; local
113 return s.compare(offset, suffix_length, suffix) == 0;
/system/core/debuggerd/test/
H A DBacktraceMock.h57 size_t offset = 0; local
59 offset = addr - last_read_addr_;
61 size_t bytes_available = buffer_.size() - offset;
74 memcpy(buffer, buffer_.data() + offset, bytes);
/system/core/include/backtrace/
H A DBacktraceMap.h38 uintptr_t offset = 0; member in struct:backtrace_map_t
/system/core/libutils/
H A DFileMap.cpp84 bool FileMap::create(const char* origFileName, int fd, off64_t offset, size_t length, argument
109 adjust = offset % mPageSize;
110 adjOffset = offset - adjust;
133 assert(offset >= 0);
145 adjust = offset % mPageSize;
146 adjOffset = offset - adjust;
165 mDataOffset = offset;
/system/extras/ext4_utils/
H A Dextent.c58 off64_t offset = 0; local
67 sparse_file_add_file(ext4_sparse_file, filename, offset, len,
69 offset += len;
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/include/linux/
H A Dbitops.h120 find_next_bit(const unsigned long *addr, unsigned long size, unsigned long offset) argument
122 const unsigned long *p = addr + BITOP_WORD(offset);
123 unsigned long result = offset & ~(BITS_PER_LONG-1);
126 if (offset >= size)
129 offset %= BITS_PER_LONG;
130 if (offset) {
132 tmp &= (~0UL << offset);
/system/netd/server/
H A Dndc.c157 int offset = 0; local
165 strncpy(tmp, buffer + offset, 3);
169 printf("%s\n", buffer + offset);
174 offset = i + 1;
/system/vold/
H A Dvdc.c146 int offset = 0; local
154 strlcpy(tmp, buffer + offset, sizeof(tmp));
157 printf("%s\n", buffer + offset);
162 offset = i + 1;
/system/bt/hci/include/
H A Dbt_hci_bdroid.h92 uint16_t offset; member in struct:__anon727
/system/core/libion/
H A Dion.c91 int flags, off_t offset, unsigned char **ptr, int *map_fd)
111 tmp_ptr = mmap(NULL, length, prot, flags, data.fd, offset);
90 ion_map(int fd, ion_user_handle_t handle, size_t length, int prot, int flags, off_t offset, unsigned char **ptr, int *map_fd) argument

Completed in 4834 milliseconds

1234