HomeSort by relevance Sort by last modified time
    Searched refs:TEMPFILE (Results 1 - 25 of 27) sorted by null

1 2

  /external/e2fsprogs/contrib/
dconf 13 TEMPFILE=/tmp/${SELF}.tmp
68 awk -f $AWKFILE $* >$TEMPFILE
118 awk -f $AWKFILE $TEMPFILE
  /external/ltp/testcases/kernel/syscalls/mmap/
mmap04.c 52 #define TEMPFILE "mmapfile"
78 * Call mmap to map the temporary file 'TEMPFILE'
87 tst_resm(TFAIL | TERRNO, "mmap of %s failed", TEMPFILE);
97 TEMPFILE);
144 if ((fildes = open(TEMPFILE, O_WRONLY | O_CREAT, 0666)) < 0) {
146 tst_brkm(TFAIL, cleanup, "opening %s failed", TEMPFILE);
152 tst_brkm(TFAIL, cleanup, "writing to %s failed", TEMPFILE);
160 tst_brkm(TFAIL, cleanup, "fchmod of %s failed", TEMPFILE);
165 tst_brkm(TFAIL, cleanup, "closing %s failed", TEMPFILE);
174 if ((fildes = open(TEMPFILE, O_RDONLY)) < 0)
    [all...]
mmap02.c 48 #define TEMPFILE "mmapfile"
74 * Call mmap to map the temporary file 'TEMPFILE'
83 tst_resm(TFAIL | TERRNO, "mmap of %s failed", TEMPFILE);
93 "reading %s failed", TEMPFILE);
140 if ((fildes = open(TEMPFILE, O_RDWR | O_CREAT, 0666)) < 0) {
143 TEMPFILE);
150 "writing to %s failed", TEMPFILE);
159 TEMPFILE);
165 TEMPFILE);
169 if ((fildes = open(TEMPFILE, O_RDONLY)) < 0)
    [all...]
mmap03.c 55 #define TEMPFILE "mmapfile"
84 * Call mmap to map the temporary file 'TEMPFILE'
94 TEMPFILE);
104 "reading %s failed", TEMPFILE);
171 if ((fildes = open(TEMPFILE, O_WRONLY | O_CREAT, 0666)) < 0) {
174 TEMPFILE);
181 TEMPFILE);
189 tst_brkm(TFAIL, cleanup, "fchmod of %s failed", TEMPFILE);
195 TEMPFILE);
204 if ((fildes = open(TEMPFILE, O_RDONLY)) < 0)
    [all...]
mmap05.c 52 #define TEMPFILE "mmapfile"
81 * Call mmap to map the temporary file 'TEMPFILE'
92 TEMPFILE);
149 if ((fildes = open(TEMPFILE, O_WRONLY | O_CREAT, 0666)) < 0) {
152 TEMPFILE);
158 tst_brkm(TFAIL, cleanup, "writing to %s failed", TEMPFILE);
167 TEMPFILE);
173 TEMPFILE);
177 if ((fildes = open(TEMPFILE, O_RDONLY)) < 0) {
179 TEMPFILE);
    [all...]
mmap01.c 51 #define TEMPFILE "mmapfile"
88 tst_resm(TFAIL | TERRNO, "mmap of %s failed", TEMPFILE);
162 if ((fildes = open(TEMPFILE, O_RDWR | O_CREAT, 0666)) < 0) {
163 tst_brkm(TFAIL, cleanup, "opening %s failed", TEMPFILE);
168 tst_brkm(TFAIL, cleanup, "writing to %s", TEMPFILE);
172 if (stat(TEMPFILE, &stat_buf) < 0) {
174 TEMPFILE);
186 sprintf(cmd_buffer, "grep XYZ %s/%s > /dev/null", Path_name, TEMPFILE);
mmap06.c 47 #define TEMPFILE "mmapfile"
72 * Call mmap to map the temporary file 'TEMPFILE'
125 if ((fildes = open(TEMPFILE, O_WRONLY | O_CREAT, 0666)) < 0) {
127 tst_brkm(TFAIL, cleanup, "opening %s failed", TEMPFILE);
133 tst_brkm(TFAIL, cleanup, "writing to %s failed", TEMPFILE);
mmap07.c 48 #define TEMPFILE "mmapfile"
73 * Call mmap to map the temporary file 'TEMPFILE'
128 if ((fildes = open(TEMPFILE, O_WRONLY | O_CREAT, 0666)) < 0) {
130 tst_brkm(TFAIL, cleanup, "open() on %s failed", TEMPFILE);
136 tst_brkm(TFAIL, cleanup, "writing to %s failed", TEMPFILE);
mmap08.c 43 #define TEMPFILE "mmapfile"
68 * Call mmap to map the temporary file 'TEMPFILE'
119 if ((fildes = open(TEMPFILE, O_WRONLY | O_CREAT, 0666)) < 0) {
121 tst_brkm(TFAIL, cleanup, "opening %s failed", TEMPFILE);
127 tst_brkm(TFAIL, cleanup, "writing to %s failed", TEMPFILE);
135 tst_brkm(TFAIL, cleanup, "closing %s failed", TEMPFILE);
mmap13.c 44 #define TEMPFILE "mmapfile"
76 TEMPFILE);
113 fildes = open(TEMPFILE, O_RDWR | O_CREAT, 0766);
116 TEMPFILE);
120 TEMPFILE);
mmap12.c 45 #define TEMPFILE "mmapfile"
114 tst_res(TFAIL | TERRNO, "mmap of %s failed", TEMPFILE);
135 fildes = SAFE_OPEN(TEMPFILE, O_RDWR | O_CREAT, 0766);
mmap14.c 33 #define TEMPFILE "mmapfile"
68 tst_resm(TFAIL | TERRNO, "mmap of %s failed", TEMPFILE);
  /external/ltp/testcases/kernel/mem/hugetlb/hugemmap/
hugemmap01.c 54 static char TEMPFILE[MAXPATHLEN];
60 fildes = SAFE_OPEN(TEMPFILE, O_RDWR | O_CREAT, 0666);
71 TEMPFILE);
102 snprintf(TEMPFILE, sizeof(TEMPFILE), "%s/mmapfile%d", Hopt, getpid());
107 unlink(TEMPFILE);
hugemmap04.c 49 static char TEMPFILE[MAXPATHLEN];
65 fildes = SAFE_OPEN(TEMPFILE, O_RDWR | O_CREAT, 0666);
86 TEMPFILE);
119 snprintf(TEMPFILE, sizeof(TEMPFILE), "%s/mmapfile%d", Hopt, getpid());
124 unlink(TEMPFILE);
hugemmap02.c 53 static char TEMPFILE[MAXPATHLEN];
72 fildes = SAFE_OPEN(TEMPFILE, O_RDWR | O_CREAT, 0666);
106 " with %s (64-bit)", TEMPFILE);
113 " with %s (32-bit)", TEMPFILE);
148 snprintf(TEMPFILE, sizeof(TEMPFILE), "%s/mmapfile%d", Hopt, getpid());
153 unlink(TEMPFILE);
  /external/ltp/testcases/kernel/syscalls/mremap/
