Home
last modified time | relevance | path

Searched refs:spec_arr (Results 1 – 2 of 2) sorted by relevance

/external/libselinux/src/
Dlabel_file.c50 spec_t *spec_arr; member
151 struct spec *curr_spec, *spec_arr = data->spec_arr; in nodups_specs() local
154 curr_spec = &spec_arr[ii]; in nodups_specs()
157 (spec_arr[jj].regex_str, curr_spec->regex_str)) in nodups_specs()
158 && (!spec_arr[jj].mode || !curr_spec->mode in nodups_specs()
159 || spec_arr[jj].mode == curr_spec->mode)) { in nodups_specs()
163 (spec_arr[jj].lr.ctx_raw, in nodups_specs()
169 spec_arr[jj].lr.ctx_raw, in nodups_specs()
285 spec_t *spec_arr = data->spec_arr; in process_line() local
318 spec_arr[nspec].stem_id = find_stem_from_spec(data, regex); in process_line()
[all …]
Dlabel_android_property.c28 spec_t *spec_arr; member
54 struct spec *curr_spec, *spec_arr = data->spec_arr; in nodups_specs() local
57 curr_spec = &spec_arr[ii]; in nodups_specs()
59 if ((!strcmp(spec_arr[jj].property_key, curr_spec->property_key))) { in nodups_specs()
63 (spec_arr[jj].lr.ctx_raw, in nodups_specs()
69 spec_arr[jj].lr.ctx_raw, in nodups_specs()
91 spec_t *spec_arr = data->spec_arr; 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()
[all …]