/PHP-8.0/main/ |
H A D | php_open_temporary_file.c | 216 if (len >= 2 && sys_temp_dir[len - 1] == DEFAULT_SLASH) { in php_get_temporary_directory() 219 } else if (len >= 1 && sys_temp_dir[len - 1] != DEFAULT_SLASH) { in php_get_temporary_directory() 257 if (s[len - 1] == DEFAULT_SLASH) { in php_get_temporary_directory()
|
H A D | php_ini.c | 350 spprintf(&libpath, 0, "%s%c%s", extension_dir, DEFAULT_SLASH, filename); /* SAFE */ in php_load_zend_extension_cb() 361 …0, "%s%c" PHP_SHLIB_EXT_PREFIX "%s." PHP_SHLIB_SUFFIX, extension_dir, DEFAULT_SLASH, filename); /*… in php_load_zend_extension_cb() 511 separator_location = strrchr(binary_location, DEFAULT_SLASH); in php_init_config() 681 snprintf(ini_file, MAXPATHLEN, "%s%c%s", debpath, DEFAULT_SLASH, namelist[i]->d_name); in php_init_config() 769 snprintf(ini_file, MAXPATHLEN, "%s%c%s", dirname, DEFAULT_SLASH, ini_filename); in php_parse_user_ini_file()
|
H A D | fopen_wrappers.c | 180 path_file = strrchr(path_tmp, DEFAULT_SLASH); 185 path_file = strrchr(path_tmp, DEFAULT_SLASH);
|
/PHP-8.0/ext/standard/ |
H A D | dl.c | 121 if (strchr(filename, '/') != NULL || strchr(filename, DEFAULT_SLASH) != NULL) { in php_load_extension() 134 spprintf(&libpath, 0, "%s%c%s", extension_dir, DEFAULT_SLASH, filename); /* SAFE */ in php_load_extension() 148 …0, "%s%c" PHP_SHLIB_EXT_PREFIX "%s." PHP_SHLIB_SUFFIX, extension_dir, DEFAULT_SLASH, filename); /*… in php_load_extension()
|
H A D | dir.c | 124 dirsep_str[0] = DEFAULT_SLASH; in PHP_MINIT_FUNCTION() 442 snprintf(work_pattern, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, pattern); in PHP_FUNCTION()
|
/PHP-8.0/Zend/ |
H A D | zend_virtual_cwd.c | 263 retval[0] = DEFAULT_SLASH; in virtual_getcwd_ex() 277 retval[*length-1] = DEFAULT_SLASH; in virtual_getcwd_ex() 554 path[5] = DEFAULT_SLASH; in tsrm_realpath_r() 562 path[j] = DEFAULT_SLASH; in tsrm_realpath_r() 569 path[2] = DEFAULT_SLASH; in tsrm_realpath_r() 868 path[i-1] = DEFAULT_SLASH; in tsrm_realpath_r() 925 path[i-1] = DEFAULT_SLASH; in tsrm_realpath_r() 954 path[j++] = DEFAULT_SLASH; in tsrm_realpath_r() 1110 resolved_path[0] = DEFAULT_SLASH; in virtual_file_ex() 1111 resolved_path[1] = DEFAULT_SLASH; in virtual_file_ex() [all …]
|
H A D | zend_virtual_cwd.h | 73 #define DEFAULT_SLASH '\\' macro 92 #define DEFAULT_SLASH '/' macro
|
H A D | zend_compile.c | 1970 path[0] = DEFAULT_SLASH; in zend_dirname() 1991 path[0] = DEFAULT_SLASH; in zend_dirname()
|
/PHP-8.0/main/streams/ |
H A D | plain_wrapper.c | 1337 if ((p = memchr(buf, DEFAULT_SLASH, dir_len))) { in php_plain_files_mkdir() 1346 …while ( (p = strrchr(buf + offset, DEFAULT_SLASH)) || (offset != 1 && (p = strrchr(buf, DEFAULT_SL… in php_plain_files_mkdir() 1350 while (p > buf && *(p-1) == DEFAULT_SLASH) { in php_plain_files_mkdir() 1357 *p = DEFAULT_SLASH; in php_plain_files_mkdir() 1376 *p = DEFAULT_SLASH; in php_plain_files_mkdir()
|
/PHP-8.0/ext/session/ |
H A D | mod_mm.c | 290 if (save_path_len && PS(save_path)[save_path_len - 1] != DEFAULT_SLASH) { in PHP_MINIT_FUNCTION() 291 ps_mm_path[save_path_len] = DEFAULT_SLASH; in PHP_MINIT_FUNCTION()
|
/PHP-8.0/sapi/litespeed/ |
H A D | lsapi_main.c | 573 path[path_len++] = DEFAULT_SLASH; in sapi_lsapi_activate() 845 path[len-1] == DEFAULT_SLASH) in pathlen_without_trailing_slash() 854 while (*s == DEFAULT_SLASH) { in skip_slash() 894 pos = strchr(pos, DEFAULT_SLASH); in walk_down_the_path()
|
/PHP-8.0/ext/spl/ |
H A D | php_spl.c | 252 #if DEFAULT_SLASH != '\\' in spl_autoload() 258 *ptr = DEFAULT_SLASH; in spl_autoload()
|
H A D | spl_directory.c | 205 char slash = SPL_HAS_FLAG(intern->flags, SPL_FILE_DIR_UNIXPATHS) ? '/' : DEFAULT_SLASH; in spl_filesystem_object_get_file_name() 1499 char slash = SPL_HAS_FLAG(intern->flags, SPL_FILE_DIR_UNIXPATHS) ? '/' : DEFAULT_SLASH; in PHP_METHOD() 1550 char slash = SPL_HAS_FLAG(intern->flags, SPL_FILE_DIR_UNIXPATHS) ? '/' : DEFAULT_SLASH; in PHP_METHOD()
|
/PHP-8.0/ext/xmlreader/ |
H A D | php_xmlreader.c | 1071 if (resolved_path[resolved_path_len - 1] != DEFAULT_SLASH) { in PHP_METHOD() 1072 resolved_path[resolved_path_len] = DEFAULT_SLASH; in PHP_METHOD()
|
/PHP-8.0/sapi/cli/ |
H A D | php_cli_server.c | 1388 *p++ = DEFAULT_SLASH; in php_cli_server_request_translate_vpath() 1413 if (q[-1] != DEFAULT_SLASH) { in php_cli_server_request_translate_vpath() 1414 *q++ = DEFAULT_SLASH; in php_cli_server_request_translate_vpath() 1437 *q = DEFAULT_SLASH; in php_cli_server_request_translate_vpath() 1439 while (q > buf && *(--q) != DEFAULT_SLASH); in php_cli_server_request_translate_vpath()
|
/PHP-8.0/sapi/fpm/fpm/ |
H A D | fpm_main.c | 668 while ((ptr = strchr(ptr, DEFAULT_SLASH)) != NULL) { in php_cgi_ini_activate_user_config() 721 path[path_len++] = DEFAULT_SLASH; in sapi_cgi_activate()
|
/PHP-8.0/win32/ |
H A D | glob.c | 99 #define SEP DEFAULT_SLASH
|
/PHP-8.0/ext/zip/ |
H A D | php_zip.c | 643 snprintf(work_pattern, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, pattern); in php_zip_glob() 735 snprintf(work_path, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, path); in php_zip_pcre() 793 snprintf(fullpath, MAXPATHLEN, "%s%c%s", path, DEFAULT_SLASH, ZSTR_VAL(namelist[i])); in php_zip_pcre()
|
/PHP-8.0/sapi/phpdbg/ |
H A D | phpdbg_prompt.c | 1237 if (strchr(*path, '/') != NULL || strchr(*path, DEFAULT_SLASH) != NULL) { in phpdbg_load_module_or_extension() 1245 spprintf(&libpath, 0, "%s%c%s", extension_dir, DEFAULT_SLASH, *path); /* SAFE */ in phpdbg_load_module_or_extension()
|
/PHP-8.0/ext/dom/ |
H A D | document.c | 1228 if (resolved_path[resolved_path_len - 1] != DEFAULT_SLASH) { in dom_document_parser() 1229 resolved_path[resolved_path_len] = DEFAULT_SLASH; in dom_document_parser()
|
/PHP-8.0/sapi/cgi/ |
H A D | cgi_main.c | 837 while ((ptr = strchr(ptr, DEFAULT_SLASH)) != NULL) { 901 path[path_len++] = DEFAULT_SLASH;
|
/PHP-8.0/ext/phar/ |
H A D | phar_object.c | 1458 fname_len = spprintf(&fname, 0, "%s%c%s", test, DEFAULT_SLASH, intern->u.dir.entry.d_name); in phar_build() 4123 new_state.cwd[0] = DEFAULT_SLASH; in phar_extract_file()
|
/PHP-8.0/ext/sqlite3/ |
H A D | sqlite3.c | 426 spprintf(&lib_path, 0, "%s%c%s", extension_dir, DEFAULT_SLASH, extension); in PHP_METHOD()
|