/external/ltp/testcases/kernel/syscalls/mq_open/ |
mq_open01.c | 39 static mqd_t fd, fd2; variable 159 fd2 = SAFE_MQ_OPEN(QUEUE_NAME, O_CREAT | O_EXCL | O_RDWR, S_IRWXU, NULL); 167 if (fd2 > 0) 168 SAFE_CLOSE(fd2); 219 if (fd2 > 0) 220 mq_close(fd2); 237 fd = fd2 = -1;
|
/external/autotest/client/tests/aio_dio_bugs/src/ |
aio-dio-invalidate-failure.c | 99 int fd2; local 109 fd2 = open(argv[1], O_RDWR, 0644); 118 spin_buffered(fd2);
|
/frameworks/base/services/core/jni/ |
com_android_server_connectivity_tethering_OffloadHardwareInterface.cpp | 103 // fd2 A file descriptor bound to the following netlink groups 107 fd2(conntrackSocket(NF_NETLINK_CONNTRACK_UPDATE | NF_NETLINK_CONNTRACK_DESTROY)); 108 if (fd1.get() < 0 || fd2.get() < 0) { 114 h2(handleFromFileDescriptor(std::move(fd2)));
|
/external/ltp/testcases/kernel/syscalls/open/ |
open07.c | 80 static int fd1, fd2; variable 197 fd2 = creat(file1, 00700); 198 if (fd2 < 0) 259 close(fd2);
|
/external/ltp/testcases/kernel/syscalls/remap_file_pages/ |
remap_file_pages01.c | 109 int fd1, fd2; /* File descriptors used at the test */ variable 136 test_nonlinear(fd2); 252 if ((fd2 = open("cache", O_RDWR | O_CREAT | O_TRUNC, S_IRWXU)) < 0) { 268 close(fd2);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/DataSource/ |
DataSource.inf | 19 FILE_GUID = 30EB0F26-FC0A-4fd2-B9C9-751EA2BB1980
|
/external/mesa3d/src/gallium/winsys/freedreno/drm/ |
freedreno_drm_winsys.c | 79 int fd2 = pointer_to_intptr(key2); local 82 fstat(fd2, &stat2);
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/cris/ |
quick-s6.d | 23 [ ]+18:[ ]+@IR+7fd2@[ ]+@OC@[ ]+-1,\$?r13
|
/hardware/interfaces/tetheroffload/config/1.0/vts/functional/ |
VtsHalTetheroffloadConfigV1_0TargetTest.cpp | 106 unique_fd fd2(netlinkSocket(kFd2Groups)); 107 if (fd2.get() < 0) { 112 nativeHandle2->data[0] = fd2.release(); 136 // (e.g. "Failed Input Checks"). Check that this occurs when FD2 is empty. 163 unique_fd fd2(netlinkSocket(kFd2Groups)); 164 if (fd2.get() < 0) { 169 nativeHandle2->data[0] = fd2.release();
|
/external/clang/test/CodeGen/ |
zvector.c | 20 volatile vector double fd, fd2; variable 56 // CHECK: [[VAL:%[^ ]+]] = load volatile <2 x double>, <2 x double>* @fd2 58 fd = fd2; 93 // CHECK: [[VAL:%[^ ]+]] = load volatile <2 x double>, <2 x double>* @fd2 95 fd = +fd2; 114 // CHECK: [[VAL:%[^ ]+]] = load volatile <2 x double>, <2 x double>* @fd2 116 fd = -fd2; 151 // CHECK: [[VAL:%[^ ]+]] = load volatile <2 x double>, <2 x double>* @fd2 153 ++fd2; 188 // CHECK: [[VAL:%[^ ]+]] = load volatile <2 x double>, <2 x double>* @fd2 [all...] |
/external/liblzf/ |
lzf.c | 371 int fd, fd2; local 410 fd2 = open_out (oname); 411 if (fd2 == -1) 421 rc = compress_fd (fd, fd2); 428 rc = uncompress_fd (fd, fd2); 435 fchmod (fd2, mystat.st_mode); 440 close (fd2);
|
/system/extras/tests/ext4/ |
rand_emmc_perf.c | 185 int fd, fd2; local 247 fd2 = open("/dev/urandom", O_RDONLY); 248 if (fd2 < 0) { 251 if (read(fd2, &seed, sizeof(seed)) != sizeof(seed)) { 254 close(fd2);
|
/external/linux-kselftest/tools/testing/selftests/net/ |
reuseport_bpf.c | 307 int fd1, fd2, opt; local 313 fd2 = socket(p.recv_family, p.protocol, 0); 314 if (fd2 < 0) 320 if (setsockopt(fd2, SOL_SOCKET, SO_REUSEPORT, &opt, sizeof(opt))) 324 attach_ebpf(fd2, 10); 329 if (!bind(fd2, addr, sockaddr_size()) && errno != EADDRINUSE) 388 int fd1, fd2, opt = 1; local 394 fd2 = socket(AF_INET, SOCK_DGRAM, 0); 395 if (fd2 < 0) 399 if (setsockopt(fd2, SOL_SOCKET, SO_REUSEPORT, &opt, sizeof(opt)) [all...] |
/external/linux-kselftest/tools/testing/selftests/sync/ |
sync.c | 68 int sync_merge(const char *name, int fd1, int fd2) 73 data.fd2 = fd2;
|
/external/ltp/testcases/kernel/fs/dmapi/ |
event_am.c | 306 int fd1, fd2; local 316 } else if ((fd2 = open(DummySubdir, O_DIRECTORY)) == -1) { 320 if (fd1 == -1 || fd2 == -1 || fd1 == fd2) { 340 DMLOG_PRINT(DMLVL_DEBUG, "close(%d) #2\n", fd2); 341 rc = close(fd2); 343 "close(%d) #2 returned %d\n", fd2, 531 int fd1, fd2; local 541 } else if ((fd2 = open(DummyFile, O_RDONLY)) == -1) { 545 if (fd1 == -1 || fd2 == -1 || fd1 == fd2) 804 int fd1, fd2; local 1064 int fd1, fd2; local 1228 int fd1, fd2; local 1385 int fd1, fd2; local [all...] |
/cts/tests/tests/graphics/jni/ |
android_graphics_cts_SyncTest.cpp | 74 jint syncMerge(JNIEnv* env, jclass /*clazz*/, jstring nameStr, jint fd1, jint fd2) { 76 int32_t result_fd = sync_merge(name, fd1, fd2);
|
/external/ltp/testcases/kernel/syscalls/fchown/ |
fchown04.c | 53 static int fd2 = -1; variable 63 {&fd2, EBADF},
|
/external/mesa3d/src/gallium/winsys/etnaviv/drm/ |
etnaviv_drm_winsys.c | 107 int fd2 = pointer_to_intptr(key2); local 111 fstat(fd2, &stat2);
|
/external/mesa3d/src/gallium/winsys/nouveau/drm/ |
nouveau_drm_winsys.c | 51 int fd2 = pointer_to_intptr(key2); local 54 fstat(fd2, &stat2);
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/mn10300/ |
am33-2.s | 432 fmov (e1), fd2 439 fmov (d3+), fd2 454 fmov (sp), fd2 461 fmov fd2, (r8) 468 fmov fd2, (e6) 485 fmov fd2, (sp) 500 fmov fd20, fd2 518 fmov fd2, (e6, a1) 528 fmov (-95, d3), fd2 575 fmov fd2, (r8+, -27 [all...] |
/external/clang/test/CXX/special/class.inhctor/ |
p3.cpp | 25 D2 fd2() { return 1; } // expected-error {{no viable conversion}} function
|
/external/ltp/testcases/kernel/syscalls/ppoll/ |
ppoll01.c | 178 int fd2; local 195 fd2 = SAFE_OPEN("testfile2", O_CREAT | O_EXCL | O_RDWR, 197 fds_already_closed[0].fd = fd2; 200 SAFE_CLOSE(fd2);
|
/external/elfutils/src/ |
findtextrel.c | 317 int fd2 = -1; local 391 fd2 = open (difname, O_RDONLY); 392 if (fd2 != -1 393 && (elf2 = elf_begin (fd2, ELF_C_READ_MMAP, NULL)) != NULL) 484 if (fd2 != -1) 485 close (fd2);
|
/frameworks/native/services/sensorservice/ |
SensorDirectConnection.cpp | 197 int fd2 = mem->handle->data[0]; local 198 ret = (fd1 == fd2);
|
/libcore/ojluni/src/main/native/ |
LinuxWatchService.c | 134 (JNIEnv* env, jclass clazz, jint fd1, jint fd2) 141 ufds[1].fd = fd2;
|