Home
last modified time | relevance | path

Searched refs:getpwnam_r (Results 1 - 24 of 24) sorted by relevance

/third_party/libwebsockets/lib/plat/unix/
H A Dunix-caps.c94 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 Dgetpwnam_r-crash.c2 // 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 Dgetpwnam_r-errno.c14 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 Dpwd.h39 int getpwnam_r (const char *, struct passwd *, char *, size_t, struct passwd **);
/third_party/musl/porting/liteos_m/kernel/include/
H A Dpwd.h39 int getpwnam_r (const char *, struct passwd *, char *, size_t, struct passwd **);
/third_party/musl/porting/uniproton/kernel/include/
H A Dpwd.h39 int getpwnam_r (const char *, struct passwd *, char *, size_t, struct passwd **);
/third_party/musl/include/
H A Dpwd.h39 int getpwnam_r (const char *, struct passwd *, char *, size_t, struct passwd **);
/third_party/musl/libc-test/src/api/
H A Dpwd.c18 {int(*p)(const char*,struct passwd*,char*,size_t,struct passwd**) = getpwnam_r;} in f()
/third_party/musl/src/passwd/
H A Dgetpw_r.c34 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 Dlibc_pwd.cpp45 benchmark::DoNotOptimize(getpwnam_r("root", &pwd, buf, bufSize, &result)); in Bm_function_Getpwnam_r()
/third_party/pulseaudio/src/pulsecore/
H A Dusergroup.c64 /* 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 Dpwdmodule.c228 /* 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 Dglob.c206 switch (*p ? getpwnam_r(p, &pw, buf, PATH_MAX, &res) in expand_tilde()
/third_party/selinux/libselinux/src/
H A Dseusers.c99 /* 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 Dnode_credentials.cc154 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 Dmod.rs699 pub fn getpwnam_r( in getpwnam_r() functions
/third_party/rust/crates/libc/src/unix/bsd/
H A Dmod.rs789 pub fn getpwnam_r( in getpwnam_r() functions
/third_party/rust/crates/libc/src/unix/haiku/
H A Dmod.rs1779 pub fn getpwnam_r( in getpwnam_r() functions
/third_party/rust/crates/libc/src/unix/nto/
H A Dmod.rs2916 pub fn getpwnam_r( in getpwnam_r() functions
/third_party/rust/crates/libc/src/unix/linux_like/android/
H A Dmod.rs3374 pub fn getpwnam_r( in getpwnam_r() functions
/third_party/rust/crates/libc/src/unix/solarish/
H A Dmod.rs3005 pub fn getpwnam_r( in getpwnam_r() functions
/third_party/rust/crates/nix/src/
H A Dunistd.rs2223 /// 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 Dmod.rs4198 pub fn getpwnam_r( in getpwnam_r() functions
/third_party/rust/crates/libc/src/unix/linux_like/linux/
H A Dmod.rs4270 pub fn getpwnam_r( in getpwnam_r() functions

Completed in 86 milliseconds