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.c1096 int *num_modules) in semanage_get_active_modules() argument
1100 assert(num_modules); in semanage_get_active_modules()
1102 *num_modules = 0; in semanage_get_active_modules()
1164 *num_modules = j; in semanage_get_active_modules()
1183 *num_modules, in semanage_get_active_modules()
2186 char **module_filenames, int num_modules) in semanage_verify_modules() argument
2193 for (i = 0; i < num_modules; i++) { in semanage_verify_modules()
Ddirect_api.c81 int *num_modules);
95 int *num_modules);
1959 int *num_modules) in semanage_direct_list() argument
1963 *num_modules = 0; in semanage_direct_list()
1971 if (semanage_get_active_modules(sh, modinfo, num_modules) == -1) { in semanage_direct_list()
1975 if (num_modules == 0) { in semanage_direct_list()
1984 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.cc192 static int num_modules; variable
195 for (int i = 0; i < num_modules; i++) { in find_module()
211 modules[num_modules++] = module; in cras_dsp_module_load_builtin()
226 num_modules = 0; in SetUp()
275 ASSERT_EQ(2, num_modules); in TEST_F()
435 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.c2425 limit = cur + library->num_modules; in ft_open_face_internal()
4843 for ( nn = 0; nn < library->num_modules; nn++ ) in FT_Add_Module()
4862 if ( library->num_modules >= FT_MAX_MODULES ) in FT_Add_Module()
4908 library->modules[library->num_modules++] = module; in FT_Add_Module()
4945 limit = cur + library->num_modules; in FT_Get_Module()
4996 FT_Module* limit = cur + library->num_modules; in ft_module_get_service()
5034 FT_Module* limit = cur + library->num_modules; in FT_Remove_Module()
5042 library->num_modules--; in FT_Remove_Module()
5092 limit = cur + library->num_modules; in ft_property_do()
5341 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.h928 FT_UInt num_modules; member