/ndk/tests/device/clone/jni/ |
D | clone.c | 7 int v, fd; variable 12 close(fd); in child_proc() 24 fd = open(argv[0], O_RDONLY); in main() 25 if (read(fd, &ch, 1) < 1) { in main() 36 if (read(fd, &ch, 1) < 1) { in main()
|
/ndk/sources/host-tools/make-3.81/ |
D | arscan.c | 761 int fd; in ar_member_touch() local 772 fd = open (arname, O_RDWR, 0666); in ar_member_touch() 773 if (fd < 0) in ar_member_touch() 776 if (lseek (fd, pos, 0) < 0) in ar_member_touch() 778 if (AR_HDR_SIZE != read (fd, (char *) &ar_hdr, AR_HDR_SIZE)) in ar_member_touch() 781 if (lseek (fd, pos, 0) < 0) in ar_member_touch() 783 if (AR_HDR_SIZE != write (fd, (char *) &ar_hdr, AR_HDR_SIZE)) in ar_member_touch() 786 EINTRLOOP (i, fstat (fd, &statbuf)); in ar_member_touch() 801 if (lseek (fd, pos, 0) < 0) in ar_member_touch() 803 if (AR_HDR_SIZE != write (fd, (char *) &ar_hdr, AR_HDR_SIZE)) in ar_member_touch() [all …]
|
D | getloadavg.c | 587 int fd, count; in getloadavg() local 589 fd = open (LINUX_LDAV_FILE, O_RDONLY); in getloadavg() 590 if (fd == -1) in getloadavg() 592 count = read (fd, ldavgbuf, 40); in getloadavg() 593 (void) close (fd); in getloadavg()
|
D | remake.c | 1056 int fd = open (file->name, O_RDWR | O_CREAT, 0666); in touch_file() local 1058 if (fd < 0) in touch_file() 1066 EINTRLOOP (e, fstat (fd, &statbuf)); in touch_file() 1070 if (read (fd, &buf, 1) < 0) in touch_file() 1072 if (lseek (fd, 0L, 0) < 0L) in touch_file() 1074 if (write (fd, &buf, 1) < 0) in touch_file() 1080 (void) close (fd); in touch_file() 1081 fd = open (file->name, O_RDWR | O_TRUNC, 0666); in touch_file() 1082 if (fd < 0) in touch_file() 1085 (void) close (fd); in touch_file()
|
D | job.c | 248 create_batch_file (char const *base, int unixy, int *fd) in create_batch_file() argument 306 *fd = _open_osfhandle ((intptr_t)h, 0); in create_batch_file() 319 *fd = -1; in create_batch_file() 3051 int fd; in dup2() local 3054 fd = dup (old); in dup2() 3055 if (fd != new) in dup2() 3057 (void) close (fd); in dup2() 3062 return fd; in dup2()
|
D | main.c | 851 int fd; in open_tmpfile() local 864 fd = mkstemp (*name); in open_tmpfile() 865 if (fd == -1) in open_tmpfile() 867 return fdopen (fd, "w"); in open_tmpfile() 877 fd = open (*name, O_CREAT|O_EXCL|O_WRONLY, 0600); in open_tmpfile() 878 if (fd == -1) in open_tmpfile() 880 return fdopen (fd, "w"); in open_tmpfile()
|
D | ChangeLog | 565 (open_tmpfile): Declare fd only if HAVE_FDOPEN is defined.
|
/ndk/sources/cxx-stl/stlport/src/details/ |
D | fstream_win32io.cpp | 72 static bool __is_regular_file(_STLP_fd fd) { in __is_regular_file() argument 76 return GetFileInformationByHandle(fd, &info) && in __is_regular_file() 81 static streamoff __file_size(_STLP_fd fd) { in __file_size() argument 85 li.LowPart = GetFileSize(fd, (unsigned long*) &li.HighPart); in __file_size() 129 static ios_base::openmode _get_osfflags(int fd, HANDLE oshandle) { 131 if (fd >= 0) 132 dosflags = _pioinfo(fd)->osfile; 168 static ios_base::openmode _get_osfflags(int fd, HANDLE oshandle) { 171 if (__fhnd_info[fd] & FHND_APPEND) 174 if (__fhnd_info[fd] & FHND_TEXT == 0) [all …]
|
D | fstream_stdio.cpp | 128 static bool __is_regular_file(_STLP_fd fd) { in __is_regular_file() argument 130 return FSTAT(fd, &buf) == 0 && (buf.st_mode & S_IFREG) != 0 ; in __is_regular_file() 134 static streamoff __file_size(_STLP_fd fd) { in __file_size() argument 138 if (FSTAT(fd, &buf) == 0 && (buf.st_mode & S_IFREG) != 0) in __file_size()
|
D | fstream_unistd.cpp | 104 static bool __is_regular_file(_STLP_fd fd) { in __is_regular_file() argument 106 return FSTAT(fd, &buf) == 0 && S_ISREG(buf.st_mode); in __is_regular_file() 110 static streamoff __file_size(_STLP_fd fd) { in __file_size() argument 114 if (FSTAT(fd, &buf) == 0 && S_ISREG(buf.st_mode)) in __file_size()
|
/ndk/sources/android/cpufeatures/ |
D | cpu-features.c | 141 int fd, result = 0; in get_file_size() local 144 fd = open(pathname, O_RDONLY); in get_file_size() 145 if (fd < 0) { in get_file_size() 151 int ret = read(fd, buffer, sizeof buffer); in get_file_size() 163 close(fd); in get_file_size() 175 int fd, count; in read_file() local 177 fd = open(pathname, O_RDONLY); in read_file() 178 if (fd < 0) { in read_file() 184 int ret = read(fd, buffer + count, buffsize - count); in read_file() 197 close(fd); in read_file() [all …]
|
/ndk/sources/third_party/googletest/googletest/src/ |
D | gtest-port.cc | 111 const int fd = open("/proc/self/as", O_RDONLY); in GetThreadCount() local 112 if (fd < 0) { in GetThreadCount() 117 devctl(fd, DCMD_PROC_INFO, &process_info, sizeof(process_info), NULL); in GetThreadCount() 118 close(fd); in GetThreadCount() 516 explicit CapturedStream(int fd) : fd_(fd), uncaptured_fd_(dup(fd)) { in CapturedStream() argument 635 void CaptureStream(int fd, const char* stream_name, CapturedStream** stream) { in CaptureStream() argument 640 *stream = new CapturedStream(fd); in CaptureStream()
|
D | gtest-death-test.cc | 312 static void FailFromInternalError(int fd) { in FailFromInternalError() argument 318 while ((num_read = posix::Read(fd, buffer, 255)) > 0) { in FailFromInternalError() 388 void set_read_fd(int fd) { read_fd_ = fd; } in set_read_fd() argument 390 void set_write_fd(int fd) { write_fd_ = fd; } in set_write_fd() argument
|
/ndk/sources/third_party/googletest/googletest/include/gtest/internal/ |
D | gtest-port.h | 1707 inline int IsATTY(int fd) { return isatty(fd); } 1716 inline int IsATTY(int fd) { return _isatty(fd); } 1742 inline int IsATTY(int fd) { return isatty(fd); } 1779 inline FILE* FDOpen(int fd, const char* mode) { return fdopen(fd, mode); } 1783 inline int Read(int fd, void* buf, unsigned int count) { 1784 return static_cast<int>(read(fd, buf, count)); 1786 inline int Write(int fd, const void* buf, unsigned int count) { 1787 return static_cast<int>(write(fd, buf, count)); 1789 inline int Close(int fd) { return close(fd); }
|
/ndk/tests/device/test-gnustl-full/unit/ |
D | money_facets_test.cpp | 325 for ( int fd = 1; fd < dom_fmp.frac_digits(); ++fd ) { in _money_put_X_bug() local 387 for ( int fd = 1; fd < dom_fmp.frac_digits() - 1; ++fd ) { in _money_put_X_bug() local
|
/ndk/tests/device/test-stlport/unit/ |
D | money_facets_test.cpp | 325 for ( int fd = 1; fd < dom_fmp.frac_digits(); ++fd ) { in _money_put_X_bug() local 387 for ( int fd = 1; fd < dom_fmp.frac_digits() - 1; ++fd ) { in _money_put_X_bug() local
|
/ndk/sources/cxx-stl/stlport/src/ |
D | _stdio_file.h | 80 inline int _FILE_fd(const FILE *__f) { return __f->fd; }
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/impl/ |
D | debug.ipp | 177 explicit fd_holder( int fd ) : m_fd( fd ) {}
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
D | _fstream.h | 179 _STLP_fd fd() const { return _M_base.__get_fd(); } in fd() function
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ |
D | chrono | 25 duration_cast(const duration<Rep, Period>& fd);
|
/ndk/sources/host-tools/nawk-20071023/ |
D | FIXES | 631 unlike gawk, no /dev/fd/n yet.
|
/ndk/sources/host-tools/make-3.81/po/ |
D | vi.po | 403 "tiến trình sở khởi fd) bị lỗi\n"
|