/external/elfutils/src/ |
ranlib.c | 146 copy_content (Elf *elf, int newfd, off_t off, size_t n) 158 return write_retry (newfd, rawfile + off, n) != (ssize_t) n; 246 int newfd = mkstemp (tmpfname); local 247 if (unlikely (newfd == -1)) 256 if (unlikely (write_retry (newfd, ARMAG, SARMAG) != SARMAG)) 261 if (newfd != -1) 262 close (newfd); 277 && ((write_retry (newfd, symtab.symsoff, 280 || (write_retry (newfd, symtab.symsname, 286 && copy_content (arelf, newfd, SARMAG, index_off - SARMAG) [all...] |
ar.c | 434 copy_content (Elf *elf, int newfd, off_t off, size_t n) 446 return write_retry (newfd, rawfile + off, n) != (ssize_t) n; 753 int newfd = mkstemp (tmpfname); local 754 if (unlikely (newfd == -1)) 763 if (unlikely (write_retry (newfd, ARMAG, SARMAG) != SARMAG)) 768 if (newfd != -1) 769 close (newfd); 784 && ((write_retry (newfd, symtab.symsoff, 787 || (write_retry (newfd, symtab.symsname, 793 && copy_content (elf, newfd, SARMAG, index_off - SARMAG) 992 int newfd = mkstemp (tmpfname); local 1239 int newfd = open (argv[cnt], O_RDONLY); local 1377 int newfd; local [all...] |
/external/clang/lib/Sema/ |
SemaDecl.cpp | [all...] |
SemaTemplateInstantiateDecl.cpp | [all...] |
SemaDeclAttr.cpp | [all...] |
SemaLookup.cpp | [all...] |
/frameworks/base/core/jni/android/graphics/ |
BitmapRegionDecoder.cpp | 116 int newFD; 124 (newFD = ::dup(descriptor)) != -1) { 125 SkFDStream* fdStream = new SkFDStream(newFD, true);
|
BitmapFactory.cpp | 434 int newFD = ::dup(descriptor); 435 if (-1 != newFD) { 437 descriptor = newFD;
|
/system/core/sh/ |
redir.c | 379 int newfd; local 381 newfd = fcntl(from, F_DUPFD, to); 382 if (newfd < 0) { 388 return newfd;
|
/frameworks/base/services/jni/ |
com_android_server_UsbHostManager.cpp | 157 int newFD = dup(fd); 160 jobject fileDescriptor = jniCreateFileDescriptor(env, newFD);
|
/libcore/luni/src/main/java/libcore/io/ |
BlockGuardOs.java | 88 // TODO: Untag newFd when needed for dup2(FileDescriptor oldFd, int newFd)
|
ForwardingOs.java | 44 public FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException { return os.dup2(oldFd, newFd); }
|
Os.java | 35 public FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException;
|
Posix.java | 38 public native FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException;
|
/external/qemu/distrib/sdl-1.2.12/src/cdrom/macosx/ |
AudioFileReaderThread.c | 90 FileData *newfd = (FileData *) SDL_malloc(sizeof (FileData)); local 91 newfd->obj = inItem; 92 newfd->next = NULL; 96 frt->mFileData = newfd; 98 prev->next = newfd;
|
/packages/inputmethods/PinyinIME/jni/android/ |
com_android_inputmethod_pinyin_PinyinDecoderService.cpp | 75 int newfd = dup(fd); local 76 if (im_open_decoder_fd(newfd, startoffset, length, (const char*)fud)) 79 close(newfd);
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
unistd.in.h | 156 /* Copy the file descriptor OLDFD into file descriptor NEWFD. Do nothing if 157 NEWFD = OLDFD, otherwise close NEWFD first if it is open. 161 extern int dup2 (int oldfd, int newfd);
|
/external/valgrind/main/coregrind/ |
m_libcfile.c | 62 Int newfd; local 66 newfd = VG_(fcntl)(oldfd, VKI_F_DUPFD, VG_(fd_hard_limit)); 67 if (newfd != -1) 71 VG_(fcntl)(newfd, VKI_F_SETFD, VKI_FD_CLOEXEC); 73 vg_assert(newfd >= VG_(fd_hard_limit)); 74 return newfd; 356 SysRes VG_(dup2) ( Int oldfd, Int newfd ) 359 return VG_(do_syscall2)(__NR_dup2, oldfd, newfd);
|
/bionic/libc/bionic/ |
fts.c | 1017 int ret, oerrno, newfd; local 1020 newfd = fd; 1023 if (fd < 0 && (newfd = open(path, O_RDONLY, 0)) < 0) 1025 if (fstat(newfd, &sb)) { 1034 ret = fchdir(newfd); 1038 (void)close(newfd);
|
/external/valgrind/main/include/ |
pub_tool_libcfile.h | 86 extern SysRes VG_(dup2) ( Int oldfd, Int newfd );
|
/libcore/luni/src/main/native/ |
libcore_io_Posix.cpp | 447 int newFd = throwIfMinusOne(env, "dup", TEMP_FAILURE_RETRY(dup(oldFd))); 448 return (newFd != -1) ? jniCreateFileDescriptor(env, newFd) : NULL; 451 static jobject Posix_dup2(JNIEnv* env, jobject, jobject javaOldFd, jint newFd) { 453 int fd = throwIfMinusOne(env, "dup2", TEMP_FAILURE_RETRY(dup2(oldFd, newFd))); [all...] |
/external/qemu/ |
net-android.c | 1787 int newfd; local [all...] |
net.c | 1669 int newfd; local [all...] |
/frameworks/base/core/jni/ |
android_server_BluetoothEventLoop.cpp | 567 int newFD; 570 read(nat->controlFdR, &newFD, sizeof(int)); 576 if ((nat->pollData[y].fd == newFD) && 604 nat->pollData[nat->pollMemberCount].fd = newFD; [all...] |
/system/core/toolbox/ |
dd.c | 312 int newfd; local 323 newfd = fcntl(fd, F_DUPFD, 3); 324 if (newfd < 0) { 332 return newfd;
|