Home
last modified time | relevance | path

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

123

/PHP-7.1/ext/phar/tests/cache_list/
H A Dfrontcontroller22.phpt2 Phar front controller include from cwd test 1 [cache_list]
/PHP-7.1/TSRM/
H A Dtsrm_win32.h102 TSRM_API FILE *popen_ex(const char *command, const char *type, const char *cwd, char *env);
H A Dtsrm_win32.c474 TSRM_API FILE *popen_ex(const char *command, const char *type, const char *cwd, char *env) in popen_ex() argument
522 if (cwd) { in popen_ex()
523 cwdw = php_win32_ioutil_any_to_w(cwd); in popen_ex()
/PHP-7.1/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.c688 save = PHAR_G(cwd); in phar_file_stat()
693 PHAR_G(cwd) = "/"; in phar_file_stat()
698 PHAR_G(cwd) = save; in phar_file_stat()
708 PHAR_G(cwd) = save; in phar_file_stat()
729 PHAR_G(cwd) = save; in phar_file_stat()
1038 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.c2091 memcpy(newpath, PHAR_G(cwd), newpath_len);
3494 PHAR_G(cwd) = NULL;
3534 if (PHAR_G(cwd)) {
3535 efree(PHAR_G(cwd));
3538 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.1/main/streams/
H A Dplain_wrapper.c1511 char *cwd; in _php_stream_fopen_with_path() local
1512 cwd = virtual_getcwd_ex(&cwd_len); in _php_stream_fopen_with_path()
1514 *(cwd+3) = '\0'; in _php_stream_fopen_with_path()
1516 if (snprintf(trypath, MAXPATHLEN, "%s%s", cwd, filename) >= MAXPATHLEN) { in _php_stream_fopen_with_path()
1517 php_error_docref(NULL, E_NOTICE, "%s/%s path was truncated to %d", cwd, filename, MAXPATHLEN); in _php_stream_fopen_with_path()
1520 efree(cwd); in _php_stream_fopen_with_path()
/PHP-7.1/Zend/
H A Dzend_virtual_cwd.h147 char *cwd; member
232 cwd_state cwd; member
/PHP-7.1/ext/opcache/
H A DZendAccelerator.h229 zend_string *cwd; /* current working directory or NULL */ member
/PHP-7.1/ext/phar/tests/
H A Dfopen_edgecases.phpt17 // create in cwd
/PHP-7.1/
H A DREADME.TESTING299 $cwd the directory that the test is being initiated from
H A Dconfigure.in178 cwd=`pwd`
H A DNEWS3187 . Fixed bug #71584 (Possible use-after-free of ZCG(cwd) in Zend Opcache).
/PHP-7.1/ext/standard/
H A Dbasic_functions.c1875 ZEND_ARG_INFO(0, cwd)

Completed in 100 milliseconds

123