Searched refs:user_data (Results 1 – 10 of 10) sorted by relevance
/system/core/libpackagelistparser/include/packagelistparser/ |
D | packagelistparser.h | 70 bool packagelist_parse(bool (*callback)(pkg_info* info, void* user_data), void* user_data); 78 bool packagelist_parse_file(const char* path, bool (*callback)(pkg_info* info, void* user_data), 79 void* user_data);
|
/system/core/libpackagelistparser/ |
D | packagelistparser_test.cpp | 42 [](pkg_info* info, void* user_data) -> bool { in TEST() argument 43 reinterpret_cast<std::vector<pkg_info*>*>(user_data)->push_back(info); in TEST() 103 [](pkg_info* info, void* user_data) -> bool { in TEST() argument 104 std::vector<pkg_info*>* p = reinterpret_cast<std::vector<pkg_info*>*>(user_data); in TEST() 122 [](pkg_info* info, void* user_data) -> bool { in TEST() argument 123 reinterpret_cast<std::vector<pkg_info*>*>(user_data)->push_back(info); in TEST()
|
D | packagelistparser.cpp | 93 bool packagelist_parse_file(const char* path, bool (*callback)(pkg_info*, void*), void* user_data) { in packagelist_parse_file() argument 114 if (!callback(info.release(), user_data)) break; in packagelist_parse_file() 120 bool packagelist_parse(bool (*callback)(pkg_info*, void*), void* user_data) { in packagelist_parse() argument 121 return packagelist_parse_file("/data/system/packages.list", callback, user_data); in packagelist_parse()
|
/system/update_engine/liburing_cpp/src/ |
D | IoUring.cpp | 133 cqes.push_back(IoUringCQE(cqe->res, cqe->flags, cqe->user_data)); in PopCQE() 145 const auto cqe = IoUringCQE(ptr->res, ptr->flags, ptr->user_data); in PopCQE() 156 return {IoUringCQE(ptr->res, ptr->flags, ptr->user_data)}; in PeekCQE()
|
/system/core/fs_mgr/libfs_avb/ |
D | avb_ops.h | 54 return reinterpret_cast<FsManagerAvbOps*>(ops->user_data); in GetInstanceFromAvbOps()
|
D | avb_ops.cpp | 137 avb_ops_.user_data = this; in FsManagerAvbOps()
|
/system/extras/libfec/ |
D | avb_utils.cpp | 72 void *user_data) { in parse_avb_image() argument 75 auto desp = static_cast<const AvbDescriptor **>(user_data); in parse_avb_image()
|
/system/unwinding/libunwindstack/ |
D | RegsX86.cpp | 77 Regs* RegsX86::Read(const void* user_data) { in Read() argument 78 const x86_user_regs* user = reinterpret_cast<const x86_user_regs*>(user_data); in Read()
|
/system/update_engine/payload_generator/ |
D | payload_generation_config_android.cc | 34 bool AvbDescriptorCallback(const AvbDescriptor* descriptor, void* user_data) { in AvbDescriptorCallback() argument 35 PartitionConfig* part = static_cast<PartitionConfig*>(user_data); in AvbDescriptorCallback()
|
/system/memory/lmkd/ |
D | lmkd.cpp | 1533 sqe->user_data = i; in handle_io_uring_procs_prio() 1560 if (cqe->user_data < 0 || static_cast<int>(cqe->user_data) > procs_count) { in handle_io_uring_procs_prio() 1561 ALOGE("Invalid LMK_PROCS_PRIO CQE read data: %llu", cqe->user_data); in handle_io_uring_procs_prio() 1565 const int procs_idx = cqe->user_data; in handle_io_uring_procs_prio() 1607 sqe->user_data = i; in handle_io_uring_procs_prio() 1634 if (cqe->user_data < 0 || static_cast<int>(cqe->user_data) > procs_count) { in handle_io_uring_procs_prio() 1635 ALOGE("Invalid LMK_PROCS_PRIO CQE read data: %llu", cqe->user_data); in handle_io_uring_procs_prio() 1639 const int procs_idx = cqe->user_data; in handle_io_uring_procs_prio()
|