Home
last modified time | relevance | path

Searched refs:GetCurrentContext (Results 1 – 25 of 28) sorted by relevance

12

/external/pdfium/fxjs/
Dfxjs_v8.cpp258 pIsolate->GetCurrentContext()->GetAlignedPointerFromEmbedderData( in CurrentEngineFromIsolate()
471 v8::Local<v8::Context> context = m_isolate->GetCurrentContext(); in Execute()
496 v8::Local<v8::Context> context = m_isolate->GetCurrentContext(); in NewFxDynamicObj()
535 v8::Local<v8::Context> context = m_isolate->GetCurrentContext(); in GetThisObj()
563 v8::Local<v8::Context> context = m_isolate->GetCurrentContext(); in GetObjectPrivate()
578 if (!pObj->Get(m_isolate->GetCurrentContext(), in GetObjectProperty()
591 v8::Local<v8::Context> context = m_isolate->GetCurrentContext(); in GetObjectPropertyNames()
608 pObj->Set(m_isolate->GetCurrentContext(), in PutObjectProperty()
623 if (pArray->Set(m_isolate->GetCurrentContext(), index, pValue).IsNothing()) in PutArrayElement()
633 if (!pArray->Get(m_isolate->GetCurrentContext(), index).ToLocal(&val)) in GetArrayElement()
[all …]
Dcfxjse_value.cpp217 ->HasOwnProperty(m_pIsolate->GetCurrentContext(), hKey) in HasObjectOwnProperty()
234 m_pIsolate->GetCurrentContext(), in SetObjectOwnProperty()
267 hBinderFunc->Call(m_pIsolate->GetCurrentContext()->Global(), 2, rgArgs); in SetFunctionBind()
315 hFunctionObject->CallAsConstructor(m_pIsolate->GetCurrentContext(), in Call()
328 m_pIsolate->GetCurrentContext(), hReceiver, nArgCount, lpLocalArgs); in Call()
Dcfxjse_context.cpp141 hMessage->GetStartColumn(pIsolate->GetCurrentContext()); in FXJSE_CreateReturnValue()
143 maybe_int = hMessage->GetEndColumn(pIsolate->GetCurrentContext()); in FXJSE_CreateReturnValue()
Dcfxjse_class.cpp123 ->ObjectProtoToString(info.GetIsolate()->GetCurrentContext()) in Context_GlobalObjToString()
176 v8::Function::New(pValue->GetIsolate()->GetCurrentContext(), in DynPropGetterAdapter()
/external/v8/src/extensions/
Dstatistics-extension.cc30 object->Set(isolate->GetCurrentContext(), in AddCounter()
41 ->Set(isolate->GetCurrentContext(), in AddNumber()
53 object->Set(isolate->GetCurrentContext(), in AddNumber64()
68 ->BooleanValue(args.GetIsolate()->GetCurrentContext()) in GetCounters()
Dgc-extension.cc22 ->BooleanValue(args.GetIsolate()->GetCurrentContext()) in GC()
Dexternalize-string-extension.cc73 ->BooleanValue(args.GetIsolate()->GetCurrentContext()) in Externalize()
/external/v8/src/inspector/
Dv8-injected-script-host.cc108 isolate->GetCurrentContext(), v8::Local<v8::Object>::Cast(value)); in subtypeCallback()
194 ->internalProperties(isolate->GetCurrentContext(), info[0]) in getInternalPropertiesCallback()
200 v8::Local<v8::Context> context = isolate->GetCurrentContext(); in getInternalPropertiesCallback()
239 ->HasOwnProperty(info.GetIsolate()->GetCurrentContext(), in objectHasOwnPropertyCallback()
253 v8::Local<v8::Context> context = info.GetIsolate()->GetCurrentContext(); in bindCallback()
Dinjected-script-native.cc24 injectedScriptHost->SetPrivate(m_isolate->GetCurrentContext(), privateKey, in setOnInjectedScriptHost()
31 v8::Local<v8::Context> context = isolate->GetCurrentContext(); in fromInjectedScriptHost()
Dv8-debugger.cc41 v8::Local<v8::Context> context = m_isolate->GetCurrentContext(); in callDebuggerMethod()
291 if (!v8::Function::New(m_isolate->GetCurrentContext(), in breakProgram()
380 v8::Local<v8::Context> context = m_isolate->GetCurrentContext(); in setScriptSource()
477 thisPtr->m_isolate->GetCurrentContext(); in breakProgramCallback()
548 ->Get(m_isolate->GetCurrentContext(), in callInternalGetterFunction()
553 ->Call(m_isolate->GetCurrentContext(), object, 0, nullptr) in callInternalGetterFunction()
864 m_isolate->InContext() ? getGroupId(m_isolate->GetCurrentContext()) : 0; in createStackTrace()
909 m_isolate->InContext() ? getGroupId(m_isolate->GetCurrentContext()) : 0; in asyncTaskScheduled()
976 int contextGroupId = getGroupId(m_isolate->GetCurrentContext()); in captureStackTrace()
Dv8-console.cc36 m_context(info.GetIsolate()->GetCurrentContext()), in ConsoleHelper()
480 info.GetIsolate()->GetCurrentContext()) in memoryGetterCallback()
502 if (!obj->GetOwnPropertyNames(isolate->GetCurrentContext()).ToLocal(&names)) in keysCallback()
516 v8::Local<v8::Context> context = isolate->GetCurrentContext(); in valuesCallback()
652 info.GetReturnValue().Set(object->get(isolate->GetCurrentContext())); in inspectedObject()
832 v8::Local<v8::Context> context = info.GetIsolate()->GetCurrentContext(); in accessorGetterCallback()
861 v8::Local<v8::Context> context = info.GetIsolate()->GetCurrentContext(); in accessorSetterCallback()
Dv8-console-message.cc115 if (object->ObjectProtoToString(m_isolate->GetCurrentContext()) in append()
120 if (!value->ToString(m_isolate->GetCurrentContext()).ToLocal(&stringValue)) in append()
/external/v8/src/wasm/
Dwasm-js.cc144 Local<Context> context = isolate->GetCurrentContext(); in WebAssemblyCompile()
205 Local<Context> context = isolate->GetCurrentContext(); in WebAssemblyInstance()
284 Local<Context> context = isolate->GetCurrentContext(); in WebAssemblyTable()
343 Local<Context> context = isolate->GetCurrentContext(); in WebAssemblyMemory()
381 Local<Context> context = isolate->GetCurrentContext(); in WebAssemblyTableGetLength()
396 Local<Context> context = isolate->GetCurrentContext(); in WebAssemblyTableGrow()
438 Local<Context> context = isolate->GetCurrentContext(); in WebAssemblyTableGet()
467 Local<Context> context = isolate->GetCurrentContext(); in WebAssemblyTableSet()
518 Local<Context> context = isolate->GetCurrentContext(); in WebAssemblyMemoryGrow()
566 Local<Context> context = isolate->GetCurrentContext(); in WebAssemblyMemoryGetBuffer()
/external/v8/src/runtime/
Druntime-test.cc305 if (!desc->NewInstance(v8_isolate->GetCurrentContext()).ToLocal(&obj)) { in RUNTIME_FUNCTION()
313 ->NumberValue(v8::Isolate::GetCurrent()->GetCurrentContext()) in call_as_function()
316 ->NumberValue(v8::Isolate::GetCurrent()->GetCurrentContext()) in call_as_function()
331 v8_isolate->GetCurrentContext(); in RUNTIME_FUNCTION()
333 t->GetFunction(v8_isolate->GetCurrentContext()) in RUNTIME_FUNCTION()
335 ->NewInstance(v8_isolate->GetCurrentContext()) in RUNTIME_FUNCTION()
/external/v8/src/
Dd8-posix.cc182 command_args->Get(isolate->GetCurrentContext(), in Init()
227 ->Int32Value(args.GetIsolate()->GetCurrentContext()) in GetTimeouts()
240 ->Int32Value(args.GetIsolate()->GetCurrentContext()) in GetTimeouts()
581 args[0]->Int32Value(args.GetIsolate()->GetCurrentContext()).FromJust()); in SetUMask()
652 ->Int32Value(args.GetIsolate()->GetCurrentContext()) in MakeDirectory()
Dd8.cc431 Local<Context> context(isolate->GetCurrentContext()); in CompileString()
751 ->Int32Value(args.GetIsolate()->GetCurrentContext()) in RealmIndexOrThrow()
794 ->ToObject(isolate->GetCurrentContext()) in RealmOwner()
894 args[1]->ToString(isolate->GetCurrentContext()).ToLocalChecked()); in RealmEval()
944 if (!arg->ToString(args.GetIsolate()->GetCurrentContext()) in WriteToFile()
1099 Local<Context> context = isolate->GetCurrentContext(); in WorkerPostMessage()
1180 ->Int32Value(args->GetIsolate()->GetCurrentContext()) in QuitOnce()
1220 Maybe<int> maybeline = message->GetLineNumber(isolate->GetCurrentContext()); in ReportException()
1224 if (message->GetSourceLine(isolate->GetCurrentContext()) in ReportException()
1232 message->GetStartColumn(isolate->GetCurrentContext()).FromJust(); in ReportException()
[all …]
Dapi.cc174 ->GetCurrentContext(); in ContextFromHeapObject()
2110 auto context = v8_isolate->GetCurrentContext(); in Compile()
2350 auto context = v8_isolate->GetCurrentContext(); in Compile()
2511 auto context = reinterpret_cast<v8::Isolate*>(isolate_)->GetCurrentContext(); in StackTrace()
3414 RETURN_TO_LOCAL_UNCHECKED(ToString(isolate->GetCurrentContext()), String); in ToString()
3430 RETURN_TO_LOCAL_UNCHECKED(ToDetailString(isolate->GetCurrentContext()), in ToDetailString()
3448 RETURN_TO_LOCAL_UNCHECKED(ToObject(isolate->GetCurrentContext()), Object); in ToObject()
3462 return ToBoolean(v8_isolate->GetCurrentContext()).ToLocalChecked(); in ToBoolean()
3478 RETURN_TO_LOCAL_UNCHECKED(ToNumber(isolate->GetCurrentContext()), Number); in ToNumber()
3495 RETURN_TO_LOCAL_UNCHECKED(ToInteger(isolate->GetCurrentContext()), Integer); in ToInteger()
[all …]
/external/v8/samples/
Dshell.cc223 args[0]->Int32Value(args.GetIsolate()->GetCurrentContext()).FromMaybe(0); in Quit()
344 v8::Local<v8::Context> context(isolate->GetCurrentContext()); in ExecuteString()
386 v8::Local<v8::Context> context(isolate->GetCurrentContext()); in ReportException()
Dprocess.cc219 Local<Context> context(GetIsolate()->GetCurrentContext()); in ExecuteScript()
341 templ->NewInstance(GetIsolate()->GetCurrentContext()).ToLocalChecked(); in WrapMap()
455 templ->NewInstance(GetIsolate()->GetCurrentContext()).ToLocalChecked(); in WrapRequest()
/external/libmojo/mojo/edk/js/
Dwaiting_callback.cc57 v8::Handle<v8::Context> context = isolate->GetCurrentContext(); in WaitingCallback()
Ddrain_data.cc24 v8::Handle<v8::Context> context(isolate_->GetCurrentContext()); in DrainData()
/external/swiftshader/src/OpenGL/libEGL/
Dmain.cpp348 EGLContext GetCurrentContext(void);
497 return egl::GetCurrentContext(); in eglGetCurrentContext()
613 this->eglGetCurrentContext = egl::GetCurrentContext; in LibEGLexports()
/external/pdfium/fpdfsdk/javascript/
DJS_Value.cpp139 m_pValue->ToNumber(pIsolate->GetCurrentContext()); in MaybeCoerceToNumber()
662 v8::Local<v8::Context> context = pIsolate->GetCurrentContext(); in JS_DateParse()
/external/v8/include/
Dv8.h6694 Local<Context> GetCurrentContext();
9083 return ToBoolean(Isolate::GetCurrent()->GetCurrentContext())
9089 return ToNumber(Isolate::GetCurrent()->GetCurrentContext())
9095 return ToString(Isolate::GetCurrent()->GetCurrentContext())
9101 return ToDetailString(Isolate::GetCurrent()->GetCurrentContext())
9107 return ToObject(Isolate::GetCurrent()->GetCurrentContext())
9113 return ToInteger(Isolate::GetCurrent()->GetCurrentContext())
9119 return ToUint32(Isolate::GetCurrent()->GetCurrentContext())
9125 return ToInt32(Isolate::GetCurrent()->GetCurrentContext())
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
Dglx_api.c100 GetCurrentContext(void) in GetCurrentContext() function
1218 return GetCurrentContext(); in glXGetCurrentContext()

12