Home
last modified time | relevance | path

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

123

/php-src/ext/phar/tests/cache_list/
H A Dfrontcontroller22.phpt2 Phar front controller include from cwd test 1 [cache_list]
/php-src/TSRM/
H A Dtsrm_win32.h96 TSRM_API FILE *popen_ex(const char *command, const char *type, const char *cwd, const char *env);
H A Dtsrm_win32.c445 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 Dproc_open.c1144 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 Dbasic_functions.stub.php3347 function proc_open(array|string $command, array $descriptor_spec, &$pipes, ?string $cwd = null, ?ar…
H A Dbasic_functions_arginfo.h1781 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, cwd, IS_STRING, 1, "null")
/php-src/ext/opcache/
H A DZendAccelerator.c210 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 DZendAccelerator.h204 zend_string *cwd; /* current working directory or NULL */ member
/php-src/ext/phar/
H A Dphar_object.c146 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 Dfunc_interceptors.c555 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 Dstream.c328 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 Dphar_internal.h145 char* cwd; variable
H A Dphar.c2138 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 Dutil.c278 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 Dzend_virtual_cwd.h163 char *cwd; member
234 cwd_state cwd; member
/php-src/main/streams/
H A Dplain_wrapper.c1661 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 Dvisual-studio-code.rst112 "cwd": "${workspaceFolder}",
/php-src/ext/phar/tests/
H A Dfopen_edgecases.phpt17 // create in cwd
/php-src/build/
H A Dgen_stub.php6115 $cwd = getcwd();
6134 chdir($cwd);
/php-src/ext/opcache/jit/ir/
H A Dir_x86.dasc5081 | cwd

Completed in 131 milliseconds

123