Home
last modified time | relevance | path

Searched refs:GetCurrent (Results 1 – 25 of 164) sorted by relevance

1234567

/external/chromium_org/third_party/WebKit/Source/bindings/v8/
DIDBBindingUtilitiesTest.cpp60 …injectV8KeyIntoV8Value(keyValue.v8Value(), value.v8Value(), idbKeyPath, v8::Isolate::GetCurrent()); in injectKey()
96 : m_handleScope(v8::Isolate::GetCurrent()) in IDBKeyFromValueAndKeyPathTest()
97 , m_scope(v8::Context::New(v8::Isolate::GetCurrent())) in IDBKeyFromValueAndKeyPathTest()
109 …>Set(v8::String::NewFromUtf8(v8::Isolate::GetCurrent(), "foo"), v8::String::NewFromUtf8(v8::Isolat… in TEST_F()
111 ScriptValue scriptValue(object, v8::Isolate::GetCurrent()); in TEST_F()
120 object->Set(v8::String::NewFromUtf8(v8::Isolate::GetCurrent(), "foo"), v8::Number::New(456)); in TEST_F()
122 ScriptValue scriptValue(object, v8::Isolate::GetCurrent()); in TEST_F()
132 …>Set(v8::String::NewFromUtf8(v8::Isolate::GetCurrent(), "bar"), v8::String::NewFromUtf8(v8::Isolat… in TEST_F()
133 object->Set(v8::String::NewFromUtf8(v8::Isolate::GetCurrent(), "foo"), subProperty); in TEST_F()
135 ScriptValue scriptValue(object, v8::Isolate::GetCurrent()); in TEST_F()
[all …]
DScriptProfiler.cpp55 v8::Isolate* isolate = v8::Isolate::GetCurrent(); in setSamplingInterval()
68 v8::Isolate* isolate = v8::Isolate::GetCurrent(); in start()
78 v8::Isolate* isolate = v8::Isolate::GetCurrent(); in stop()
106 v8::Isolate* isolate = v8::Isolate::GetCurrent(); in objectByHeapObjectId()
143 v8::Isolate* isolate = v8::Isolate::GetCurrent(); in getHeapObjectId()
195 v8::Isolate::GetCurrent()->GetHeapProfiler()->StartTrackingHeapObjects(); in startTrackingHeapObjects()
233 return v8::Isolate::GetCurrent()->GetHeapProfiler()->GetHeapStats(&heapStatsStream); in requestHeapStatsUpdate()
238 v8::Isolate::GetCurrent()->GetHeapProfiler()->StopTrackingHeapObjects(); in stopTrackingHeapObjects()
244 v8::Isolate* isolate = v8::Isolate::GetCurrent(); in takeHeapSnapshot()
267 v8::Isolate* isolate = v8::Isolate::GetCurrent(); in initialize()
[all …]
DNPV8Object.cpp69 disposeUnderlyingV8Object(npObject, v8::Isolate::GetCurrent()); in freeV8NPObject()
210 v8::Isolate* isolate = v8::Isolate::GetCurrent(); in _NPN_Invoke()
276 v8::Isolate* isolate = v8::Isolate::GetCurrent(); in _NPN_InvokeDefault()
337 v8::Isolate* isolate = v8::Isolate::GetCurrent(); in _NPN_EvaluateHelper()
373 v8::Isolate* isolate = v8::Isolate::GetCurrent(); in _NPN_GetProperty()
407 v8::Isolate* isolate = v8::Isolate::GetCurrent(); in _NPN_SetProperty()
436 v8::Isolate* isolate = v8::Isolate::GetCurrent(); in _NPN_RemoveProperty()
456 v8::Isolate* isolate = v8::Isolate::GetCurrent(); in _NPN_HasProperty()
479 v8::Isolate* isolate = v8::Isolate::GetCurrent(); in _NPN_HasMethod()
502 throwError(v8GeneralError, message, v8::Isolate::GetCurrent()); in _NPN_SetException()
[all …]
DV8Initializer.cpp88 v8::Isolate* isolate = v8::Isolate::GetCurrent(); in messageHandlerInMainThread()
128 … V8ErrorHandler::storeExceptionOnErrorEventWrapper(event.get(), data, v8::Isolate::GetCurrent()); in messageHandlerInMainThread()
134 Frame* target = findFrame(host, data, v8::Isolate::GetCurrent()); in failedAccessCheckCallbackInMainThread()
139 ExceptionState exceptionState(v8::Handle<v8::Object>(), v8::Isolate::GetCurrent()); in failedAccessCheckCallbackInMainThread()
208 … V8ErrorHandler::storeExceptionOnErrorEventWrapper(event.get(), data, v8::Isolate::GetCurrent()); in messageHandlerInWorker()
DV8PerContextData.h83 : m_context(v8::Isolate::GetCurrent(), context) in V8PerContextDataHolder()
130 …return !boilerplate.isEmpty() ? boilerplate.newLocal(v8::Isolate::GetCurrent())->Clone() : createW… in createWrapperFromCache()
137 return function.newLocal(v8::Isolate::GetCurrent()); in constructorForType()
165 , m_isolate(v8::Isolate::GetCurrent()) in V8PerContextData()
DV8StringResource.h51 v8::Isolate::GetCurrent()->AdjustAmountOfExternalAllocatedMemory(memoryConsumption(string)); in WebCoreStringResourceBase()
62 v8::Isolate::GetCurrent()->AdjustAmountOfExternalAllocatedMemory(memoryConsumption(string)); in WebCoreStringResourceBase()
73 v8::Isolate::GetCurrent()->AdjustAmountOfExternalAllocatedMemory(reducedExternalMemory); in ~WebCoreStringResourceBase()
87 …v8::Isolate::GetCurrent()->AdjustAmountOfExternalAllocatedMemory(memoryConsumption(m_atomicString.… in atomicString()
DScriptValue.h68 m_isolate = v8::Isolate::GetCurrent(); in isolate()
79 v8::Isolate* isolate = v8::Isolate::GetCurrent(); in createNull()
84 v8::Isolate* isolate = v8::Isolate::GetCurrent(); in createBoolean()
DV8Binding.cpp486 v8::Handle<v8::Context> context = v8::Isolate::GetCurrent()->GetCallingContext(); in activeDOMWindow()
491 context = v8::Isolate::GetCurrent()->GetEnteredContext(); in activeDOMWindow()
498 v8::Handle<v8::Context> context = v8::Isolate::GetCurrent()->GetCallingContext(); in activeExecutionContext()
503 context = v8::Isolate::GetCurrent()->GetEnteredContext(); in activeExecutionContext()
510 return toDOMWindow(v8::Isolate::GetCurrent()->GetEnteredContext()); in firstDOMWindow()
515 return toDOMWindow(v8::Isolate::GetCurrent()->GetCurrentContext())->document(); in currentDocument()
545 v8::Local<v8::Context> context = v8::Isolate::GetCurrent()->GetCurrentContext(); in handleOutOfMemory()
640 return v8::Isolate::GetCurrent(); in toIsolate()
/external/chromium_org/ui/gl/
Dscoped_binders.cc13 : state_restorer_(!GLContext::GetCurrent() in ScopedFrameBufferBinder()
15 : GLContext::GetCurrent()->GetGLStateRestorer()), in ScopedFrameBufferBinder()
24 DCHECK(!!GLContext::GetCurrent()); in ~ScopedFrameBufferBinder()
25 DCHECK_EQ(state_restorer_, GLContext::GetCurrent()->GetGLStateRestorer()); in ~ScopedFrameBufferBinder()
33 : state_restorer_(!GLContext::GetCurrent() in ScopedTextureBinder()
35 : GLContext::GetCurrent()->GetGLStateRestorer()), in ScopedTextureBinder()
60 DCHECK(!!GLContext::GetCurrent()); in ~ScopedTextureBinder()
61 DCHECK_EQ(state_restorer_, GLContext::GetCurrent()->GetGLStateRestorer()); in ~ScopedTextureBinder()
Dscoped_make_current.cc15 : previous_context_(gfx::GLContext::GetCurrent()), in ScopedMakeCurrent()
16 previous_surface_(gfx::GLSurface::GetCurrent()), in ScopedMakeCurrent()
/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/
DV8TestCallbackInterface.cpp61 v8::Isolate* isolate = v8::Isolate::GetCurrent(); in voidMethod()
79 v8::Isolate* isolate = v8::Isolate::GetCurrent(); in booleanMethod()
97 v8::Isolate* isolate = v8::Isolate::GetCurrent(); in voidMethodBooleanArg()
121 v8::Isolate* isolate = v8::Isolate::GetCurrent(); in voidMethodSequenceArg()
145 v8::Isolate* isolate = v8::Isolate::GetCurrent(); in voidMethodFloatArg()
169 v8::Isolate* isolate = v8::Isolate::GetCurrent(); in voidMethodTestInterfaceEmptyArg()
193 v8::Isolate* isolate = v8::Isolate::GetCurrent(); in voidMethodTestInterfaceEmptyStringArg()
223 v8::Isolate* isolate = v8::Isolate::GetCurrent(); in callbackWithThisValueVoidMethodStringArg()
/external/chromium_org/third_party/WebKit/Source/web/
DWebBindings.cpp344 return getRangeImpl(range, webRange, v8::Isolate::GetCurrent()); in getRange()
349 return getArrayBufferImpl(arrayBuffer, webArrayBuffer, v8::Isolate::GetCurrent()); in getArrayBuffer()
354 return getArrayBufferViewImpl(arrayBufferView, webArrayBufferView, v8::Isolate::GetCurrent()); in getArrayBufferView()
359 return getNodeImpl(node, webNode, v8::Isolate::GetCurrent()); in getNode()
364 return getElementImpl(element, webElement, v8::Isolate::GetCurrent()); in getElement()
369 return makeIntArrayImpl(data, v8::Isolate::GetCurrent()); in makeIntArray()
374 return makeStringArrayImpl(data, v8::Isolate::GetCurrent()); in makeStringArray()
389 WebCore::convertV8ObjectToNPVariant(object, root, result, v8::Isolate::GetCurrent()); in toNPVariant()
394 v8::Isolate* isolate = v8::Isolate::GetCurrent(); in toV8Value()
DWebTestingSupport.cpp37 v8::HandleScope handleScope(v8::Isolate::GetCurrent()); in injectInternalsObject()
43 v8::HandleScope handleScope(v8::Isolate::GetCurrent()); in resetInternalsObject()
DWebBlob.cpp54 if (V8Blob::hasInstanceInAnyWorld(value, v8::Isolate::GetCurrent())) { in fromV8Value()
84 return toV8(m_private.get(), v8::Handle<v8::Object>(), v8::Isolate::GetCurrent()); in toV8Value()
/external/chromium_org/chrome/renderer/extensions/
Dscoped_persistent.h69 return v8::Isolate::GetCurrent(); in GetIsolate()
74 return v8::Isolate::GetCurrent(); in GetIsolate()
78 return v8::Isolate::GetCurrent(); in GetIsolate()
Dv8_schema_registry.cc58 GetOrCreateContext(v8::Isolate::GetCurrent()), in AsNativeHandler()
68 v8::Isolate* isolate = v8::Isolate::GetCurrent(); in GetSchemas()
85 return maybe_schema->second.newLocal(v8::Isolate::GetCurrent()); in GetSchema()
87 v8::Isolate* isolate = v8::Isolate::GetCurrent(); in GetSchema()
Dchrome_v8_context_set.cc62 ChromeV8Context* ChromeV8ContextSet::GetCurrent() const { in GetCurrent() function in extensions::ChromeV8ContextSet
63 v8::Isolate* isolate = v8::Isolate::GetCurrent(); in GetCurrent()
69 v8::Isolate* isolate = v8::Isolate::GetCurrent(); in GetCalling()
Dobject_backed_native_handler.cc35 return object_template_.NewHandle(v8::Isolate::GetCurrent())->NewInstance(); in NewInstance()
61 v8::Isolate* isolate = v8::Isolate::GetCurrent(); in RouteFunction()
80 v8::Isolate* isolate = v8::Isolate::GetCurrent(); in Invalidate()
/external/chromium_org/third_party/WebKit/Source/core/animation/
DElementAnimationTest.cpp50 return v8::Handle<v8::Value>::Cast(v8String(v8::Isolate::GetCurrent(), string)); in stringToV8Value()
87 v8::Isolate* isolate = v8::Isolate::GetCurrent(); in TEST_F()
153 v8::Isolate* isolate = v8::Isolate::GetCurrent(); in TEST_F()
171 v8::Isolate* isolate = v8::Isolate::GetCurrent(); in TEST_F()
192 v8::Isolate* isolate = v8::Isolate::GetCurrent(); in TEST_F()
/external/chromium_org/ppapi/proxy/
Dppb_message_loop_proxy.cc149 MessageLoopResource* MessageLoopResource::GetCurrent() { in GetCurrent() function in ppapi::proxy::MessageLoopResource
217 PP_Resource GetCurrent() { in GetCurrent() function
219 Resource* resource = MessageLoopResource::GetCurrent(); in GetCurrent()
258 &GetCurrent,
/external/chromium_org/ppapi/cpp/
Dmessage_loop.cc50 MessageLoop MessageLoop::GetCurrent() { in GetCurrent() function in pp::MessageLoop
54 get_interface<PPB_MessageLoop>()->GetCurrent()); in GetCurrent()
/external/chromium_org/third_party/WebKit/Source/core/platform/chromium/support/
DWebArrayBuffer.cpp76 return toV8(m_private.get(), v8::Handle<v8::Object>(), v8::Isolate::GetCurrent()); in toV8Value()
81 if (!V8ArrayBuffer::hasInstanceInAnyWorld(value, v8::Isolate::GetCurrent())) in createFromV8Value()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DPattern.cpp52 … v8::Isolate::GetCurrent()->AdjustAmountOfExternalAllocatedMemory(-m_externalMemoryAllocated); in ~Pattern()
90 v8::Isolate::GetCurrent()->AdjustAmountOfExternalAllocatedMemory(m_externalMemoryAllocated); in shader()
/external/chromium_org/ppapi/tests/
Dtest_message_loop.cc37 pp::MessageLoop::GetCurrent().pp_resource()); in TestBasics()
55 pp::MessageLoop::GetCurrent().PostWork(callback_factory_.NewCallback( in TestPost()
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DScriptProfile.cpp48 v8::HandleScope scope(v8::Isolate::GetCurrent()); in title()
74 v8::HandleScope handleScope(v8::Isolate::GetCurrent()); in buildInspectorObjectFor()

1234567