Searched refs:IS_SLASH (Results 1 – 20 of 20) sorted by relevance
64 #define IS_SLASH(c) ((c) == '/' || (c) == '\\') macro72 (len >= 2 && IS_SLASH(path[0]) && IS_SLASH(path[1]))74 … is local */isalpha(path[0]) && path[1] == ':' || /* is UNC */IS_SLASH(path[0]) && IS_SLASH(path[1…89 #define IS_SLASH(c) ((c) == '/') macro101 (IS_SLASH(path[0]))
762 while (i > start && !IS_SLASH(path[i-1])) { in tsrm_realpath_r()784 while (j > start && !IS_SLASH(path[j])) { in tsrm_realpath_r()790 IS_SLASH(path[2])) { in tsrm_realpath_r()797 IS_SLASH(path[j+3])) { in tsrm_realpath_r()1255 if (IS_SLASH(path[0])) { in virtual_file_ex()1262 while (IS_SLASH(state->cwd[state_cwd_length])) { in virtual_file_ex()1266 !IS_SLASH(state->cwd[state_cwd_length])) { in virtual_file_ex()1273 !IS_SLASH(state->cwd[state_cwd_length])) { in virtual_file_ex()1318 while (!IS_SLASH(resolved_path[start])) { in virtual_file_ex()1326 while (!IS_SLASH(resolved_path[start])) { in virtual_file_ex()[all …]
410 if (!IS_SLASH(filename[length - 1])) { /* length is never 0 */413 if (IS_SLASH(path_info[0])) {501 (IS_SLASH(filename[1]) ||502 ((filename[1] == '.') && IS_SLASH(filename[2])))) ||509 filename_length >=2 && IS_SLASH(filename[0]) && !IS_SLASH(filename[1]) ||582 while ((--exec_fname_length < SIZE_MAX) && !IS_SLASH(exec_fname[exec_fname_length]));661 while ((--exec_fname_length < SIZE_MAX) && !IS_SLASH(exec_fname[exec_fname_length]));
136 if (IS_SLASH(new_state.cwd[new_state.cwd_length - 1])) { in php_do_open_temporary_file()
373 slash_suffix = IS_SLASH(extension_dir[strlen(extension_dir)-1]); in php_load_zend_extension_cb()698 if (IS_SLASH(debpath[lenpath - 1])) { in php_init_config()
775 if (!IS_SLASH(SG(request_info).path_translated[path_len])) {795 if (doc_root_len > 0 && IS_SLASH(doc_root[doc_root_len - 1])) {934 if ((p == path || IS_SLASH(*(p-1))) &&935 (*(p+2) == 0 || IS_SLASH(*(p+2)))944 if (IS_SLASH(*(p-1)) &&945 (*(p+2) == 0 || IS_SLASH(*(p+2)))
140 slash_suffix = IS_SLASH(extension_dir[strlen(extension_dir)-1]); in php_load_extension()
463 if (IS_SLASH(*pattern)) { in PHP_FUNCTION()
573 !IS_SLASH(pathend[-1])) && (S_ISDIR(sb.st_mode) ||589 while (*p != EOS && !IS_SLASH(*p)) {600 while (IS_SLASH(*pattern)) {
1471 if (*filename == '.' && (IS_SLASH(filename[1]) || filename[1] == '.')) { in _php_stream_fopen_with_path()1476 if (!IS_SLASH(*ptr)) { /* not a relative path after all */ in _php_stream_fopen_with_path()1502 if (IS_SLASH(filename[0])) { in _php_stream_fopen_with_path()1536 while ((--exec_fname_length < SIZE_MAX) && !IS_SLASH(exec_fname[exec_fname_length])); in _php_stream_fopen_with_path()
619 IS_SLASH(ZSTR_VAL(str_key)[path_len])) { in phar_wrapper_rmdir()636 IS_SLASH(ZSTR_VAL(str_key)[path_len])) { in phar_wrapper_rmdir()
894 IS_SLASH(ZSTR_VAL(str_key)[from_len])) { in phar_wrapper_rename()919 (ZSTR_LEN(str_key) == from_len || IS_SLASH(ZSTR_VAL(str_key)[from_len]))) { in phar_wrapper_rename()937 (ZSTR_LEN(str_key) == from_len || IS_SLASH(ZSTR_VAL(str_key)[from_len]))) { in phar_wrapper_rename()
909 if (!IS_SLASH(SG(request_info).path_translated[path_len])) {935 if (doc_root_len > 0 && IS_SLASH(doc_root[doc_root_len - 1])) {1080 if (UNEXPECTED(*p == '.') && *(p+1) == '.' && (!*(p+2) || IS_SLASH(*(p+2)))) {1084 if (IS_SLASH(*p)) {1090 if (UNEXPECTED(!*p) || UNEXPECTED(IS_SLASH(*p))) {
109 if (IS_SLASH(path[0])) { in php_zip_make_relative_path()116 while (i > 0 && !IS_SLASH(path[i])) { in php_zip_make_relative_path()177 if (path_cleaned_len > 1 && IS_SLASH(path_cleaned[path_cleaned_len - 1])) { in php_zip_extract_file()542 if (IS_SLASH(*pattern)) { in php_zip_glob()636 if (IS_SLASH(*path)) { in php_zip_pcre()
597 if (!IS_SLASH(SG(request_info).path_translated[path_len])) { in sapi_lsapi_activate()
169 if (IS_SLASH(*s)) {
1178 while ((--parent_script_len > 0) && !IS_SLASH(ZSTR_VAL(parent_script)[parent_script_len])); in accel_make_persistent_key()
1298 if (IS_SLASH(extension_dir[extension_dir_len-1])) { in phpdbg_load_module_or_extension()
391 if (IS_SLASH(extension_dir[extension_dir_len-1])) { in PHP_METHOD()
244 #define IS_SLASH_AT(zs, pos) (IS_SLASH(zs[pos]))
Completed in 98 milliseconds