Lines Matching refs:tmpf
51 char tmpf[sizeof(template)]; in test_one() local
55 memcpy(tmpf, template, sizeof(tmpf)); in test_one()
56 fd = mkostemp(tmpf, oflags); in test_one()
63 if (memcmp(tmpf, template, sizeof(tmpf) - 8 - 1) != 0) { in test_one()
66 testnum++, oflags, tmpf); in test_one()
83 if (stat(tmpf, &st1) == -1) { in test_one()
86 testnum++, oflags, tmpf, strerror(errno)); in test_one()
115 (void)unlink(tmpf); in test_one()
130 (void)unlink(tmpf); in test_one()
165 char tmpf[sizeof(template)]; in ATF_TC_BODY() local
167 memcpy(tmpf, template, sizeof(tmpf)); in ATF_TC_BODY()
168 ATF_REQUIRE_MSG(mkostemp(tmpf, O_CREAT) == -1, in ATF_TC_BODY()