Searched refs:stem_id (Results 1 – 6 of 6) sorted by relevance
/external/libselinux/src/ |
D | label_file.c | 270 int32_t stem_id, meta_chars; in load_mmap() local 340 rc = next_entry(&stem_id, mmap_area, sizeof(int32_t)); in load_mmap() 344 if (stem_id < 0 || stem_id >= (int32_t)stem_map_len) in load_mmap() 345 spec->stem_id = -1; in load_mmap() 347 spec->stem_id = stem_map[stem_id]; in load_mmap() 653 if ((spec->stem_id == -1 || spec->stem_id == file_stem) && in lookup_common() 657 if (spec->stem_id == -1) in lookup_common() 831 if (spec1->stem_id == -1 && spec2->stem_id != -1) in cmp() 833 if (spec2->stem_id == -1 && spec1->stem_id != -1) in cmp() 835 if (spec1->stem_id != -1 && spec2->stem_id != -1) { in cmp() [all …]
|
D | label_file.h | 39 int stem_id; /* indicates which stem-compression item */ member 344 if (spec->stem_id >= 0) in compile_regex() 345 reg_buf += stem_arr[spec->stem_id].len; in compile_regex() 439 spec_arr[nspec].stem_id = find_stem_from_spec(data, regex); in process_line()
|
/external/selinux/libselinux/src/ |
D | label_file.c | 272 int32_t stem_id, meta_chars; in load_mmap() local 342 rc = next_entry(&stem_id, mmap_area, sizeof(int32_t)); in load_mmap() 346 if (stem_id < 0 || stem_id >= (int32_t)stem_map_len) in load_mmap() 347 spec->stem_id = -1; in load_mmap() 349 spec->stem_id = stem_map[stem_id]; in load_mmap() 690 if ((spec->stem_id == -1 || spec->stem_id == file_stem) && in lookup_common() 694 if (spec->stem_id == -1) in lookup_common() 868 if (spec1->stem_id == -1 && spec2->stem_id != -1) in cmp() 870 if (spec2->stem_id == -1 && spec1->stem_id != -1) in cmp() 872 if (spec1->stem_id != -1 && spec2->stem_id != -1) { in cmp() [all …]
|
D | label_file.h | 36 int stem_id; /* indicates which stem-compression item */ member 341 if (spec->stem_id >= 0) in compile_regex() 342 reg_buf += stem_arr[spec->stem_id].len; in compile_regex() 427 spec_arr[nspec].stem_id = find_stem_from_spec(data, regex); in process_line()
|
/external/libselinux/utils/ |
D | sefcontext_compile.c | 146 int32_t stem_id = specs[i].stem_id; in write_binary_file() local 181 len = fwrite(&stem_id, sizeof(stem_id), 1, bin_file); in write_binary_file()
|
/external/selinux/libselinux/utils/ |
D | sefcontext_compile.c | 164 int32_t stem_id = specs[i].stem_id; in write_binary_file() local 199 len = fwrite(&stem_id, sizeof(stem_id), 1, bin_file); in write_binary_file()
|