HomeSort by relevance Sort by last modified time
    Searched defs:Handle (Results 1 - 25 of 112) sorted by null

1 2 3 4 5

  /external/chromium_org/third_party/leveldatabase/src/include/leveldb/
cache.h 40 // Opaque handle to an entry stored in the cache.
41 struct Handle { };
46 // Returns a handle that corresponds to the mapping. The caller
47 // must call this->Release(handle) when the returned mapping is no
52 virtual Handle* Insert(const Slice& key, void* value, size_t charge,
57 // Else return a handle that corresponds to the mapping. The caller
58 // must call this->Release(handle) when the returned mapping is no
60 virtual Handle* Lookup(const Slice& key) = 0;
63 // REQUIRES: handle must not have been released yet.
64 // REQUIRES: handle must have been returned by a method on *this
    [all...]
  /external/chromium_org/components/webdata/common/
web_data_service_base.h 29 // All requests return an opaque handle of the following type.
30 typedef int Handle;
32 // Users of this class may provide a callback to handle errors
56 virtual void CancelRequest(Handle h);
  /external/chromium_org/mojo/public/java/src/org/chromium/mojo/system/
Handle.java 10 * A generic mojo handle.
12 public interface Handle extends Closeable {
15 * Closes the given |handle|.
17 * Concurrent operations on |handle| may succeed (or fail as usual) if they happen before the
26 * @see Core#wait(Handle, Core.WaitFlags, long)
31 * @return whether the handle is valid. A handle is valid until it has been explicitly closed or
37 * Converts this handle into an {@link UntypedHandle}, invalidating this handle.
42 * Returns the {@link Core} implementation for this handle. Can be null if this handle i
    [all...]
  /external/chromium_org/remoting/base/
scoped_sc_handle_win.h 16 typedef SC_HANDLE Handle;
18 // Closes the handle.
19 static bool CloseHandle(SC_HANDLE handle) {
20 return ::CloseServiceHandle(handle) != FALSE;
23 // Returns true if the handle value is valid.
24 static bool IsHandleValid(SC_HANDLE handle) {
25 return handle != NULL;
28 // Returns NULL handle value.
  /external/chromium_org/third_party/WebKit/Source/bindings/templates/
callback_interface.h 19 static PassOwnPtr<{{v8_class}}> create(v8::Handle<v8::Function> callback, ScriptState* scriptState)
30 {{v8_class}}(v8::Handle<v8::Function>, ScriptState*);
  /external/chromium_org/third_party/WebKit/Source/platform/exported/
WrappedResourceRequest.h 70 class Handle : public WebURLRequestPrivate {
75 Handle m_handle;
WrappedResourceResponse.h 70 class Handle : public WebURLResponsePrivate {
75 Handle m_handle;
  /external/chromium_org/third_party/mesa/src/src/egl/main/
eglmode.h 48 EGLModeMESA Handle; /* the public/opaque handle which names this mode */
eglscreen.h 57 EGLScreenMESA Handle; /* The public/opaque handle which names this object */
83 * Return the handle of a linked screen.
88 return (screen) ? screen->Handle : (EGLScreenMESA) 0;
  /external/chromium_org/third_party/webrtc/modules/audio_device/android/
low_latency_event.h 46 typedef int Handle;
47 static const Handle kInvalidHandle;
51 // Closes the handle. Returns true on success.
52 static bool Close(Handle* handle);
60 Handle handles_[2];
  /external/mesa3d/src/egl/main/
eglmode.h 48 EGLModeMESA Handle; /* the public/opaque handle which names this mode */
eglscreen.h 57 EGLScreenMESA Handle; /* The public/opaque handle which names this object */
83 * Return the handle of a linked screen.
88 return (screen) ? screen->Handle : (EGLScreenMESA) 0;
  /external/chromium_org/base/win/
scoped_handle.h 31 // - IsValid() method can tolerate multiple invalid handle values such as NULL
38 typedef typename Traits::Handle Handle;
42 explicit GenericScopedHandle(Handle handle) : handle_(Traits::NullHandle()) {
43 Set(handle);
67 void Set(Handle handle) {
68 if (handle_ != handle) {
71 if (Traits::IsHandleValid(handle)) {
    [all...]
scoped_hdc.h 29 // GDI handle exhaustion. In this case Chrome is going to behave badly no
53 typedef HDC Handle;
55 static bool CloseHandle(HDC handle) {
56 return ::DeleteDC(handle) != FALSE;
59 static bool IsHandleValid(HDC handle) {
60 return handle != NULL;
  /art/runtime/
handle.h 29 template<class T> class Handle;
31 // Handles are memory locations that contain GC roots. As the mirror::Object*s within a handle are
34 // of Handle and doesn't support assignment operations.
41 ALWAYS_INLINE ConstHandle(const ConstHandle<T>& handle) : reference_(handle.reference_) {
44 ALWAYS_INLINE ConstHandle<T>& operator=(const ConstHandle<T>& handle) {
45 reference_ = handle.reference_;
80 explicit ConstHandle(const ConstHandle<S>& handle)
81 : reference_(reinterpret_cast<StackReference<T>*>(handle.reference_)) {
102 class Handle : public ConstHandle<T>
    [all...]
  /external/chromium_org/base/
sync_socket.h 28 typedef HANDLE Handle;
30 typedef int Handle;
32 static const Handle kInvalidHandle;
36 // Creates a SyncSocket from a Handle. Used in transport.
37 explicit SyncSocket(Handle handle) : handle_(handle) {}
41 // |socket_a| and |socket_b| must not hold a valid handle. Upon successful
49 // Note it is not safe to send messages from the same socket handle b
77 Handle handle() const { return handle_; } function in class:base::SyncSocket
    [all...]
  /external/chromium_org/gin/
handle.h 12 // You can use gin::Handle on the stack to retain a gin::Wrappable object.
17 class Handle {
19 Handle() : object_(NULL) {}
21 Handle(v8::Handle<v8::Value> wrapper, T* object)
34 v8::Handle<v8::Value> ToV8() const { return wrapper_; }
38 v8::Handle<v8::Value> wrapper_;
43 struct Converter<gin::Handle<T> > {
44 static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate,
45 const gin::Handle<T>& val)
    [all...]
  /external/chromium_org/third_party/skia/include/utils/
SkEventTracer.h 28 typedef uint64_t Handle;
56 virtual SkEventTracer::Handle
70 SkEventTracer::Handle handle) = 0;
  /external/chromium_org/third_party/webrtc/modules/desktop_capture/
shared_memory.h 34 typedef HANDLE Handle;
35 static const Handle kInvalidHandle;
37 typedef int Handle;
38 static const Handle kInvalidHandle;
44 // Platform-specific handle of the buffer.
45 Handle handle() const { return handle_; } function in class:webrtc::SharedMemory
54 SharedMemory(void* data, size_t size, Handle handle, int id)
    [all...]
  /external/chromium_org/ui/surface/
transport_dib.h 27 // Two typedefs are defined. A Handle is the type which can be sent over
32 typedef HANDLE Handle;
35 // 1) Process A creates a transport DIB with HANDLE=1 and sends to B.
38 // is also assigned HANDLE=1.
39 // 4) Process A sends the Handle to B, but B incorrectly believes that it
43 : handle(NULL),
47 HandleAndSequenceNum(HANDLE h, uint32 seq_num)
48 : handle(h),
53 return other.handle == handle && other.sequence_num == sequence_num
63 HANDLE handle; member in struct:TransportDIB::HandleAndSequenceNum
    [all...]
  /external/skia/include/utils/
SkEventTracer.h 28 typedef uint64_t Handle;
56 virtual SkEventTracer::Handle
70 SkEventTracer::Handle handle) = 0;
  /external/chromium_org/chrome/browser/profiles/
off_the_record_profile_io_data.cc 44 OffTheRecordProfileIOData::Handle::Handle(Profile* profile)
52 OffTheRecordProfileIOData::Handle::~Handle() {
58 OffTheRecordProfileIOData::Handle::GetResourceContext() const {
65 OffTheRecordProfileIOData::Handle::GetResourceContextNoInit() const {
74 OffTheRecordProfileIOData::Handle::CreateMainRequestContextGetter(
90 OffTheRecordProfileIOData::Handle::GetExtensionsRequestContextGetter() const {
101 OffTheRecordProfileIOData::Handle::GetIsolatedAppRequestContextGetter(
117 OffTheRecordProfileIOData::Handle::CreateIsolatedAppRequestContextGetter
    [all...]
off_the_record_profile_io_data.h 28 // OffTheRecordProfile owns a OffTheRecordProfileIOData::Handle, which holds a
42 class Handle {
44 explicit Handle(Profile* profile);
45 ~Handle();
102 DISALLOW_COPY_AND_ASSIGN(Handle);
  /external/chromium_org/net/base/
prioritized_dispatcher.h 62 // A handle to the enqueued job. The handle becomes invalid when the job is
64 typedef PriorityQueue<Job*>::Pointer Handle;
76 // started immediately. Returns handle to the job or null-handle if the job is
79 Handle Add(Job* job, Priority priority);
83 Handle AddAtHead(Job* job, Priority priority);
85 // Removes the job with |handle| from the queue. Invalidates |handle|.
86 // Note: a Handle is valid iff the job is in the queue, i.e. has not Started
    [all...]
  /external/chromium_org/net/dns/
host_cache.cc 101 void HostCache::EvictionHandler::Handle(

Completed in 826 milliseconds

1 2 3 4 5