/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();
|
NioUtils.java | 19 import java.io.FileDescriptor; 39 public static FileDescriptor getFD(FileChannel fc) { 46 public static FileChannel newFileChannel(Object stream, FileDescriptor fd, int mode) {
|
PipeImpl.java | 20 import java.io.FileDescriptor; 39 FileDescriptor fd1 = new FileDescriptor(); 40 FileDescriptor fd2 = new FileDescriptor(); 61 private final FileDescriptor fd; 64 private PipeSourceChannel(SelectorProvider selectorProvider, FileDescriptor fd) throws IOException { 90 public FileDescriptor getFD() { 96 private final FileDescriptor fd; 99 private PipeSinkChannel(SelectorProvider selectorProvider, FileDescriptor fd) throws IOException [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; 29 public FileDescriptor accept(FileDescriptor fd, InetSocketAddress peerAddress) throws ErrnoException, SocketException; 31 public void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException; 34 public void close(FileDescriptor fd) throws ErrnoException; 35 public void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException; 36 public FileDescriptor dup(FileDescriptor oldFd) throws ErrnoException; 37 public FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws ErrnoException [all...] |
Posix.java | 19 import java.io.FileDescriptor; 32 public native FileDescriptor accept(FileDescriptor fd, InetSocketAddress peerAddress) throws ErrnoException, SocketException; 34 public native void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException; 37 public native void close(FileDescriptor fd) throws ErrnoException; 38 public native void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException; 39 public native FileDescriptor dup(FileDescriptor oldFd) throws ErrnoException; 40 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 private void untagSocket(FileDescriptor fd) throws ErrnoException { 53 @Override public FileDescriptor accept(FileDescriptor fd, InetSocketAddress peerAddress) throws ErrnoException, SocketException { 58 @Override public void close(FileDescriptor fd) throws ErrnoException { 72 // already-closed socket. Also, the passed-in FileDescriptor isn't necessarily 78 private static boolean isLingerSocket(FileDescriptor fd) throws ErrnoException { 83 @Override public void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException [all...] |
ForwardingOs.java | 19 import java.io.FileDescriptor; 38 public FileDescriptor accept(FileDescriptor fd, InetSocketAddress peerAddress) throws ErrnoException, SocketException { return os.accept(fd, peerAddress); } 40 public void bind(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException { os.bind(fd, address, port); } 43 public void close(FileDescriptor fd) throws ErrnoException { os.close(fd); } 44 public void connect(FileDescriptor fd, InetAddress address, int port) throws ErrnoException, SocketException { os.connect(fd, address, port); } 45 public FileDescriptor dup(FileDescriptor oldFd) throws ErrnoException { return os.dup(oldFd); } 46 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/chromium_org/base/ |
file_descriptor_posix.h | 18 struct FileDescriptor { 19 FileDescriptor() 23 FileDescriptor(int ifd, bool iauto_close) 27 bool operator==(const FileDescriptor& other) const { 32 bool operator<(const FileDescriptor& other) const {
|
/external/chromium_org/dbus/ |
file_descriptor.cc | 11 FileDescriptor::~FileDescriptor() { 16 int FileDescriptor::value() const { 21 int FileDescriptor::TakeValue() { 27 void FileDescriptor::CheckValidity() {
|
file_descriptor.h | 13 // FileDescriptor is a type used to encapsulate D-Bus file descriptors 21 // FileDescriptor fd; 26 // writer.AppendFileDescriptor(dbus::FileDescriptor(1)); 34 class CHROME_DBUS_EXPORT FileDescriptor { 38 FileDescriptor() : value_(-1), owner_(false), valid_(false) {} 39 explicit FileDescriptor(int value) : value_(value), owner_(false), 42 virtual ~FileDescriptor(); 70 DISALLOW_COPY_AND_ASSIGN(FileDescriptor);
|
/external/chromium_org/content/public/browser/ |
file_descriptor_info.h | 15 // closed with the FileDescriptor.auto_close field. 18 FileDescriptorInfo(int id, const base::FileDescriptor& file_descriptor) 24 base::FileDescriptor fd;
|
/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();
|
/external/clang/lib/Basic/ |
FileSystemStatCache.cpp | 50 /// implementation can optionally fill in FileDescriptor with a valid 53 int *FileDescriptor, FileSystemStatCache *Cache) { 59 R = Cache->getStat(Path, Data, isFile, FileDescriptor); 60 else if (isForDir || !FileDescriptor) { 78 llvm::error_code EC = llvm::sys::fs::openFileForRead(Path, *FileDescriptor); 88 if (!llvm::sys::fs::status(*FileDescriptor, Status)) { 95 ::close(*FileDescriptor); 96 *FileDescriptor = -1; 108 if (FileDescriptor && *FileDescriptor != -1) [all...] |
/external/chromium_org/components/nacl/common/ |
nacl_types.h | 24 // TODO(gregoryd): add a Windows definition for base::FileDescriptor 28 typedef HANDLE FileDescriptor; 29 inline HANDLE ToNativeHandle(const FileDescriptor& desc) { 33 typedef base::FileDescriptor FileDescriptor; 34 inline int ToNativeHandle(const FileDescriptor& desc) { 48 std::vector<FileDescriptor> handles; 49 FileDescriptor debug_stub_server_bound_socket; 89 NaClLaunchResult(FileDescriptor imc_channel_handle, 95 FileDescriptor imc_channel_handle [all...] |
/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; 41 private FileDescriptor fd; 47 FileDescriptor[] inboundFileDescriptors; 49 FileDescriptor[] outboundFileDescriptors; 73 FileDescriptor myFd = fd; 91 FileDescriptor myFd = fd; 126 FileDescriptor myFd = fd; 140 FileDescriptor myFd = fd; 154 FileDescriptor myFd = fd; 166 private native int pending_native(FileDescriptor fd) throws IOException [all...] |
/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/chromium_org/chrome/browser/printing/ |
print_view_manager_basic.h | 26 void set_file_descriptor(const base::FileDescriptor& file_descriptor) { 31 base::FileDescriptor file_descriptor() const { return file_descriptor_; } 49 base::FileDescriptor file_descriptor_;
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/java/ |
java_file.h | 44 class FileDescriptor; // descriptor.h 59 explicit FileGenerator(const FileDescriptor* file); 84 bool ShouldIncludeDependency(const FileDescriptor* descriptor); 86 const FileDescriptor* file_;
|
/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_;
|