Home
last modified time | relevance | path

Searched refs:num_modules (Results 1 – 14 of 14) sorted by relevance

/external/selinux/libsepol/tests/
Dtest-expander.c70 int expander_policy_init(policydb_t * mybase, int num_modules, policydb_t ** mymodules, policydb_t … in expander_policy_init() argument
72 char *filename[num_modules + 1]; in expander_policy_init()
75 for (i = 0; i < num_modules + 1; i++) { in expander_policy_init()
86 for (i = 0; i < num_modules; i++) { in expander_policy_init()
106 for (i = 1; i < num_modules + 1; i++) { in expander_policy_init()
115 if (link_modules(NULL, mybase, mymodules, num_modules, 0)) { in expander_policy_init()
125 for (i = 0; i < num_modules + 1; i++) { in expander_policy_init()
/external/selinux/libsepol/src/
Dmodule.c247 int num_modules) in link_file_contexts() argument
254 for (i = 0; i < num_modules; i++) { in link_file_contexts()
262 for (i = 0; i < num_modules; i++) { in link_file_contexts()
279 int num_modules) in link_netfilter_contexts() argument
286 for (i = 0; i < num_modules; i++) { in link_netfilter_contexts()
295 for (i = 0; i < num_modules; i++) { in link_netfilter_contexts()
309 sepol_module_package_t ** modules, int num_modules, in sepol_link_packages() argument
315 if ((mod_pols = calloc(num_modules, sizeof(*mod_pols))) == NULL) { in sepol_link_packages()
319 for (i = 0; i < num_modules; i++) { in sepol_link_packages()
323 retval = link_modules(handle, &base->policy->p, mod_pols, num_modules, in sepol_link_packages()
[all …]
/external/selinux/libsemanage/src/
Dsemanage_store.h123 semanage_module_info_t **modinfo, int *num_modules);
134 cil_db_t *cildb, char **filenames, int num_modules);
147 char **module_filenames, int num_modules);
Dsemanage_store.c1065 int *num_modules) in semanage_get_active_modules() argument
1069 assert(num_modules); in semanage_get_active_modules()
1071 *num_modules = 0; in semanage_get_active_modules()
1133 *num_modules = j; in semanage_get_active_modules()
1152 *num_modules, in semanage_get_active_modules()
2138 char **module_filenames, int num_modules) in semanage_verify_modules() argument
2145 for (i = 0; i < num_modules; i++) { in semanage_verify_modules()
Ddirect_api.c80 int *num_modules);
94 int *num_modules);
1915 int *num_modules) in semanage_direct_list() argument
1919 *num_modules = 0; in semanage_direct_list()
1927 if (semanage_get_active_modules(sh, modinfo, num_modules) == -1) { in semanage_direct_list()
1931 if (num_modules == 0) { in semanage_direct_list()
1940 for (i = 0; i < *num_modules; i++) { in semanage_direct_list()
Dmodules.c217 semanage_module_info_t ** modinfo, int *num_modules) in semanage_module_list() argument
226 return sh->funcs->list(sh, modinfo, num_modules); in semanage_module_list()
/external/adhd/cras/src/tests/
Dcras_dsp_pipeline_unittest.cc191 static int num_modules; variable
194 for (int i = 0; i < num_modules; i++) { in find_module()
210 modules[num_modules++] = module; in cras_dsp_module_load_builtin()
220 num_modules = 0; in SetUp()
268 ASSERT_EQ(2, num_modules); in TEST_F()
422 ASSERT_EQ(5, num_modules); /* one not connected, one disabled */ in TEST_F()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_win.cc326 uptr num_modules = modules.size(); in DumpProcessMap() local
328 InternalScopedBuffer<ModuleInfo> module_infos(num_modules); in DumpProcessMap()
329 for (size_t i = 0; i < num_modules; ++i) { in DumpProcessMap()
334 qsort(module_infos.data(), num_modules, sizeof(ModuleInfo), in DumpProcessMap()
337 for (size_t i = 0; i < num_modules; ++i) { in DumpProcessMap()
483 size_t num_modules = bytes_required / sizeof(HMODULE); in init() local
484 for (size_t i = 0; i < num_modules; ++i) { in init()
/external/selinux/libsepol/include/sepol/
Dmodule.h63 int num_modules, int verbose);
/external/selinux/libsemanage/include/semanage/
Dmodules.h62 semanage_module_info_t **, int *num_modules);
/external/freetype/src/base/
Dftobjs.c2412 limit = cur + library->num_modules; in ft_open_face_internal()
4747 for ( nn = 0; nn < library->num_modules; nn++ ) in FT_Add_Module()
4766 if ( library->num_modules >= FT_MAX_MODULES ) in FT_Add_Module()
4812 library->modules[library->num_modules++] = module; in FT_Add_Module()
4849 limit = cur + library->num_modules; in FT_Get_Module()
4900 FT_Module* limit = cur + library->num_modules; in ft_module_get_service()
4938 FT_Module* limit = cur + library->num_modules; in FT_Remove_Module()
4946 library->num_modules--; in FT_Remove_Module()
4996 limit = cur + library->num_modules; in ft_property_do()
5259 for ( n = 0; n < library->num_modules; n++ ) in FT_Done_Library()
[all …]
/external/webrtc/webrtc/video/
Dvie_channel.cc1108 size_t num_modules) { in CreateRtpRtcpModules() argument
1109 RTC_DCHECK_GT(num_modules, 0u); in CreateRtpRtcpModules()
1130 for (size_t i = 0; i < num_modules; ++i) { in CreateRtpRtcpModules()
Dvie_channel.h304 size_t num_modules);
/external/freetype/include/freetype/internal/
Dftobjs.h924 FT_UInt num_modules; member