Home
last modified time | relevance | path

Searched refs:nspec (Results 1 – 4 of 4) sorted by relevance

/external/libselinux/src/
Dlabel_android_property.c29 unsigned int nspec; /* total number of specifications */ member
56 for (ii = 0; ii < data->nspec; ii++) { in nodups_specs()
58 for (jj = ii + 1; jj < data->nspec; jj++) { in nodups_specs()
92 unsigned int nspec = data->nspec; in process_line() local
113 spec_arr[nspec].property_key = strdup(prop); in process_line()
114 if (!spec_arr[nspec].property_key) { in process_line()
122 spec_arr[nspec].lr.ctx_raw = strdup(context); in process_line()
123 if (!spec_arr[nspec].lr.ctx_raw) { in process_line()
131 data->nspec = ++nspec; in process_line()
177 data->nspec = 0; in init()
[all …]
Dlabel_file.c51 unsigned int nspec; member
153 for (ii = 0; ii < data->nspec; ii++) { in nodups_specs()
155 for (jj = ii + 1; jj < data->nspec; jj++) { in nodups_specs()
286 unsigned int nspec = data->nspec; in process_line() local
318 spec_arr[nspec].stem_id = find_stem_from_spec(data, regex); in process_line()
319 spec_arr[nspec].regex_str = strdup(regex); in process_line()
320 if (!spec_arr[nspec].regex_str) { in process_line()
327 if (rec->validating && compile_regex(data, &spec_arr[nspec], &errbuf)) { in process_line()
335 spec_arr[nspec].mode = 0; in process_line()
338 spec_arr[nspec].type_str = strdup(type); in process_line()
[all …]
Dandroid.c109 static int nspec = 0; variable
130 nspec = 0; in selinux_android_seapp_context_reload()
137 nspec++; in selinux_android_seapp_context_reload()
140 seapp_contexts = calloc(nspec, sizeof(struct seapp_context *)); in selinux_android_seapp_context_reload()
145 nspec = 0; in selinux_android_seapp_context_reload()
227 seapp_contexts[nspec] = cur; in selinux_android_seapp_context_reload()
228 nspec++; in selinux_android_seapp_context_reload()
232 qsort(seapp_contexts, nspec, sizeof(struct seapp_context *), in selinux_android_seapp_context_reload()
238 for (i = 0; i < nspec; i++) { in selinux_android_seapp_context_reload()
314 for (i = 0; i < nspec; i++) { in seapp_context_lookup()
[all …]
/external/elfutils/backends/
Dsparc_regs.c43 const int nspec = ebl->machine == EM_SPARC ? 8 : 6; in sparc_register_info() local
46 return 32 + nfp + nspec; in sparc_register_info()
48 if (regno < 0 || regno >= 32 + nfp + nspec || namelen < 6) in sparc_register_info()