Searched refs:Handle (Results 1 - 25 of 1127) sorted by relevance

1234567891011>>

/external/chromium_org/v8/src/
H A Dfactory.h17 Handle<Oddball> NewOddball(Handle<Map> map,
19 Handle<Object> to_number,
23 Handle<FixedArray> NewFixedArray(
28 Handle<FixedArray> NewFixedArrayWithHoles(
33 Handle<FixedArray> NewUninitializedFixedArray(int size);
38 Handle<FixedArrayBase> NewFixedDoubleArray(
43 Handle<FixedArrayBase> NewFixedDoubleArrayWithHoles(
47 Handle<ConstantPoolArray> NewConstantPoolArray(
50 Handle<ConstantPoolArra
[all...]
H A Dd8-windows.cc15 void Shell::AddOSMethods(Isolate* isolate, Handle<ObjectTemplate> os_templ) {
H A Dcompilation-cache.h30 Handle<CompilationCacheTable> GetTable(int generation);
33 Handle<CompilationCacheTable> GetFirstTable() {
36 void SetFirstTable(Handle<CompilationCacheTable> value) {
53 void Remove(Handle<SharedFunctionInfo> function_info);
75 Handle<SharedFunctionInfo> Lookup(Handle<String> source,
76 Handle<Object> name,
80 Handle<Context> context);
81 void Put(Handle<String> source,
82 Handle<Contex
[all...]
H A Di18n.h25 static Handle<ObjectTemplateInfo> GetTemplate(Isolate* isolate);
28 static Handle<ObjectTemplateInfo> GetTemplate2(Isolate* isolate);
41 Handle<String> locale,
42 Handle<JSObject> options,
43 Handle<JSObject> resolved);
47 Handle<JSObject> obj);
65 Handle<String> locale,
66 Handle<JSObject> options,
67 Handle<JSObject> resolved);
71 Handle<JSObjec
[all...]
H A Dallocation-site-scopes.h25 Handle<AllocationSite> top() { return top_; }
26 Handle<AllocationSite> current() { return current_; }
28 bool ShouldCreateMemento(Handle<JSObject> object) { return false; }
37 void InitializeTraversal(Handle<AllocationSite> site) {
39 current_ = Handle<AllocationSite>(*top_, isolate());
44 Handle<AllocationSite> top_;
45 Handle<AllocationSite> current_;
56 Handle<AllocationSite> EnterNewScope();
57 void ExitScope(Handle<AllocationSite> site, Handle<JSObjec
[all...]
H A Dliveedit.h48 void RecordFunctionInfo(Handle<SharedFunctionInfo> info,
50 void RecordRootFunctionInfo(Handle<Code> code);
82 Handle<Script> script,
83 Handle<String> source);
85 static void WrapSharedFunctionInfos(Handle<JSArray> array);
87 static void ReplaceFunctionCode(Handle<JSArray> new_compile_info_array,
88 Handle<JSArray> shared_info_array);
90 static void FunctionSourceUpdated(Handle<JSArray> shared_info_array);
93 static void SetFunctionScript(Handle<JSValue> function_wrapper,
94 Handle<Objec
[all...]
H A Dstub-cache.h57 Handle<JSObject> StubHolder(Handle<JSObject> receiver,
58 Handle<JSObject> holder);
60 Handle<Code> FindIC(Handle<Name> name,
61 Handle<Map> stub_holder_map,
66 Handle<Code> FindHandler(Handle<Name> name,
67 Handle<Map> map,
72 Handle<Cod
[all...]
H A Delements.h28 virtual void Validate(Handle<JSObject> obj) = 0;
36 Handle<Object> receiver,
37 Handle<JSObject> holder,
39 Handle<FixedArrayBase> backing_store) = 0;
42 Handle<Object> receiver,
43 Handle<JSObject> holder,
54 Handle<Object> receiver,
55 Handle<JSObject> holder,
57 Handle<FixedArrayBase> backing_store) = 0;
60 Handle<Objec
[all...]
H A Dfactory.cc16 Handle<T> Factory::New(Handle<Map> map, AllocationSpace space) {
25 Handle<T> Factory::New(Handle<Map> map,
27 Handle<AllocationSite> allocation_site) {
35 Handle<HeapObject> Factory::NewFillerObject(int size,
45 Handle<Box> Factory::NewBox(Handle<Object> value) {
46 Handle<Box> result = Handle<Bo
[all...]
H A Dmessages.h25 v8::internal::Handle<v8::internal::JSArray> args,
29 v8::internal::Handle<v8::internal::JSArray> args() const { return args_; }
33 v8::internal::Handle<v8::internal::JSArray> const args_;
46 MessageLocation(Handle<Script> script,
54 Handle<Script> script() const { return script_; }
59 Handle<Script> script_;
70 static Handle<JSMessageObject> MakeMessageObject(
74 Vector< Handle<Object> > args,
75 Handle<JSArray> stack_frames);
80 Handle<Objec
[all...]
/external/chromium_org/third_party/WebKit/Source/core/animation/
H A DAnimationTestHelper.h13 v8::Handle<v8::Value> stringToV8Value(String);
15 v8::Handle<v8::Value> doubleToV8Value(double);
17 void setV8ObjectPropertyAsString(v8::Handle<v8::Object>, String, String);
19 void setV8ObjectPropertyAsNumber(v8::Handle<v8::Object>, String, double);
/external/chromium_org/third_party/webrtc/modules/desktop_capture/
H A Dshared_memory.h34 typedef HANDLE Handle; typedef in class:webrtc::SharedMemory
35 static const Handle kInvalidHandle;
37 typedef int Handle;
38 static const Handle kInvalidHandle;
45 Handle handle() const { return handle_; }
54 SharedMemory(void* data, size_t size, Handle handle, int id);
58 const Handle handle_;
H A Dshared_memory.cc16 const SharedMemory::Handle SharedMemory::kInvalidHandle = NULL;
18 const SharedMemory::Handle SharedMemory::kInvalidHandle = -1;
21 SharedMemory::SharedMemory(void* data, size_t size, Handle handle, int id)
/external/chromium_org/mojo/bindings/js/
H A Dhandle.cc12 : handle_(mojo::Handle(handle)) {
18 v8::Handle<v8::Value> Converter<mojo::Handle>::ToV8(v8::Isolate* isolate,
19 const mojo::Handle& val) {
25 bool Converter<mojo::Handle>::FromV8(v8::Isolate* isolate,
26 v8::Handle<v8::Value> val,
27 mojo::Handle* out) {
29 *out = mojo::Handle();
33 gin::Handle<HandleWrapper> handle;
34 if (!Converter<gin::Handle<HandleWrappe
[all...]
H A Dhandle.h15 // Wrapper for mojo Handles exposed to JavaScript. This ensures the Handle
21 static gin::Handle<HandleWrapper> Create(v8::Isolate* isolate,
26 mojo::Handle get() const { return handle_.get(); }
27 mojo::Handle release() { return handle_.release(); }
39 // TODO(mpcomplete): define converters for all Handle subtypes.
41 struct Converter<mojo::Handle> {
42 static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate,
43 const mojo::Handle& val);
44 static bool FromV8(v8::Isolate* isolate, v8::Handle<v8::Value> val,
45 mojo::Handle* ou
[all...]
/external/chromium_org/gin/
H A Dconverter.cc13 using v8::Handle;
23 Handle<Value> Converter<bool>::ToV8(Isolate* isolate, bool val) {
27 bool Converter<bool>::FromV8(Isolate* isolate, Handle<Value> val, bool* out) {
32 Handle<Value> Converter<int32_t>::ToV8(Isolate* isolate, int32_t val) {
36 bool Converter<int32_t>::FromV8(Isolate* isolate, Handle<Value> val,
44 Handle<Value> Converter<uint32_t>::ToV8(Isolate* isolate, uint32_t val) {
48 bool Converter<uint32_t>::FromV8(Isolate* isolate, Handle<Value> val,
56 Handle<Value> Converter<int64_t>::ToV8(Isolate* isolate, int64_t val) {
60 bool Converter<int64_t>::FromV8(Isolate* isolate, Handle<Value> val,
70 Handle<Valu
[all...]
H A Dhandle.h12 // You can use gin::Handle on the stack to retain a gin::Wrappable object.
17 class Handle { class in namespace:gin
19 Handle() : object_(NULL) {} function in class:gin::Handle
21 Handle(v8::Handle<v8::Value> wrapper, T* object) function in class:gin::Handle
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<
[all...]
H A Dconverter.h22 static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate,
25 v8::Handle<v8::Value> val,
31 static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate,
34 v8::Handle<v8::Value> val,
40 static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate,
43 v8::Handle<v8::Value> val,
50 static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate,
53 v8::Handle<v8::Value> val,
60 static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate,
63 v8::Handle<v
[all...]
/external/chromium_org/mojo/public/cpp/utility/
H A Drun_loop_handler.h16 virtual void OnHandleReady(const Handle& handle) = 0;
17 virtual void OnHandleError(const Handle& handle, MojoResult result) = 0;
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
H A DCustomElementWrapper.h34 #include "platform/heap/Handle.h"
48 friend v8::Handle<v8::Object> createV8HTMLWrapper(HTMLElement*, v8::Handle<v8::Object>, v8::Isolate*);
49 friend v8::Handle<v8::Object> createV8SVGWrapper(SVGElement*, v8::Handle<v8::Object>, v8::Isolate*);
51 static v8::Handle<v8::Object> wrap(PassRefPtrWillBeRawPtr<ElementType>, v8::Handle<v8::Object> creationContext, v8::Isolate*, v8::Handle<v8::Object> (*createSpecificWrapper)(ElementType* element, v8::Handle<v8::Object> creationContext, v8::Isolate*));
H A DV8ThrowException.h44 static v8::Handle<v8::Value> createDOMException(int ec, const String& message, const v8::Handle<v8::Object>& creationContext, v8::Isolate* isolate)
48 static v8::Handle<v8::Value> createDOMException(int, const String& sanitizedMessage, const String& unsanitizedMessage, const v8::Handle<v8::Object>& creationContext, v8::Isolate*);
50 static v8::Handle<v8::Value> throwDOMException(int ec, const String& message, const v8::Handle<v8::Object>& creationContext, v8::Isolate* isolate)
54 static v8::Handle<v8::Value> throwDOMException(int, const String& sanitizedMessage, const String& unsanitizedMessage, const v8::Handle<v8::Object>& creationContext, v8::Isolate*);
56 static v8::Handle<v8::Value> createError(V8ErrorType, const String&, v8::Isolate*);
57 static v8::Handle<v
[all...]
H A DV8ScriptRunner.h46 static v8::Local<v8::Script> compileScript(v8::Handle<v8::String>, const String& fileName, const TextPosition&, ScriptResource*, v8::Isolate*, AccessControlStatus = SharableCrossOrigin);
47 static v8::Local<v8::Value> runCompiledScript(v8::Handle<v8::Script>, ExecutionContext*, v8::Isolate*);
48 static v8::Local<v8::Value> compileAndRunInternalScript(v8::Handle<v8::String>, v8::Isolate*, const String& = String(), const TextPosition& = TextPosition());
49 static v8::Local<v8::Value> callInternalFunction(v8::Handle<v8::Function>, v8::Handle<v8::Value> receiver, int argc, v8::Handle<v8::Value> info[], v8::Isolate*);
50 static v8::Local<v8::Value> callFunction(v8::Handle<v8::Function>, ExecutionContext*, v8::Handle<v8::Value> receiver, int argc, v8::Handle<v8::Value> info[], v8::Isolate*);
51 static v8::Local<v8::Value> callAsFunction(v8::Isolate*, v8::Handle<v
[all...]
/external/chromium_org/third_party/leveldatabase/src/include/leveldb/
H A Dcache.h41 struct Handle { }; struct in class:leveldb::Cache
52 virtual Handle* Insert(const Slice& key, void* value, size_t charge,
60 virtual Handle* Lookup(const Slice& key) = 0;
65 virtual void Release(Handle* handle) = 0;
71 virtual void* Value(Handle* handle) = 0;
85 void LRU_Remove(Handle* e);
86 void LRU_Append(Handle* e);
87 void Unref(Handle* e);
/external/chromium_org/v8/include/
H A Dv8-debug.h62 virtual Handle<Object> GetExecutionState() const = 0;
63 virtual Handle<Object> GetEventData() const = 0;
68 virtual Handle<String> GetJSON() const = 0;
75 virtual Handle<Context> GetEventContext() const = 0;
106 virtual Handle<Object> GetExecutionState() const = 0;
107 virtual Handle<Object> GetEventData() const = 0;
114 virtual Handle<Context> GetEventContext() const = 0;
120 virtual Handle<Value> GetCallbackData() const = 0;
158 Handle<Value> data = Handle<Valu
[all...]
/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DJavaScriptCallFrame.cpp40 JavaScriptCallFrame::JavaScriptCallFrame(v8::Handle<v8::Context> debuggerContext, v8::Handle<v8::Object> callFrame)
56 v8::Handle<v8::Context> debuggerContext = m_debuggerContext.newLocal(m_isolate);
58 v8::Handle<v8::Value> callerFrame = m_callFrame.newLocal(m_isolate)->Get(v8AtomicString(m_isolate, "caller"));
61 m_caller = JavaScriptCallFrame::create(debuggerContext, v8::Handle<v8::Object>::Cast(callerFrame));
69 v8::Handle<v8::Object> callFrame = m_callFrame.newLocal(m_isolate);
70 v8::Handle<v8::Function> func = v8::Handle<v8::Function>::Cast(callFrame->Get(v8AtomicString(m_isolate, name)));
71 v8::Handle<v8::Value> result = func->Call(callFrame, 0, 0);
80 v8::Handle<v
[all...]

Completed in 595 milliseconds

1234567891011>>