Home
last modified time | relevance | path

Searched refs:last_slash (Results 1 – 1 of 1) sorted by relevance

/tools/perf/util/
Ddso.c77 const char *last_slash; in dso__read_binary_type_filename() local
83 last_slash = filename + len; in dso__read_binary_type_filename()
84 while (last_slash != filename && *last_slash != '/') in dso__read_binary_type_filename()
85 last_slash--; in dso__read_binary_type_filename()
87 strncpy(dso_dir, filename, last_slash - filename); in dso__read_binary_type_filename()
88 dso_dir[last_slash-filename] = '\0'; in dso__read_binary_type_filename()
134 const char *last_slash; in dso__read_binary_type_filename() local
137 last_slash = dso->long_name + dso->long_name_len; in dso__read_binary_type_filename()
138 while (last_slash != dso->long_name && *last_slash != '/') in dso__read_binary_type_filename()
139 last_slash--; in dso__read_binary_type_filename()
[all …]