Home
last modified time | relevance | path

Searched refs:ftr (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/util/
Du_debug_memory.c114 struct debug_memory_footer *ftr; in debug_malloc() local
116 hdr = os_malloc(sizeof(*hdr) + size + sizeof(*ftr)); in debug_malloc()
135 ftr = footer_from_header(hdr); in debug_malloc()
136 ftr->magic = DEBUG_MEMORY_MAGIC; in debug_malloc()
150 struct debug_memory_footer *ftr; in debug_free() local
164 ftr = footer_from_header(hdr); in debug_free()
165 if(ftr->magic != DEBUG_MEMORY_MAGIC) { in debug_free()
176 ftr->magic = 0; in debug_free()
277 struct debug_memory_footer *ftr; in debug_memory_end() local
281 ftr = footer_from_header(hdr); in debug_memory_end()
[all …]
/external/selinux/libsepol/src/
Dwrite.c1702 filename_trans_rule_t *ftr; in filename_trans_rule_write() local
1704 for (ftr = t; ftr; ftr = ftr->next) in filename_trans_rule_write()
1712 for (ftr = t; ftr; ftr = ftr->next) { in filename_trans_rule_write()
1713 len = strlen(ftr->name); in filename_trans_rule_write()
1719 items = put_entry(ftr->name, sizeof(char), len, fp); in filename_trans_rule_write()
1723 if (type_set_write(&ftr->stypes, fp)) in filename_trans_rule_write()
1725 if (type_set_write(&ftr->ttypes, fp)) in filename_trans_rule_write()
1728 buf[0] = cpu_to_le32(ftr->tclass); in filename_trans_rule_write()
1729 buf[1] = cpu_to_le32(ftr->otype); in filename_trans_rule_write()
Dpolicydb.c3318 filename_trans_rule_t *ftr, *lftr; in filename_trans_rule_read() local
3327 ftr = malloc(sizeof(*ftr)); in filename_trans_rule_read()
3328 if (!ftr) in filename_trans_rule_read()
3331 filename_trans_rule_init(ftr); in filename_trans_rule_read()
3334 lftr->next = ftr; in filename_trans_rule_read()
3336 *r = ftr; in filename_trans_rule_read()
3337 lftr = ftr; in filename_trans_rule_read()
3345 ftr->name = malloc(len + 1); in filename_trans_rule_read()
3346 if (!ftr->name) in filename_trans_rule_read()
3349 rc = next_entry(ftr->name, fp, len); in filename_trans_rule_read()
[all …]
/external/selinux/checkpolicy/
Dpolicy_define.c3159 filename_trans_rule_t *ftr; in define_filename_trans() local
3285 ftr = malloc(sizeof(*ftr)); in define_filename_trans()
3286 if (!ftr) { in define_filename_trans()
3290 filename_trans_rule_init(ftr); in define_filename_trans()
3291 append_filename_trans(ftr); in define_filename_trans()
3293 ftr->name = strdup(name); in define_filename_trans()
3294 ftr->stypes = stypes; in define_filename_trans()
3295 ftr->ttypes = ttypes; in define_filename_trans()
3296 ftr->tclass = c + 1; in define_filename_trans()
3297 ftr->otype = otype; in define_filename_trans()