Lines Matching refs:buflen
727 long buflen; in PHP_FUNCTION() local
745 buflen = sysconf(_SC_TTY_NAME_MAX); in PHP_FUNCTION()
746 if (buflen < 1) { in PHP_FUNCTION()
749 p = emalloc(buflen); in PHP_FUNCTION()
751 if (ttyname_r(fd, p, buflen)) { in PHP_FUNCTION()
998 long buflen; in PHP_FUNCTION() local
1007 buflen = sysconf(_SC_GETGR_R_SIZE_MAX); in PHP_FUNCTION()
1008 if (buflen < 1) { in PHP_FUNCTION()
1011 buf = emalloc(buflen); in PHP_FUNCTION()
1014 if (getgrnam_r(name, g, buf, buflen, &g) || g == NULL) { in PHP_FUNCTION()
1117 long buflen; in PHP_FUNCTION() local
1126 buflen = sysconf(_SC_GETPW_R_SIZE_MAX); in PHP_FUNCTION()
1127 if (buflen < 1) { in PHP_FUNCTION()
1130 buf = emalloc(buflen); in PHP_FUNCTION()
1133 if (getpwnam_r(name, pw, buf, buflen, &pw) || pw == NULL) { in PHP_FUNCTION()