Home
last modified time | relevance | path

Searched refs:pwbuf (Results 1 – 4 of 4) sorted by relevance

/PHP-8.4/ext/posix/
H A Dposix.c927 struct passwd pwbuf; in PHP_FUNCTION() local
949 pw = &pwbuf; in PHP_FUNCTION()
988 char *pwbuf; in PHP_FUNCTION() local
1006 pwbuf = emalloc(pwbuflen); in PHP_FUNCTION()
1009 err = getpwuid_r(uid, &_pw, pwbuf, pwbuflen, &retpwptr); in PHP_FUNCTION()
1013 pwbuf = erealloc(pwbuf, pwbuflen); in PHP_FUNCTION()
1017 efree(pwbuf); in PHP_FUNCTION()
1035 efree(pwbuf); in PHP_FUNCTION()
/PHP-8.4/main/
H A Dfopen_wrappers.c389 char *pwbuf; local
399 pwbuf = emalloc(pwbuflen);
402 err = getpwnam_r(user, &pwstruc, pwbuf, pwbuflen, &pw);
406 pwbuf = erealloc(pwbuf, pwbuflen);
409 efree(pwbuf);
422 efree(pwbuf);
H A Dmain.c1513 char *pwbuf; in php_get_current_user()
1523 pwbuf = emalloc(pwbuflen); in php_get_current_user()
1526 err = getpwuid_r(pstat->st_uid, &_pw, pwbuf, pwbuflen, &retpwptr); in php_get_current_user()
1530 pwbuf = erealloc(pwbuf, pwbuflen); in php_get_current_user()
1533 efree(pwbuf); in php_get_current_user()
1537 efree(pwbuf); in php_get_current_user()
1549 efree(pwbuf); in php_get_current_user()
/PHP-8.4/ext/standard/
H A Dfilestat.c419 char *pwbuf; in php_get_uid_by_name() local
429 pwbuf = emalloc(pwbuflen); in php_get_uid_by_name()
432 err = getpwnam_r(name, &pw, pwbuf, pwbuflen, &retpwptr); in php_get_uid_by_name()
436 pwbuf = erealloc(pwbuf, pwbuflen); in php_get_uid_by_name()
439 efree(pwbuf); in php_get_uid_by_name()
442 efree(pwbuf); in php_get_uid_by_name()

Completed in 19 milliseconds