Home
last modified time | relevance | path

Searched refs:path (Results 1 – 25 of 201) sorted by relevance

123456789

/toolchain/binutils/binutils-2.25/bfd/
Daix5ppc-core.c246 char *path, *s; in xcoff64_core_file_matches_executable_p() local
263 path = bfd_malloc (alloc); in xcoff64_core_file_matches_executable_p()
264 if (path == NULL) in xcoff64_core_file_matches_executable_p()
267 s = path; in xcoff64_core_file_matches_executable_p()
277 if (s == path + alloc) in xcoff64_core_file_matches_executable_p()
282 n = bfd_realloc (path, alloc); in xcoff64_core_file_matches_executable_p()
286 s = n + (path - s); in xcoff64_core_file_matches_executable_p()
287 path = n; in xcoff64_core_file_matches_executable_p()
291 str1 = strrchr (path, '/'); in xcoff64_core_file_matches_executable_p()
295 str1 = str1 != NULL ? str1 + 1 : path; in xcoff64_core_file_matches_executable_p()
[all …]
Drs6000-core.c660 char *path, *s; in rs6000coff_core_file_matches_executable_p() local
683 path = bfd_malloc ((bfd_size_type) alloc); in rs6000coff_core_file_matches_executable_p()
684 if (path == NULL) in rs6000coff_core_file_matches_executable_p()
686 s = path; in rs6000coff_core_file_matches_executable_p()
692 free (path); in rs6000coff_core_file_matches_executable_p()
698 if (s == path + alloc) in rs6000coff_core_file_matches_executable_p()
703 n = bfd_realloc (path, (bfd_size_type) alloc); in rs6000coff_core_file_matches_executable_p()
706 free (path); in rs6000coff_core_file_matches_executable_p()
709 s = n + (path - s); in rs6000coff_core_file_matches_executable_p()
710 path = n; in rs6000coff_core_file_matches_executable_p()
[all …]
/toolchain/binutils/binutils-2.25/libiberty/
Dfopen_unlocked.c108 fopen_unlocked (const char *path, const char *mode) in fopen_unlocked() argument
110 FILE *const fp = fopen (path, mode); in fopen_unlocked()
124 freopen_unlocked (const char *path, const char *mode, FILE *stream) in freopen_unlocked() argument
126 FILE *const fp = freopen (path, mode, stream); in freopen_unlocked()
Dpex-win32.c449 const char *path = 0; in find_executable() local
460 path = getenv ("PATH"); in find_executable()
461 if (!path) in find_executable()
462 path = ""; in find_executable()
465 for (p = path; *p; p = q) in find_executable()
478 p = path; in find_executable()
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/ia64/
Dregval.l3 .*:11: Warning: Only the first path encountering the conflict is reported
7 .*:25: Warning: Only the first path encountering the conflict is reported
11 .*:32: Warning: Only the first path encountering the conflict is reported
15 .*:46: Warning: Only the first path encountering the conflict is reported
Ddv-mutex-err.l3 .*:9: Warning: Only the first path encountering the conflict is reported
6 .*:14: Warning: Only the first path encountering the conflict is reported
/toolchain/binutils/binutils-2.25/binutils/
Dbucomm.c452 template_in_dir (const char *path) in template_in_dir() argument
455 const char *slash = strrchr (path, '/'); in template_in_dir()
462 char *bslash = strrchr (path, '\\'); in template_in_dir()
466 if (slash == NULL && path[0] != '\0' && path[1] == ':') in template_in_dir()
467 slash = path + 1; in template_in_dir()
473 len = slash - path; in template_in_dir()
475 memcpy (tmpname, path, len); in template_in_dir()
Dwindmc.c176 mc_create_path_text_file (const char *path, const char *ext) in mc_create_path_text_file() argument
182 len += (path != NULL ? strlen (path) : 0); in mc_create_path_text_file()
186 sprintf (hsz, "%s%s%s", (path != NULL ? path : ""), mcset_mc_basename, in mc_create_path_text_file()
917 mc_unify_path (const char *path) in mc_unify_path() argument
922 if (! path || *path == 0) in mc_unify_path()
924 hsz = xmalloc (strlen (path) + 2); in mc_unify_path()
925 strcpy (hsz, path); in mc_unify_path()
/toolchain/binutils/binutils-2.25/gprof/
Dsource.c38 source_file_lookup_path (const char *path) in source_file_lookup_path() argument
44 if (FILENAME_CMP (path, sf->name) == 0) in source_file_lookup_path()
55 sf->name = xstrdup (path); in source_file_lookup_path()
144 strcpy (fname, sle->path); in annotate_source()
Dsearch_list.c46 memcpy (new_el->path, beg, len); in search_list_append()
47 new_el->path[len] = '\0'; in search_list_append()
/toolchain/binutils/binutils-2.25/ld/
Dldmain.c549 char *path; in get_relative_sysroot() local
552 path = make_relative_prefix (program_name, from, TARGET_SYSTEM_ROOT); in get_relative_sysroot()
553 if (path) in get_relative_sysroot()
555 if (stat (path, &s) == 0 && S_ISDIR (s.st_mode)) in get_relative_sysroot()
556 return path; in get_relative_sysroot()
557 free (path); in get_relative_sysroot()
569 const char *path; in get_sysroot() local
575 path = get_relative_sysroot (BINDIR); in get_sysroot()
576 if (path) in get_sysroot()
577 return path; in get_sysroot()
[all …]
Dldfile.c564 char *path; in ldfile_find_command_file() local
596 path = concat (search->name, slash, name, (const char *) NULL); in ldfile_find_command_file()
597 result = try_open (path, sysrooted); in ldfile_find_command_file()
598 free (path); in ldfile_find_command_file()
/toolchain/binutils/binutils-2.25/binutils/testsuite/lib/
Dutils-lib.exp31 set path [which $prog]
32 if {$path == 0} then {
37 set path $prog
45 return "$path (no version number)\n"
47 return "$path $number\n"
/toolchain/binutils/binutils-2.25/ld/emultempl/
Delf32.em178 link path.
365 another file on the search path. */
453 /* Search for a needed file in a path. */
456 gld${EMULATION_NAME}_search_needed (const char *path,
467 if (path == NULL || *path == '\0')
478 s = strchr (path, config.rpath_separator);
480 s = path + strlen (path);
485 && s == path + 1
486 && ISALPHA (*path))
490 s = path + strlen (path);
[all …]
Dsunos.em499 /* Search for a needed file in a path. */
502 gld${EMULATION_NAME}_search_needed (const char *path, const char *name)
506 if (path == NULL || *path == '\0')
513 s = strchr (path, ':');
517 dir = path;
521 dircopy = (char *) xmalloc (s - path + 1);
522 memcpy (dircopy, path, s - path);
523 dircopy[s - path] = '\0';
535 path = s + 1;
/toolchain/binutils/binutils-2.25/etc/
Dtexi2pod.pl244 foreach $path ("", $ibase, @ipath) {
246 $mypath = $path . "/" . $mypath if ($path ne "");
/toolchain/binutils/binutils-2.25/
Dltmain.sh3383 /* portability defines, excluding path handling macros */
3422 /* path handling portability macros */
3487 int make_executable (const char *path);
3488 int check_executable (const char *path);
3761 check_executable (const char *path)
3766 path ? (*path ? path : "EMPTY!") : "NULL!"));
3767 if ((!path) || (!*path))
3770 if ((stat (path, &st) >= 0)
3778 make_executable (const char *path)
3784 path ? (*path ? path : "EMPTY!") : "NULL!"));
[all …]
/toolchain/binutils/binutils-2.25/gold/
Doptions.cc724 char* path = make_relative_prefix(gold::program_name, from, in get_relative_sysroot() local
726 if (path != NULL) in get_relative_sysroot()
729 if (::stat(path, &s) == 0 && S_ISDIR(s.st_mode)) in get_relative_sysroot()
730 return path; in get_relative_sysroot()
731 free(path); in get_relative_sysroot()
751 char* path = get_relative_sysroot(BINDIR); in get_default_sysroot() local
752 if (path == NULL) in get_default_sysroot()
753 path = get_relative_sysroot(TOOLBINDIR); in get_default_sysroot()
754 if (path != NULL) in get_default_sysroot()
755 return path; in get_default_sysroot()
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/hppa/parse/
Dexprbug.s15 ; FIRST, argv array of pointers to args, 1st is same as path.
20 .word ic_path-icode ; first, pointer to init path
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/hppa/unsorted/
Dlabeldiffs.s17 ; FIRST, argv array of pointers to args, 1st is same as path.
22 .word ic_path-icode ; first, pointer to init path
/toolchain/binutils/binutils-2.25/gas/
Dread.c5649 char * path; in s_incbin() local
5707 path = (char *) xmalloc ((unsigned long) len + include_dir_maxlen + 5); in s_incbin()
5711 sprintf (path, "%s/%s", include_dirs[i], filename); in s_incbin()
5713 binfile = fopen (path, FOPEN_RB); in s_incbin()
5722 path = xstrdup (filename); in s_incbin()
5728 register_dependency (path); in s_incbin()
5733 as_bad (_("seek to end of .incbin file failed `%s'"), path); in s_incbin()
5751 as_bad (_("could not skip to %ld in file `%s'"), skip, path); in s_incbin()
5761 path, bytes, count); in s_incbin()
5766 if (path) in s_incbin()
[all …]
/toolchain/binutils/binutils-2.25/gas/config/
Dtc-ia64.c330 int path; /* number of alt. entry points seen */ member
679 int path; /* corresponding code entry index */ member
691 int path; member
702 int path; member
711 int path; member
719 (((1 << (8 * sizeof(gr_values->path) - 2)) - 1) << 1) + 1,
4959 gr_values[regno - REG_GR].path = md.path; in dot_reg_val()
7548 md.path = 0; in md_begin()
7831 if (md.path == md.maxpaths) in ia64_frob_label()
7838 md.entry_labels[md.path++] = S_GET_NAME (sym); in ia64_frob_label()
[all …]
Dtc-rx.c243 char * path; in rx_include() local
325 try = fopen (path = f, FOPEN_RT); in rx_include()
338 path = (char *) xmalloc (strlen (f) + len + 5); in rx_include()
348 sprintf (path, "%.*s/%s", (int) (d - current_filename), current_filename, in rx_include()
350 try = fopen (path, FOPEN_RT); in rx_include()
360 sprintf (path, "%s/%s", include_dirs[i], f); in rx_include()
361 if ((try = fopen (path, FOPEN_RT)) != NULL) in rx_include()
368 sprintf (path, "%s/%s", env, f); in rx_include()
369 try = fopen (path, FOPEN_RT); in rx_include()
378 free (path); in rx_include()
[all …]
/toolchain/binutils/binutils-2.25/config/
Dlib-ld.m447 # Check if gcc -print-prog-name=ld gives a path.
60 # Canonicalize the path of ld
100 acl_cv_path_LD="$LD" # Let the user override the test with a path.
Dacx.m4121 # NCN_STRICT_CHECK_TOOLS(variable, progs-to-check-for,[value-if-not-found],[path])
162 # NCN_STRICT_CHECK_TARGET_TOOLS(variable, progs-to-check-for,[value-if-not-found],[path])
221 # we switch. Put the OS path separator in $PATH_SEPARATOR.
295 # uses, and accept it if it is an absolute path. This is because the
307 # Also note we have to check MD_EXEC_PREFIX before checking the user's path
312 # If we do not find a suitable binary, then try the user's path.
490 # We already found the complete path
514 # We already found the complete path

123456789