Home
last modified time | relevance | path

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

/external/selinux/libselinux/src/
Dlabel_file.c296 int32_t stem_id, meta_chars; in load_mmap() local
368 rc = next_entry(&stem_id, mmap_area, sizeof(int32_t)); in load_mmap()
372 if (stem_id < 0 || stem_id >= (int32_t)stem_map_len) in load_mmap()
373 spec->stem_id = -1; in load_mmap()
375 spec->stem_id = stem_map[stem_id]; in load_mmap()
963 bool stem_matches = spec->stem_id == -1 || spec->stem_id == file_stem; in lookup_all()
1183 if (spec1->stem_id == -1 && spec2->stem_id != -1) in cmp()
1185 if (spec2->stem_id == -1 && spec1->stem_id != -1) in cmp()
1187 if (spec1->stem_id != -1 && spec2->stem_id != -1) { in cmp()
1188 struct stem *stem1 = &stem_arr1[spec1->stem_id]; in cmp()
[all …]
Dlabel_file.h51 int stem_id; /* indicates which stem-compression item */ member
480 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()