/external/ltp/testcases/kernel/syscalls/write/ |
write02.c | 72 char pwbuf[BUFSIZ + 1]; local 89 pwbuf[iws] = 'A' + (iws % 26); 91 pwbuf[BUFSIZ] = '\n'; 97 if ((cwrite = write(fild, pwbuf, iws)) != iws) {
|
/external/curl/lib/ |
netrc.c | 79 char pwbuf[1024]; local 80 if(!getpwuid_r(geteuid(), &pw, pwbuf, sizeof(pwbuf), &pw_res)
|
curl_ntlm_wb.c | 124 char pwbuf[1024]; local 150 !getpwuid_r(geteuid(), &pw, pwbuf, sizeof(pwbuf), &pw_res) &&
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/X11/ |
Xos_r.h | 240 char pwbuf[1024]; member in struct:__anon53675 256 (p).pws.pw_name = (p).pwbuf; 286 ((p).pws.pw_name = (p).pwbuf), \ 325 char pwbuf[X_LINE_MAX]; member in struct:__anon53676 329 ((getpwuid_r((u),&(p).pws,(p).pwbuf,sizeof((p).pwbuf)) == -1) ? NULL : &(p).pws) 331 ((getpwnam_r((u),&(p).pws,(p).pwbuf,sizeof((p).pwbuf)) == -1) ? NULL : &(p).pws) 334 ((getpwuid_r((u),&(p).pws,(p).pwbuf,sizeof((p).pwbuf)) == NULL) ? NULL : &(p).pws 343 char pwbuf[X_LINE_MAX]; member in struct:__anon53677 [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/X11/ |
Xos_r.h | 240 char pwbuf[1024]; member in struct:__anon55541 256 (p).pws.pw_name = (p).pwbuf; 286 ((p).pws.pw_name = (p).pwbuf), \ 325 char pwbuf[X_LINE_MAX]; member in struct:__anon55542 329 ((getpwuid_r((u),&(p).pws,(p).pwbuf,sizeof((p).pwbuf)) == -1) ? NULL : &(p).pws) 331 ((getpwnam_r((u),&(p).pws,(p).pwbuf,sizeof((p).pwbuf)) == -1) ? NULL : &(p).pws) 334 ((getpwuid_r((u),&(p).pws,(p).pwbuf,sizeof((p).pwbuf)) == NULL) ? NULL : &(p).pws 343 char pwbuf[X_LINE_MAX]; member in struct:__anon55543 [all...] |
/external/selinux/libsemanage/src/ |
genhomedircon.c | 298 struct passwd pwstorage, *pwbuf; local 372 while ((retval = getpwent_r(&pwstorage, rbuf, rbuflen, &pwbuf)) == 0) { 373 if (pwbuf->pw_uid < minuid || pwbuf->pw_uid > maxuid) 375 if (!semanage_list_find(shells, pwbuf->pw_shell)) 377 int len = strlen(pwbuf->pw_dir) -1; 378 for(; len > 0 && pwbuf->pw_dir[len] == '/'; len--) { 379 pwbuf->pw_dir[len] = '\0'; 381 if (strcmp(pwbuf->pw_dir, "/") == 0) 383 if (ignore(pwbuf->pw_dir) 1069 char *pwbuf = NULL; local [all...] |
/libcore/ojluni/src/main/native/ |
UnixNativeDispatcher.c | 976 char* pwbuf; local 982 pwbuf = (char*)malloc(buflen); 983 if (pwbuf == NULL) { 992 RESTARTABLE_RETURN_PTR(getpwuid_r((uid_t)uid, &pwent, pwbuf, (size_t)buflen), p); 994 RESTARTABLE(getpwuid_r((uid_t)uid, &pwent, pwbuf, (size_t)buflen, &p), res); 1009 free(pwbuf); 1079 char* pwbuf; local [all...] |
/external/e2fsprogs/lib/support/ |
profile.c | 486 char pwbuf[BUFSIZ]; local 489 if (!getpwuid_r(uid, &pwx, pwbuf, sizeof(pwbuf), &pw) [all...] |
/external/ppp/pppd/ |
eap.c | 547 tpw.pebuf.password.len = t_fromb64((char *)tpw.pwbuf, 549 tpw.pebuf.password.data = tpw.pwbuf; [all...] |