Searched refs:member_file_name (Results 1 – 3 of 3) sorted by relevance
/toolchain/binutils/binutils-2.25/binutils/ |
D | elfcomm.c | 391 char * member_file_name; in adjust_relative_path() local 402 member_file_name = (char *) malloc (name_len + 1); in adjust_relative_path() 403 if (member_file_name == NULL) in adjust_relative_path() 408 memcpy (member_file_name, name, name_len); in adjust_relative_path() 409 member_file_name[name_len] = '\0'; in adjust_relative_path() 416 member_file_name = (char *) malloc (prefix_len + name_len + 1); in adjust_relative_path() 417 if (member_file_name == NULL) in adjust_relative_path() 422 memcpy (member_file_name, file_name, prefix_len); in adjust_relative_path() 423 memcpy (member_file_name + prefix_len, name, name_len); in adjust_relative_path() 424 member_file_name[prefix_len + name_len] = '\0'; in adjust_relative_path() [all …]
|
D | elfedit.c | 377 char *member_file_name = adjust_relative_path (file_name, in process_archive() local 379 if (member_file_name == NULL) in process_archive() 385 member_file = fopen (member_file_name, "r+b"); in process_archive() 389 member_file_name); in process_archive() 390 free (member_file_name); in process_archive() 400 free (member_file_name); in process_archive()
|
D | readelf.c | 15245 char * member_file_name = adjust_relative_path (file_name, name, namelen); in process_archive() local 15246 if (member_file_name == NULL) in process_archive() 15252 member_file = fopen (member_file_name, "rb"); in process_archive() 15255 error (_("Input file '%s' is not readable.\n"), member_file_name); in process_archive() 15256 free (member_file_name); in process_archive() 15266 free (member_file_name); in process_archive()
|