Searched refs:tmpf (Results 1 – 18 of 18) sorted by relevance
/openbmc/phosphor-mboxd/test/ |
H A D | tmpf.c | 14 int tmpf_init(struct tmpf *tmpf, const char *template) in tmpf_init() argument 16 strcpy(tmpf->path, tmpf_dir); in tmpf_init() 17 strncat(tmpf->path, template, sizeof(tmpf->path) - sizeof(tmpf_dir)); in tmpf_init() 19 tmpf->fd = mkstemp(tmpf->path); in tmpf_init() 20 if (tmpf->fd < 0) { in tmpf_init() 28 void tmpf_destroy(struct tmpf *tmpf) in tmpf_destroy() argument 30 if (tmpf->fd) in tmpf_destroy() 31 close(tmpf->fd); in tmpf_destroy() 33 if (tmpf->path) in tmpf_destroy() 34 unlink(tmpf->path); in tmpf_destroy()
|
H A D | tmpf.h | 9 struct tmpf { struct 22 int tmpf_init(struct tmpf *tmpf, const char *template_str); 28 void tmpf_destroy(struct tmpf *tmpf);
|
H A D | Makefile.am.include | 7 %reldir%/tmpf.c 13 %reldir%/tmpf.c 19 %reldir%/tmpf.c 29 TEST_MOCK_SRCS = %reldir%/tmpf.c %reldir%/mbox.c %reldir%/system.c
|
H A D | mbox.c | 197 struct tmpf mbox; 198 struct tmpf flash; 199 struct tmpf lpc;
|
H A D | copy_flash.c | 20 static struct tmpf tmp;
|
H A D | write_flash.c | 16 struct tmpf _tmp, *tmp = &_tmp;
|
H A D | erase_flash.c | 18 static struct tmpf mtd;
|
/openbmc/hiomapd/test/ |
H A D | tmpf.c | 14 int tmpf_init(struct tmpf *tmpf, const char *template) in tmpf_init() argument 16 strcpy(tmpf->path, tmpf_dir); in tmpf_init() 17 strncat(tmpf->path, template, sizeof(tmpf->path) - sizeof(tmpf_dir)); in tmpf_init() 19 tmpf->fd = mkstemp(tmpf->path); in tmpf_init() 20 if (tmpf->fd < 0) { in tmpf_init() 28 void tmpf_destroy(struct tmpf *tmpf) in tmpf_destroy() argument 30 if (tmpf->fd) in tmpf_destroy() 31 close(tmpf->fd); in tmpf_destroy() 33 unlink(tmpf->path); in tmpf_destroy()
|
H A D | tmpf.h | 9 struct tmpf { struct 22 int tmpf_init(struct tmpf *tmpf, const char *template_str); 28 void tmpf_destroy(struct tmpf *tmpf);
|
H A D | Makefile.am.include | 8 %reldir%/tmpf.c \ 16 %reldir%/tmpf.c 23 %reldir%/tmpf.c 33 %reldir%/tmpf.c \
|
H A D | mbox.c | 201 struct tmpf mbox; 202 struct tmpf flash; 203 struct tmpf lpc;
|
H A D | flash_copy.c | 21 static struct tmpf tmp;
|
H A D | flash_write.c | 19 struct tmpf _tmp, *tmp = &_tmp;
|
H A D | flash_erase.c | 20 static struct tmpf mtd;
|
/openbmc/phosphor-state-manager/test/ |
H A D | systemd_parser.cpp | 43 std::FILE* tmpf = fopen("/tmp/good_file1.json", "w"); in TEST() local 44 std::fputs(defaultData1.dump().c_str(), tmpf); in TEST() 45 std::fclose(tmpf); in TEST() 47 tmpf = fopen("/tmp/good_file2.json", "w"); in TEST() 48 std::fputs(defaultData2.dump().c_str(), tmpf); in TEST() 49 std::fclose(tmpf); in TEST() 87 std::FILE* tmpf = fopen("/tmp/invalid_error_file.json", "w"); in TEST() local 88 std::fputs(invalidDataError.dump().c_str(), tmpf); in TEST() 89 std::fclose(tmpf); in TEST() 102 std::FILE* tmpf = fopen("/tmp/invalid_json_file.json", "w"); in TEST() local
|
/openbmc/openbmc/poky/scripts/lib/wic/ |
H A D | engine.py | 319 tmpf = tempfile.NamedTemporaryFile(prefix="wic-part") 320 dst_fname = tmpf.name 321 tmpf.close()
|
/openbmc/qemu/accel/tcg/ |
H A D | cputlb.c | 1319 CPUTLBEntryFull tmpf; in victim_tlb_hit() local 1320 tmpf = *f1; *f1 = *f2; *f2 = tmpf; in victim_tlb_hit()
|
/openbmc/linux/ |
H A D | opengrok0.0.log | [all...] |