Home
last modified time | relevance | path

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

/third_party/mesa3d/src/util/
Du_debug_memory.c128 struct debug_memory_footer *ftr; in debug_malloc() local
130 hdr = os_malloc(sizeof(*hdr) + size + sizeof(*ftr)); in debug_malloc()
153 ftr = footer_from_header(hdr); in debug_malloc()
154 ftr->magic = DEBUG_MEMORY_MAGIC; in debug_malloc()
168 struct debug_memory_footer *ftr; in debug_free() local
182 ftr = footer_from_header(hdr); in debug_free()
183 if (ftr->magic != DEBUG_MEMORY_MAGIC) { in debug_free()
205 ftr->magic = 0; in debug_free()
311 struct debug_memory_footer *ftr; in debug_memory_end() local
315 ftr = footer_from_header(hdr); in debug_memory_end()
[all …]
/third_party/selinux/libsepol/src/
Dwrite.c1948 filename_trans_rule_t *ftr; in filename_trans_rule_write() local
1950 for (ftr = t; ftr; ftr = ftr->next) in filename_trans_rule_write()
1958 for (ftr = t; ftr; ftr = ftr->next) { in filename_trans_rule_write()
1959 len = strlen(ftr->name); in filename_trans_rule_write()
1965 items = put_entry(ftr->name, sizeof(char), len, fp); in filename_trans_rule_write()
1969 if (type_set_write(&ftr->stypes, fp)) in filename_trans_rule_write()
1971 if (type_set_write(&ftr->ttypes, fp)) in filename_trans_rule_write()
1974 buf[0] = cpu_to_le32(ftr->tclass); in filename_trans_rule_write()
1975 buf[1] = cpu_to_le32(ftr->otype); in filename_trans_rule_write()
1976 buf[2] = cpu_to_le32(ftr->flags); in filename_trans_rule_write()
[all …]
Dpolicydb.c3842 filename_trans_rule_t *ftr, *lftr; in filename_trans_rule_read() local
3851 ftr = malloc(sizeof(*ftr)); in filename_trans_rule_read()
3852 if (!ftr) in filename_trans_rule_read()
3855 filename_trans_rule_init(ftr); in filename_trans_rule_read()
3858 lftr->next = ftr; in filename_trans_rule_read()
3860 *r = ftr; in filename_trans_rule_read()
3861 lftr = ftr; in filename_trans_rule_read()
3871 ftr->name = malloc(len + 1); in filename_trans_rule_read()
3872 if (!ftr->name) in filename_trans_rule_read()
3875 rc = next_entry(ftr->name, fp, len); in filename_trans_rule_read()
[all …]
/third_party/selinux/checkpolicy/
Dpolicy_define.c3308 filename_trans_rule_t *ftr; in define_filename_trans() local
3439 ftr = malloc(sizeof(*ftr)); in define_filename_trans()
3440 if (!ftr) { in define_filename_trans()
3444 filename_trans_rule_init(ftr); in define_filename_trans()
3445 append_filename_trans(ftr); in define_filename_trans()
3447 ftr->name = strdup(name); in define_filename_trans()
3448 if (type_set_cpy(&ftr->stypes, &stypes)) { in define_filename_trans()
3452 if (type_set_cpy(&ftr->ttypes, &ttypes)) { in define_filename_trans()
3456 ftr->tclass = c + 1; in define_filename_trans()
3457 ftr->otype = otype; in define_filename_trans()
[all …]
/third_party/ffmpeg/libavdevice/
Ddecklink_dec.cpp336 uint16_t hdr, ftr; in vanc_to_cc() local
399 ftr = (cdp[len - 3] << 8) | cdp[len - 2]; in vanc_to_cc()
400 if (ftr != hdr) { in vanc_to_cc()
401 av_log(avctx, AV_LOG_WARNING, "Header 0x%.4x != Footer 0x%.4x\n", hdr, ftr); in vanc_to_cc()