Home
last modified time | relevance | path

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

/dports/security/rhash/RHash-1.4.2/
H A Dfile.c35 #define IS_ANY_TSLASH(c) ((c) == RSH_T('/') || (c) == RSH_T('\\')) macro
174 if (path[0] == RSH_T('.') && IS_ANY_TSLASH(path[1])) path += 2; in are_paths_equal()
175 if (fpath[0] == RSH_T('.') && IS_ANY_TSLASH(fpath[1])) fpath += 2; in are_paths_equal()
178 if (*path != *fpath && (!IS_ANY_TSLASH(*path) || !IS_ANY_TSLASH(*fpath))) { in are_paths_equal()
249 if (path[0] == RSH_T('.') && IS_ANY_TSLASH(path[1])) in file_init()
625 for (; start_pos > 0 && !IS_ANY_TSLASH(path[start_pos]); start_pos--); in get_modified_tpath()
626 if (start_pos == 0 && !IS_ANY_TSLASH(path[start_pos])) in get_modified_tpath()
628 for (; start_pos > 0 && IS_ANY_TSLASH(path[start_pos]); start_pos--); in get_modified_tpath()