Home
last modified time | relevance | path

Searched refs:pwdres (Results 1 – 2 of 2) sorted by relevance

/external/compiler-rt/test/sanitizer_common/TestCases/Linux/
Dgetpwnam_r_invalid_user.cc13 struct passwd *pwdres; in main() local
15 int res = getpwnam_r("no-such-user", &pwd, buf, sizeof(buf), &pwdres); in main()
17 assert(pwdres == 0); in main()
/external/compiler-rt/lib/msan/tests/
Dmsan_test.cc3268 struct passwd *pwdres; in TEST() local
3270 int res = getpwuid_r(0, &pwd, buf, sizeof(buf), &pwdres); in TEST()
3277 EXPECT_NOT_POISONED(pwdres); in TEST()
3282 struct passwd *pwdres; in TEST() local
3284 int res = getpwnam_r("root", &pwd, buf, sizeof(buf), &pwdres); in TEST()
3291 EXPECT_NOT_POISONED(pwdres); in TEST()
3296 struct passwd *pwdres; in TEST() local
3302 EXPECT_UMR(res = getpwnam_r(s, &pwd, buf, sizeof(buf), &pwdres)); in TEST()
3332 struct passwd *pwdres; in TEST() local
3335 int res = getpwent_r(&pwd, buf, sizeof(buf), &pwdres); in TEST()
[all …]