Home
last modified time | relevance | path

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

/tools/perf/util/
Ddso.c114 const char *last_slash; in dso__read_binary_type_filename() local
120 last_slash = filename + len; in dso__read_binary_type_filename()
121 while (last_slash != filename && *last_slash != '/') in dso__read_binary_type_filename()
122 last_slash--; in dso__read_binary_type_filename()
124 strncpy(dso_dir, filename, last_slash - filename); in dso__read_binary_type_filename()
125 dso_dir[last_slash-filename] = '\0'; in dso__read_binary_type_filename()
186 const char *last_slash; in dso__read_binary_type_filename() local
189 last_slash = dso->long_name + dso->long_name_len; in dso__read_binary_type_filename()
190 while (last_slash != dso->long_name && *last_slash != '/') in dso__read_binary_type_filename()
191 last_slash--; in dso__read_binary_type_filename()
[all …]
/tools/testing/selftests/filesystems/fuse/
Dbpf_loader.c718 char *last_slash; in install_elf_bpf() local
732 TEST(last_slash = strrchr(path, '/'), last_slash); in install_elf_bpf()
733 strcpy(last_slash + 1, file); in install_elf_bpf()