/php-src/ext/phar/tests/cache_list/ |
H A D | frontcontroller22.phpt | 2 Phar front controller include from cwd test 1 [cache_list]
|
/php-src/TSRM/ |
H A D | tsrm_win32.h | 96 TSRM_API FILE *popen_ex(const char *command, const char *type, const char *cwd, const char *env);
|
H A D | tsrm_win32.c | 445 TSRM_API FILE *popen_ex(const char *command, const char *type, const char *cwd, const char *env) in popen_ex() argument 493 if (cwd) { in popen_ex() 494 cwdw = php_win32_ioutil_any_to_w(cwd); in popen_ex()
|
/php-src/ext/standard/ |
H A D | proc_open.c | 1144 char *cwd = NULL; /* Optional argument */ in PHP_FUNCTION() local 1182 Z_PARAM_STRING_OR_NULL(cwd, cwd_len) in PHP_FUNCTION() 1258 if (cwd == NULL) { in PHP_FUNCTION() 1264 cwd = cur_cwd; in PHP_FUNCTION() 1266 cwdw = php_win32_cp_any_to_w(cwd); in PHP_FUNCTION() 1340 if (cwd) { in PHP_FUNCTION() 1341 r = posix_spawn_file_actions_addchdir_np(&factions, cwd); in PHP_FUNCTION() 1374 if (cwd) { in PHP_FUNCTION() 1375 php_ignore_value(chdir(cwd)); in PHP_FUNCTION()
|
H A D | basic_functions.stub.php | 3347 function proc_open(array|string $command, array $descriptor_spec, &$pipes, ?string $cwd = null, ?ar…
|
H A D | basic_functions_arginfo.h | 1781 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, cwd, IS_STRING, 1, "null")
|
/php-src/ext/opcache/ |
H A D | ZendAccelerator.c | 210 if (ZCG(cwd)) { in ZEND_FUNCTION() 213 ZCG(cwd) = zend_string_init(cwd, strlen(cwd), 0); in ZEND_FUNCTION() 215 if (ZCG(cwd)) { in ZEND_FUNCTION() 217 ZCG(cwd) = NULL; in ZEND_FUNCTION() 226 if (ZCG(cwd)) { in accel_getcwd() 227 return ZCG(cwd); in accel_getcwd() 234 ZCG(cwd) = zend_string_init(cwd, strlen(cwd), 0); in accel_getcwd() 237 return ZCG(cwd); in accel_getcwd() 2638 ZCG(cwd) = NULL; in accel_activate() 2771 if (ZCG(cwd)) { in accel_post_deactivate() [all …]
|
H A D | ZendAccelerator.h | 204 zend_string *cwd; /* current working directory or NULL */ member
|
/php-src/ext/phar/ |
H A D | phar_object.c | 146 const char *cwd; in phar_file_action() local 233 PHAR_G(cwd) = NULL; in phar_file_action() 240 if (entry == cwd) { in phar_file_action() 243 PHAR_G(cwd) = NULL; in phar_file_action() 272 if (PHAR_G(cwd)) { in phar_file_action() 273 efree(PHAR_G(cwd)); in phar_file_action() 274 PHAR_G(cwd) = NULL; in phar_file_action() 284 if (PHAR_G(cwd)) { in phar_file_action() 285 efree(PHAR_G(cwd)); in phar_file_action() 286 PHAR_G(cwd) = NULL; in phar_file_action() [all …]
|
H A D | func_interceptors.c | 555 save = PHAR_G(cwd); in phar_file_stat() 560 PHAR_G(cwd) = "/"; in phar_file_stat() 565 PHAR_G(cwd) = save; in phar_file_stat() 575 PHAR_G(cwd) = save; in phar_file_stat() 590 PHAR_G(cwd) = save; in phar_file_stat() 869 PHAR_G(cwd) = NULL; in PharFileFunction()
|
H A D | stream.c | 328 char *entry = idata->internal_file->filename, *cwd; in phar_wrapper_open_url() local 334 } else if ((cwd = strrchr(entry, '/'))) { in phar_wrapper_open_url() 335 PHAR_G(cwd_len) = cwd - entry; in phar_wrapper_open_url() 336 PHAR_G(cwd) = estrndup(entry, PHAR_G(cwd_len)); in phar_wrapper_open_url() 340 PHAR_G(cwd) = NULL; in phar_wrapper_open_url()
|
H A D | phar_internal.h | 145 char* cwd; variable
|
H A D | phar.c | 2138 memcpy(newpath, PHAR_G(cwd), newpath_len); in phar_fix_filepath() 3472 PHAR_G(cwd) = NULL; in phar_request_initialize() 3510 if (PHAR_G(cwd)) { in PHP_RSHUTDOWN_FUNCTION() 3511 efree(PHAR_G(cwd)); in PHP_RSHUTDOWN_FUNCTION() 3514 PHAR_G(cwd) = NULL; in PHP_RSHUTDOWN_FUNCTION()
|
H A D | util.c | 278 if (!zend_is_executing() || !PHAR_G(cwd)) { in phar_find_in_include_path() 341 …spprintf(&path, MAXPATHLEN + 1 + strlen(PG(include_path)), "phar://%s/%s%c%s", arch, PHAR_G(cwd), … in phar_find_in_include_path()
|
/php-src/Zend/ |
H A D | zend_virtual_cwd.h | 163 char *cwd; member 234 cwd_state cwd; member
|
/php-src/main/streams/ |
H A D | plain_wrapper.c | 1661 char *cwd; in _php_stream_fopen_with_path() local 1662 cwd = virtual_getcwd_ex(&cwd_len); in _php_stream_fopen_with_path() 1664 *(cwd+3) = '\0'; in _php_stream_fopen_with_path() 1666 if (snprintf(trypath, MAXPATHLEN, "%s%s", cwd, filename) >= MAXPATHLEN) { in _php_stream_fopen_with_path() 1667 php_error_docref(NULL, E_NOTICE, "%s/%s path was truncated to %d", cwd, filename, MAXPATHLEN); in _php_stream_fopen_with_path() 1670 efree(cwd); in _php_stream_fopen_with_path()
|
/php-src/docs/source/introduction/ides/ |
H A D | visual-studio-code.rst | 112 "cwd": "${workspaceFolder}",
|
/php-src/ext/phar/tests/ |
H A D | fopen_edgecases.phpt | 17 // create in cwd
|
/php-src/build/ |
H A D | gen_stub.php | 6115 $cwd = getcwd(); 6134 chdir($cwd);
|
/php-src/ext/opcache/jit/ir/ |
H A D | ir_x86.dasc | 5081 | cwd
|