Home
last modified time | relevance | path

Searched refs:pwd (Results 1 – 25 of 25) sorted by relevance

/php-src/ext/standard/tests/file/
H A Dparse_ini_file_variation3.phpt8 $pwd = getcwd();
10 $dir1 = $pwd."/".$f.".dir1";
11 $dir2 = $pwd."/".$f.".dir2";
12 $dir3 = $pwd."/".$f.".dir3";
51 $pwd = getcwd();
55 $dir1 = $pwd."/".$f.".dir1";
56 $dir2 = $pwd."/".$f.".dir2";
57 $dir3 = $pwd."/".$f.".dir3";
H A Dfopen_include_path.inc2 $pwd = getcwd();
4 $dir1 = $pwd."/".$f.".dir1";
5 $dir2 = $pwd."/".$f.".dir2";
6 $dir3 = $pwd."/".$f.".dir3";
8 $dir4 = $pwd."/".$f.".dir4";
/php-src/sapi/fpm/fpm/
H A Dfpm_unix.c59 if (!pwd) { in fpm_unix_get_passwd()
64 return pwd; in fpm_unix_get_passwd()
179 struct passwd *pwd; in fpm_unix_resolve_socket_permissions() local
187 if (pwd) { in fpm_unix_resolve_socket_permissions()
257 struct passwd *pwd; in fpm_unix_resolve_socket_permissions() local
260 if (!pwd) { in fpm_unix_resolve_socket_permissions()
351 struct passwd *pwd; in fpm_unix_conf_wp() local
359 if (pwd) { in fpm_unix_conf_wp()
364 struct passwd *pwd; in fpm_unix_conf_wp() local
367 if (!pwd) { in fpm_unix_conf_wp()
[all …]
/php-src/ext/zlib/tests/
H A Dgzopen_include_path.inc2 $pwd = getcwd();
4 $dir1 = $pwd."/".$f.".dir1";
5 $dir2 = $pwd."/".$f.".dir2";
6 $dir3 = $pwd."/".$f.".dir3";
8 $dir4 = $pwd."/".$f.".dir4";
/php-src/ext/pdo_odbc/
H A Dodbc_driver.c542 char *uid = NULL, *pwd = NULL, *dsn = NULL; in pdo_odbc_handle_factory() local
567 pwd = emalloc(estimated_length); in pdo_odbc_handle_factory()
568 php_odbc_connstr_quote(pwd, dbh->password, estimated_length); in pdo_odbc_handle_factory()
570 pwd = dbh->password; in pdo_odbc_handle_factory()
574 new_dsn_size = strlen(db) + strlen(pwd) + strlen(";PWD=;") + 1; in pdo_odbc_handle_factory()
576 snprintf(dsn, new_dsn_size, "%s;PWD=%s;", db, pwd); in pdo_odbc_handle_factory()
582 + strlen(uid) + strlen(pwd) in pdo_odbc_handle_factory()
585 snprintf(dsn, new_dsn_size, "%s;UID=%s;PWD=%s;", db, uid, pwd); in pdo_odbc_handle_factory()
593 if (pwd && should_quote_pwd) { in pdo_odbc_handle_factory()
594 efree(pwd); in pdo_odbc_handle_factory()
/php-src/ext/ftp/
H A Dftp.c200 if (ftp->pwd) { in ftp_gc()
201 efree(ftp->pwd); in ftp_gc()
202 ftp->pwd = NULL; in ftp_gc()
226 if (ftp->pwd) { in ftp_quit()
227 efree(ftp->pwd); in ftp_quit()
228 ftp->pwd = NULL; in ftp_quit()
462 char *pwd, *end; in ftp_pwd() local
469 if (ftp->pwd) { in ftp_pwd()
485 ftp->pwd = estrndup(pwd, end - pwd); in ftp_pwd()
537 if (ftp->pwd) { in ftp_chdir()
[all …]
H A Dftp.h64 char *pwd; /* cached pwd */ member
H A Dphp_ftp.c246 const char *pwd; in PHP_FUNCTION() local
253 if (!(pwd = ftp_pwd(ftp))) { in PHP_FUNCTION()
260 RETURN_STRING((char*) pwd); in PHP_FUNCTION()
/php-src/.github/actions/test-linux/
H A Daction.yml41 …C Driver 17 for SQL Server};Server=127.0.0.1;Database=odbc;uid=$ODBC_TEST_USER;pwd=$ODBC_TEST_PASS"
42 …iver 17 for SQL Server};Server=127.0.0.1;Database=pdo_odbc;uid=$ODBC_TEST_USER;pwd=$ODBC_TEST_PASS"
/php-src/ext/pdo_odbc/tests/
H A Dbasic_connection.phpt22 $dsn = str_replace(";uid={$user};pwd={$password}", '', $dsnWithCredentials);
35 …$db = new PDO("{$dsn};uid={$user};pwd={$password}", null, null, [PDO::ATTR_ERRMODE => PDO::ERRMODE…
/php-src/ext/openssl/tests/
H A Dbug81713.phpt119 ["openssl_pkcs12_export", $crt_file_null, &$out, $priv_key_file, "pwd"],
120 ["openssl_pkcs12_export", $crt_file, &$out, $priv_key_file_null, "pwd"],
121 …["openssl_pkcs12_export", $crt_file, &$out, $priv_key_file, "pwd", ["extracerts" => [$crt_file_nul…
122 ["openssl_pkcs12_export_to_file", $crt_file_null, $outfile, $priv_key_file, "pwd"],
123 ["openssl_pkcs12_export_to_file", $crt_file, $outfile_null, $priv_key_file_null, "pwd"],
124 ["openssl_pkcs12_export_to_file", $crt_file, $outfile, $priv_key_file_null, "pwd"],
125 …["openssl_pkcs12_export_to_file", $crt_file, $outfile, $priv_key_file, "pwd", ["extracerts" => [$c…
H A Dopenssl_error_string_basic_openssl3.phpt115 @openssl_pkey_export($private_key_file_with_pass, $out, 'wrong pwd', $options);
H A Dopenssl_error_string_basic.phpt111 @openssl_pkey_export($private_key_file_with_pass, $out, 'wrong pwd');
/php-src/win32/
H A Dglob.c345 struct passwd *pwd; in globtilde() local
374 if ((pwd = getpwuid(getuid())) == NULL) in globtilde()
377 h = pwd->pw_dir; in globtilde()
387 if ((pwd = getpwnam((char*) patbuf)) == NULL) in globtilde()
390 h = pwd->pw_dir; in globtilde()
/php-src/
H A D.travis.yml86 - sapi/cli/php -d extension_dir=`pwd`/modules -r 'dl("zend_test");'
H A Dconfigure.ac116 abs_srcdir=`(cd $srcdir; pwd)`
117 abs_builddir=`pwd`
405 pwd.h \
1402 phptempdir=`pwd`/libs
/php-src/scripts/
H A Dphpize.m431 abs_srcdir=`(cd $srcdir && pwd)`
32 abs_builddir=`pwd`
/php-src/ext/snmp/tests/
H A DREADME.md22 To run test suite you may use this command (presuming that you pwd is where this
/php-src/ext/odbc/tests/
H A Dodbc_connect_001.phpt19 $dsn = str_replace(";uid={$user};pwd={$pass}", '', $dsn);
/php-src/ext/odbc/
H A Dphp_odbc.c2121 bool odbc_sqlconnect(zval *zv, char *db, char *uid, char *pwd, int cur_opt, bool persistent, char *… in odbc_sqlconnect() argument
2187 bool use_pwd_arg = pwd != NULL && !php_memnistr(db, "pwd=", strlen("pwd="), db_end); in odbc_sqlconnect()
2214 should_quote_pwd = !php_odbc_connstr_is_quoted(pwd) && php_odbc_connstr_should_quote(pwd); in odbc_sqlconnect()
2216 size_t estimated_length = php_odbc_connstr_estimate_quote_length(pwd); in odbc_sqlconnect()
2218 php_odbc_connstr_quote(pwd_quoted, pwd, estimated_length); in odbc_sqlconnect()
2220 pwd_quoted = pwd; in odbc_sqlconnect()
2256 rc = SQLConnect(link->connection->hdbc, (SQLCHAR *) db, SQL_NTS, uid, SQL_NTS, pwd, SQL_NTS); in odbc_sqlconnect()
2270 char *db, *uid=NULL, *pwd=NULL;
2280 Z_PARAM_STRING_OR_NULL(pwd, pwd_len)
2323 …if (!odbc_sqlconnect(return_value, db, uid, pwd, cur_opt, true, hashed_details, hashed_details_len…
[all …]
/php-src/main/
H A Dmain.c1465 struct passwd *pwd; in php_get_current_user()
1484 pwd = &_pw; in php_get_current_user()
1486 if ((pwd=getpwuid(pstat->st_uid))==NULL) { in php_get_current_user()
1490 SG(request_info).current_user_length = strlen(pwd->pw_name); in php_get_current_user()
1491 SG(request_info).current_user = estrndup(pwd->pw_name, SG(request_info).current_user_length); in php_get_current_user()
/php-src/.github/scripts/windows/
H A Dtest_task.bat49 …r SQL Server};Server=^(local^)\SQLEXPRESS;Database=master;uid=%ODBC_TEST_USER%;pwd=%ODBC_TEST_PASS%
/php-src/build/
H A Dphp.m467 ep_realdir=`(cd "$ep_dir" && pwd)`
135 phplibdir="$(pwd)/modules"
/php-src/ext/fileinfo/tests/
H A Dmagic私はガラスを食べられます34629 # by PlanMaker "Pocket Word-Handheld PC" for pwd
34631 0 string {\\pwd Pocket Word document or template
34632 # by SoftMaker Office http://extension.nirsoft.net/pwd
34638 !:ext pwd/psw/pwt
H A Dmagic34629 # by PlanMaker "Pocket Word-Handheld PC" for pwd
34631 0 string {\\pwd Pocket Word document or template
34632 # by SoftMaker Office http://extension.nirsoft.net/pwd
34638 !:ext pwd/psw/pwt

Completed in 188 milliseconds