Searched refs:cwd (Results 51 – 66 of 66) sorted by relevance
123
/PHP-7.2/ext/standard/ |
H A D | proc_open.c | 409 char *command, *cwd=NULL; in PHP_FUNCTION() local 453 Z_PARAM_STRING_EX(cwd, cwd_len, 1, 0) in PHP_FUNCTION() 671 if (cwd == NULL) { in PHP_FUNCTION() 678 cwd = cur_cwd; in PHP_FUNCTION() 680 cwdw = php_win32_cp_any_to_w(cwd); in PHP_FUNCTION() 835 if (cwd) { in PHP_FUNCTION() 836 php_ignore_value(chdir(cwd)); in PHP_FUNCTION()
|
H A D | basic_functions.c | 1871 ZEND_ARG_INFO(0, cwd)
|
/PHP-7.2/TSRM/ |
H A D | tsrm_win32.h | 103 TSRM_API FILE *popen_ex(const char *command, const char *type, const char *cwd, char *env);
|
H A D | tsrm_win32.c | 473 TSRM_API FILE *popen_ex(const char *command, const char *type, const char *cwd, char *env) in popen_ex() argument 521 if (cwd) { in popen_ex() 522 cwdw = php_win32_ioutil_any_to_w(cwd); in popen_ex()
|
/PHP-7.2/ext/phar/ |
H A D | phar_object.c | 139 const char *cwd; in phar_file_action() local 230 PHAR_G(cwd) = NULL; in phar_file_action() 237 if (entry == cwd) { in phar_file_action() 240 PHAR_G(cwd) = NULL; in phar_file_action() 270 if (PHAR_G(cwd)) { in phar_file_action() 271 efree(PHAR_G(cwd)); in phar_file_action() 272 PHAR_G(cwd) = NULL; in phar_file_action() 282 if (PHAR_G(cwd)) { in phar_file_action() 283 efree(PHAR_G(cwd)); in phar_file_action() 284 PHAR_G(cwd) = NULL; in phar_file_action() [all …]
|
H A D | func_interceptors.c | 662 save = PHAR_G(cwd); in phar_file_stat() 667 PHAR_G(cwd) = "/"; in phar_file_stat() 672 PHAR_G(cwd) = save; in phar_file_stat() 682 PHAR_G(cwd) = save; in phar_file_stat() 697 PHAR_G(cwd) = save; in phar_file_stat() 994 PHAR_G(cwd) = NULL; in PharFileFunction()
|
H A D | stream.c | 321 char *entry = idata->internal_file->filename, *cwd; in phar_wrapper_open_url() local 327 } else if ((cwd = strrchr(entry, '/'))) { in phar_wrapper_open_url() 328 PHAR_G(cwd_len) = cwd - entry; in phar_wrapper_open_url() 329 PHAR_G(cwd) = estrndup(entry, PHAR_G(cwd_len)); in phar_wrapper_open_url() 333 PHAR_G(cwd) = NULL; in phar_wrapper_open_url()
|
H A D | phar_internal.h | 181 char* cwd; variable
|
H A D | phar.c | 2092 memcpy(newpath, PHAR_G(cwd), newpath_len); 3495 PHAR_G(cwd) = NULL; 3535 if (PHAR_G(cwd)) { 3536 efree(PHAR_G(cwd)); 3539 PHAR_G(cwd) = NULL;
|
H A D | util.c | 259 if (!zend_is_executing() || !PHAR_G(cwd)) { in phar_find_in_include_path() 312 …spprintf(&path, MAXPATHLEN + 1 + strlen(PG(include_path)), "phar://%s/%s%c%s", arch, PHAR_G(cwd), … in phar_find_in_include_path()
|
/PHP-7.2/main/streams/ |
H A D | plain_wrapper.c | 1504 char *cwd; in _php_stream_fopen_with_path() local 1505 cwd = virtual_getcwd_ex(&cwd_len); in _php_stream_fopen_with_path() 1507 *(cwd+3) = '\0'; in _php_stream_fopen_with_path() 1509 if (snprintf(trypath, MAXPATHLEN, "%s%s", cwd, filename) >= MAXPATHLEN) { in _php_stream_fopen_with_path() 1510 php_error_docref(NULL, E_NOTICE, "%s/%s path was truncated to %d", cwd, filename, MAXPATHLEN); in _php_stream_fopen_with_path() 1513 efree(cwd); in _php_stream_fopen_with_path()
|
/PHP-7.2/Zend/ |
H A D | zend_virtual_cwd.h | 134 char *cwd; member 219 cwd_state cwd; member
|
/PHP-7.2/ext/opcache/ |
H A D | ZendAccelerator.h | 203 zend_string *cwd; /* current working directory or NULL */ member
|
/PHP-7.2/ext/phar/tests/ |
H A D | fopen_edgecases.phpt | 17 // create in cwd
|
/PHP-7.2/ |
H A D | README.TESTING2 | 99 $cwd the directory that the test is being initiated from
|
H A D | configure.ac | 166 cwd=`pwd`
|
Completed in 89 milliseconds
123