Searched refs:last_slash (Results 1 – 4 of 4) sorted by relevance
| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| H A D | dso.c | 78 const char *last_slash; in dso__read_binary_type_filename() local 84 last_slash = filename + len; in dso__read_binary_type_filename() 85 while (last_slash != filename && *last_slash != '/') in dso__read_binary_type_filename() 86 last_slash--; in dso__read_binary_type_filename() 88 strncpy(dso_dir, filename, last_slash - filename); in dso__read_binary_type_filename() 89 dso_dir[last_slash-filename] = '\0'; in dso__read_binary_type_filename() 150 const char *last_slash; in dso__read_binary_type_filename() local 153 last_slash = dso->long_name + dso->long_name_len; in dso__read_binary_type_filename() 154 while (last_slash != dso->long_name && *last_slash != '/') in dso__read_binary_type_filename() 155 last_slash--; in dso__read_binary_type_filename() [all …]
|
| /OK3568_Linux_fs/u-boot/cmd/ |
| H A D | pxe.c | 92 char *bootfile, *last_slash; in get_bootfile_path() local 104 last_slash = strrchr(bootfile, '/'); in get_bootfile_path() 106 if (last_slash == NULL) in get_bootfile_path() 109 path_len = (last_slash - bootfile) + 1; in get_bootfile_path()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlinux/ |
| H A D | moal_main.c | 9871 char *last_slash = NULL; local 9916 last_slash = strrchr(file_path, '/'); 9917 if (last_slash) 9918 memset(last_slash + 1, 0, 9920 (last_slash - file_path)); 9954 last_slash = strrchr(file_path, '/'); 9955 if (last_slash) 9956 memset(last_slash + 1, 0, 9958 (last_slash - file_path));
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlinux/ |
| H A D | moal_main.c | 7732 char *last_slash = NULL; local 7758 last_slash = strrchr(file_path, '/'); 7759 if (last_slash) 7760 memset(last_slash + 1, 0, 7761 sizeof(file_path) - 1 - (last_slash -
|