Home
last modified time | relevance | path

Searched refs:cwd_length (Results 1 – 6 of 6) sorted by relevance

/PHP-7.2/Zend/
H A Dzend_virtual_cwd.c99 (d)->cwd_length = (s)->cwd_length; \
105 (s)->cwd_length = 0;
490 if (state->cwd_length == 0) { in virtual_getcwd_ex()
502 if (state->cwd_length == 2 && state->cwd[state->cwd_length-1] == ':') { in virtual_getcwd_ex()
519 *length = state->cwd_length; in virtual_getcwd_ex()
1449 new_state.cwd_length = 0; in virtual_realpath()
1458 new_state.cwd_length = 0; in virtual_realpath()
1462 int len = new_state.cwd_length>MAXPATHLEN-1?MAXPATHLEN-1:new_state.cwd_length; in virtual_realpath()
1919 new_state.cwd_length = 0; in tsrm_realpath()
1930 new_state.cwd_length = 0; in tsrm_realpath()
[all …]
H A Dzend_virtual_cwd.h135 int cwd_length; member
/PHP-7.2/main/
H A Dphp_open_temporary_file.c128 new_state.cwd_length = (int)strlen(cwd); in php_do_open_temporary_file()
136 if (IS_SLASH(new_state.cwd[new_state.cwd_length - 1])) { in php_do_open_temporary_file()
H A Dfopen_wrappers.c814 new_state.cwd_length = (int)strlen(cwd);
822 copy_len = new_state.cwd_length > MAXPATHLEN - 1 ? MAXPATHLEN - 1 : new_state.cwd_length;
826 real_path = estrndup(new_state.cwd, new_state.cwd_length);
/PHP-7.2/ext/zip/
H A Dphp_zip.c160 new_state.cwd_length = 0; in php_zip_extract_file()
166 path_cleaned = php_zip_make_relative_path(new_state.cwd, new_state.cwd_length); in php_zip_extract_file()
/PHP-7.2/ext/phar/
H A Dphar_object.c4217 new_state.cwd_length = 1; in phar_extract_file()
4219 new_state.cwd_length <= 1) { in phar_extract_file()
4231 filename_len = new_state.cwd_length - 1; in phar_extract_file()

Completed in 39 milliseconds