Searched refs:last_slash (Results 1 – 1 of 1) sorted by relevance
121 const char *last_slash; in dso__read_binary_type_filename() local127 last_slash = filename + len; in dso__read_binary_type_filename()128 while (last_slash != filename && *last_slash != '/') in dso__read_binary_type_filename()129 last_slash--; in dso__read_binary_type_filename()131 strncpy(dso_dir, filename, last_slash - filename); in dso__read_binary_type_filename()132 dso_dir[last_slash-filename] = '\0'; in dso__read_binary_type_filename()193 const char *last_slash; in dso__read_binary_type_filename() local196 last_slash = dso__long_name(dso) + dso__long_name_len(dso); in dso__read_binary_type_filename()197 while (last_slash != dso__long_name(dso) && *last_slash != '/') in dso__read_binary_type_filename()198 last_slash--; in dso__read_binary_type_filename()[all …]