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

1 2

  /external/ltp/testcases/kernel/syscalls/exit/
exit02.c 30 #define FNAME "test_file"
36 fd = SAFE_CREAT(FNAME, 0666);
37 SAFE_WRITE(1, fd, FNAME, sizeof(FNAME));
46 fd = SAFE_OPEN(FNAME, O_RDONLY);
49 if (len != sizeof(FNAME)) {
54 if (memcmp(buf, FNAME, sizeof(FNAME))) {
76 SAFE_UNLINK(FNAME);
  /external/ltp/testcases/kernel/syscalls/chmod/
chmod02.c 56 #define FNAME "test_file"
75 TEST(chmod(FNAME, modes[i]));
79 "chmod(%s, %#o) failed", FNAME, modes[i]);
83 FNAME, modes[i], TEST_RETURN);
101 SAFE_FILE_PRINTF(cleanup, FNAME, "File content\n");
  /external/ltp/testcases/kernel/security/dirtyc0w/
dirtyc0w.c 50 #define FNAME "test"
72 fd = SAFE_OPEN(FNAME, O_WRONLY|O_CREAT|O_EXCL, 0444);
88 SAFE_FILE_SCANF(FNAME, "%c", &c);
98 SAFE_UNLINK(FNAME);
dirtyc0w_child.c 33 #define FNAME "test"
113 fd = SAFE_OPEN(FNAME, O_RDONLY);
  /external/ltp/testcases/kernel/syscalls/syncfs/
syncfs01.c 24 #define FNAME MNTPOINT"/test"
34 fd = SAFE_OPEN(FNAME, O_RDWR|O_CREAT, MODE);
  /external/ltp/testcases/kernel/syscalls/inotify/
inotify09.c 48 #define FNAME "stress_fname"
71 fd = SAFE_OPEN(FNAME, O_CREAT | O_RDWR, 0600);
94 wd = myinotify_add_watch(inotify_fd, FNAME, IN_MODIFY);
  /external/ltp/testcases/kernel/syscalls/setxattr/
