pw               1151 ext/posix/posix.c int php_posix_passwd_to_array(struct passwd *pw, zval *return_value) /* {{{ */
pw               1153 ext/posix/posix.c 	if (NULL == pw)
pw               1158 ext/posix/posix.c 	add_assoc_string(return_value, "name",      pw->pw_name);
pw               1159 ext/posix/posix.c 	add_assoc_string(return_value, "passwd",    pw->pw_passwd);
pw               1160 ext/posix/posix.c 	add_assoc_long  (return_value, "uid",       pw->pw_uid);
pw               1161 ext/posix/posix.c 	add_assoc_long  (return_value, "gid",		pw->pw_gid);
pw               1162 ext/posix/posix.c 	add_assoc_string(return_value, "gecos",     pw->pw_gecos);
pw               1163 ext/posix/posix.c 	add_assoc_string(return_value, "dir",       pw->pw_dir);
pw               1164 ext/posix/posix.c 	add_assoc_string(return_value, "shell",     pw->pw_shell);
pw               1173 ext/posix/posix.c 	struct passwd *pw;
pw               1192 ext/posix/posix.c 	pw = &pwbuf;
pw               1194 ext/posix/posix.c 	if (getpwnam_r(name, pw, buf, buflen, &pw) || pw == NULL) {
pw               1200 ext/posix/posix.c 	if (NULL == (pw = getpwnam(name))) {
pw               1207 ext/posix/posix.c 	if (!php_posix_passwd_to_array(pw, return_value)) {
pw               1230 ext/posix/posix.c 	struct passwd *pw;
pw               1248 ext/posix/posix.c 	pw = &_pw;
pw               1250 ext/posix/posix.c 	if (NULL == (pw = getpwuid(uid))) {
pw               1257 ext/posix/posix.c 	if (!php_posix_passwd_to_array(pw, return_value)) {
pw                746 ext/standard/crypt_freesec.c 	char *pw;
pw                793 ext/standard/crypt_freesec.c 		char *hash = crypt(tests[i].pw, tests[i].hash);
pw                517 ext/standard/filestat.c 		struct passwd pw;
pw                527 ext/standard/filestat.c 		if (getpwnam_r(name, &pw, pwbuf, pwbuflen, &retpwptr) != 0 || retpwptr == NULL) {
pw                532 ext/standard/filestat.c 		*uid = pw.pw_uid;
pw                534 ext/standard/filestat.c 		struct passwd *pw = getpwnam(name);
pw                536 ext/standard/filestat.c 		if (!pw) {
pw                539 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 = (DWORD) 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                370 main/fopen_wrappers.c 			struct passwd *pw;
pw                389 main/fopen_wrappers.c 			if (getpwnam_r(user, &pwstruc, pwbuf, pwbuflen, &pw)) {
pw                394 main/fopen_wrappers.c 			pw = getpwnam(user);
pw                396 main/fopen_wrappers.c 			if (pw && pw->pw_dir) {
pw                397 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                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;