Searched refs:last_slash (Results 1 – 1 of 1) sorted by relevance
81 const char *last_slash; in dso__read_binary_type_filename() local87 last_slash = filename + len; in dso__read_binary_type_filename()88 while (last_slash != filename && *last_slash != '/') in dso__read_binary_type_filename()89 last_slash--; in dso__read_binary_type_filename()91 strncpy(dso_dir, filename, last_slash - filename); in dso__read_binary_type_filename()92 dso_dir[last_slash-filename] = '\0'; in dso__read_binary_type_filename()153 const char *last_slash; in dso__read_binary_type_filename() local156 last_slash = dso->long_name + dso->long_name_len; in dso__read_binary_type_filename()157 while (last_slash != dso->long_name && *last_slash != '/') in dso__read_binary_type_filename()158 last_slash--; in dso__read_binary_type_filename()[all …]