/external/linux-tools-perf/src/tools/perf/tests/ |
bp_signal.c | 29 static int fd1; variable 54 ioctl(fd1, PERF_EVENT_IOC_DISABLE, 0); 130 * fd1 - breakpoint event on test_function with SIGIO 139 * - fd1 event breakpoint hit -> count1 == 1 153 fd1 = bp_event(test_function, 1); 156 ioctl(fd1, PERF_EVENT_IOC_ENABLE, 0); 160 * Kick off the test by trigering 'fd1' 165 ioctl(fd1, PERF_EVENT_IOC_DISABLE, 0); 168 count1 = bp_count(fd1); 171 close(fd1); [all...] |
/external/valgrind/memcheck/tests/linux/ |
sys-openat.c | 12 __attribute__((unused)) int fd1 = openat (dfd, "abc", O_RDONLY); local
|
/external/valgrind/none/tests/ |
fdleak_cmsg.c | 38 int s, fd1, fd2; local 41 fd1 = DO( open(filea, O_RDWR | O_CREAT | O_TRUNC, 0750) ); 71 ((int *)CMSG_DATA(cmsg))[0] = fd1; 86 int s, fd1 = -1, fd2 = -1, size, count = 0, ret; local 135 fd1 = ((int *)CMSG_DATA(cmsg))[0]; 142 if (fd1 != -1) write(fd1, "Yeah 1\n", 8);
|
/external/valgrind/memcheck/tests/ |
file_locking.c | 79 int fd1; local 89 if ((fd1 = open_lock_and_map("parent", filename)) >= 0) 122 close(fd1);
|
/system/core/libsync/include/sync/ |
sync.h | 46 int sync_merge(const char *name, int fd1, int fd2);
|
/libcore/luni/src/main/java/java/nio/ |
PipeImpl.java | 39 FileDescriptor fd1 = new FileDescriptor(); local 41 Libcore.os.socketpair(AF_UNIX, SOCK_STREAM, 0, fd1, fd2); 45 this.sink = new PipeSinkChannel(selectorProvider, fd1);
|
/system/core/libsync/ |
sync.c | 38 int sync_merge(const char *name, int fd1, int fd2) 46 err = ioctl(fd1, SYNC_IOC_MERGE, &data);
|
/external/clang/test/CXX/special/class.inhctor/ |
p3.cpp | 12 D1 fd1() { return 1; } function
|
/cts/tests/tests/media/src/android/media/cts/ |
DecoderTest.java | 270 AssetFileDescriptor fd1 = null; local 272 fd1 = mResources.openRawResourceFd(resid); 274 ex1.setDataSource(fd1.getFileDescriptor(), fd1.getStartOffset(), fd1.getLength()); 303 ex1.setDataSource(fd1.getFileDescriptor(), fd1.getStartOffset(), fd1.getLength()); 323 ex1.setDataSource(fd1.getFileDescriptor(), fd1.getStartOffset(), fd1.getLength()) 448 AssetFileDescriptor fd1 = null; local [all...] |
/frameworks/base/core/java/android/os/ |
ParcelFileDescriptor.java | 424 final FileDescriptor fd1 = new FileDescriptor(); local 425 Os.socketpair(AF_UNIX, type, 0, fd0, fd1); 428 new ParcelFileDescriptor(fd1) }; 454 final FileDescriptor fd1 = new FileDescriptor(); local 455 Os.socketpair(AF_UNIX, type, 0, fd0, fd1); 458 new ParcelFileDescriptor(fd1, comm[1]) }; [all...] |
/system/core/init/ |
builtins.cpp | 662 int fd1 = -1, fd2 = -1; local 673 if ((fd1 = open(args[1], O_RDONLY|O_CLOEXEC)) < 0) 685 rc = read(fd1, p, brtr); 713 if (fd1 >= 0) 714 close(fd1);
|
/libcore/luni/src/main/java/libcore/io/ |
BlockGuardOs.java | 285 @Override public void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { 286 os.socketpair(domain, type, protocol, fd1, fd2); 287 tagSocket(fd1);
|
/hardware/ti/omap4-aah/domx/omx_proxy_component/omx_camera/src/ |
omx_proxy_camera.c | 409 int fd1 = -1, fd2 = -1; local 431 ret = ion_share(pCompPrv->ion_fd, handle, &fd1); 438 pVtcConfig->IonBufhdl[0] = (OMX_PTR)(fd1); 463 close(fd1);
|
/external/lldb/examples/interposing/darwin/fd_interposing/ |
FDInterposing.cpp | 935 dup2$__interposed__ (int fd1, int fd2) 945 StringSP dup2_close_description_sp(new String ("pid=%i: dup2 (fd1=%i, fd2=%i) -> will close (fd=%i)", pid, fd1, fd2, fd2)); 949 const int fd = ::dup2(fd1, fd2); 951 StringSP description_sp(new String ("pid=%i: dup2 (fd1=%i, fd2=%i) -> fd=%i", pid, fd1, fd2, fd)); 961 return ::dup2(fd1, fd2); [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...] |
/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)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/ |
connection.py | 196 fd1, fd2 = os.pipe() 197 c1 = _multiprocessing.Connection(fd1, writable=False)
|
/external/bison/darwin-lib/ |
stdio.h | [all...] |
unistd.h | [all...] |
/external/bison/lib/ |
unistd.in.h | [all...] |
/external/bison/linux-lib/ |
stdio.h | [all...] |
unistd.h | [all...] |
/external/clang/test/CodeGen/ |
atomic-ops.c | 169 struct S fd1(struct S *a) { function 170 // CHECK-LABEL: @fd1
|
/external/toybox/lib/ |
portability.h | 142 int linkat(int fd1, const char *path1, int fd2, const char *path2, int flag);
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/lib/gcc/x86_64-w64-mingw32/4.8.3/plugin/include/ |
libiberty.h | 187 extern int fdmatch (int fd1, int fd2);
|