/external/ltp/testcases/kernel/syscalls/mmap/ |
D | mmap04.c | 52 #define TEMPFILE "mmapfile" macro 87 tst_resm(TFAIL | TERRNO, "mmap of %s failed", TEMPFILE); in main() 97 TEMPFILE); in main() 144 if ((fildes = open(TEMPFILE, O_WRONLY | O_CREAT, 0666)) < 0) { in setup() 146 tst_brkm(TFAIL, cleanup, "opening %s failed", TEMPFILE); in setup() 152 tst_brkm(TFAIL, cleanup, "writing to %s failed", TEMPFILE); in setup() 160 tst_brkm(TFAIL, cleanup, "fchmod of %s failed", TEMPFILE); in setup() 165 tst_brkm(TFAIL, cleanup, "closing %s failed", TEMPFILE); in setup() 174 if ((fildes = open(TEMPFILE, O_RDONLY)) < 0) { in setup() 176 "opening %s read-only failed", TEMPFILE); in setup()
|
D | mmap02.c | 48 #define TEMPFILE "mmapfile" macro 83 tst_resm(TFAIL | TERRNO, "mmap of %s failed", TEMPFILE); in main() 93 "reading %s failed", TEMPFILE); in main() 140 if ((fildes = open(TEMPFILE, O_RDWR | O_CREAT, 0666)) < 0) { in setup() 143 TEMPFILE); in setup() 150 "writing to %s failed", TEMPFILE); in setup() 159 TEMPFILE); in setup() 165 TEMPFILE); in setup() 169 if ((fildes = open(TEMPFILE, O_RDONLY)) < 0) { in setup() 171 TEMPFILE); in setup()
|
D | mmap03.c | 55 #define TEMPFILE "mmapfile" macro 94 TEMPFILE); in main() 104 "reading %s failed", TEMPFILE); in main() 171 if ((fildes = open(TEMPFILE, O_WRONLY | O_CREAT, 0666)) < 0) { in setup() 174 TEMPFILE); in setup() 181 TEMPFILE); in setup() 189 tst_brkm(TFAIL, cleanup, "fchmod of %s failed", TEMPFILE); in setup() 195 TEMPFILE); in setup() 204 if ((fildes = open(TEMPFILE, O_RDONLY)) < 0) { in setup() 206 "opening %s read-only failed", TEMPFILE); in setup()
|
D | mmap05.c | 52 #define TEMPFILE "mmapfile" macro 92 TEMPFILE); in main() 149 if ((fildes = open(TEMPFILE, O_WRONLY | O_CREAT, 0666)) < 0) { in setup() 152 TEMPFILE); in setup() 158 tst_brkm(TFAIL, cleanup, "writing to %s failed", TEMPFILE); in setup() 167 TEMPFILE); in setup() 173 TEMPFILE); in setup() 177 if ((fildes = open(TEMPFILE, O_RDONLY)) < 0) { in setup() 179 TEMPFILE); in setup()
|
D | mmap01.c | 51 #define TEMPFILE "mmapfile" macro 88 tst_resm(TFAIL | TERRNO, "mmap of %s failed", TEMPFILE); in main() 162 if ((fildes = open(TEMPFILE, O_RDWR | O_CREAT, 0666)) < 0) { in setup() 163 tst_brkm(TFAIL, cleanup, "opening %s failed", TEMPFILE); in setup() 168 tst_brkm(TFAIL, cleanup, "writing to %s", TEMPFILE); in setup() 172 if (stat(TEMPFILE, &stat_buf) < 0) { in setup() 174 TEMPFILE); in setup() 186 sprintf(cmd_buffer, "grep XYZ %s/%s > /dev/null", Path_name, TEMPFILE); in setup()
|
D | mmap13.c | 44 #define TEMPFILE "mmapfile" macro 76 TEMPFILE); in main() 113 fildes = open(TEMPFILE, O_RDWR | O_CREAT, 0766); in setup() 116 TEMPFILE); in setup() 120 TEMPFILE); in setup()
|
D | mmap08.c | 43 #define TEMPFILE "mmapfile" macro 119 if ((fildes = open(TEMPFILE, O_WRONLY | O_CREAT, 0666)) < 0) { in setup() 121 tst_brkm(TFAIL, cleanup, "opening %s failed", TEMPFILE); in setup() 127 tst_brkm(TFAIL, cleanup, "writing to %s failed", TEMPFILE); in setup() 135 tst_brkm(TFAIL, cleanup, "closing %s failed", TEMPFILE); in setup()
|
D | mmap07.c | 48 #define TEMPFILE "mmapfile" macro 128 if ((fildes = open(TEMPFILE, O_WRONLY | O_CREAT, 0666)) < 0) { in setup() 130 tst_brkm(TFAIL, cleanup, "open() on %s failed", TEMPFILE); in setup() 136 tst_brkm(TFAIL, cleanup, "writing to %s failed", TEMPFILE); in setup()
|
D | mmap06.c | 47 #define TEMPFILE "mmapfile" macro 125 if ((fildes = open(TEMPFILE, O_WRONLY | O_CREAT, 0666)) < 0) { in setup() 127 tst_brkm(TFAIL, cleanup, "opening %s failed", TEMPFILE); in setup() 133 tst_brkm(TFAIL, cleanup, "writing to %s failed", TEMPFILE); in setup()
|
D | mmap12.c | 32 #define TEMPFILE "mmapfile" macro 101 tst_res(TFAIL | TERRNO, "mmap of %s failed", TEMPFILE); in verify_mmap() 122 fildes = SAFE_OPEN(TEMPFILE, O_RDWR | O_CREAT, 0766); in setup()
|
D | mmap14.c | 33 #define TEMPFILE "mmapfile" macro 68 tst_resm(TFAIL | TERRNO, "mmap of %s failed", TEMPFILE); in main()
|
/external/ltp/testcases/kernel/mem/hugetlb/hugemmap/ |
D | hugemmap01.c | 36 static char TEMPFILE[MAXPATHLEN]; variable 42 fildes = SAFE_OPEN(TEMPFILE, O_RDWR | O_CREAT, 0666); in test_hugemmap() 53 TEMPFILE); in test_hugemmap() 81 snprintf(TEMPFILE, sizeof(TEMPFILE), "%s/mmapfile%d", Hopt, getpid()); in setup() 86 unlink(TEMPFILE); in cleanup()
|
D | hugemmap02.c | 37 static char TEMPFILE[MAXPATHLEN]; variable 55 fildes = SAFE_OPEN(TEMPFILE, O_RDWR | O_CREAT, 0666); in test_hugemmap() 89 " with %s (64-bit)", TEMPFILE); in test_hugemmap() 96 " with %s (32-bit)", TEMPFILE); in test_hugemmap() 128 snprintf(TEMPFILE, sizeof(TEMPFILE), "%s/mmapfile%d", Hopt, getpid()); in setup() 133 unlink(TEMPFILE); in cleanup()
|
D | hugemmap04.c | 33 static char TEMPFILE[MAXPATHLEN]; variable 48 fildes = SAFE_OPEN(TEMPFILE, O_RDWR | O_CREAT, 0666); in test_hugemmap() 69 TEMPFILE); in test_hugemmap() 99 snprintf(TEMPFILE, sizeof(TEMPFILE), "%s/mmapfile%d", Hopt, getpid()); in setup() 104 unlink(TEMPFILE); in cleanup()
|
/external/ltp/testcases/kernel/syscalls/munmap/ |
D | munmap01.c | 80 #define TEMPFILE "mmapfile" macro 176 if ((fildes = open(TEMPFILE, O_RDWR | O_CREAT, 0666)) < 0) { in setup() 178 TEMPFILE, errno, strerror(errno)); in setup() 190 TEMPFILE, errno, strerror(errno)); in setup() 210 TEMPFILE, errno, strerror(errno)); in setup() 245 TEMPFILE, errno, strerror(errno)); in cleanup()
|
D | munmap02.c | 81 #define TEMPFILE "mmapfile" macro 180 if ((fildes = open(TEMPFILE, O_RDWR | O_CREAT, 0666)) < 0) { in setup() 182 TEMPFILE, errno, strerror(errno)); in setup() 194 TEMPFILE, errno, strerror(errno)); in setup() 214 TEMPFILE, errno, strerror(errno)); in setup()
|
/external/ltp/testcases/kernel/syscalls/mremap/ |
D | mremap01.c | 87 #define TEMPFILE "mremapfile" macro 179 if ((fildes = open(TEMPFILE, O_RDWR | O_CREAT, 0666)) < 0) in setup() 181 TEMPFILE); in setup() 191 tst_brkm(TBROK, cleanup, "writing to %s failed", TEMPFILE); in setup() 202 tst_brkm(TBROK, cleanup, "mmaping Failed on %s", TEMPFILE); in setup() 214 TEMPFILE); in setup()
|
/external/iproute2/examples/ |
D | 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/e2fsprogs/contrib/ |
D | dconf | 13 TEMPFILE=/tmp/${SELF}.tmp 68 awk -f $AWKFILE $* >$TEMPFILE 118 awk -f $AWKFILE $TEMPFILE
|
/external/ltp/testcases/kernel/syscalls/pwrite/ |
D | pwrite02.c | 24 #define TEMPFILE "pwrite_file" macro 83 fd = SAFE_OPEN(TEMPFILE, O_RDWR | O_CREAT, 0666); in setup() 84 fd_ro = SAFE_OPEN(TEMPFILE, O_RDONLY | O_CREAT, 0666); in setup()
|
/external/ltp/testcases/kernel/syscalls/writev/ |
D | writev03.c | 33 #define TEMPFILE MNTPOINT "/test_file" macro 58 writefd = SAFE_OPEN(TEMPFILE, O_CREAT|O_WRONLY|O_TRUNC, 0644); in thread_run() 96 readfd = SAFE_OPEN(TEMPFILE, O_RDONLY); in run()
|
/external/ltp/testcases/kernel/syscalls/fallocate/ |
D | fallocate06.c | 45 #define TEMPFILE MNTPOINT "/test_file" macro 89 fd = SAFE_OPEN(TEMPFILE, O_WRONLY | O_CREAT | O_TRUNC, 0644); in setup() 102 SAFE_UNLINK(TEMPFILE); in setup() 178 fd = SAFE_OPEN(TEMPFILE, O_RDWR | O_CREAT | O_TRUNC, 0644); in run()
|
/external/selinux/policycoreutils/scripts/ |
D | fixfiles | 172 TEMPFILE=`mktemp ${FC}.XXXXXXXXXX` 173 test -z "$TEMPFILE" && exit 193 do if ! echo "$pattern" | grep -q -f ${TEMPFILE} 2>/dev/null; then \ 196 echo "$pattern" | sed -e 's,^,^,' -e 's,\*$,,g' >> ${TEMPFILE};; 201 rm -f ${TEMPFILE} ${PREFCTEMPFILE}
|
/external/protobuf/php/tests/ |
D | compatibility_test.sh | 37 local TEMPFILE=`tempfile` 52 ' > $TEMPFILE 53 cp $TEMPFILE $1
|
/external/cronet/third_party/protobuf/php/tests/ |
D | compatibility_test.sh | 37 local TEMPFILE=`tempfile` 52 ' > $TEMPFILE 53 cp $TEMPFILE $1
|