Searched refs:IS_DIR_SEPARATOR (Results 1 - 11 of 11) sorted by relevance

/haiku-fatelf/src/bin/gdb/include/
H A Dfilenames.h35 #define IS_DIR_SEPARATOR(c) ((c) == '/' || (c) == '\\') macro
40 #define IS_ABSOLUTE_PATH(f) (IS_DIR_SEPARATOR((f)[0]) || (((f)[0]) && ((f)[1] == ':')))
45 #define IS_DIR_SEPARATOR(c) ((c) == '/') macro
46 #define IS_ABSOLUTE_PATH(f) (IS_DIR_SEPARATOR((f)[0]))
/haiku-fatelf/src/bin/gdb/libiberty/
H A Dbasename.c31 /* Define IS_DIR_SEPARATOR. */
33 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) macro
35 # define IS_DIR_SEPARATOR(ch) \ macro
53 if (IS_DIR_SEPARATOR (*name))
H A Dlbasename.c58 if (IS_DIR_SEPARATOR (*name))
H A Dmake-relative-prefix.c90 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) macro
92 # define IS_DIR_SEPARATOR(ch) \ macro
130 if (name[1] == ':' && IS_DIR_SEPARATOR (name[2]))
139 if (IS_DIR_SEPARATOR (ch))
142 while (IS_DIR_SEPARATOR (*p))
155 if (name[1] == ':' && IS_DIR_SEPARATOR (name[2]))
170 if (IS_DIR_SEPARATOR (ch))
172 while (IS_DIR_SEPARATOR (*p))
270 if (! IS_DIR_SEPARATOR (endp[-1]))
/haiku-fatelf/src/bin/gdb/gdb/
H A Dsolib.c116 while (*p && !IS_DIR_SEPARATOR (*p))
129 && IS_DIR_SEPARATOR (solib_absolute_prefix[prefix_len - 1]))
150 while (!IS_DIR_SEPARATOR (*in_pathname))
154 while (IS_DIR_SEPARATOR (*in_pathname))
H A Dsource.c455 if (!(IS_DIR_SEPARATOR (*name) && p <= name + 1) /* "/" */
460 && IS_DIR_SEPARATOR (p[-1]))
473 else if (p > name + 1 && IS_DIR_SEPARATOR (p[-2]))
702 if (IS_DIR_SEPARATOR (string[i]))
707 while (IS_DIR_SEPARATOR(string[0]))
711 while (string[0] == '.' && IS_DIR_SEPARATOR (string[1]))
749 while (len > 0 && IS_DIR_SEPARATOR (filename[len - 1]))
780 IS_DIR_SEPARATOR (current_directory[strlen (current_directory) - 1])
H A Dsymfile.c1088 if (IS_DIR_SEPARATOR (dir[i]))
1091 gdb_assert (i >= 0 && IS_DIR_SEPARATOR (dir[i]));
H A Dutils.c3028 if (IS_DIR_SEPARATOR (real_path[strlen (real_path) - 1]))
/haiku-fatelf/src/bin/gdb/gdb/cli/
H A Dcli-cmds.c359 if (IS_DIR_SEPARATOR (dir[len - 1]))
376 if (IS_DIR_SEPARATOR (current_directory[strlen (current_directory) - 1]))
388 if (IS_DIR_SEPARATOR (p[0]) && p[1] == '.'
389 && (p[2] == 0 || IS_DIR_SEPARATOR (p[2])))
391 else if (IS_DIR_SEPARATOR (p[0]) && p[1] == '.' && p[2] == '.'
392 && (p[3] == 0 || IS_DIR_SEPARATOR (p[3])))
399 while (q != current_directory && !IS_DIR_SEPARATOR (q[-1]))
/haiku-fatelf/src/bin/gdb/bfd/
H A Dopncls.c1099 if (IS_DIR_SEPARATOR (dir[i]))
/haiku-fatelf/src/libs/print/libgutenprint/scripts/
H A Dltmain.sh3221 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)
3223 # define IS_DIR_SEPARATOR(ch) \
3613 if (IS_DIR_SEPARATOR (*name))
3686 if (IS_DIR_SEPARATOR (wrapper[0]))
3785 while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p)))
3787 if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p)))

Completed in 208 milliseconds