Home
last modified time | relevance | path

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

12345678910>>...14

/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/unwinding/libunwindstack/include/unwindstack/
DDwarfMemory.h51 void set_pc_offset(int64_t offset) { pc_offset_ = offset; } in set_pc_offset()
54 void set_data_offset(uint64_t offset) { data_offset_ = offset; } in set_data_offset()
57 void set_func_offset(uint64_t offset) { func_offset_ = offset; } in set_func_offset()
60 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()
407 int fec_seek(struct fec_handle *f, int64_t offset, int whence) in fec_seek()
462 static inline size_t get_max_count(uint64_t offset, size_t count, uint64_t max) in get_max_count()
475 bool raw_pread(int fd, void *buf, size_t count, uint64_t offset) { in raw_pread()
497 bool raw_pwrite(int fd, const void *buf, size_t count, uint64_t offset) { in raw_pwrite()
[all …]
/system/unwinding/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
229 uint64_t offset = 0x1000; in TYPED_TEST_P() local
262 uint64_t offset = 0x1000; in TYPED_TEST_P() local
314 uint64_t offset = 0x1000; in TYPED_TEST_P() local
381 uint64_t offset; in TYPED_TEST_P() local
421 uint64_t offset; in TYPED_TEST_P() local
432 uint64_t offset = 0x1000; in TYPED_TEST_P() local
[all …]
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()
DElfFake.cpp36 bool ElfInterfaceFake::GetFunctionName(uint64_t, SharedString* name, uint64_t* offset) { in GetFunctionName() argument
47 bool ElfInterfaceFake::GetGlobalVariable(const std::string& global, uint64_t* offset) { in GetGlobalVariable()
DElfTest.cpp276 [&](uint64_t offset, const void* ptr, size_t size) { in TEST_F()
290 [&](uint64_t offset, const void* ptr, size_t size) { in TEST_F()
365 void MockSetDataOffset(uint64_t offset) { data_offset_ = offset; } in MockSetDataOffset()
369 void MockSetDynamicOffset(uint64_t offset) { dynamic_offset_ = offset; } in MockSetDynamicOffset()
397 uint64_t offset; in TEST_F() local
412 uint64_t offset; in TEST_F() local
427 uint64_t offset; in TEST_F() local
445 uint64_t offset; in TEST_F() local
468 uint64_t offset; in TEST_F() local
489 uint64_t offset; in TEST_F() local
[all …]
/system/chre/test/simulation/inc/
Dtest_event.h38 #define CHRE_SIMULATION_TEST_EVENT_ID(offset) \ argument
58 #define CHRE_SPECIFIC_SIMULATION_TEST_EVENT_ID(offset) \ argument
71 #define CREATE_CHRE_TEST_EVENT(name, offset) \ argument
/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/unwinding/libunwindstack/
DSymbols.cpp32 Symbols::Symbols(uint64_t offset, uint64_t size, uint64_t entry_size, uint64_t str_offset, in Symbols()
79 uint64_t offset = symbol_index * entry_size_; in BinarySearch() local
117 uint64_t offset = symbol_idx * entry_size_; in BuildRemapTable() local
127 for (uint64_t offset = 0; offset <= read_bytes - sizeof(SymType); in BuildRemapTable() local
172 uint64_t offset = symbol_index * entry_size_; in GetName() local
208 uint64_t offset = i * entry_size_; in GetGlobal() local
DElfInterface.cpp155 uint64_t offset = ehdr.e_phoff; in GetLoadBias() local
172 uint64_t offset = ehdr.e_phoff; in ReadProgramHeaders() local
229 uint64_t offset = 0; in ReadBuildID() local
274 uint64_t offset = ehdr.e_shoff; in ReadSectionHeaders() local
381 uint64_t offset = dynamic_offset_; in GetSoname() local
383 for (uint64_t offset = dynamic_offset_; offset < max_offset; offset += sizeof(DynType)) { in GetSoname() local
532 uint64_t offset = ehdr.e_phoff; in GetMaxSize() local
559 uint64_t offset = ehdr.e_shoff; in GetBuildIDInfo() local
607 uint64_t offset = 0; in ReadBuildIDFromMemory() local
DDwarfCfa.cpp82 uint64_t offset; in GetLocationInfo() local
185 uint64_t offset; in LogOffsetRegisterString() local
479 SignedType offset = static_cast<SignedType>(operands_[1]) * fde_->cie->data_alignment_factor; in cfa_def_cfa_sf() local
494 SignedType offset = static_cast<SignedType>(operands_[0]) * fde_->cie->data_alignment_factor; in cfa_def_cfa_offset_sf() local
502 SignedType offset = static_cast<SignedType>(operands_[1]) * fde_->cie->data_alignment_factor; in cfa_val_offset() local
510 SignedType offset = static_cast<SignedType>(operands_[1]) * fde_->cie->data_alignment_factor; in cfa_val_offset_sf() local
526 SignedType offset = -static_cast<SignedType>(operands_[1]); in cfa_gnu_negative_offset_extended() 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/incremental_delivery/incfs/util/
Dmap_ptr.cpp41 off64_t IncFsFileMap::offset() const { in offset() function in android::incfs::IncFsFileMap
49 bool IncFsFileMap::Create(int fd, off64_t offset, size_t length, const char* file_name) { in Create()
64 bool IncFsFileMap::Create(int fd, off64_t offset, size_t length, const char* file_name, in Create()
70 bool IncFsFileMap::CreateForceVerification(int fd, off64_t offset, size_t length, in CreateForceVerification()
139 bool IncFsFileMap::Create(int fd, off64_t offset, size_t length, const char* file_name, in Create()
144 bool IncFsFileMap::CreateForceVerification(int fd, off64_t offset, size_t length, in CreateForceVerification()
/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()
131 Range(off_t offset, size_t length) : offset_(offset), length_(length) {} in Range()
132 explicit Range(off_t offset) : offset_(offset), length_(0) {} in Range()
134 inline off_t offset() const { return offset_; } in offset() function
/system/core/debuggerd/libdebuggerd/test/
DUnwinderMock.h30 void MockAddMap(uint64_t start, uint64_t end, uint64_t offset, uint64_t flags, std::string name, in MockAddMap()
35 void MockSetBuildID(uint64_t offset, const std::string& build_id) { in MockSetBuildID()
/system/update_engine/payload_consumer/
Dcow_writer_file_descriptor.cc65 const auto offset = cow_reader_->Seek(0, SEEK_CUR); in Read() local
89 auto offset = cow_reader_->Seek(0, SEEK_CUR); in Write() local
103 off64_t CowWriterFileDescriptor::Seek(const off64_t offset, int whence) { in Seek()
/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()
/system/libfmq/base/fmq/
DMQDescriptorBase.h43 uint32_t offset __attribute__((aligned(4))); member
87 static inline size_t isAlignedToWordBoundary(size_t offset) { in isAlignedToWordBoundary()
/system/extras/simpleperf/
Dtracing.h33 size_t offset = 0; member
47 uint32_t offset; member
56 uint32_t offset; member

12345678910>>...14