/third_party/libwebsockets/lib/plat/unix/ |
H A D | unix-caps.c | 94 if (getpwnam_r(u, &pr, strs, sizeof(strs), &p) || !p) { 146 if (!getpwnam_r(context->username, &pr, strs, sizeof(strs), &p) && p) {
|
/third_party/musl/libc-test/src/regression/ |
H A D | getpwnam_r-crash.c | 2 // getpwnam_r should not crash on nonexistant users when errno is 0 11 getpwnam_r("nonsensical_user", &pwbuf, buf, sizeof buf, &pw); in main()
|
H A D | getpwnam_r-errno.c | 14 if (getpwnam_r("nonsensical_user", &pwbuf, buf, sizeof buf, &pw) == baderr) in main() 15 t_error("getpwnam_r used preexisting errno for nonexisting user\n"); in main()
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | pwd.h | 39 int getpwnam_r (const char *, struct passwd *, char *, size_t, struct passwd **);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | pwd.h | 39 int getpwnam_r (const char *, struct passwd *, char *, size_t, struct passwd **);
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | pwd.h | 39 int getpwnam_r (const char *, struct passwd *, char *, size_t, struct passwd **);
|
/third_party/musl/include/ |
H A D | pwd.h | 39 int getpwnam_r (const char *, struct passwd *, char *, size_t, struct passwd **);
|
/third_party/musl/libc-test/src/api/ |
H A D | pwd.c | 18 {int(*p)(const char*,struct passwd*,char*,size_t,struct passwd**) = getpwnam_r;} in f()
|
/third_party/musl/src/passwd/ |
H A D | getpw_r.c | 34 int getpwnam_r(const char *name, struct passwd *pw, char *buf, size_t size, struct passwd **res) in getpwnam_r() function
|
/third_party/musl/Benchmark/musl/ |
H A D | libc_pwd.cpp | 45 benchmark::DoNotOptimize(getpwnam_r("root", &pwd, buf, bufSize, &result)); in Bm_function_Getpwnam_r()
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | usergroup.c | 64 /* Returns a suitable starting size for a getpwnam_r() or getpwuid_r() buffer, 265 while ((err = getpwnam_r(name, (struct passwd *)buf, getpw_buf, getpw_buflen, &result)) == ERANGE) { in pa_getpwnam_malloc()
|
/third_party/python/Modules/ |
H A D | pwdmodule.c | 228 /* Note: 'pwd' will be used via pointer 'p' on getpwnam_r success. */ in pwd_getpwnam_impl() 245 status = getpwnam_r(name_chars, &pwd, buf, bufsize, &p); in pwd_getpwnam_impl()
|
/third_party/musl/src/regex/ |
H A D | glob.c | 206 switch (*p ? getpwnam_r(p, &pw, buf, PATH_MAX, &res) in expand_tilde()
|
/third_party/selinux/libselinux/src/ |
H A D | seusers.c | 99 /* Allocate space for the getpwnam_r buffer */ in get_default_gid() 105 int retval = getpwnam_r(name, &pwstorage, rbuf, rbuflen, &pwent); in get_default_gid()
|
/third_party/node/src/ |
H A D | node_credentials.cc | 154 if (getpwnam_r(name, &pwd, buf, sizeof(buf), &pp) == 0 && pp != nullptr) in uid_by_name()
|
/third_party/rust/crates/libc/src/unix/newlib/ |
H A D | mod.rs | 699 pub fn getpwnam_r( in getpwnam_r() functions
|
/third_party/rust/crates/libc/src/unix/bsd/ |
H A D | mod.rs | 789 pub fn getpwnam_r( in getpwnam_r() functions
|
/third_party/rust/crates/libc/src/unix/haiku/ |
H A D | mod.rs | 1779 pub fn getpwnam_r( in getpwnam_r() functions
|
/third_party/rust/crates/libc/src/unix/nto/ |
H A D | mod.rs | 2916 pub fn getpwnam_r( in getpwnam_r() functions
|
/third_party/rust/crates/libc/src/unix/linux_like/android/ |
H A D | mod.rs | 3374 pub fn getpwnam_r( in getpwnam_r() functions
|
/third_party/rust/crates/libc/src/unix/solarish/ |
H A D | mod.rs | 3005 pub fn getpwnam_r( in getpwnam_r() functions
|
/third_party/rust/crates/nix/src/ |
H A D | unistd.rs | 2223 /// Initial size of `getpwuid_r` and `getpwnam_r` data buffers 3166 /// [getpwnam_r(3)](https://pubs.opengroup.org/onlinepubs/9699919799/functions/getpwuid_r.html) 3182 unsafe { libc::getpwnam_r(name.as_ptr(), pwd, cbuf, cap, res) } in from_name()
|
/third_party/rust/crates/libc/src/fuchsia/ |
H A D | mod.rs | 4198 pub fn getpwnam_r( in getpwnam_r() functions
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/ |
H A D | mod.rs | 4270 pub fn getpwnam_r( in getpwnam_r() functions
|