HomeSort by relevance Sort by last modified time
    Searched refs:FileDescriptor (Results 1 - 25 of 299) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /libcore/luni/src/main/java/java/nio/
FileDescriptorChannel.java 19 import java.io.FileDescriptor;
22 * Allows access to the FileDescriptor underlying a Channel.
25 public FileDescriptor getFD();
PipeImpl.java 20 import java.io.FileDescriptor;
39 FileDescriptor[] fds = Libcore.os.pipe();
61 private final FileDescriptor fd;
62 private FdCloser(FileDescriptor fd) {
71 private final FileDescriptor fd;
74 private PipeSourceChannel(FileDescriptor fd) throws IOException {
100 public FileDescriptor getFD() {
106 private final FileDescriptor fd;
109 private PipeSinkChannel(FileDescriptor fd) throws IOException {
135 public FileDescriptor getFD()
    [all...]
  /libcore/luni/src/main/java/libcore/io/
AsynchronousCloseMonitor.java 19 import java.io.FileDescriptor;
25 public static native void signalBlockedThreads(FileDescriptor fd);
StructPollfd.java 19 import java.io.FileDescriptor;
27 public FileDescriptor fd;
41 * FileDescriptor with the corresponding SelectionKey.
Os.java 19 import java.io.FileDescriptor;
28 public FileDescriptor accept(FileDescriptor fd, InetSocketAddress peerAddress) throws ErrnoException;
30 public void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException;
32 public void close(FileDescriptor fd) throws ErrnoException;
33 public void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException;
34 public FileDescriptor dup(FileDescriptor oldFd) throws ErrnoException;
35 public FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException
    [all...]
Posix.java 19 import java.io.FileDescriptor;
31 public native FileDescriptor accept(FileDescriptor fd, InetSocketAddress peerAddress) throws ErrnoException;
33 public native void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException;
35 public native void close(FileDescriptor fd) throws ErrnoException;
36 public native void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException;
37 public native FileDescriptor dup(FileDescriptor oldFd) throws ErrnoException;
38 public native FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException
    [all...]
BlockGuardOs.java 21 import java.io.FileDescriptor;
36 private FileDescriptor tagSocket(FileDescriptor fd) throws ErrnoException {
45 @Override public FileDescriptor accept(FileDescriptor fd, InetSocketAddress peerAddress) throws ErrnoException {
50 @Override public void close(FileDescriptor fd) throws ErrnoException {
60 private static boolean isLingerSocket(FileDescriptor fd) {
67 // already-closed socket. Also, the passed-in FileDescriptor isn't necessarily
73 @Override public void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException {
78 @Override public void fdatasync(FileDescriptor fd) throws ErrnoException
    [all...]
ForwardingOs.java 19 import java.io.FileDescriptor;
37 public FileDescriptor accept(FileDescriptor fd, InetSocketAddress peerAddress) throws ErrnoException { return os.accept(fd, peerAddress); }
39 public void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException { os.bind(fd, address, port); }
41 public void close(FileDescriptor fd) throws ErrnoException { os.close(fd); }
42 public void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException { os.connect(fd, address, port); }
43 public FileDescriptor dup(FileDescriptor oldFd) throws ErrnoException { return os.dup(oldFd); }
44 public FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException { return os.dup2(oldFd, newFd);
    [all...]
  /external/chromium/base/
file_descriptor_posix.h 19 struct FileDescriptor {
20 FileDescriptor()
24 FileDescriptor(int ifd, bool iauto_close)
28 bool operator==(const FileDescriptor& other) const {
33 bool operator<(const FileDescriptor& other) const {
  /external/chromium/chrome/common/
nacl_types.h 14 // TODO(gregoryd): add a Windows definition for base::FileDescriptor
18 typedef int FileDescriptor;
19 inline HANDLE ToNativeHandle(const FileDescriptor& desc) {
23 typedef base::FileDescriptor FileDescriptor;
24 inline int ToNativeHandle(const FileDescriptor& desc) {
  /external/clang/lib/Basic/
FileSystemStatCache.cpp 35 /// If FileDescriptor is non-null, then this lookup should only return success
38 /// implementation can optionally fill in FileDescriptor with a valid
41 int *FileDescriptor, FileSystemStatCache *Cache) {
43 bool isForDir = FileDescriptor == 0;
47 R = Cache->getStat(Path, StatBuf, FileDescriptor);
63 *FileDescriptor = ::open(Path, OpenFlags);
65 if (*FileDescriptor == -1) {
72 if (::fstat(*FileDescriptor, &StatBuf) == 0)
78 ::close(*FileDescriptor);
79 *FileDescriptor = -1
    [all...]
  /libcore/luni/src/main/java/java/io/
FileDescriptor.java 30 public final class FileDescriptor {
35 public static final FileDescriptor in = new FileDescriptor();
40 public static final FileDescriptor out = new FileDescriptor();
45 public static final FileDescriptor err = new FileDescriptor();
48 * The Unix file descriptor backing this FileDescriptor.
49 * A value of -1 indicates that this FileDescriptor is invalid.
60 * Constructs a new invalid FileDescriptor
    [all...]
  /cts/tests/src/android/net/cts/
NetlinkSocket.java 19 import java.io.FileDescriptor;
28 private static native void create_native(FileDescriptor fd);
29 private static native int sendmsg(FileDescriptor fd, int pid, byte[] bytes);
31 private FileDescriptor fd = new FileDescriptor();
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
SystemUI.java 19 import java.io.FileDescriptor;
33 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) {
  /libcore/dalvik/src/main/java/dalvik/system/
SocketTagger.java 19 import java.io.FileDescriptor;
31 @Override public void tag(FileDescriptor socketDescriptor) throws SocketException {}
32 @Override public void untag(FileDescriptor socketDescriptor) throws SocketException {}
40 public abstract void tag(FileDescriptor socketDescriptor) throws SocketException;
50 public abstract void untag(FileDescriptor socketDescriptor) throws SocketException;
  /frameworks/base/core/java/android/net/
LocalSocketImpl.java 22 import java.io.FileDescriptor;
37 private FileDescriptor fd;
41 FileDescriptor[] inboundFileDescriptors;
43 FileDescriptor[] outboundFileDescriptors;
67 FileDescriptor myFd = fd;
85 FileDescriptor myFd = fd;
120 FileDescriptor myFd = fd;
134 FileDescriptor myFd = fd;
141 private native int available_native(FileDescriptor fd) throws IOException;
142 private native void close_native(FileDescriptor fd) throws IOException
    [all...]
LocalServerSocket.java 20 import java.io.FileDescriptor;
66 public LocalServerSocket(FileDescriptor fd) throws IOException
104 public FileDescriptor getFileDescriptor() {
  /external/apache-harmony/support/src/test/java/tests/support/
Support_ProcessReadWriteTest.java 20 import java.io.FileDescriptor;
29 FileInputStream input = new FileInputStream(FileDescriptor.in);
30 FileOutputStream output = new FileOutputStream(FileDescriptor.out);
  /external/protobuf/src/google/protobuf/compiler/java/
java_file.h 44 class FileDescriptor; // descriptor.h
59 explicit FileGenerator(const FileDescriptor* file);
83 bool ShouldIncludeDependency(const FileDescriptor* descriptor);
85 const FileDescriptor* file_;
  /frameworks/support/v4/honeycomb/android/support/v4/app/
ActivityCompatHoneycomb.java 21 import java.io.FileDescriptor;
32 static void dump(Activity activity, String prefix, FileDescriptor fd,
  /libcore/luni/src/main/java/java/net/
PlainServerSocketImpl.java 20 import java.io.FileDescriptor;
32 public PlainServerSocketImpl(FileDescriptor fd) {
  /external/clang/include/clang/Basic/
FileSystemStatCache.h 43 /// If FileDescriptor is non-null, then this lookup should only return success
46 /// implementation can optionally fill in FileDescriptor with a valid
48 static bool get(const char *Path, struct stat &StatBuf, int *FileDescriptor,
68 int *FileDescriptor) = 0;
71 int *FileDescriptor) {
73 return Next->getStat(Path, StatBuf, FileDescriptor);
77 return get(Path, StatBuf, FileDescriptor, 0) ? CacheMissing : CacheExists;
96 int *FileDescriptor);
  /external/protobuf/src/google/protobuf/compiler/cpp/
cpp_file.h 45 class FileDescriptor; // descriptor.h
63 explicit FileGenerator(const FileDescriptor* file,
78 const FileDescriptor* file_;
  /external/protobuf/src/google/protobuf/compiler/javamicro/
javamicro_file.h 45 class FileDescriptor; // descriptor.h
60 explicit FileGenerator(const FileDescriptor* file, const Params& params);
81 const FileDescriptor* file_;
  /external/protobuf/src/google/protobuf/compiler/
mock_code_generator.h 81 const FileDescriptor* file);
87 virtual bool Generate(const FileDescriptor* file,
97 const FileDescriptor* file);

Completed in 813 milliseconds

1 2 3 4 5 6 7 8 91011>>