mremap01.c 87 #define TEMPFILE "mremapfile"
94 int fildes; /* file descriptor for tempfile */
179 if ((fildes = open(TEMPFILE, O_RDWR | O_CREAT, 0666)) < 0)
181 TEMPFILE);
191 tst_brkm(TBROK, cleanup, "writing to %s failed", TEMPFILE);
202 tst_brkm(TBROK, cleanup, "mmaping Failed on %s", TEMPFILE);
214 TEMPFILE);
  /external/ltp/testcases/kernel/syscalls/munmap/
munmap01.c 80 #define TEMPFILE "mmapfile"
86 int fildes; /* file descriptor for tempfile */
176 if ((fildes = open(TEMPFILE, O_RDWR | O_CREAT, 0666)) < 0) {
178 TEMPFILE, errno, strerror(errno));
190 TEMPFILE, errno, strerror(errno));
194 * map the open file 'TEMPFILE' from its beginning up to the maplength
210 TEMPFILE, errno, strerror(errno));
245 TEMPFILE, errno, strerror(errno));
munmap02.c 81 #define TEMPFILE "mmapfile"
88 int fildes; /* file descriptor for tempfile */
180 if ((fildes = open(TEMPFILE, O_RDWR | O_CREAT, 0666)) < 0) {
182 TEMPFILE, errno, strerror(errno));
194 TEMPFILE, errno, strerror(errno));
198 * map the open file 'TEMPFILE' from its beginning up to the maplength
214 TEMPFILE, errno, strerror(errno));
  /external/iproute2/examples/
gaiconf 59 TEMPFILE=`mktemp`
82 gai_conf=${TEMPFILE}
109 if [ x"$gai_conf" = x"${TEMPFILE}" ]; then
110 sed -e 's/^[[:space:]]*//' <<END_OF_DEFAULT >${TEMPFILE}
131 rm -f "${TEMPFILE}"
  /external/ltp/testcases/kernel/syscalls/pwrite/
pwrite02.c 42 #define TEMPFILE "pwrite_file"
113 fd = SAFE_OPEN(TEMPFILE, O_RDWR | O_CREAT, 0666);
114 fd_ro = SAFE_OPEN(TEMPFILE, O_RDONLY | O_CREAT, 0666);
pwrite01.c 84 #define TEMPFILE "pwrite_file"
93 int fildes; /* file descriptor for tempfile */
145 K2, TEMPFILE, errno, strerror(errno));
175 K1, TEMPFILE, errno, strerror(errno));
215 if ((fildes = open(TEMPFILE, O_RDWR | O_CREAT, 0666)) < 0) {
217 TEMPFILE, errno, strerror(errno));
258 TEMPFILE);
  /external/ltp/testcases/kernel/syscalls/pread/
pread01.c 81 #define TEMPFILE "pread_file"
91 int fildes; /* file descriptor for tempfile */
204 if ((fildes = open(TEMPFILE, O_RDWR | O_CREAT, 0666)) < 0) {
206 TEMPFILE, errno, strerror(errno));
212 "errno=%d : %s", TEMPFILE, errno, strerror(errno));
224 "on %s, errno=%d : %s", K2, TEMPFILE, errno,
249 "on %s, errno=%d : %s", K1, TEMPFILE, errno,
293 TEMPFILE);
pread02.c 77 #define TEMPFILE "pread_file"
239 if ((fd1 = open(TEMPFILE, O_RDWR | O_CREAT, 0666)) < 0) {
241 TEMPFILE, errno, strerror(errno));
  /external/ltp/testcases/kernel/syscalls/msync/
msync01.c 75 #define TEMPFILE "msync_file"
83 int fildes; /* file descriptor for tempfile */
167 if ((fildes = open(TEMPFILE, O_RDWR | O_CREAT, 0666)) < 0)
msync02.c 74 #define TEMPFILE "msync_file"
82 int fildes; /* file descriptor for tempfile */
121 if ((fildes = open(TEMPFILE, O_RDWR | O_CREAT, 0666)) < 0)

Completed in 370 milliseconds

1 2