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

123456789

/system/update_engine/payload_consumer/
H A Dextent_writer.cc49 const off64_t offset = local
52 TEST_AND_RETURN_FALSE_ERRNO(fd_->Seek(offset, SEEK_SET) !=
/system/core/libunwindstack/include/unwindstack/
H A DMapInfo.h33 uint64_t offset; member in struct:unwindstack::MapInfo
37 // This value is only non-zero if the offset is non-zero but there is
38 // no elf signature found at that offset. This indicates that the
/system/chre/chre_api/include/chre_api/chre/
H A Dre.h230 * Retrieves CHRE's current estimated offset between the local CHRE clock
232 * SystemClock.elapsedRealtimeNanos(). This offset is formed as host time minus
241 * some fixed/invalid value while waiting for the initial offset estimate to be
242 * determined - this initial offset must be ready before nanoapps are started.
244 * @returns An estimate of the offset between CHRE's time returned in
247 * milliseconds, such that adding this offset to chreGetTime() produces the
268 int64_t offset = chreGetEstimatedHostTimeOffset(); local
271 // Just casting time to int64_t and adding the (potentially negative) offset
275 if (offset >= 0) {
276 time += (uint64_t) offset;
[all...]
/system/chre/util/nanoapp/
H A Ddebug.cc34 size_t offset = 0; local
48 offset += static_cast<size_t>(
49 snprintf(&line[offset], sizeof(line) - offset, "%02x ", buffer[i - 1]));
55 offset = 0;
58 offset += static_cast<size_t>(
59 snprintf(&line[offset], sizeof(line) - offset, " "));
63 if (offset > 0) {
66 while (offset < 2
[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/tests/arch-mips64/disassembler/
H A Dmips64_disassembler_test.cpp122 int16_t offset; member in struct:test_branches_table_entry_t
139 int32_t offset; member in struct:test_jump_table_entry_t
172 uint64_t loc = (uint64_t)test + 4 + (test->offset << 2);
193 uint64_t loc = ((uint64_t)test & 0xfffffffff0000000) | (test->offset << 2);
/system/core/libunwindstack/
H A DDwarfDebugFrame.h38 FdeInfo(uint64_t offset, uint64_t start, uint64_t length) argument
39 : offset(offset), start(start), end(start + length) {}
41 uint64_t offset; member in struct:unwindstack::DwarfDebugFrame::FdeInfo
49 bool Init(uint64_t offset, uint64_t size) override;
H A DDwarfEhFrame.h40 uint64_t offset; member in struct:unwindstack::DwarfEhFrame::FdeInfo
46 bool Init(uint64_t offset, uint64_t size) override;
/system/core/libunwindstack/tests/
H A DDwarfOpTest.cpp622 // Copy the value at offset 2.
1289 uint64_t offset = this->mem_->cur_offset() + 3; local
1293 ASSERT_EQ(offset + 0x102, this->mem_->cur_offset());
1296 this->mem_->set_cur_offset(offset);
1300 offset = this->mem_->cur_offset() + 3;
1304 ASSERT_EQ(offset - 5, this->mem_->cur_offset());
1307 this->mem_->set_cur_offset(offset);
1311 offset = this->mem_->cur_offset() + 3;
1315 ASSERT_EQ(offset - 4, this->mem_->cur_offset());
1318 this->mem_->set_cur_offset(offset);
1405 uint64_t offset = this->mem_->cur_offset() + 3; local
1495 uint64_t offset = 0; local
[all...]
H A DGenGnuDebugdata.cpp49 uint64_t offset = sizeof(Ehdr); local
50 ehdr->e_shoff = offset;
61 offset += ehdr->e_shentsize;
71 offset += ehdr->e_shentsize;
H A DSymbolsTest.cpp65 uint64_t offset = 0x1000; local
66 this->memory_.SetMemory(offset, &sym, sizeof(sym));
92 uint64_t offset = 0x1000; local
93 this->memory_.SetMemory(offset, &sym, sizeof(sym));
107 this->memory_.SetMemory(offset, &sym, sizeof(sym));
115 this->memory_.SetMemory(offset, &sym, sizeof(sym));
125 uint64_t offset = 0x1000; local
129 this->memory_.SetMemory(offset, &sym, sizeof(sym));
132 offset += sizeof(sym);
135 this->memory_.SetMemory(offset,
184 uint64_t offset = 0x1000; local
226 uint64_t offset = 0x1000; local
252 uint64_t offset = 0x1000; local
287 uint64_t offset = 0x1000; local
[all...]
H A DElfTestUtils.cpp66 uint64_t offset = sizeof(Ehdr); local
67 ehdr.e_shoff = offset;
76 copy_func(offset, &shdr, sizeof(shdr));
77 offset += ehdr.e_shentsize;
80 uint64_t gnu_offset = offset;
81 offset += ehdr.e_shentsize;
89 copy_func(offset, &shdr, sizeof(shdr));
102 offset = symtab_offset + 0x100;
122 copy_func(offset, buf.data(), buf.size());
128 shdr.sh_addr = offset;
[all...]
/system/extras/libfec/include/fec/
H A Decc.h50 /* returns a physical offset for a byte in an RS block */
51 inline uint64_t fec_ecc_interleave(uint64_t offset, int rsn, uint64_t rounds) argument
53 return (offset / rsn) + (offset % rsn) * rounds * FEC_BLOCKSIZE;
/system/extras/tests/workloads/
H A Dpowerave.py13 offset = 0.0 variable
18 if o == '-o': offset = float(a)
34 val -= offset
/system/bt/bta/hf_client/
H A Dbta_hf_client_at.h48 unsigned int offset; member in struct:__anon181
/system/chre/ash/include/ash_api/ash/
H A Dcal.h55 //! The offset of the sensor in the x, y and z axis at temperature
57 float offset[3]; member in struct:ashCalParams
59 //! The temperature at which last offset was updated.
62 //! The temperature sensitivity of offset.
65 //! The estimated offset at zero degree Celsius.
74 //! The source of offset[3]
/system/chre/platform/slpi/
H A Dsystem_time.cc84 void setEstimatedHostTimeOffset(int64_t offset) { argument
85 gEstimatedHostTimeOffset = offset;
87 // Schedule a time sync request since offset may drift
/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);
36 static inline ssize_t pwrite64(int fd, const void* buf, size_t nbytes, off64_t offset) { argument
37 return pwrite(fd, buf, nbytes, offset);
/system/core/libbacktrace/
H A DUnwindCurrent.cpp32 std::string UnwindCurrent::GetFunctionNameRaw(uintptr_t pc, uintptr_t* offset) { argument
43 *offset = 0;
48 *offset = static_cast<uintptr_t>(value);
/system/core/libpixelflinger/codeflinger/
H A DARMAssemblerInterface.cpp55 uint32_t offset = abs(immed8); local
62 ((W&1)<<21) | (((offset&0xF0)<<4)|(offset&0xF));
70 int Rn, uint32_t offset)
72 LDR(cc, Rd, Rn, offset);
75 int Rn, uint32_t offset)
77 STR(cc, Rd, Rn, offset);
69 ADDR_LDR(int cc, int Rd, int Rn, uint32_t offset) argument
74 ADDR_STR(int cc, int Rd, int Rn, uint32_t offset) argument
/system/core/libutils/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);
36 static inline ssize_t pwrite64(int fd, const void* buf, size_t nbytes, off64_t offset) { argument
37 return pwrite(fd, buf, nbytes, offset);
/system/vold/
H A Dvdc.cpp154 int offset = 0; local
157 char* res = buffer + offset;
172 offset = i + 1;
/system/bt/hci/include/
H A Dbt_hci_bdroid.h77 uint16_t offset; member in struct:__anon712

Completed in 290 milliseconds

123456789