Home
last modified time | relevance | path

Searched refs:IS_DIR_SEPARATOR (Results 1 – 25 of 50) sorted by relevance

12

/freebsd-12-stable/contrib/gcc/
Dprefix.c200 (name[keylen + 1] != 0 && !IS_DIR_SEPARATOR (name[keylen + 1])); in translate_name()
256 && (IS_DIR_SEPARATOR(path[len]) in update_path()
290 && IS_DIR_SEPARATOR (p[2]) in update_path()
291 && (p != result && IS_DIR_SEPARATOR (p[-1]))) in update_path()
308 while (dest != result && IS_DIR_SEPARATOR (*dest)) in update_path()
310 while (dest != result && !IS_DIR_SEPARATOR (dest[-1])) in update_path()
316 if (*dest == '.' || IS_DIR_SEPARATOR (*dest)) in update_path()
322 while (IS_DIR_SEPARATOR (*src)) in update_path()
Dprotoize.c649 && IS_DIR_SEPARATOR (path[strlen (p->fname)])) in in_system_include_dir()
825 && IS_DIR_SEPARATOR (name[strlen (p->name)])) in directory_specified_p()
832 if (IS_DIR_SEPARATOR (*(q-1))) in directory_specified_p()
852 && IS_DIR_SEPARATOR (name[len - strlen (p->name) - 1])) in file_excluded_p()
1079 else if (IS_DIR_SEPARATOR (rel_filename[0])) in abspath()
1100 if (IS_DIR_SEPARATOR (inp[0])) in abspath()
1107 else if (IS_DIR_SEPARATOR (inp[0]) && IS_DIR_SEPARATOR (outp[-1])) in abspath()
1112 else if (inp[0] == '.' && IS_DIR_SEPARATOR (outp[-1])) in abspath()
1116 else if (IS_DIR_SEPARATOR (inp[1])) in abspath()
1122 || IS_DIR_SEPARATOR (inp[2]))) in abspath()
[all …]
Ddiagnostic.c429 while (p[0] == '.' && p[1] == '.' && IS_DIR_SEPARATOR (p[2])) in trim_filename()
432 while (q[0] == '.' && q[1] == '.' && IS_DIR_SEPARATOR (q[2])) in trim_filename()
440 while (p > name && !IS_DIR_SEPARATOR (p[-1])) in trim_filename()
Derrors.c121 while (p > name && !IS_DIR_SEPARATOR (p[-1])) in trim_filename()
Dlibgcov.c105 if (IS_DIR_SEPARATOR(*s)) in create_file_directory()
214 if (IS_DIR_SEPARATOR (gcov_prefix[prefix_length - 1])) in gcov_exit()
254 if (IS_DIR_SEPARATOR(*s)) in gcov_exit()
Dgcc.c3173 if (IS_DIR_SEPARATOR (name[i])) in convert_filename()
3376 if (IS_DIR_SEPARATOR (progname[baselen-1])) in process_command()
3431 && (IS_DIR_SEPARATOR (gcc_exec_prefix[len-1]))) in process_command()
3434 if (IS_DIR_SEPARATOR (*temp) in process_command()
3436 && IS_DIR_SEPARATOR (temp[4]) in process_command()
3465 else if (!IS_DIR_SEPARATOR (endp[-1])) in process_command()
3499 else if (!IS_DIR_SEPARATOR (endp[-1])) in process_command()
3532 else if (!IS_DIR_SEPARATOR (endp[-1])) in process_command()
3849 if (! IS_DIR_SEPARATOR (value [len - 1]) in process_command()
3863 && (IS_DIR_SEPARATOR (value[len - 8])))) in process_command()
[all …]
Dtoplev.c691 if (IS_DIR_SEPARATOR (na[-1])) in output_file_directive()
1513 while (p != argv0 && !IS_DIR_SEPARATOR (p[-1])) in general_init()
Dgengtype.c1144 if (l1 >= l2 && IS_DIR_SEPARATOR (s1[-1]) && !memcmp (s1, s2, l2)) in get_file_basename()
1258 else if (strncmp (basename, "cp", 2) == 0 && IS_DIR_SEPARATOR (basename[2]) in get_output_file_with_visibility()
1261 else if (strncmp (basename, "cp", 2) == 0 && IS_DIR_SEPARATOR (basename[2]) in get_output_file_with_visibility()
1264 else if (strncmp (basename, "cp", 2) == 0 && IS_DIR_SEPARATOR (basename[2]) in get_output_file_with_visibility()
1267 else if (strncmp (basename, "objc", 4) == 0 && IS_DIR_SEPARATOR (basename[4]) in get_output_file_with_visibility()
/freebsd-12-stable/contrib/gcclibs/libiberty/
Dmake-relative-prefix.c90 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) macro
92 # define IS_DIR_SEPARATOR(ch) \ macro
126 if (name[1] == ':' && IS_DIR_SEPARATOR (name[2])) in split_directories()
135 if (IS_DIR_SEPARATOR (ch)) in split_directories()
138 while (IS_DIR_SEPARATOR (*p)) in split_directories()
151 if (name[1] == ':' && IS_DIR_SEPARATOR (name[2])) in split_directories()
166 if (IS_DIR_SEPARATOR (ch)) in split_directories()
168 while (IS_DIR_SEPARATOR (*p)) in split_directories()
263 if (! IS_DIR_SEPARATOR (endp[-1])) in make_relative_prefix()
Dbasename.c36 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) macro
38 # define IS_DIR_SEPARATOR(ch) \ macro
55 if (IS_DIR_SEPARATOR (*name)) in basename()
Dlbasename.c60 if (IS_DIR_SEPARATOR (*name)) in lbasename()
/freebsd-12-stable/contrib/binutils/libiberty/
Dmake-relative-prefix.c90 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) macro
92 # define IS_DIR_SEPARATOR(ch) \ macro
126 if (name[1] == ':' && IS_DIR_SEPARATOR (name[2])) in split_directories()
135 if (IS_DIR_SEPARATOR (ch)) in split_directories()
138 while (IS_DIR_SEPARATOR (*p)) in split_directories()
151 if (name[1] == ':' && IS_DIR_SEPARATOR (name[2])) in split_directories()
166 if (IS_DIR_SEPARATOR (ch)) in split_directories()
168 while (IS_DIR_SEPARATOR (*p)) in split_directories()
263 if (! IS_DIR_SEPARATOR (endp[-1])) in make_relative_prefix_1()
Dbasename.c36 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) macro
38 # define IS_DIR_SEPARATOR(ch) \ macro
55 if (IS_DIR_SEPARATOR (*name)) in basename()
Dlbasename.c60 if (IS_DIR_SEPARATOR (*name)) in lbasename()
/freebsd-12-stable/contrib/binutils/include/
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] == ':')))
44 #define IS_DIR_SEPARATOR(c) ((c) == '/') macro
45 #define IS_ABSOLUTE_PATH(f) (IS_DIR_SEPARATOR((f)[0]))
/freebsd-12-stable/contrib/gcclibs/include/
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]))
/freebsd-12-stable/contrib/gdb/include/
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]))
/freebsd-12-stable/contrib/gcclibs/libcpp/
Dmkdeps.c126 if (!IS_DIR_SEPARATOR (*p)) in apply_vpath()
131 if (p[1] == '.' && p[2] == '.' && IS_DIR_SEPARATOR (p[3])) in apply_vpath()
143 while (t[0] == '.' && IS_DIR_SEPARATOR (t[1])) in apply_vpath()
148 while (IS_DIR_SEPARATOR (t[0])) in apply_vpath()
/freebsd-12-stable/contrib/gdb/gdb/
Dsolib.c115 while (*p && !IS_DIR_SEPARATOR (*p)) in solib_open()
128 && IS_DIR_SEPARATOR (solib_absolute_prefix[prefix_len - 1])) in solib_open()
149 while (!IS_DIR_SEPARATOR (*in_pathname)) in solib_open()
153 while (IS_DIR_SEPARATOR (*in_pathname)) in solib_open()
Dsource.c453 if (!(IS_DIR_SEPARATOR (*name) && p <= name + 1) /* "/" */ in add_path()
458 && IS_DIR_SEPARATOR (p[-1])) in add_path()
471 else if (p > name + 1 && IS_DIR_SEPARATOR (p[-2])) in add_path()
694 if (IS_DIR_SEPARATOR (string[i])) in openp()
699 while (string[0] == '.' && IS_DIR_SEPARATOR (string[1])) in openp()
737 while (len > 0 && IS_DIR_SEPARATOR (filename[len - 1])) in openp()
768 IS_DIR_SEPARATOR (current_directory[strlen (current_directory) - 1]) in openp()
/freebsd-12-stable/contrib/gdb/gdb/cli/
Dcli-cmds.c354 if (IS_DIR_SEPARATOR (dir[len - 1])) in cd_command()
371 if (IS_DIR_SEPARATOR (current_directory[strlen (current_directory) - 1])) in cd_command()
383 if (IS_DIR_SEPARATOR (p[0]) && p[1] == '.' in cd_command()
384 && (p[2] == 0 || IS_DIR_SEPARATOR (p[2]))) in cd_command()
386 else if (IS_DIR_SEPARATOR (p[0]) && p[1] == '.' && p[2] == '.' in cd_command()
387 && (p[3] == 0 || IS_DIR_SEPARATOR (p[3]))) in cd_command()
394 while (q != current_directory && !IS_DIR_SEPARATOR (q[-1])) in cd_command()
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/profile/
DInstrProfilingUtil.c68 if (!IS_DIR_SEPARATOR(path[i])) in __llvm_profile_recursive_mkdir()
285 if (!IS_DIR_SEPARATOR(*Ptr)) in lprofApplyPathPrefix()
294 if (!IS_DIR_SEPARATOR(Prefix[PrefixLen - 1])) in lprofApplyPathPrefix()
DInstrProfilingPort.h106 #define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) macro
108 #define IS_DIR_SEPARATOR(ch) \ macro
/freebsd-12-stable/contrib/binutils/ld/
Dldfile.c84 && IS_DIR_SEPARATOR (realname[ld_canon_sysroot_len]) in is_sysrooted_pathname()
/freebsd-12-stable/contrib/binutils/bfd/
Dopncls.c1245 if (IS_DIR_SEPARATOR (dir[i])) in find_separate_debug_file()

12