Lines Matching refs:tmpf
54 char tmpf[sizeof(template)]; in test_one() local
58 memcpy(tmpf, template, sizeof(tmpf)); in test_one()
59 fd = mkostemp(tmpf, oflags); in test_one()
66 if (memcmp(tmpf, template, sizeof(tmpf) - 8 - 1) != 0) { in test_one()
69 testnum++, oflags, tmpf); in test_one()
86 if (stat(tmpf, &st1) == -1) { in test_one()
89 testnum++, oflags, tmpf, strerror(errno)); in test_one()
118 (void)unlink(tmpf); in test_one()
133 (void)unlink(tmpf); in test_one()
168 char tmpf[sizeof(template)]; in ATF_TC_BODY() local
170 memcpy(tmpf, template, sizeof(tmpf)); in ATF_TC_BODY()
171 ATF_REQUIRE_MSG(mkostemp(tmpf, O_CREAT) == -1, in ATF_TC_BODY()