Searched refs:IS_SLASH (Results 1 – 21 of 21) sorted by relevance
75 #define IS_SLASH(c) ((c) == '/' || (c) == '\\') macro83 (len >= 2 && IS_SLASH(path[0]) && IS_SLASH(path[1]))85 … is local */isalpha(path[0]) && path[1] == ':' || /* is UNC */IS_SLASH(path[0]) && IS_SLASH(path[1…110 #define IS_SLASH(c) ((c) == '/') macro122 (IS_SLASH(path[0]))
520 while (i > start && !IS_SLASH(path[i-1])) { in tsrm_realpath_r()544 while (j > start && !IS_SLASH(path[j])) { in tsrm_realpath_r()551 IS_SLASH(path[2])) { in tsrm_realpath_r()558 IS_SLASH(path[j+3])) { in tsrm_realpath_r()1045 if (IS_SLASH(path[0])) { in virtual_file_ex()1052 while (IS_SLASH(state->cwd[state_cwd_length])) { in virtual_file_ex()1056 !IS_SLASH(state->cwd[state_cwd_length])) { in virtual_file_ex()1059 while (IS_SLASH(state->cwd[state_cwd_length])) { in virtual_file_ex()1063 !IS_SLASH(state->cwd[state_cwd_length])) { in virtual_file_ex()1114 while (!IS_SLASH(resolved_path[start])) { in virtual_file_ex()[all …]
420 if (!IS_SLASH(ZSTR_VAL(filename)[length - 1])) { /* length is never 0 */423 if (IS_SLASH(path_info[0])) {514 (IS_SLASH(filename[1]) ||515 ((filename[1] == '.') && IS_SLASH(filename[2])))) ||522 filename_length >=2 && IS_SLASH(filename[0]) && !IS_SLASH(filename[1]) ||594 while ((--exec_fname_length < SIZE_MAX) && !IS_SLASH(exec_fname[exec_fname_length]));674 while ((--exec_fname_length < SIZE_MAX) && !IS_SLASH(exec_fname[exec_fname_length]));
132 if (IS_SLASH(new_state.cwd[new_state.cwd_length - 1])) { in php_do_open_temporary_file()
343 slash_suffix = IS_SLASH(extension_dir[strlen(extension_dir)-1]); in php_load_zend_extension_cb()671 if (IS_SLASH(debpath[lenpath - 1])) { in php_init_config()
546 !IS_SLASH(pathend[-1])) && (S_ISDIR(sb.st_mode) || in glob2()562 while (*p != EOS && !IS_SLASH(*p)) { in glob2()573 while (IS_SLASH(*pattern)) { in glob2()
740 if (!IS_SLASH(SG(request_info).path_translated[path_len])) { in sapi_cgi_activate()760 if (doc_root_len > 0 && IS_SLASH(doc_root[doc_root_len - 1])) { in sapi_cgi_activate()883 if ((p == path || IS_SLASH(*(p-1))) && in is_valid_path()884 (*(p+2) == 0 || IS_SLASH(*(p+2))) in is_valid_path()893 if (IS_SLASH(*(p-1)) && in is_valid_path()894 (*(p+2) == 0 || IS_SLASH(*(p+2))) in is_valid_path()
141 slash_suffix = IS_SLASH(extension_dir[strlen(extension_dir)-1]); in php_load_extension()
371 if (IS_SLASH(*pattern)) { in PHP_FUNCTION()
605 IS_SLASH(ZSTR_VAL(str_key)[path_len])) { in phar_wrapper_rmdir()622 IS_SLASH(ZSTR_VAL(str_key)[path_len])) { in phar_wrapper_rmdir()
904 IS_SLASH(ZSTR_VAL(str_key)[from_len])) { in phar_wrapper_rename()928 (ZSTR_LEN(str_key) == from_len || IS_SLASH(ZSTR_VAL(str_key)[from_len]))) { in phar_wrapper_rename()945 (ZSTR_LEN(str_key) == from_len || IS_SLASH(ZSTR_VAL(str_key)[from_len]))) { in phar_wrapper_rename()
1524 …e, base, base_len) == 0 && ((ch = fname[base_len - IS_SLASH(base[base_len - 1])]) == '\0' || IS_SL… in phar_build()
1618 if (*filename == '.' && (IS_SLASH(filename[1]) || filename[1] == '.')) { in _php_stream_fopen_with_path()1623 if (!IS_SLASH(*ptr)) { /* not a relative path after all */ in _php_stream_fopen_with_path()1649 if (IS_SLASH(filename[0])) { in _php_stream_fopen_with_path()1683 while ((--exec_fname_length < SIZE_MAX) && !IS_SLASH(exec_fname[exec_fname_length])); in _php_stream_fopen_with_path()
898 if (!IS_SLASH(SG(request_info).path_translated[path_len])) {926 if (doc_root_len > 0 && IS_SLASH(doc_root[doc_root_len - 1])) {1060 if (UNEXPECTED(*p == '.') && *(p+1) == '.' && (!*(p+2) || IS_SLASH(*(p+2)))) {1064 if (IS_SLASH(*p)) {1070 if (UNEXPECTED(!*p) || UNEXPECTED(IS_SLASH(*p))) {
101 while (i > 0 && !IS_SLASH(path[i])) { in php_zip_make_relative_path()170 if (path_cleaned_len > 1 && IS_SLASH(path_cleaned[path_cleaned_len - 1])) { in php_zip_extract_file()647 if (IS_SLASH(*pattern)) { in php_zip_glob()741 if (IS_SLASH(*path)) { in php_zip_pcre()1782 if (IS_SLASH(Z_STRVAL_P(zval_file)[opts.remove_path_len])) {
569 if (!IS_SLASH(SG(request_info).path_translated[path_len])) { in sapi_lsapi_activate()
1225 if (IS_SLASH(extension_dir[extension_dir_len-1])) { in phpdbg_load_module_or_extension()
207 if (IS_SLASH(*s)) {
1334 while ((--parent_script_len > 0) && !IS_SLASH(ZSTR_VAL(parent_script)[parent_script_len])); in accel_make_persistent_key()
432 if (IS_SLASH(extension_dir[extension_dir_len-1])) { in PHP_METHOD()
285 #define IS_SLASH_AT(zs, pos) (IS_SLASH(zs[pos]))
Completed in 143 milliseconds