/external/ltp/testcases/kernel/io/direct_io/ |
diotest4.c | 186 static int fd1 = -1; variable 558 if ((fd1 = open(filename, O_CREAT | O_EXCL, 0600)) < 0) { 562 close(fd1); 565 if ((fd1 = open(filename, O_DIRECT, 0600)) < 0) { 570 close(fd1); 577 if (fd1 != -1)
|
/external/linux-kselftest/tools/testing/selftests/sync/ |
sync.c | 68 int sync_merge(const char *name, int fd1, int fd2) 77 err = ioctl(fd1, SYNC_IOC_MERGE, &data);
|
/frameworks/native/services/sensorservice/ |
SensorDirectConnection.cpp | 196 int fd1 = mMem.handle->data[0]; local 198 ret = (fd1 == fd2);
|
/libcore/ojluni/src/main/native/ |
LinuxWatchService.c | 134 (JNIEnv* env, jclass clazz, jint fd1, jint fd2) 139 ufds[0].fd = fd1;
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
SyncTest.java | 125 private static native int nSyncMerge(String name, int fd1, int fd2);
|
/external/libchrome/base/posix/ |
file_descriptor_shuffle_unittest.cc | 26 fd1(in_fd1), 32 other.fd1 == fd1 && 37 int fd1; member in struct:base::Action
|
/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...] |
/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/libdrm/amdgpu/ |
amdgpu_device.c | 85 int fd1 = PTR_TO_UINT(key1); local 87 char *name1 = drmGetPrimaryDeviceNameFromFd(fd1);
|
/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);
|
/cts/tests/tests/media/src/android/media/cts/ |
DecoderTest.java | 503 AssetFileDescriptor fd1 = null; local 506 fd1 = mResources.openRawResourceFd(resid); 507 ex1.setDataSource(fd1.getFileDescriptor(), fd1.getStartOffset(), fd1.getLength()); 536 ex1.setDataSource(fd1.getFileDescriptor(), fd1.getStartOffset(), fd1.getLength()); 556 ex1.setDataSource(fd1.getFileDescriptor(), fd1.getStartOffset(), fd1.getLength()) 684 AssetFileDescriptor fd1 = null; local [all...] |
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/tic54x/ |
all-opcodes.d | 462 1c4: 3fd1.* 463 1c5: 3fd1.* [all...] |
/external/toybox/lib/ |
portability.h | 115 int linkat(int fd1, const char *path1, int fd2, const char *path2, int flag);
|
/external/libxml2/ |
runtest.c | 612 int fd1, fd2; local 617 fd1 = open(r1, RD_FLAGS); 618 if (fd1 < 0) 622 close(fd1); 626 res1 = read(fd1, bytes1, 4096); 634 close(fd1); 638 fd1 = open(r1, RD_FLAGS); 639 if (fd1 < 0) 643 close(fd1); 647 res1 = read(fd1, bytes1, 4096) [all...] |
/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...] |
/hardware/interfaces/tetheroffload/control/1.0/vts/functional/ |
VtsHalTetheroffloadControlV1_0TargetTest.cpp | 137 unique_fd fd1(conntrackSocket(NF_NETLINK_CONNTRACK_NEW | NF_NETLINK_CONNTRACK_DESTROY)); 138 if (fd1.get() < 0) { 143 nativeHandle1->data[0] = fd1.release();
|
/hardware/qcom/data/ipacfg-mgr/msm8998/hal/src/ |
HAL.cpp | 108 * ALOGD("fd1->%d", mHandle1->data[0]); 253 const hidl_handle &fd1, 259 if (fd1->numFds != 1) { 260 BoolResult res = makeInputCheckFailure("Must provide exactly one FD per handle (fd1)"); 284 mHandle1 = fd1; 290 fl.addArg("fd1", mHandle1->data[0]);
|
/libcore/luni/src/main/java/libcore/io/ |
BlockGuardOs.java | 315 @Override public void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { 316 os.socketpair(domain, type, protocol, fd1, fd2); 318 tagSocket(fd1);
|
/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...] |
/external/python/cpython2/Lib/multiprocessing/ |
connection.py | 196 fd1, fd2 = os.pipe() 197 c1 = _multiprocessing.Connection(fd1, writable=False)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/multiprocessing/ |
connection.py | 196 fd1, fd2 = os.pipe() 197 c1 = _multiprocessing.Connection(fd1, writable=False)
|
/prebuilts/gdb/linux-x86/lib/python2.7/multiprocessing/ |
connection.py | 196 fd1, fd2 = os.pipe() 197 c1 = _multiprocessing.Connection(fd1, writable=False)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/ |
connection.py | 196 fd1, fd2 = os.pipe() 197 c1 = _multiprocessing.Connection(fd1, writable=False)
|