Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/util/
H A 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()
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()
194 dir_size = last_slash - dso->long_name + 2; in dso__read_binary_type_filename()
[all …]
/openbmc/u-boot/fs/fat/
H A Dfat_write.c968 char *p, *last_slash, *last_slash_cont; in split_filename() local
972 last_slash = NULL; in split_filename()
976 last_slash = p; in split_filename()
987 if (last_slash) { in split_filename()
990 *last_slash = '\0'; in split_filename()
994 if (last_slash == filename) { in split_filename()
998 *last_slash = '\0'; in split_filename()
/openbmc/u-boot/cmd/
H A Dpxe.c91 char *bootfile, *last_slash; in get_bootfile_path() local
103 last_slash = strrchr(bootfile, '/'); in get_bootfile_path()
105 if (last_slash == NULL) in get_bootfile_path()
108 path_len = (last_slash - bootfile) + 1; in get_bootfile_path()