pw               1090 ext/posix/posix.c int php_posix_passwd_to_array(struct passwd *pw, zval *return_value) /* {{{ */
pw               1092 ext/posix/posix.c 	if (NULL == pw)
pw               1097 ext/posix/posix.c 	add_assoc_string(return_value, "name",      pw->pw_name, 1);
pw               1098 ext/posix/posix.c 	add_assoc_string(return_value, "passwd",    pw->pw_passwd, 1);
pw               1099 ext/posix/posix.c 	add_assoc_long  (return_value, "uid",       pw->pw_uid);
pw               1100 ext/posix/posix.c 	add_assoc_long  (return_value, "gid",		pw->pw_gid);
pw               1101 ext/posix/posix.c 	add_assoc_string(return_value, "gecos",     pw->pw_gecos, 1);
pw               1102 ext/posix/posix.c 	add_assoc_string(return_value, "dir",       pw->pw_dir, 1);
pw               1103 ext/posix/posix.c 	add_assoc_string(return_value, "shell",     pw->pw_shell, 1);
pw               1112 ext/posix/posix.c 	struct passwd *pw;
pw               1131 ext/posix/posix.c 	pw = &pwbuf;
pw               1133 ext/posix/posix.c 	if (getpwnam_r(name, pw, buf, buflen, &pw) || pw == NULL) {
pw               1139 ext/posix/posix.c 	if (NULL == (pw = getpwnam(name))) {
pw               1146 ext/posix/posix.c 	if (!php_posix_passwd_to_array(pw, return_value)) {
pw               1169 ext/posix/posix.c 	struct passwd *pw;
pw               1187 ext/posix/posix.c 	pw = &_pw;
pw               1189 ext/posix/posix.c 	if (NULL == (pw = getpwuid(uid))) {
pw               1196 ext/posix/posix.c 	if (!php_posix_passwd_to_array(pw, return_value)) {
pw                748 ext/standard/crypt_freesec.c 	char *pw;
pw                795 ext/standard/crypt_freesec.c 		char *hash = crypt(tests[i].pw, tests[i].hash);
pw                529 ext/standard/filestat.c 		struct passwd pw;
pw                539 ext/standard/filestat.c 		if (getpwnam_r(name, &pw, pwbuf, pwbuflen, &retpwptr) != 0 || retpwptr == NULL) {
pw                544 ext/standard/filestat.c 		*uid = pw.pw_uid;
pw                546 ext/standard/filestat.c 		struct passwd *pw = getpwnam(name);
pw                548 ext/standard/filestat.c 		if (!pw) {
pw                551 ext/standard/filestat.c 		*uid = pw->pw_uid;
pw                127 ext/standard/php_crypt_r.c char * php_md5_crypt_r(const char *pw, const char *salt, char *out) {
pw                147 ext/standard/php_crypt_r.c 	pwl = (unsigned int) strlen(pw);
pw                171 ext/standard/php_crypt_r.c 	if(!CryptHashData(ctx, (BYTE *)pw, pwl, 0)) {
pw                190 ext/standard/php_crypt_r.c 	if(!CryptHashData(ctx1, (BYTE *)pw, pwl, 0)) {
pw                196 ext/standard/php_crypt_r.c 	if(!CryptHashData(ctx1, (BYTE *)pw, pwl, 0)) {
pw                216 ext/standard/php_crypt_r.c 			CryptHashData(ctx, (const BYTE *)pw, 1, 0);
pw                239 ext/standard/php_crypt_r.c 			if(!CryptHashData(ctx1, (BYTE *)pw, pwl, 0)) {
pw                255 ext/standard/php_crypt_r.c 			if(!CryptHashData(ctx1, (BYTE *)pw, pwl, 0)) {
pw                265 ext/standard/php_crypt_r.c 			if(!CryptHashData(ctx1, (BYTE *)pw, pwl, 0)) {
pw                319 ext/standard/php_crypt_r.c char * php_md5_crypt_r(const char *pw, const char *salt, char *out)
pw                329 ext/standard/php_crypt_r.c 	pwl = strlen(pw);
pw                348 ext/standard/php_crypt_r.c 	PHP_MD5Update(&ctx, (const unsigned char *)pw, pwl);
pw                358 ext/standard/php_crypt_r.c 	PHP_MD5Update(&ctx1, (const unsigned char *)pw, pwl);
pw                360 ext/standard/php_crypt_r.c 	PHP_MD5Update(&ctx1, (const unsigned char *)pw, pwl);
pw                374 ext/standard/php_crypt_r.c 		    PHP_MD5Update(&ctx, (const unsigned char *)pw, 1);
pw                392 ext/standard/php_crypt_r.c 			PHP_MD5Update(&ctx1, (const unsigned char *)pw, pwl);
pw                400 ext/standard/php_crypt_r.c 			PHP_MD5Update(&ctx1, (const unsigned char *)pw, pwl);
pw                405 ext/standard/php_crypt_r.c 			PHP_MD5Update(&ctx1, (const unsigned char *)pw, pwl);
pw                 51 ext/standard/php_crypt_r.h extern char * php_md5_crypt_r(const char *pw, const char *salt, char *out);
pw                374 main/fopen_wrappers.c 			struct passwd *pw;
pw                393 main/fopen_wrappers.c 			if (getpwnam_r(user, &pwstruc, pwbuf, pwbuflen, &pw)) {
pw                398 main/fopen_wrappers.c 			pw = getpwnam(user);
pw                400 main/fopen_wrappers.c 			if (pw && pw->pw_dir) {
pw                401 main/fopen_wrappers.c 				spprintf(&filename, 0, "%s%c%s%c%s", pw->pw_dir, PHP_DIR_SEPARATOR, PG(user_dir), PHP_DIR_SEPARATOR, s + 1); /* Safe */
pw                933 sapi/apache_hooks/php_apache.c 	const char *pw;
pw                947 sapi/apache_hooks/php_apache.c 	pw = NULL;
pw                948 sapi/apache_hooks/php_apache.c 	status = ap_get_basic_auth_pw(r, &pw);
pw                949 sapi/apache_hooks/php_apache.c 	if (status == OK && pw) {
pw                950 sapi/apache_hooks/php_apache.c 		ZVAL_STRING(zpw, (char *)pw, 1);
pw                780 sapi/litespeed/lsapilib.c static int lsapi_jailLVE( LSAPI_Request * pReq, uid_t uid, struct passwd * pw )
pw                785 sapi/litespeed/lsapilib.c     ret = (*fp_lve_jail)( pw, error_msg );
pw                829 sapi/litespeed/lsapilib.c     struct passwd * pw;
pw                830 sapi/litespeed/lsapilib.c     pw = getpwuid( uid );
pw                836 sapi/litespeed/lsapilib.c         if ( pw && fp_lve_jail)
pw                838 sapi/litespeed/lsapilib.c             rv = lsapi_jailLVE( pReq, uid, pw );
pw                845 sapi/litespeed/lsapilib.c                 pw = getpwuid( uid );
pw                867 sapi/litespeed/lsapilib.c     if ( pw && (pw->pw_gid == gid ))
pw                869 sapi/litespeed/lsapilib.c         rv = initgroups( pw->pw_name, gid );
pw               3156 sapi/litespeed/lsapilib.c     struct passwd * pw;
pw               3188 sapi/litespeed/lsapilib.c         pw = getpwnam( "nobody" );
pw               3189 sapi/litespeed/lsapilib.c         if ( pw )
pw               3192 sapi/litespeed/lsapilib.c                 s_defaultUid = pw->pw_uid;
pw               3194 sapi/litespeed/lsapilib.c                 s_defaultGid = pw->pw_gid;