Searched refs:pw (Results 1 - 7 of 7) sorted by relevance

/PHP_5_3/ext/standard/
H A Dcrypt_freesec.c748 char *pw; member in struct:__anon433
795 char *hash = crypt(tests[i].pw, tests[i].hash);
H A Dfilestat.c519 struct passwd pw; local
529 if (getpwnam_r(Z_STRVAL_P(user), &pw, pwbuf, pwbuflen, &retpwptr) != 0 || retpwptr == NULL) {
535 uid = pw.pw_uid;
537 struct passwd *pw = getpwnam(Z_STRVAL_P(user));
539 if (!pw) {
543 uid = pw->pw_uid;
H A Dphp_crypt_r.c127 char * php_md5_crypt_r(const char *pw, const char *salt, char *out) { argument
147 pwl = (unsigned int) strlen(pw);
171 if(!CryptHashData(ctx, (BYTE *)pw, pwl, 0)) {
185 /* MD5(pw,salt,pw), valid. */
186 /* Then just as many characters of the MD5(pw,salt,pw) */
190 if(!CryptHashData(ctx1, (BYTE *)pw, pwl, 0)) {
196 if(!CryptHashData(ctx1, (BYTE *)pw, pwl, 0)) {
202 /* MD5(pw,sal
324 php_md5_crypt_r(const char *pw, const char *salt, char *out) argument
[all...]
H A Dphp_crypt_r.h51 extern char * php_md5_crypt_r(const char *pw, const char *salt, char *out);
/PHP_5_3/ext/posix/
H A Dposix.c1105 int php_posix_passwd_to_array(struct passwd *pw, zval *return_value) /* {{{ */ argument
1107 if (NULL == pw)
1112 add_assoc_string(return_value, "name", pw->pw_name, 1);
1113 add_assoc_string(return_value, "passwd", pw->pw_passwd, 1);
1114 add_assoc_long (return_value, "uid", pw->pw_uid);
1115 add_assoc_long (return_value, "gid", pw->pw_gid);
1116 add_assoc_string(return_value, "gecos", pw->pw_gecos, 1);
1117 add_assoc_string(return_value, "dir", pw->pw_dir, 1);
1118 add_assoc_string(return_value, "shell", pw->pw_shell, 1);
1127 struct passwd *pw; local
1184 struct passwd *pw; local
[all...]
/PHP_5_3/main/
H A Dfopen_wrappers.c427 struct passwd *pw; local
446 if (getpwnam_r(user, &pwstruc, pwbuf, pwbuflen, &pw)) {
451 pw = getpwnam(user);
453 if (pw && pw->pw_dir) {
454 spprintf(&filename, 0, "%s%c%s%c%s", pw->pw_dir, PHP_DIR_SEPARATOR, PG(user_dir), PHP_DIR_SEPARATOR, s + 1); /* Safe */
/PHP_5_3/sapi/apache_hooks/
H A Dphp_apache.c933 const char *pw; local
947 pw = NULL;
948 status = ap_get_basic_auth_pw(r, &pw);
949 if (status == OK && pw) {
950 ZVAL_STRING(zpw, (char *)pw, 1);

Completed in 12 milliseconds