Searched refs:pwbuf (Results 1 – 4 of 4) sorted by relevance
/PHP-8.2/ext/posix/ |
H A D | posix.c | 871 struct passwd pwbuf; in PHP_FUNCTION() local 893 pw = &pwbuf; in PHP_FUNCTION() 932 char *pwbuf; in PHP_FUNCTION() local 950 pwbuf = emalloc(pwbuflen); in PHP_FUNCTION() 953 err = getpwuid_r(uid, &_pw, pwbuf, pwbuflen, &retpwptr); in PHP_FUNCTION() 957 pwbuf = erealloc(pwbuf, pwbuflen); in PHP_FUNCTION() 961 efree(pwbuf); in PHP_FUNCTION() 979 efree(pwbuf); in PHP_FUNCTION()
|
/PHP-8.2/main/ |
H A D | fopen_wrappers.c | 377 char *pwbuf; local 387 pwbuf = emalloc(pwbuflen); 390 err = getpwnam_r(user, &pwstruc, pwbuf, pwbuflen, &pw); 394 pwbuf = erealloc(pwbuf, pwbuflen); 397 efree(pwbuf); 410 efree(pwbuf);
|
H A D | main.c | 1462 char *pwbuf; in php_get_current_user() 1472 pwbuf = emalloc(pwbuflen); in php_get_current_user() 1475 err = getpwuid_r(pstat->st_uid, &_pw, pwbuf, pwbuflen, &retpwptr); in php_get_current_user() 1479 pwbuf = erealloc(pwbuf, pwbuflen); in php_get_current_user() 1482 efree(pwbuf); in php_get_current_user() 1486 efree(pwbuf); in php_get_current_user() 1498 efree(pwbuf); in php_get_current_user()
|
/PHP-8.2/ext/standard/ |
H A D | filestat.c | 453 char *pwbuf; in php_get_uid_by_name() local 463 pwbuf = emalloc(pwbuflen); in php_get_uid_by_name() 466 err = getpwnam_r(name, &pw, pwbuf, pwbuflen, &retpwptr); in php_get_uid_by_name() 470 pwbuf = erealloc(pwbuf, pwbuflen); in php_get_uid_by_name() 473 efree(pwbuf); in php_get_uid_by_name() 476 efree(pwbuf); in php_get_uid_by_name()
|
Completed in 20 milliseconds