Home
last modified time | relevance | path

Searched refs:stem_arr (Results 1 – 3 of 3) sorted by relevance

/external/selinux/libselinux/src/
Dlabel_file.h75 struct stem *stem_arr; member
251 if (stem_len == data->stem_arr[i].len && in find_stem()
252 !strncmp(buf, data->stem_arr[i].buf, stem_len)) in find_stem()
268 tmp_arr = realloc(data->stem_arr, in store_stem()
272 data->stem_arr = tmp_arr; in store_stem()
274 data->stem_arr[num].len = stem_len; in store_stem()
275 data->stem_arr[num].buf = buf; in store_stem()
276 data->stem_arr[num].from_mmap = 0; in store_stem()
328 struct stem *stem_arr = data->stem_arr; in compile_regex() local
338 reg_buf += stem_arr[spec->stem_id].len; in compile_regex()
Dlabel_file.c51 if (stem_len == data->stem_arr[i].len in find_stem_from_file()
52 && !strncmp(*buf, data->stem_arr[i].buf, stem_len)) { in find_stem_from_file()
283 data->stem_arr[newid].from_mmap = 1; in load_mmap()
713 stem = &data->stem_arr[i]; in closef()
721 if (data->stem_arr) in closef()
722 free(data->stem_arr); in closef()
911 struct stem *stem_arr1 = data1->stem_arr, *stem_arr2 = data2->stem_arr; in cmp()
/external/selinux/libselinux/utils/
Dsefcontext_compile.c156 char *stem = data->stem_arr[i].buf; in write_binary_file()
157 uint32_t stem_len = data->stem_arr[i].len; in write_binary_file()
263 free(data->stem_arr[i].buf); in free_specs()
264 free(data->stem_arr); in free_specs()