/system/extras/libfec/ |
D | fec_open.cpp | 44 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
|
D | fec_read.cpp | 50 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 …]
|
D | fec_verity.cpp | 327 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/ |
D | DwarfMemory.h | 52 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/update_engine/common/ |
D | multi_range_http_fetcher.h | 60 void AddRange(off_t offset, size_t size) { in AddRange() 65 void AddRange(off_t offset) { in AddRange() 70 void SetOffset(off_t offset) override {} // for now, doesn't support this in SetOffset() 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/core/libunwindstack/tests/ |
D | SymbolsTest.cpp | 65 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
|
D | MapInfoGetElfTest.cpp | 92 ELFCLASS32, EM_ARM, false, [&](uint64_t offset, const void* ptr, size_t size) { in TEST_F() 106 ELFCLASS64, EM_AARCH64, false, [&](uint64_t offset, const void* ptr, size_t size) { in TEST_F() 120 ELFCLASS32, EM_ARM, true, [&](uint64_t offset, const void* ptr, size_t size) { in TEST_F() 134 ELFCLASS64, EM_AARCH64, true, [&](uint64_t offset, const void* ptr, size_t size) { in TEST_F()
|
D | ElfInterfaceTest.cpp | 46 void SetStringMemory(uint64_t offset, const char* string) { in SetStringMemory() 103 void ElfInterfaceTest::InitSym(uint64_t offset, uint32_t value, uint32_t size, uint32_t name_offset, in InitSym() 473 uint64_t offset = 0x2000; in Soname() local 529 uint64_t offset = 0x2000; in SonameAfterDtNull() local 584 uint64_t offset = 0x2000; in SonameSize() local 624 void TestSetEhFrameOffset(uint64_t offset) { eh_frame_offset_ = offset; } in TestSetEhFrameOffset() 627 void TestSetDebugFrameOffset(uint64_t offset) { debug_frame_offset_ = offset; } in TestSetDebugFrameOffset() 636 void TestSetEhFrameOffset(uint64_t offset) { eh_frame_offset_ = offset; } in TestSetEhFrameOffset() 639 void TestSetDebugFrameOffset(uint64_t offset) { debug_frame_offset_ = offset; } in TestSetDebugFrameOffset() 780 uint64_t offset = 0x1000; in InitSectionHeaders() local [all …]
|
D | ElfTest.cpp | 211 [&](uint64_t offset, const void* ptr, size_t size) { in TEST_F() 225 [&](uint64_t offset, const void* ptr, size_t size) { in TEST_F() 239 [&](uint64_t offset, const void* ptr, size_t size) { in TEST_F() 256 [&](uint64_t offset, const void* ptr, size_t size) { in TEST_F()
|
/system/extras/ioshark/ |
D | ioshark_bench_mmap.c | 47 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/extras/f2fs_utils/ |
D | f2fs_ioutils.c | 97 static int __get_device_fd(__u64 *offset) in __get_device_fd() 113 static int dev_write_fd(void *buf, __u64 offset, size_t len) in dev_write_fd() 171 int dev_read_version(void *buf, __u64 offset, size_t len) in dev_read_version() 176 int dev_read(void *buf, __u64 offset, size_t len) in dev_read() 181 int dev_readahead(__u64 offset, size_t len) in dev_readahead() 186 int dev_write(void *buf, __u64 offset, size_t len) in dev_write() 203 int dev_write_dump(void *buf, __u64 offset, size_t len) in dev_write_dump() 209 int dev_fill(void *buf, __u64 offset, size_t len) in dev_fill()
|
/system/bt/service/common/android/bluetooth/ |
D | IBluetoothGattServerCallback.aidl | 27 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/libutils/include/utils/ |
D | Compat.h | 28 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/core/libpixelflinger/codeflinger/ |
D | ARMAssemblerInterface.cpp | 55 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()
|
D | ARMAssembler.cpp | 169 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 …]
|
D | MIPS64Assembler.cpp | 753 void ArmToMips64Assembler::LDR(int cc, int Rd, int Rn, uint32_t offset) in LDR() 787 void ArmToMips64Assembler::LDRB(int cc, int Rd, int Rn, uint32_t offset) in LDRB() 816 void ArmToMips64Assembler::STR(int cc, int Rd, int Rn, uint32_t offset) in STR() 852 void ArmToMips64Assembler::STRB(int cc, int Rd, int Rn, uint32_t offset) in STRB() 880 void ArmToMips64Assembler::LDRH(int cc, int Rd, int Rn, uint32_t offset) in LDRH() 908 void ArmToMips64Assembler::LDRSB(int cc, int Rd, int Rn, uint32_t offset) in LDRSB() 915 void ArmToMips64Assembler::LDRSH(int cc, int Rd, int Rn, uint32_t offset) in LDRSH() 922 void ArmToMips64Assembler::STRH(int cc, int Rd, int Rn, uint32_t offset) in STRH() 1018 void ArmToMips64Assembler::PLD(int Rn, uint32_t offset) { in PLD() 1205 void ArmToMips64Assembler::ADDR_LDR(int cc, int Rd, int Rn, uint32_t offset) { in ADDR_LDR() [all …]
|
/system/extras/perfprofd/quipper/ |
D | perf_reader.cc | 230 size_t* offset, in ReadStringFromBuffer() 838 uint64_t offset = GetPerfSampleDataOffset(event); in ReadPerfSampleInfo() local 869 uint64_t offset = GetPerfSampleDataOffset(*event); in WritePerfSampleInfo() local 889 size_t offset = 0; in ReadHeader() local 926 size_t offset = header_.attrs.offset; in ReadAttrs() local 934 bool PerfReader::ReadAttr(const ConstBufferWithSize& data, size_t* offset) { in ReadAttr() 970 bool PerfReader::ReadEventAttr(const ConstBufferWithSize& data, size_t* offset, in ReadEventAttr() 1043 size_t* offset, std::vector<u64>* ids) { in ReadUniqueIDs() 1061 size_t offset = header_.event_types.offset; in ReadEventTypes() local 1070 size_t* offset) { in ReadEventType() [all …]
|
/system/core/libunwindstack/ |
D | ElfInterface.cpp | 141 uint64_t offset = ehdr.e_phoff; in ReadProgramHeaders() local 208 uint64_t offset = ehdr.e_shoff; in ReadSectionHeaders() local 306 uint64_t offset = dynamic_offset_; in GetSonameWithTemplate() local 308 for (uint64_t offset = dynamic_offset_; offset < max_offset; offset += sizeof(DynType)) { in GetSonameWithTemplate() local
|
D | DwarfCfa.cpp | 67 uint64_t offset; in GetLocationInfo() local 166 uint64_t offset; in LogOffsetRegisterString() local 445 SignedType offset = static_cast<SignedType>(operands_[1]) * fde_->cie->data_alignment_factor; in cfa_def_cfa_sf() local 460 SignedType offset = static_cast<SignedType>(operands_[0]) * fde_->cie->data_alignment_factor; in cfa_def_cfa_offset_sf() local 468 SignedType offset = static_cast<SignedType>(operands_[1]) * fde_->cie->data_alignment_factor; in cfa_val_offset() local 476 SignedType offset = static_cast<SignedType>(operands_[1]) * fde_->cie->data_alignment_factor; in cfa_val_offset_sf() local 492 SignedType offset = -static_cast<SignedType>(operands_[1]); in cfa_gnu_negative_offset_extended() local
|
D | Symbols.cpp | 29 Symbols::Symbols(uint64_t offset, uint64_t size, uint64_t entry_size, uint64_t str_offset, in Symbols() 95 uint64_t offset = str_offset_ + entry.st_name; in GetName() local
|
D | ElfInterfaceArm.cpp | 68 bool ElfInterfaceArm::GetPrel31Addr(uint32_t offset, uint32_t* addr) { in GetPrel31Addr() 84 bool ElfInterfaceArm::HandleType(uint64_t offset, uint32_t type) { in HandleType()
|
/system/extras/zram-perf/ |
D | zram-perf.cpp | 66 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/bt/service/ipc/binder/ |
D | bluetooth_gatt_server_binder_server.cc | 112 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()
|
/system/bt/stack/gatt/ |
D | att_protocol.cc | 219 uint16_t offset) { in attp_build_handle_cmd() 272 uint16_t handle, uint16_t offset, uint16_t len, in attp_build_value_cmd() 347 uint16_t offset = 0; in attp_build_sr_msg() local 463 uint16_t offset = 0, handle; in attp_send_cl_msg() local
|
/system/core/fs_mgr/ |
D | fs_mgr_verity.cpp | 371 unsigned int length, off64_t *offset) in metadata_add() 389 unsigned int slength, off64_t *offset) in metadata_find() 474 static int write_verity_state(const char *fname, off64_t offset, int32_t mode) in write_verity_state() 503 static int read_verity_state(const char *fname, off64_t offset, int *mode) in read_verity_state() 579 off64_t offset = 0; in compare_last_signature() local 645 static int get_verity_state_offset(struct fstab_rec *fstab, off64_t *offset) in get_verity_state_offset() 661 off64_t offset = 0; in load_verity_state() local
|