Home
last modified time | relevance | path

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

/third_party/selinux/libselinux/src/
H A Dlabel_file.h90 struct stem *stem_arr; member
270 if (stem_len == data->stem_arr[i].len && in find_stem()
271 !strncmp(buf, data->stem_arr[i].buf, stem_len)) in find_stem()
286 tmp_arr = realloc(data->stem_arr, in store_stem()
292 data->stem_arr = tmp_arr; in store_stem()
294 data->stem_arr[num].len = stem_len; in store_stem()
295 data->stem_arr[num].buf = buf; in store_stem()
296 data->stem_arr[num].from_mmap = 0; in store_stem()
302 /* find the stem of a file spec, returns the index into stem_arr for a new
H A Dlabel_file.c40 /* find the stem of a file name, returns the index into stem_arr (or -1 if
51 if (stem_len == data->stem_arr[i].len in find_stem_from_file()
52 && !strncmp(key, data->stem_arr[i].buf, stem_len)) { in find_stem_from_file()
242 * number in the data stem_arr in load_mmap()
285 data->stem_arr[newid].from_mmap = 1; in load_mmap()
370 /* map the stem id from the mmap file to the data->stem_arr */ in load_mmap()
898 stem = &data->stem_arr[i]; in closef()
906 if (data->stem_arr) in closef()
907 free(data->stem_arr); in closef()
1252 struct stem *stem_arr1 = data1->stem_arr, *stem_arr in cmp()
[all...]
/third_party/selinux/libselinux/utils/
H A 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()

Completed in 3 milliseconds