Lines Matching refs:tmpfile
26 char tmpfile[] = "/data/local/tmp/mkstemps_0100_XXXXXX.dat";
27 int fd = mkstemps(tmpfile, strlen(".dat"));
30 int cnt = write(fd, tmpfile, strlen(tmpfile));
31 EXPECT_TRUE("mkstemps_0100", cnt == strlen(tmpfile));
34 int len = sprintf(rmfile, "rm %s", tmpfile);
48 char tmpfile[] = "/data/local/tmp/mkstemps_0200_XXXXXX";
49 int fd = mkstemps(tmpfile, 0);
52 int cnt = write(fd, tmpfile, strlen(tmpfile));
53 EXPECT_TRUE("mkstemps_0200", cnt == strlen(tmpfile));
56 int len = sprintf(rmfile, "rm %s", tmpfile);
70 char tmpfile[] = "/data/local/tmp/mkstemps_0300.dat";
71 int fd = mkstemps(tmpfile, strlen(".dat"));
74 int cnt = write(fd, tmpfile, strlen(tmpfile));
75 EXPECT_TRUE("mkstemps_0300", cnt == strlen(tmpfile));
78 int len = sprintf(rmfile, "rm %s", tmpfile);