Home
last modified time | relevance | path

Searched refs:cwd (Results 51 – 66 of 66) sorted by relevance

123

/PHP-7.2/ext/standard/
H A Dproc_open.c409 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 Dbasic_functions.c1871 ZEND_ARG_INFO(0, cwd)
/PHP-7.2/TSRM/
H A Dtsrm_win32.h103 TSRM_API FILE *popen_ex(const char *command, const char *type, const char *cwd, char *env);
H A Dtsrm_win32.c473 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 Dphar_object.c139 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 Dfunc_interceptors.c662 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 Dstream.c321 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 Dphar_internal.h181 char* cwd; variable
H A Dphar.c2092 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 Dutil.c259 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 Dplain_wrapper.c1504 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 Dzend_virtual_cwd.h134 char *cwd; member
219 cwd_state cwd; member
/PHP-7.2/ext/opcache/
H A DZendAccelerator.h203 zend_string *cwd; /* current working directory or NULL */ member
/PHP-7.2/ext/phar/tests/
H A Dfopen_edgecases.phpt17 // create in cwd
/PHP-7.2/
H A DREADME.TESTING299 $cwd the directory that the test is being initiated from
H A Dconfigure.ac166 cwd=`pwd`

Completed in 89 milliseconds

123