HomeSort by relevance Sort by last modified time
    Searched defs:fd1 (Results 51 - 75 of 101) sorted by null

1 23 4 5

  /external/libdrm/amdgpu/
amdgpu_device.c 85 int fd1 = PTR_TO_UINT(key1); local
87 char *name1 = drmGetPrimaryDeviceNameFromFd(fd1);
  /external/ltp/testcases/kernel/io/direct_io/
diotest3.c 228 static int fd1 = -1; variable
347 if ((fd1 = open(filename, O_CREAT | O_EXCL, 0600)) < 0)
350 close(fd1);
353 if ((fd1 = open(filename, O_DIRECT, 0600)) < 0)
356 close(fd1);
361 if (fd1 != -1)
diotest4.c 187 static int fd1 = -1; variable
556 if ((fd1 = open(filename, O_CREAT | O_EXCL, 0600)) < 0) {
560 close(fd1);
563 if ((fd1 = open(filename, O_DIRECT, 0600)) < 0) {
568 close(fd1);
575 if (fd1 != -1)
diotest5.c 80 static int fd1 = -1; variable
295 if ((fd1 = open(filename, O_CREAT | O_EXCL, 0600)) < 0) {
299 close(fd1);
302 if ((fd1 = open(filename, O_DIRECT, 0600)) < 0) {
307 close(fd1);
312 if (fd1 != -1)
diotest6.c 68 static int fd1 = -1; variable
373 if ((fd1 = open(filename, O_CREAT | O_EXCL, 0600)) < 0) {
377 close(fd1);
380 if ((fd1 = open(filename, O_DIRECT, 0600)) < 0) {
385 close(fd1);
390 if (fd1 != -1)
  /external/ltp/testcases/kernel/syscalls/pread/
pread02.c 87 int fd1; variable
137 fildes = fd1;
239 if ((fd1 = open(TEMPFILE, O_RDWR | O_CREAT, 0666)) < 0) {
291 SAFE_CLOSE(NULL, fd1);
  /frameworks/native/libs/vr/libpdx/
serialization_tests.cpp 703 LocalHandle fd1; local
706 fd1 = LocalHandle(100);
707 Serialize(fd1, &result);
715 Serialize(std::forward_as_tuple(fd1, fd2), &result);
726 fd1.Release(); // Don't try to close fd 100.
729 fd1 = LocalHandle(-2);
730 Serialize(fd1, &result);
    [all...]
  /external/linux-kselftest/tools/testing/selftests/net/
reuseport_bpf.c 307 int fd1, fd2, opt; local
310 fd1 = socket(p.recv_family, p.protocol, 0);
311 if (fd1 < 0)
318 if (setsockopt(fd1, SOL_SOCKET, SO_REUSEPORT, &opt, sizeof(opt)))
323 attach_ebpf(fd1, 10);
326 if (bind(fd1, addr, sockaddr_size()))
388 int fd1, fd2, opt = 1; local
391 fd1 = socket(AF_INET, SOCK_DGRAM, 0);
392 if (fd1 < 0)
397 if (setsockopt(fd1, SOL_SOCKET, SO_REUSEPORT, &opt, sizeof(opt))
    [all...]
  /external/ltp/testcases/kernel/syscalls/ppoll/
ppoll01.c 68 static int fd1 = -1; variable
189 fd1 = SAFE_OPEN("testfile1", O_CREAT | O_EXCL | O_RDWR,
191 fds_good[0].fd = fd1;
205 if (fd1 != -1)
206 SAFE_CLOSE(fd1);
  /external/mesa3d/src/gallium/winsys/radeon/drm/
radeon_drm_winsys.c 692 int fd1 = pointer_to_intptr(key1); local
695 fstat(fd1, &stat1);
  /libcore/ojluni/src/main/java/java/net/
PlainSocketImpl.java 254 FileDescriptor fd1 = new FileDescriptor(); local
257 Libcore.os.socketpair(AF_UNIX, SOCK_STREAM, 0, fd1, fd2);
259 // Shutdown fd1, any reads to this fd will get EOF; any writes will get an error.
260 Libcore.os.shutdown(fd1, SHUT_RDWR);
268 return fd1;
  /cts/tests/tests/media/src/android/media/cts/
DecoderTest.java 530 AssetFileDescriptor fd1 = null; local
533 fd1 = mResources.openRawResourceFd(resid);
534 ex1.setDataSource(fd1.getFileDescriptor(), fd1.getStartOffset(), fd1.getLength());
563 ex1.setDataSource(fd1.getFileDescriptor(), fd1.getStartOffset(), fd1.getLength());
583 ex1.setDataSource(fd1.getFileDescriptor(), fd1.getStartOffset(), fd1.getLength())
884 AssetFileDescriptor fd1 = null; local
    [all...]
  /external/clang/test/CodeGen/
atomic-ops.c 186 struct S fd1(struct S *a) { function
187 // CHECK-LABEL: @fd1
  /external/mesa3d/src/gallium/winsys/virgl/drm/
virgl_drm_winsys.c 842 int fd1 = pointer_to_intptr(key1); local
845 fstat(fd1, &stat1);
  /frameworks/base/media/java/android/media/midi/
MidiDeviceServer.java 175 final FileDescriptor fd1 = new FileDescriptor(); local
176 Os.socketpair(OsConstants.AF_UNIX, OsConstants.SOCK_SEQPACKET, 0, fd0, fd1);
177 return new FileDescriptor[] { fd0, fd1 };
  /external/elfutils/src/
elfcmp.c 162 int fd1; local
164 Elf *elf1 = open_file (fname1, &fd1, &ebl1);
660 close (fd1);
  /external/strace/tests/
btrfs.c 1655 int fd1, fd2; local
    [all...]
  /external/strace/tests-m32/
btrfs.c 1655 int fd1, fd2; local
    [all...]
  /external/strace/tests-mx32/
btrfs.c 1655 int fd1, fd2; local
    [all...]
  /frameworks/base/core/java/android/os/
ParcelFileDescriptor.java 468 final FileDescriptor fd1 = new FileDescriptor(); local
469 Os.socketpair(AF_UNIX, type, 0, fd0, fd1);
472 new ParcelFileDescriptor(fd1) };
498 final FileDescriptor fd1 = new FileDescriptor(); local
499 Os.socketpair(AF_UNIX, type, 0, fd0, fd1);
502 new ParcelFileDescriptor(fd1, comm[1]) };
    [all...]
  /system/core/toolbox/
newfs_msdos.c 265 int ch, fd, fd1; local
495 fd1 = -1;
503 if ((fd1 = open(bname, O_RDONLY)) == -1 || fstat(fd1, &sb))
648 if (!x && lseek(fd1, opt_ofs, SEEK_SET))
652 if ((n = read(fd1, img, bpb.bps)) == -1)
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
BitmapRegionDecoderTest.java 310 FileDescriptor fd1 = pfd1.getFileDescriptor(); local
311 decoder = BitmapRegionDecoder.newInstance(fd1, false);
    [all...]
  /external/valgrind/coregrind/m_syswrap/
syswrap-generic.c 1467 Int fd1 = ((Int*)arg3)[0]; local
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
SocketTest.java 465 FileDescriptor fd1 = s.getFileDescriptor$(); local
466 assertNotNull(fd1);
467 int fd1Val = fd1.getInt$();
472 assertSame(fd1, fd2);
478 assertSame(fd1, fd3);
  /external/libevent/test/
regress_http.c 909 evutil_socket_t fd1=-1, fd2=-1, fd3=-1; local
918 fd1 = http_connect("127.0.0.1", port);
919 tt_int_op(fd1, >=, 0);
925 bev1 = bufferevent_socket_new(data->base, fd1, 0);
1001 if (fd1 >= 0)
1002 evutil_closesocket(fd1);
    [all...]

Completed in 781 milliseconds

1 23 4 5