/external/selinux/libsepol/cil/src/ |
cil_post.h | 35 int stem_len; member in struct:fc_data
|
/external/libselinux/utils/ |
sefcontext_compile.c | 121 uint32_t stem_len = data->stem_arr[i].len; local 124 len = fwrite(&stem_len, sizeof(uint32_t), 1, bin_file); 129 stem_len += 1; 130 len = fwrite(stem, sizeof(char), stem_len, bin_file); 131 if (len != stem_len)
|
/external/selinux/libselinux/utils/ |
sefcontext_compile.c | 139 uint32_t stem_len = data->stem_arr[i].len; local 142 len = fwrite(&stem_len, sizeof(uint32_t), 1, bin_file); 147 stem_len += 1; 148 len = fwrite(stem, sizeof(char), stem_len, bin_file); 149 if (len != stem_len)
|
/system/sepolicy/tools/fc_sort/ |
fc_sort.c | 32 * expression. The regular expression data (meta, stem_len 42 int stem_len; member in struct:file_context_node 98 if (a->stem_len < b->stem_len) 100 if (b->stem_len < a->stem_len) 254 * meta, str_len and stem_len. 259 * fc_node->stem_len = The number of characters up until 267 fc_node->stem_len = 0; 299 fc_node->stem_len++ [all...] |
/external/libselinux/src/ |
label_file.h | 254 int stem_len) 259 if (stem_len == data->stem_arr[i].len && 260 !strncmp(buf, data->stem_arr[i].buf, stem_len)) 268 static inline int store_stem(struct saved_data *data, char *buf, int stem_len) 282 data->stem_arr[num].len = stem_len; 295 int stem_len = get_stem_from_spec(buf); local 299 if (!stem_len) 302 stemid = find_stem(data, buf, stem_len); 307 stem = strndup(buf, stem_len); 311 return store_stem(data, stem, stem_len); [all...] |
label_file.c | 47 int stem_len = get_stem_from_file_name(*buf); local 49 if (!stem_len) 52 if (stem_len == data->stem_arr[i].len 53 && !strncmp(*buf, data->stem_arr[i].buf, stem_len)) { 54 *buf += stem_len; 221 uint32_t stem_len; local 225 rc = next_entry(&stem_len, mmap_area, sizeof(uint32_t)); 226 if (rc < 0 || !stem_len) { 231 /* Check for stem_len wrap around. */ 232 if (stem_len < UINT32_MAX) [all...] |
/external/selinux/libselinux/src/ |
label_file.h | 251 int stem_len) 256 if (stem_len == data->stem_arr[i].len && 257 !strncmp(buf, data->stem_arr[i].buf, stem_len)) 265 static inline int store_stem(struct saved_data *data, char *buf, int stem_len) 279 data->stem_arr[num].len = stem_len; 292 int stem_len = get_stem_from_spec(buf); local 296 if (!stem_len) 299 stemid = find_stem(data, buf, stem_len); 304 stem = strndup(buf, stem_len); 308 return store_stem(data, stem, stem_len); [all...] |
label_file.c | 48 int stem_len = get_stem_from_file_name(*buf); local 50 if (!stem_len) 53 if (stem_len == data->stem_arr[i].len 54 && !strncmp(*buf, data->stem_arr[i].buf, stem_len)) { 55 *buf += stem_len; 223 uint32_t stem_len; local 227 rc = next_entry(&stem_len, mmap_area, sizeof(uint32_t)); 228 if (rc < 0 || !stem_len) { 233 /* Check for stem_len wrap around. */ 234 if (stem_len < UINT32_MAX) [all...] |