Searched refs:by_name (Results 1 – 3 of 3) sorted by relevance
/aosp12/system/core/fs_mgr/liblp/ |
H A D | partition_opener.cpp | 48 auto by_name = "/dev/block/by-name/" + path; in GetPartitionAbsolutePath() 49 if (access(by_name.c_str(), F_OK) != 0) { in GetPartitionAbsolutePath() 61 return by_name; in GetPartitionAbsolutePath()
|
/aosp12/system/core/fastboot/device/ |
H A D | utility.cpp | 164 std::unique_ptr<DIR, decltype(&closedir)> by_name(opendir("/dev/block/by-name"), closedir); in ListPartitions() local 165 while ((de = readdir(by_name.get())) != nullptr) { in ListPartitions()
|
/aosp12/bionic/libc/bionic/ |
H A D | grp_pwd.cpp | 583 static int getpasswd_r(bool by_name, const char* name, uid_t uid, struct passwd* pwd, char* buf, in getpasswd_r() argument 594 passwd* retval = (by_name ? getpwnam_internal(name, state) : getpwuid_internal(uid, state)); in getpasswd_r() 743 static int getgroup_r(bool by_name, const char* name, gid_t gid, struct group* grp, char* buf, in getgroup_r() argument 754 group* retval = (by_name ? getgrnam_internal(name, state) : getgrgid_internal(gid, state)); in getgroup_r()
|