Searched refs:KernelHandle (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dkernel_handle.cc20 KernelHandle::KernelHandle() : filesystem_(NULL), node_(NULL) { function in class:nacl_io::KernelHandle
23 KernelHandle::KernelHandle(const ScopedFilesystem& fs, const ScopedNode& node) function in class:nacl_io::KernelHandle
27 KernelHandle::~KernelHandle() {
34 SocketNode* KernelHandle::socket_node() {
40 Error KernelHandle::Init(int open_flags) {
56 Error KernelHandle::Seek(off_t offset, int whence, off_t* out_offset) {
98 Error KernelHandle
[all...]
H A Dkernel_handle.h38 // KernelHandle provides a reference counted container for the open
40 // KernelHandle can only be referenced when the KernelProxy lock is held.
41 class KernelHandle : public sdk_util::RefObject { class in namespace:nacl_io
43 KernelHandle();
44 KernelHandle(const ScopedFilesystem& fs, const ScopedNode& node);
45 ~KernelHandle();
91 DISALLOW_COPY_AND_ASSIGN(KernelHandle);
94 typedef sdk_util::ScopedRef<KernelHandle> ScopedKernelHandle;
H A Dkernel_proxy.cc192 ScopedKernelHandle handle(new KernelHandle(fs, node));
212 ScopedKernelHandle handle(new KernelHandle(fs, node));
227 ScopedKernelHandle handle0(new KernelHandle(stream_fs_, node));
228 ScopedKernelHandle handle1(new KernelHandle(stream_fs_, node));
940 // on to the KernelHandle is pointless.
1317 ScopedKernelHandle new_handle(new KernelHandle(stream_fs_, node));
1697 ScopedKernelHandle handle(new KernelHandle(stream_fs_, node));
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
H A Dkernel_object_test.cc47 class KernelHandleForTesting : public KernelHandle {
50 : KernelHandle(fs, node) {}
78 // Pass the filesystem and node into a KernelHandle
79 KernelHandle* raw_handle = new KernelHandleForTesting(fs, node);
89 // There should be two references to the KernelHandle, the filesystem and node
139 // Now only the KernelProxy should reference the KernelHandle in the
140 // FD to KernelHandle Map.
162 KernelHandle* raw_handle = new KernelHandleForTesting(fs, node);
H A Dmem_fs_node_test.cc200 KernelHandle handle(fs, file);
334 KernelHandle handle(fs, file);
343 KernelHandle handle(fs, file);
353 KernelHandle handle(fs, file);

Completed in 261 milliseconds