Home
last modified time | relevance | path

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

/external/selinux/libselinux/src/
Dlabel_file.c297 int32_t stem_id, meta_chars; in load_mmap() local
367 rc = next_entry(&stem_id, mmap_area, sizeof(int32_t)); in load_mmap()
371 if (stem_id < 0 || stem_id >= (int32_t)stem_map_len) in load_mmap()
372 spec->stem_id = -1; in load_mmap()
374 spec->stem_id = stem_map[stem_id]; in load_mmap()
784 if ((spec->stem_id == -1 || spec->stem_id == file_stem) && in lookup_common()
788 if (spec->stem_id == -1) in lookup_common()
949 if (spec1->stem_id == -1 && spec2->stem_id != -1) in cmp()
951 if (spec2->stem_id == -1 && spec1->stem_id != -1) in cmp()
953 if (spec1->stem_id != -1 && spec2->stem_id != -1) { in cmp()
[all …]
Dlabel_file.h40 int stem_id; /* indicates which stem-compression item */ member
337 if (spec->stem_id >= 0) in compile_regex()
338 reg_buf += stem_arr[spec->stem_id].len; in compile_regex()
429 spec_arr[nspec].stem_id = find_stem_from_spec(data, regex); in process_line()
/external/selinux/libselinux/utils/
Dsefcontext_compile.c182 int32_t stem_id = specs[i].stem_id; in write_binary_file() local
215 len = fwrite(&stem_id, sizeof(stem_id), 1, bin_file); in write_binary_file()