Home
last modified time | relevance | path

Searched defs:offset (Results 1 – 25 of 266) sorted by relevance

1234567891011

/system/core/property_service/libpropertyinfoserializer/
Dtrie_node_arena.h29 ArenaObjectPointer(std::string& arena_data, uint32_t offset) in ArenaObjectPointer()
48 uint32_t offset; in AllocateObject() local
55 uint32_t offset; in AllocateUint32Array() local
60 uint32_t* uint32_array(uint32_t offset) { in uint32_array()
65 uint32_t offset; in AllocateAndWriteString() local
76 void* AllocateData(size_t size, uint32_t* offset) { in AllocateData()
/system/extras/libfec/
Dfec_open.cpp44 static int find_offset(uint64_t file_size, int roots, uint64_t *offset, in find_offset()
90 static int find_verity_offset(fec_handle *f, uint64_t *offset) in find_verity_offset()
100 static int parse_ecc_header(fec_handle *f, uint64_t offset) in parse_ecc_header()
199 static int parse_ecc(fec_handle *f, uint64_t offset) in parse_ecc()
221 static int get_squashfs_size(fec_handle *f, uint64_t *offset) in get_squashfs_size()
249 static int get_ext4_size(fec_handle *f, uint64_t *offset) in get_ext4_size()
276 static int get_fs_size(fec_handle *f, uint64_t *offset) in get_fs_size()
310 uint64_t offset = f->data_size - VERITY_METADATA_SIZE; in load_verity() local
351 uint64_t offset = f->data_size - FEC_BLOCKSIZE; in load_ecc() local
Dfec_read.cpp50 ptrdiff_t offset = &hex[m * 3] - hex; in dump() local
69 static inline bool is_erasure(fec_handle *f, uint64_t offset, in is_erasure()
87 static inline bool is_zero(fec_handle *f, uint64_t offset) in is_zero()
107 static int __ecc_read(fec_handle *f, void *rs, uint8_t *dest, uint64_t offset, in __ecc_read()
235 uint64_t offset, size_t *errors) in ecc_read()
286 uint64_t offset, size_t *errors) in verity_read()
404 int fec_seek(struct fec_handle *f, int64_t offset, int whence) in fec_seek()
459 static inline size_t get_max_count(uint64_t offset, size_t count, uint64_t max) in get_max_count()
472 bool raw_pread(fec_handle *f, void *buf, size_t count, uint64_t offset) in raw_pread()
496 bool raw_pwrite(fec_handle *f, const void *buf, size_t count, uint64_t offset) in raw_pwrite()
[all …]
Dfec_verity.cpp327 static int parse_table(fec_handle *f, uint64_t offset, uint32_t size, bool useecc) in parse_table()
477 static int rewrite_metadata(fec_handle *f, uint64_t offset) in rewrite_metadata()
506 uint64_t offset) in validate_header()
546 int verity_parse_header(fec_handle *f, uint64_t offset) in verity_parse_header()
/system/core/libunwindstack/include/unwindstack/
DDwarfMemory.h52 void set_pc_offset(uint64_t offset) { pc_offset_ = offset; } in set_pc_offset()
55 void set_data_offset(uint64_t offset) { data_offset_ = offset; } in set_data_offset()
58 void set_func_offset(uint64_t offset) { func_offset_ = offset; } in set_func_offset()
61 void set_text_offset(uint64_t offset) { text_offset_ = offset; } in set_text_offset()
/system/core/libunwindstack/tests/
DSymbolsTest.cpp65 uint64_t offset = 0x1000; in TYPED_TEST_P() local
92 uint64_t offset = 0x1000; in TYPED_TEST_P() local
125 uint64_t offset = 0x1000; in TYPED_TEST_P() local
184 uint64_t offset = 0x1000; in TYPED_TEST_P() local
226 uint64_t offset = 0x1000; in TYPED_TEST_P() local
252 uint64_t offset = 0x1000; in TYPED_TEST_P() local
287 uint64_t offset = 0x1000; in TYPED_TEST_P() local
374 uint64_t offset; in TYPED_TEST_P() local
DElfFake.h46 uint64_t offset; member
78 void FakeSetGlobalVariable(const std::string& global, uint64_t offset) { in FakeSetGlobalVariable()
106 void FakeSetEhFrameOffset(uint64_t offset) { eh_frame_offset_ = offset; } in FakeSetEhFrameOffset()
108 void FakeSetDebugFrameOffset(uint64_t offset) { debug_frame_offset_ = offset; } in FakeSetDebugFrameOffset()
117 void FakeSetEhFrameOffset(uint64_t offset) { eh_frame_offset_ = offset; } in FakeSetEhFrameOffset()
119 void FakeSetDebugFrameOffset(uint64_t offset) { debug_frame_offset_ = offset; } in FakeSetDebugFrameOffset()
128 void FakeSetStartOffset(uint64_t offset) { start_offset_ = offset; } in FakeSetStartOffset()
DElfTest.cpp239 [&](uint64_t offset, const void* ptr, size_t size) { in TEST_F()
253 [&](uint64_t offset, const void* ptr, size_t size) { in TEST_F()
267 [&](uint64_t offset, const void* ptr, size_t size) { in TEST_F()
281 [&](uint64_t offset, const void* ptr, size_t size) { in TEST_F()
353 void MockSetDynamicOffset(uint64_t offset) { dynamic_offset_ = offset; } in MockSetDynamicOffset()
399 uint64_t offset; in TEST_F() local
411 uint64_t offset; in TEST_F() local
426 uint64_t offset; in TEST_F() local
445 uint64_t offset; in TEST_F() local
464 uint64_t offset; in TEST_F() local
[all …]
DElfFake.cpp35 bool ElfInterfaceFake::GetFunctionName(uint64_t, uint64_t, std::string* name, uint64_t* offset) { in GetFunctionName() argument
46 bool ElfInterfaceFake::GetGlobalVariable(const std::string& global, uint64_t* offset) { in GetGlobalVariable()
/system/extras/ioshark/
Dioshark_bench_mmap.c47 off_t offset; member
59 size_t total_len, off_t offset) in setup_mmap_io_state()
80 off_t *offset) in mmap_getnext_off_len()
106 mmap_do_io(void *db_node, int prot, off_t offset, size_t len, in mmap_do_io()
170 off_t offset = file_op->mmap_offset; in ioshark_handle_mmap() local
/system/update_engine/common/
Dmulti_range_http_fetcher.h60 void AddRange(off_t offset, size_t size) { in AddRange()
65 void AddRange(off_t offset) { in AddRange()
127 Range(off_t offset, size_t length) : offset_(offset), length_(length) {} in Range()
128 explicit Range(off_t offset) : offset_(offset), length_(0) {} in Range()
130 inline off_t offset() const { return offset_; } in offset() function
/system/bt/packet/base/
Diterator.cc35 Iterator Iterator::operator+(size_t offset) { in operator +()
41 Iterator& Iterator::operator+=(size_t offset) { in operator +=()
65 Iterator Iterator::operator-(size_t offset) { in operator -()
73 Iterator& Iterator::operator-=(size_t offset) { in operator -=()
/system/core/libutils/include/utils/
DCompat.h28 static inline off64_t lseek64(int fd, off64_t offset, int whence) { in lseek64()
32 static inline ssize_t pread64(int fd, void* buf, size_t nbytes, off64_t offset) { in pread64()
36 static inline ssize_t pwrite64(int fd, const void* buf, size_t nbytes, off64_t offset) { in pwrite64()
/system/bt/service/common/android/bluetooth/
DIBluetoothGattServerCallback.aidl27 int request_id, int offset, boolean is_long, int handle); in OnCharacteristicReadRequest()
30 int request_id, int offset, boolean is_long, int handle); in OnDescriptorReadRequest()
33 int request_id, int offset, boolean is_prepare_write, boolean need_response, in OnCharacteristicWriteRequest()
37 int request_id, int offset, boolean is_prepare_write, boolean need_response, in OnDescriptorWriteRequest()
/system/core/libpixelflinger/codeflinger/
DARMAssemblerInterface.cpp55 uint32_t offset = abs(immed8); in __immed8_pre() local
70 int Rn, uint32_t offset) in ADDR_LDR()
75 int Rn, uint32_t offset) in ADDR_STR()
DARMAssembler.cpp169 int32_t offset = int32_t(target_pc - (bt.pc+2)); in generate() local
264 int32_t offset = int32_t(pc - (mPC+2)); in B() local
270 int32_t offset = int32_t(pc - (mPC+2)); in BL() local
285 void ARMAssembler::LDR(int cc, int Rd, int Rn, uint32_t offset) { in LDR()
288 void ARMAssembler::LDRB(int cc, int Rd, int Rn, uint32_t offset) { in LDRB()
291 void ARMAssembler::STR(int cc, int Rd, int Rn, uint32_t offset) { in STR()
294 void ARMAssembler::STRB(int cc, int Rd, int Rn, uint32_t offset) { in STRB()
298 void ARMAssembler::LDRH(int cc, int Rd, int Rn, uint32_t offset) { in LDRH()
301 void ARMAssembler::LDRSB(int cc, int Rd, int Rn, uint32_t offset) { in LDRSB()
304 void ARMAssembler::LDRSH(int cc, int Rd, int Rn, uint32_t offset) { in LDRSH()
[all …]
/system/bt/vendor_libs/test_vendor_lib/src/
Dhci_packet.cc15 Iterator Iterator::operator+(size_t offset) { in operator +()
21 Iterator& Iterator::operator+=(size_t offset) { in operator +=()
45 Iterator Iterator::operator-(size_t offset) { in operator -()
53 Iterator& Iterator::operator-=(size_t offset) { in operator -=()
/system/core/libunwindstack/
DElfInterfaceArm.cpp64 bool ElfInterfaceArm::GetPrel31Addr(uint32_t offset, uint32_t* addr) { in GetPrel31Addr()
82 bool ElfInterfaceArm::HandleType(uint64_t offset, uint32_t type, uint64_t load_bias) { in HandleType()
171 uint64_t* offset) { in GetFunctionName()
DDwarfCfa.cpp79 uint64_t offset; in GetLocationInfo() local
180 uint64_t offset; in LogOffsetRegisterString() local
462 SignedType offset = static_cast<SignedType>(operands_[1]) * fde_->cie->data_alignment_factor; in cfa_def_cfa_sf() local
477 SignedType offset = static_cast<SignedType>(operands_[0]) * fde_->cie->data_alignment_factor; in cfa_def_cfa_offset_sf() local
485 SignedType offset = static_cast<SignedType>(operands_[1]) * fde_->cie->data_alignment_factor; in cfa_val_offset() local
493 SignedType offset = static_cast<SignedType>(operands_[1]) * fde_->cie->data_alignment_factor; in cfa_val_offset_sf() local
509 SignedType offset = -static_cast<SignedType>(operands_[1]); in cfa_gnu_negative_offset_extended() local
DElfInterface.cpp189 uint64_t offset = ehdr.e_phoff; in GetLoadBias() local
204 uint64_t offset = ehdr.e_phoff; in ReadProgramHeaders() local
306 uint64_t offset = ehdr.e_shoff; in ReadSectionHeaders() local
405 uint64_t offset = dynamic_offset_; in GetSonameWithTemplate() local
407 for (uint64_t offset = dynamic_offset_; offset < max_offset; offset += sizeof(DynType)) { in GetSonameWithTemplate() local
/system/bt/binder/android/bluetooth/
DIBluetoothGattServerCallback.aidl29 void onCharacteristicReadRequest(in String address, in int transId, in int offset, in onCharacteristicReadRequest()
32 in int offset, in boolean isLong, in onDescriptorReadRequest()
34 void onCharacteristicWriteRequest(in String address, in int transId, in int offset, in onCharacteristicWriteRequest()
37 void onDescriptorWriteRequest(in String address, in int transId, in int offset, in onDescriptorWriteRequest()
/system/core/libunwindstack/tools/
Dunwind_info.cpp105 int GetElfInfo(const char* file, uint64_t offset) { in GetElfInfo()
191 uint64_t offset = 0; in main() local
/system/extras/zram-perf/
Dzram-perf.cpp66 for (uint64_t offset = 0; offset < devSize; offset += page_size) { in fillWithCompressible() local
82 for (uint64_t offset = 0; offset < devSize; offset += page_size) { in benchSequentialRead() local
103 for (uint64_t offset = 0; offset < devSize; offset += page_size) { in benchSequentialWrite() local
/system/chre/platform/slpi/
Dsystem_time.cc44 void setEstimatedHostTimeOffset(int64_t offset) { in setEstimatedHostTimeOffset()
/system/bt/service/ipc/binder/
Dbluetooth_gatt_server_binder_server.cc112 int offset, const std::vector<uint8_t>& value, bool* _aidl_return) { in SendResponse()
178 int request_id, int offset, bool is_long, uint16_t handle) { in OnCharacteristicReadRequest()
195 int request_id, int offset, bool is_long, uint16_t handle) { in OnDescriptorReadRequest()
241 int request_id, int offset, bool is_prepare_write, bool need_response, in OnCharacteristicWriteRequest()
259 int request_id, int offset, bool is_prepare_write, bool need_response, in OnDescriptorWriteRequest()

1234567891011