Searched refs:IS_SLASH (Results 1 – 19 of 19) sorted by relevance
63 #define IS_SLASH(c) ((c) == '/' || (c) == '\\') macro71 (len >= 2 && IS_SLASH(path[0]) && IS_SLASH(path[1]))73 … is local */isalpha(path[0]) && path[1] == ':' || /* is UNC */IS_SLASH(path[0]) && IS_SLASH(path[1…82 #define IS_SLASH(c) ((c) == '/' || (c) == '\\') macro83 #define IS_SLASH_P(c) IS_SLASH(*(c))101 #define IS_SLASH(c) ((c) == '/') macro113 (IS_SLASH(path[0]))
813 while (i > start && !IS_SLASH(path[i-1])) { in tsrm_realpath_r()835 while (j > start && !IS_SLASH(path[j])) { in tsrm_realpath_r()841 IS_SLASH(path[2])) { in tsrm_realpath_r()848 IS_SLASH(path[j+3])) { in tsrm_realpath_r()1232 if (IS_SLASH(path[0])) { in virtual_file_ex()1243 !IS_SLASH(state->cwd[state_cwd_length])) { in virtual_file_ex()1250 !IS_SLASH(state->cwd[state_cwd_length])) { in virtual_file_ex()1295 while (!IS_SLASH(resolved_path[start])) { in virtual_file_ex()1303 while (!IS_SLASH(resolved_path[start])) { in virtual_file_ex()1326 if (!IS_SLASH(resolved_path[start])) return -1; in virtual_file_ex()[all …]
413 if (!IS_SLASH(filename[length - 1])) { /* length is never 0 */416 if (IS_SLASH(path_info[0])) {505 (IS_SLASH(filename[1]) ||506 ((filename[1] == '.') && IS_SLASH(filename[2])))) ||513 filename_length >=2 && IS_SLASH(filename[0]) && !IS_SLASH(filename[1]) ||586 while ((--exec_fname_length < SIZE_MAX) && !IS_SLASH(exec_fname[exec_fname_length]));665 while ((--exec_fname_length < SIZE_MAX) && !IS_SLASH(exec_fname[exec_fname_length]));
135 if (IS_SLASH(new_state.cwd[new_state.cwd_length - 1])) { in php_do_open_temporary_file()
369 if (IS_SLASH(extension_dir[extension_dir_len-1])) { in php_load_zend_extension_cb()660 if (IS_SLASH(debpath[lenpath - 1])) { in php_init_config()
122 if (IS_SLASH(extension_dir[extension_dir_len-1])) { in php_load_extension()
467 if (IS_SLASH(*pattern)) { in PHP_FUNCTION()
774 if (!IS_SLASH(SG(request_info).path_translated[path_len])) {794 if (doc_root_len > 0 && IS_SLASH(doc_root[doc_root_len - 1])) {933 if ((p == path || IS_SLASH(*(p-1))) &&934 (*(p+2) == 0 || IS_SLASH(*(p+2)))943 if (IS_SLASH(*(p-1)) &&944 (*(p+2) == 0 || IS_SLASH(*(p+2)))
573 !IS_SLASH(pathend[-1])) && (S_ISDIR(sb.st_mode) ||589 while (*p != EOS && !IS_SLASH(*p)) {600 while (IS_SLASH(*pattern)) {
1453 if (*filename == '.' && (IS_SLASH(filename[1]) || filename[1] == '.')) { in _php_stream_fopen_with_path()1458 if (!IS_SLASH(*ptr)) { /* not a relative path after all */ in _php_stream_fopen_with_path()1484 if (IS_SLASH(filename[0])) { in _php_stream_fopen_with_path()1518 while ((--exec_fname_length < SIZE_MAX) && !IS_SLASH(exec_fname[exec_fname_length])); in _php_stream_fopen_with_path()
620 IS_SLASH(ZSTR_VAL(str_key)[path_len])) { in phar_wrapper_rmdir()637 IS_SLASH(ZSTR_VAL(str_key)[path_len])) { in phar_wrapper_rmdir()
911 IS_SLASH(ZSTR_VAL(str_key)[from_len])) { in phar_wrapper_rename()936 (ZSTR_LEN(str_key) == from_len || IS_SLASH(ZSTR_VAL(str_key)[from_len]))) { in phar_wrapper_rename()954 (ZSTR_LEN(str_key) == from_len || IS_SLASH(ZSTR_VAL(str_key)[from_len]))) { in phar_wrapper_rename()
846 if (!IS_SLASH(SG(request_info).path_translated[path_len])) {872 if (doc_root_len > 0 && IS_SLASH(doc_root[doc_root_len - 1])) {1019 if (UNEXPECTED(*p == '.') && *(p+1) == '.' && (!*(p+2) || IS_SLASH(*(p+2)))) {1023 if (IS_SLASH(*p)) {1029 if (UNEXPECTED(!*p) || UNEXPECTED(IS_SLASH(*p))) {
104 if (IS_SLASH(path[0])) { in php_zip_make_relative_path()111 while (i > 0 && !IS_SLASH(path[i])) { in php_zip_make_relative_path()172 if (path_cleaned_len > 1 && IS_SLASH(path_cleaned[path_cleaned_len - 1])) { in php_zip_extract_file()522 if (IS_SLASH(*pattern)) { in php_zip_glob()616 if (IS_SLASH(*path)) { in php_zip_pcre()
164 if (IS_SLASH(*s)) { in zend_file_cache_mkdir()
1110 while ((--parent_script_len > 0) && !IS_SLASH(ZSTR_VAL(parent_script)[parent_script_len])); in accel_make_persistent_key()
1244 if (IS_SLASH(extension_dir[extension_dir_len-1])) { in phpdbg_load_module_or_extension()
388 if (IS_SLASH(extension_dir[extension_dir_len-1])) {
220 #define IS_SLASH_AT(zs, pos) (IS_SLASH(zs[pos]))
Completed in 107 milliseconds