Searched refs:path_basename (Results 1 – 2 of 2) sorted by relevance
158 std::string path_basename = Basename(path); in MatchWithSubsystem() local160 if (Match("/sys/class/" + subsystem + "/" + path_basename)) return true; in MatchWithSubsystem()161 if (Match("/sys/bus/" + subsystem + "/devices/" + path_basename)) return true; in MatchWithSubsystem()
125 char* path_basename = basename(path); in getprogname()127 snprintf(progname, sizeof(progname), "%s", path_basename); in getprogname()