setxattr01.c 74 #define FNAME MNTPOINT"/setxattr01testfile"
159 SAFE_SETXATTR(FNAME, tc[i].key, tc[i].value, tc[i].size,
163 TEST(setxattr(FNAME, tc[i].key, *tc[i].value, tc[i].size, tc[i].flags));
178 SAFE_REMOVEXATTR(FNAME, tc[i].key);
200 SAFE_REMOVEXATTR(FNAME, tc[i].key);
217 SAFE_TOUCH(FNAME, 0644, NULL);
  /external/ltp/testcases/kernel/syscalls/fremovexattr/
fremovexattr01.c 36 #define FNAME MNTPOINT"/fremovexattr01testfile"
77 fd = SAFE_OPEN(FNAME, O_RDWR | O_CREAT, 0644);
fremovexattr02.c 38 #define FNAME MNTPOINT"/fremovexattr02testfile"
95 fd = SAFE_OPEN(FNAME, O_RDWR | O_CREAT, 0644);
  /external/ltp/testcases/kernel/syscalls/fgetxattr/
fgetxattr01.c 43 #define FNAME MNTPOINT"/fgetxattr01testfile"
113 SAFE_TOUCH(FNAME, 0644, NULL);
114 fd = SAFE_OPEN(FNAME, O_RDONLY, NULL);
  /external/ltp/testcases/kernel/hotplug/memory_hotplug/
debug.h 15 #define DENTER(F) DPRINTF(F, ("%s() entered.\n",fname))
16 #define DEXIT(F) DPRINTF(F, ("%s() exiting.\n",fname))
18 DPRINTF(F, ("%s() returning status = %d\n", fname, S))
53 * always define FNAME macro for use in non-debug messages
55 #define FNAME(NAME) static const char *fname = #NAME
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/zlib/
minigzip.py 10 FTEXT, FHCRC, FEXTRA, FNAME, FCOMMENT = 1, 2, 4, 8, 16
27 output.write(chr(FNAME)) # ... flag byte ...
65 if flag & FNAME:
  /external/ltp/testcases/kernel/syscalls/fsetxattr/
fsetxattr01.c 56 #define FNAME MNTPOINT"/fsetxattr01testfile"
207 SAFE_TOUCH(FNAME, 0644, NULL);
208 fd = SAFE_OPEN(FNAME, O_RDONLY, NULL);
  /external/python/cpython2/Demo/zlib/
minigzip.py 10 FTEXT, FHCRC, FEXTRA, FNAME, FCOMMENT = 1, 2, 4, 8, 16
27 output.write(chr(FNAME)) # ... flag byte ...
65 if flag & FNAME:
  /external/ltp/testcases/kernel/syscalls/preadv/
preadv03.c 37 #define FNAME MNTPOINT"/file"
119 fd = SAFE_OPEN(FNAME, O_RDWR | O_CREAT | O_DIRECT, 0644);
  /external/ltp/testcases/kernel/syscalls/pwritev/
pwritev03.c 38 #define FNAME MNTPOINT"/file"
118 fd = SAFE_OPEN(FNAME, O_RDWR | O_CREAT | O_DIRECT, 0644);
  /external/adeb/
androdeb 72 FNAME=androdeb-fs.tgz.zip
75 FNAME=androdeb-fs-minimal.tgz.zip
269 curl -L https://$ADEB_REPO_URL/releases/download/$VERSION/$FNAME --output $TDIR_ABS/$FNAME ||
272 unzip -e $TDIR_ABS/$FNAME -d $TDIR_ABS/ ||
380 zip -r $FNAME $FNAME_UZ
  /external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/gzip/
GzipCompressorOutputStream.java 44 private static final int FNAME = 1 << 3;
96 buffer.put((byte) ((filename != null ? FNAME : 0) | (comment != null ? FCOMMENT : 0))); // flags
GzipCompressorInputStream.java 83 private static final int FNAME = 0x08;
241 if ((flg & FNAME) != 0) {
  /external/okhttp/okio/okio/src/main/java/okio/
GzipSource.java 30 private static final byte FNAME = 3;
140 if (((flags >> FNAME) & 1) == 1) {
  /external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/
GzipSource.java 32 private static final byte FNAME = 3;
142 if (((flags >> FNAME) & 1) == 1) {
  /external/google-breakpad/src/common/android/include/
stab.h 46 _STAB_CODE_DEF(FNAME,0x22) \
  /external/ltp/testcases/kernel/syscalls/fallocate/
fallocate04.c 41 #define FNAME MNTPOINT "/fallocate.txt"
302 fd = SAFE_OPEN(FNAME, O_RDWR | O_CREAT, 0700);
  /external/gflags/
CMakeLists.txt 248 foreach (fname IN ITEMS unistd stdint inttypes sys/types sys/stat fnmatch)
249 string (TOUPPER "${fname}" FNAME)
250 string (REPLACE "/" "_" FNAME "${FNAME}")
251 if (NOT HAVE_${FNAME}_H)
252 check_include_file_cxx ("${fname}.h" HAVE_${FNAME}_H)
  /external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
GzipInflatingBufferTest.java 52 private static final int FNAME = 8;
277 (byte) (gzipHeader[GZIP_HEADER_FLAG_INDEX] | FTEXT | FHCRC | FEXTRA | FNAME | FCOMMENT);
289 newHeader.write(zeroTerminatedBytes); // FNAME
367 (byte) (gzipHeader[GZIP_HEADER_FLAG_INDEX] | FTEXT | FHCRC | FEXTRA | FNAME | FCOMMENT);
379 newHeader.write(zeroTerminatedBytes); // FNAME
460 (byte) (gzipHeader[GZIP_HEADER_FLAG_INDEX] | FTEXT | FHCRC | FEXTRA | FNAME | FCOMMENT);
472 newHeader.write(zeroTerminatedBytes); // FNAME
618 gzipHeader[GZIP_HEADER_FLAG_INDEX] = (byte) (gzipHeader[GZIP_HEADER_FLAG_INDEX] | FNAME);
638 gzipHeader[GZIP_HEADER_FLAG_INDEX] = (byte) (gzipHeader[GZIP_HEADER_FLAG_INDEX] | FNAME);
    [all...]

Completed in 1529 milliseconds

1 2