Searched refs:cwd (Results 51 – 65 of 65) sorted by relevance
123
/PHP-7.3/TSRM/ |
H A D | tsrm_win32.h | 101 TSRM_API FILE *popen_ex(const char *command, const char *type, const char *cwd, char *env);
|
H A D | tsrm_win32.c | 448 TSRM_API FILE *popen_ex(const char *command, const char *type, const char *cwd, char *env) in popen_ex() argument 496 if (cwd) { in popen_ex() 497 cwdw = php_win32_ioutil_any_to_w(cwd); in popen_ex()
|
/PHP-7.3/ext/phar/ |
H A D | phar_object.c | 137 const char *cwd; in phar_file_action() local 228 PHAR_G(cwd) = NULL; in phar_file_action() 235 if (entry == cwd) { in phar_file_action() 238 PHAR_G(cwd) = NULL; in phar_file_action() 268 if (PHAR_G(cwd)) { in phar_file_action() 269 efree(PHAR_G(cwd)); in phar_file_action() 270 PHAR_G(cwd) = NULL; in phar_file_action() 280 if (PHAR_G(cwd)) { in phar_file_action() 281 efree(PHAR_G(cwd)); in phar_file_action() 282 PHAR_G(cwd) = NULL; in phar_file_action() [all …]
|
H A D | func_interceptors.c | 660 save = PHAR_G(cwd); in phar_file_stat() 665 PHAR_G(cwd) = "/"; in phar_file_stat() 670 PHAR_G(cwd) = save; in phar_file_stat() 680 PHAR_G(cwd) = save; in phar_file_stat() 695 PHAR_G(cwd) = save; in phar_file_stat() 992 PHAR_G(cwd) = NULL; in PharFileFunction()
|
H A D | stream.c | 322 char *entry = idata->internal_file->filename, *cwd; in phar_wrapper_open_url() local 328 } else if ((cwd = strrchr(entry, '/'))) { in phar_wrapper_open_url() 329 PHAR_G(cwd_len) = cwd - entry; in phar_wrapper_open_url() 330 PHAR_G(cwd) = estrndup(entry, PHAR_G(cwd_len)); in phar_wrapper_open_url() 334 PHAR_G(cwd) = NULL; in phar_wrapper_open_url()
|
H A D | phar_internal.h | 179 char* cwd; variable
|
H A D | phar.c | 2110 memcpy(newpath, PHAR_G(cwd), newpath_len); 3510 PHAR_G(cwd) = NULL; 3550 if (PHAR_G(cwd)) { 3551 efree(PHAR_G(cwd)); 3554 PHAR_G(cwd) = NULL;
|
H A D | util.c | 257 if (!zend_is_executing() || !PHAR_G(cwd)) { in phar_find_in_include_path() 310 …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.3/Zend/ |
H A D | zend_virtual_cwd.h | 132 char *cwd; member 202 cwd_state cwd; member
|
/PHP-7.3/main/streams/ |
H A D | plain_wrapper.c | 1545 char *cwd; in _php_stream_fopen_with_path() local 1546 cwd = virtual_getcwd_ex(&cwd_len); in _php_stream_fopen_with_path() 1548 *(cwd+3) = '\0'; in _php_stream_fopen_with_path() 1550 if (snprintf(trypath, MAXPATHLEN, "%s%s", cwd, filename) >= MAXPATHLEN) { in _php_stream_fopen_with_path() 1551 php_error_docref(NULL, E_NOTICE, "%s/%s path was truncated to %d", cwd, filename, MAXPATHLEN); in _php_stream_fopen_with_path() 1554 efree(cwd); in _php_stream_fopen_with_path()
|
/PHP-7.3/ext/opcache/ |
H A D | ZendAccelerator.h | 202 zend_string *cwd; /* current working directory or NULL */ member
|
/PHP-7.3/ext/phar/tests/ |
H A D | fopen_edgecases.phpt | 17 // create in cwd
|
/PHP-7.3/ |
H A D | README.TESTING | 281 $cwd the directory that the test is being initiated from
|
H A D | configure.ac | 149 cwd=`pwd`
|
/PHP-7.3/ext/standard/ |
H A D | basic_functions.c | 1887 ZEND_ARG_INFO(0, cwd)
|
Completed in 66 milliseconds
123