Home
last modified time | relevance | path

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

/PHP-7.3/Zend/
H A Dzend_virtual_cwd.c105 (d)->cwd_length = (s)->cwd_length; \
111 (s)->cwd_length = 0;
497 if (state->cwd_length == 0) { in virtual_getcwd_ex()
509 if (state->cwd_length == 2 && state->cwd[state->cwd_length-1] == ':') { in virtual_getcwd_ex()
512 *length = state->cwd_length+1; in virtual_getcwd_ex()
526 *length = state->cwd_length; in virtual_getcwd_ex()
1489 new_state.cwd_length = 0; in virtual_realpath()
1498 new_state.cwd_length = 0; in virtual_realpath()
1502 size_t len = new_state.cwd_length>MAXPATHLEN-1?MAXPATHLEN-1:new_state.cwd_length; in virtual_realpath()
1959 new_state.cwd_length = 0; in tsrm_realpath()
[all …]
H A Dzend_virtual_cwd.h133 size_t cwd_length; member
/PHP-7.3/main/
H A Dphp_open_temporary_file.c126 new_state.cwd_length = strlen(cwd); in php_do_open_temporary_file()
134 if (IS_SLASH(new_state.cwd[new_state.cwd_length - 1])) { in php_do_open_temporary_file()
H A Dfopen_wrappers.c812 new_state.cwd_length = strlen(cwd);
820 copy_len = new_state.cwd_length > MAXPATHLEN - 1 ? MAXPATHLEN - 1 : new_state.cwd_length;
824 real_path = estrndup(new_state.cwd, new_state.cwd_length);
/PHP-7.3/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.3/ext/phar/
H A Dphar_object.c4133 new_state.cwd_length = 1; in phar_extract_file()
4135 new_state.cwd_length <= 1) { in phar_extract_file()
4147 filename_len = new_state.cwd_length - 1; in phar_extract_file()

Completed in 38 milliseconds