/third_party/rust/crates/io-lifetimes/src/ |
H A D | impls_tokio.rs | 8 use crate::{AsHandle, AsSocket, BorrowedHandle, BorrowedSocket, FromHandle, OwnedHandle}; 25 impl AsHandle for tokio::fs::File { 121 impl AsHandle for tokio::io::Stdin { 137 impl AsHandle for tokio::io::Stdout { 153 impl AsHandle for tokio::io::Stderr { 193 impl AsHandle for tokio::process::ChildStdin { 201 impl AsHandle for tokio::process::ChildStdout { 209 impl AsHandle for tokio::process::ChildStderr {
|
H A D | impls_std.rs | 6 use crate::{AsHandle, AsSocket, FromHandle, FromSocket, IntoHandle, IntoSocket}; 29 impl AsHandle for BorrowedHandle<'_> { 53 impl AsHandle for OwnedHandle { 141 impl AsHandle for std::fs::File { 461 impl AsHandle for std::io::Stdin { 477 impl<'a> AsHandle for std::io::StdinLock<'a> { 493 impl AsHandle for std::io::Stdout { 509 impl<'a> AsHandle for std::io::StdoutLock<'a> { 525 impl AsHandle for std::io::Stderr { 541 impl<'a> AsHandle fo [all...] |
H A D | portability.rs | 11 use crate::{AsHandle, AsSocket, BorrowedHandle, BorrowedSocket, OwnedHandle, OwnedSocket}; 72 /// `AsHandle`. It also provides the `as_filelike_view` convenience function 125 /// [`AsHandle`]. It also provides the `as_filelike_view` convenience function in as_filelike_view() 128 pub trait AsFilelike: AsHandle { in as_filelike_view() 163 impl<T: AsHandle> AsFilelike for T {
|
H A D | traits.rs | 15 /// call the method. Windows platforms have a corresponding `AsHandle` and 39 pub trait AsHandle { in as_fd() traits 47 /// use io_lifetimes::{AsHandle, BorrowedHandle}; in as_fd() 258 impl<T: AsHandle> AsHandle for &T { impls 267 impl<T: AsHandle> AsHandle for &mut T { in as_handle() impls
|
H A D | lib.rs | 49 pub use traits::{AsHandle, AsSocket}; 76 AsHandle, AsSocket, BorrowedHandle, BorrowedSocket, HandleOrInvalid, InvalidHandleError,
|
H A D | impls_fs_err.rs | 8 use crate::{AsHandle, BorrowedHandle, IntoHandle, OwnedHandle}; 25 impl AsHandle for fs_err::File {
|
H A D | impls_os_pipe.rs | 8 use crate::{AsHandle, BorrowedHandle, FromHandle, IntoHandle, OwnedHandle}; 25 impl AsHandle for os_pipe::PipeReader { 105 impl AsHandle for os_pipe::PipeWriter {
|
H A D | impls_async_std.rs | 9 AsHandle, AsSocket, BorrowedHandle, BorrowedSocket, FromHandle, FromSocket, IntoHandle, 32 impl AsHandle for async_std::fs::File { 352 impl AsHandle for async_std::io::Stdin { 368 impl AsHandle for async_std::io::Stdout { 384 impl AsHandle for async_std::io::Stderr {
|
H A D | types.rs | 207 crate::AsHandle::as_handle(self).try_clone_to_owned() in try_clone()
|
/third_party/node/deps/v8/src/objects/ |
H A D | dictionary.h | 123 static inline Handle<Object> AsHandle(Isolate* isolate, Handle<Name> key); 124 static inline Handle<Object> AsHandle(LocalIsolate* isolate, 257 static inline Handle<Object> AsHandle(Isolate* isolate, uint32_t key); 258 static inline Handle<Object> AsHandle(LocalIsolate* isolate, uint32_t key);
|
H A D | dictionary-inl.h | 277 Handle<Object> NumberDictionaryBaseShape::AsHandle(Isolate* isolate, in AsHandle() function in v8::internal::NumberDictionaryBaseShape 282 Handle<Object> NumberDictionaryBaseShape::AsHandle(LocalIsolate* isolate, in AsHandle() function in v8::internal::NumberDictionaryBaseShape 322 Handle<Object> NameDictionaryShape::AsHandle(Isolate* isolate, in AsHandle() function in v8::internal::NameDictionaryShape 328 Handle<Object> NameDictionaryShape::AsHandle(LocalIsolate* isolate, in AsHandle() function in v8::internal::NameDictionaryShape
|
H A D | compilation-cache-table.cc | 188 Handle<Object> AsHandle(Isolate* isolate) { in AsHandle() function in v8::internal::__anon14781::StringSharedKey 304 Handle<Object> k = key.AsHandle(isolate); in PutScript() 325 Handle<Object> k = key.AsHandle(isolate); in PutEval()
|
H A D | hash-table.h | 49 // static inline Handle<Object> AsHandle(Isolate* isolate, Key key); 319 static inline Handle<Object> AsHandle(Handle<Object> key); 446 static inline Handle<Object> AsHandle(Handle<Name> key);
|
H A D | objects-inl.h | 1223 Handle<Object> ObjectHashTableShape::AsHandle(Handle<Object> key) { in AsHandle() function in v8::internal::ObjectHashTableShape
|
H A D | objects.cc | 6139 Handle<Object> k = Shape::AsHandle(isolate, key); in Add()
|
/third_party/rust/crates/io-lifetimes/examples/ |
H A D | owning-wrapper.rs | 19 use io_lifetimes::{AsHandle, BorrowedHandle, OwnedHandle}; 81 impl AsHandle for Thing {
|
H A D | hello.rs | 18 use io_lifetimes::{AsHandle, OwnedHandle};
|