Lines Matching defs:conf
254 static void get_sys_path(ns_configor *conf);
288 UT_STATIC void set_ns_attrs(ns_t *ns, ns_configor *conf)
290 if (!ns || !conf) {
296 ns_set_separated(ns, conf->get_separated(ns->ns_name));
298 lib_paths = conf->get_lib_paths(ns->ns_name);
301 asan_lib_paths = conf->get_asan_lib_paths(ns->ns_name);
304 permitted_paths = conf->get_permitted_paths(ns->ns_name);
307 asan_permitted_paths = conf->get_asan_permitted_paths(ns->ns_name);
310 allowed_libs = conf->get_allowed_libs(ns->ns_name);
325 UT_STATIC void set_ns_inherits(ns_t *ns, ns_configor *conf)
327 if (!ns || !conf) {
331 strlist *inherits = conf->get_inherits(ns->ns_name);
336 char *shared_libs = conf->get_inherit_shared_libs(ns->ns_name, inherited_ns->ns_name);
368 ns_configor *conf = configor_init();
374 int ret = conf->parse(file_path, app_path);
378 if (!sys_path) get_sys_path(conf);
386 if (!sys_path) get_sys_path(conf);
391 set_ns_attrs(d_ns, conf);
400 strlist *s_ns = conf->get_namespaces();
405 set_ns_attrs(ns, conf);
412 set_ns_inherits(d_ns, conf);
414 set_ns_inherits(nsl->nss[i], conf);
2051 static void get_sys_path(ns_configor *conf)
2056 sys_path = conf->get_sys_paths();
2060 sys_path = conf->get_asan_sys_paths();
2061 char *sys_path_default = conf->get_sys_paths();