Home
last modified time | relevance | path

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

123

/PHP-7.3/TSRM/
H A Dtsrm_win32.h101 TSRM_API FILE *popen_ex(const char *command, const char *type, const char *cwd, char *env);
H A Dtsrm_win32.c448 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 Dphar_object.c137 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 Dfunc_interceptors.c660 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 Dstream.c322 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 Dphar_internal.h179 char* cwd; variable
H A Dphar.c2110 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 Dutil.c257 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 Dzend_virtual_cwd.h132 char *cwd; member
202 cwd_state cwd; member
/PHP-7.3/main/streams/
H A Dplain_wrapper.c1545 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 DZendAccelerator.h202 zend_string *cwd; /* current working directory or NULL */ member
/PHP-7.3/ext/phar/tests/
H A Dfopen_edgecases.phpt17 // create in cwd
/PHP-7.3/
H A DREADME.TESTING281 $cwd the directory that the test is being initiated from
H A Dconfigure.ac149 cwd=`pwd`
/PHP-7.3/ext/standard/
H A Dbasic_functions.c1887 ZEND_ARG_INFO(0, cwd)

Completed in 66 milliseconds

123