Home
last modified time | relevance | path

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

12345678910>>...13

/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/core/libunwindstack/include/unwindstack/
DDwarfMemory.h52 void set_pc_offset(int64_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/extras/libfec/
Dfec_open.cpp42 static int find_offset(uint64_t file_size, int roots, uint64_t *offset, in find_offset()
89 static int find_verity_offset(fec_handle *f, uint64_t *offset) in find_verity_offset()
99 static int parse_ecc_header(fec_handle *f, uint64_t offset) in parse_ecc_header()
198 static int parse_ecc(fec_handle *f, uint64_t offset) in parse_ecc()
220 static int get_squashfs_size(fec_handle *f, uint64_t *offset) in get_squashfs_size()
248 static int get_ext4_size(fec_handle *f, uint64_t *offset) in get_ext4_size()
275 static int get_fs_size(fec_handle *f, uint64_t *offset) in get_fs_size()
309 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()
86 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()
403 int fec_seek(struct fec_handle *f, int64_t offset, int whence) in fec_seek()
458 static inline size_t get_max_count(uint64_t offset, size_t count, uint64_t max) in get_max_count()
471 bool raw_pread(int fd, void *buf, size_t count, uint64_t offset) { in raw_pread()
493 bool raw_pwrite(int fd, const void *buf, size_t count, uint64_t offset) { in raw_pwrite()
[all …]
/system/core/libunwindstack/tests/
DElfFake.h46 uint64_t offset; member
81 void FakeSetGlobalVariable(const std::string& global, uint64_t offset) { in FakeSetGlobalVariable()
102 void FakeSetDataOffset(uint64_t offset) { data_offset_ = offset; } in FakeSetDataOffset()
106 void FakeSetDynamicOffset(uint64_t offset) { dynamic_offset_ = offset; } in FakeSetDynamicOffset()
110 void FakeSetGnuDebugdataOffset(uint64_t offset) { gnu_debugdata_offset_ = offset; } in FakeSetGnuDebugdataOffset()
127 void FakeSetEhFrameOffset(uint64_t offset) { eh_frame_offset_ = offset; } in FakeSetEhFrameOffset()
129 void FakeSetDebugFrameOffset(uint64_t offset) { debug_frame_offset_ = offset; } in FakeSetDebugFrameOffset()
138 void FakeSetEhFrameOffset(uint64_t offset) { eh_frame_offset_ = offset; } in FakeSetEhFrameOffset()
140 void FakeSetDebugFrameOffset(uint64_t offset) { debug_frame_offset_ = offset; } in FakeSetDebugFrameOffset()
149 void FakeSetStartOffset(uint64_t offset) { start_offset_ = offset; } in FakeSetStartOffset()
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
229 uint64_t offset = 0x1000; in TYPED_TEST_P() local
262 uint64_t offset = 0x1000; in TYPED_TEST_P() local
351 uint64_t offset; in TYPED_TEST_P() local
DElfFake.cpp35 bool ElfInterfaceFake::GetFunctionName(uint64_t, std::string* name, uint64_t* offset) { in GetFunctionName() argument
46 bool ElfInterfaceFake::GetGlobalVariable(const std::string& global, uint64_t* offset) { in GetGlobalVariable()
DElfTest.cpp245 [&](uint64_t offset, const void* ptr, size_t size) { in TEST_F()
259 [&](uint64_t offset, const void* ptr, size_t size) { in TEST_F()
334 void MockSetDataOffset(uint64_t offset) { data_offset_ = offset; } in MockSetDataOffset()
338 void MockSetDynamicOffset(uint64_t offset) { dynamic_offset_ = offset; } in MockSetDynamicOffset()
365 uint64_t offset; in TEST_F() local
380 uint64_t offset; in TEST_F() local
395 uint64_t offset; in TEST_F() local
413 uint64_t offset; in TEST_F() local
436 uint64_t offset; in TEST_F() local
457 uint64_t offset; in TEST_F() local
[all …]
/system/core/fs_mgr/libvbmeta/
Dwriter.cpp45 const uint64_t offset = PRIMARY_SUPER_VBMETA_TABLE_OFFSET; in WritePrimaryVBMetaTable() local
57 const uint64_t offset = BACKUP_SUPER_VBMETA_TABLE_OFFSET; in WriteBackupVBMetaTable() local
69 const uint64_t offset = IndexOffset(slot_number); in WriteVBMetaImage() local
Dreader.cpp58 Result<void> ReadVBMetaTable(int fd, uint64_t offset, VBMetaTable* table) { in ReadVBMetaTable()
86 uint64_t offset = PRIMARY_SUPER_VBMETA_TABLE_OFFSET; in ReadPrimaryVBMetaTable() local
91 uint64_t offset = BACKUP_SUPER_VBMETA_TABLE_OFFSET; in ReadBackupVBMetaTable() local
96 const uint64_t offset = 2 * SUPER_VBMETA_TABLE_MAX_SIZE + slot * VBMETA_IMAGE_MAX_SIZE; in ReadVBMetaImage() local
/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/bt/gd/packet/
Diterator.cc25 Iterator<little_endian>::Iterator(std::forward_list<View> data, size_t offset) { in Iterator()
36 Iterator<little_endian> Iterator<little_endian>::operator+(int offset) { in operator +()
43 Iterator<little_endian>& Iterator<little_endian>::operator+=(int offset) { in operator +=()
62 Iterator<little_endian> Iterator<little_endian>::operator-(int offset) { in operator -()
74 Iterator<little_endian>& Iterator<little_endian>::operator-=(int offset) { in operator -=()
/system/core/libutils/include/utils/
DCompat.h32 static inline void* mmap64(void* addr, size_t length, int prot, int flags, int fd, off64_t offset) { in mmap64()
36 static inline off64_t lseek64(int fd, off64_t offset, int whence) { in lseek64()
40 static inline ssize_t pread64(int fd, void* buf, size_t nbytes, off64_t offset) { in pread64()
44 static inline ssize_t pwrite64(int fd, const void* buf, size_t nbytes, off64_t offset) { in pwrite64()
/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) { ranges_.push_back(Range(offset)); } in AddRange()
130 Range(off_t offset, size_t length) : offset_(offset), length_(length) {} in Range()
131 explicit Range(off_t offset) : offset_(offset), length_(0) {} in Range()
133 inline off_t offset() const { return offset_; } in offset() function
/system/extras/simpleperf/
Dread_dex_file.cpp34 for (uint64_t offset : dex_file_offsets) { in ReadSymbols() local
62 dex_file_offsets, symbols, [&](uint64_t offset) -> std::unique_ptr<art_api::dex::DexFile> { in ReadSymbolsFromDexFileInMemory()
87 dex_file_offsets, symbols, [&](uint64_t offset) -> std::unique_ptr<art_api::dex::DexFile> { in ReadSymbolsFromDexFile()
/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/debuggerd/libdebuggerd/test/
DUnwinderMock.h28 void MockAddMap(uint64_t start, uint64_t end, uint64_t offset, uint64_t flags, std::string name, in MockAddMap()
33 void MockSetBuildID(uint64_t offset, const std::string& build_id) { in MockSetBuildID()
/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/libunwindstack/
DElfInterface.cpp211 uint64_t offset = ehdr.e_phoff; in GetLoadBias() local
228 uint64_t offset = ehdr.e_phoff; in ReadProgramHeaders() local
285 uint64_t offset = 0; in ReadBuildID() local
331 uint64_t offset = ehdr.e_shoff; in ReadSectionHeaders() local
435 uint64_t offset = dynamic_offset_; in GetSonameWithTemplate() local
437 for (uint64_t offset = dynamic_offset_; offset < max_offset; offset += sizeof(DynType)) { in GetSonameWithTemplate() local
589 uint64_t offset = ehdr.e_shoff; in GetBuildIDInfo() local
637 uint64_t offset = 0; in ReadBuildIDFromMemory() local
DDwarfCfa.cpp82 uint64_t offset; in GetLocationInfo() local
185 uint64_t offset; in LogOffsetRegisterString() local
471 SignedType offset = static_cast<SignedType>(operands_[1]) * fde_->cie->data_alignment_factor; in cfa_def_cfa_sf() local
486 SignedType offset = static_cast<SignedType>(operands_[0]) * fde_->cie->data_alignment_factor; in cfa_def_cfa_offset_sf() local
494 SignedType offset = static_cast<SignedType>(operands_[1]) * fde_->cie->data_alignment_factor; in cfa_val_offset() local
502 SignedType offset = static_cast<SignedType>(operands_[1]) * fde_->cie->data_alignment_factor; in cfa_val_offset_sf() local
518 SignedType offset = -static_cast<SignedType>(operands_[1]); in cfa_gnu_negative_offset_extended() local
/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()
/system/core/adb/fastdeploy/deployagent/src/com/android/fastdeploy/
DApkArchive.java58 final long offset; field in ApkArchive.Location
61 public Location(long offset, long size) { in Location()
140 long offset = buf.getInt() & 0xffffffffL; in findCDRecord() local
182 long offset = cdRecordOffset - size - 8; in getSignatureLocation() local
/system/core/libutils/
DFileMap_test.cpp42 off64_t offset = INT32_MAX + 1024LL; in TEST() local
62 off64_t offset = 200; in TEST() local
/system/core/libasyncio/
DAsyncIO.cpp43 void io_prep(iocb* iocb, int fd, const void* buf, uint64_t count, int64_t offset, bool read) { in io_prep()
53 void io_prep_pread(struct iocb* iocb, int fd, void* buf, size_t count, long long offset) { in io_prep_pread()
57 void io_prep_pwrite(struct iocb* iocb, int fd, void* buf, size_t count, long long offset) { in io_prep_pwrite()
/system/libbase/include/android-base/
Dmapped_file.h84 MappedFile(char* base, size_t size, size_t offset, HANDLE handle) in MappedFile()
88 MappedFile(char* base, size_t size, size_t offset) : base_(base), size_(size), offset_(offset) {} in MappedFile()

12345678910>>...13