Lines Matching refs:suffix
38 static int from_home_dir(const char *envname, const char *suffix, char **buffer, const char **ret) { in from_home_dir() argument
42 assert(suffix); in from_home_dir()
60 if (!path_extend(&h, suffix)) in from_home_dir()
388 static int get_path_alloc(uint64_t type, const char *suffix, char **path) { in get_path_alloc() argument
400 if (suffix) { in get_path_alloc()
401 suffix += strspn(suffix, "/"); in get_path_alloc()
402 buffer2 = path_join(ret, suffix); in get_path_alloc()
415 _public_ int sd_path_lookup(uint64_t type, const char *suffix, char **path) { in sd_path_lookup() argument
420 r = get_path_alloc(type, suffix, path); in sd_path_lookup()
428 r = sd_path_lookup_strv(type, suffix, &l); in sd_path_lookup()
637 _public_ int sd_path_lookup_strv(uint64_t type, const char *suffix, char ***paths) { in sd_path_lookup_strv() argument
647 r = get_path_alloc(type, suffix, &t); in sd_path_lookup_strv()
663 if (!suffix) { in sd_path_lookup_strv()
674 *j = path_join(*i, suffix); in sd_path_lookup_strv()