Lines Matching refs:n_deps
1977 …ll_unique_dependencies(const struct mod *mod, const struct mod **deps, size_t n_deps, size_t *last) in mod_fill_all_unique_dependencies() argument
1996 if (*last >= n_deps) in mod_fill_all_unique_dependencies()
2000 err = mod_fill_all_unique_dependencies(d, deps, n_deps, last); in mod_fill_all_unique_dependencies()
2007 static const struct mod **mod_get_all_sorted_dependencies(const struct mod *mod, size_t *n_deps) in mod_get_all_sorted_dependencies() argument
2012 *n_deps = mod_count_all_dependencies(mod); in mod_get_all_sorted_dependencies()
2013 if (*n_deps == 0) in mod_get_all_sorted_dependencies()
2016 deps = malloc(sizeof(struct mod *) * (*n_deps)); in mod_get_all_sorted_dependencies()
2020 if (mod_fill_all_unique_dependencies(mod, deps, *n_deps, &last) < 0) { in mod_get_all_sorted_dependencies()
2026 *n_deps = last; in mod_get_all_sorted_dependencies()
2044 size_t j, n_deps; in output_deps() local
2051 deps = mod_get_all_sorted_dependencies(mod, &n_deps); in output_deps()
2057 for (j = 0; j < n_deps; j++) { in output_deps()
2085 size_t j, n_deps, linepos, linelen, slen; in output_deps_bin() local
2088 deps = mod_get_all_sorted_dependencies(mod, &n_deps); in output_deps_bin()
2089 if (deps == NULL && n_deps > 0) { in output_deps_bin()
2095 for (j = 0; j < n_deps; j++) { in output_deps_bin()
2114 for (j = 0; j < n_deps; j++) { in output_deps_bin()