Home
last modified time | relevance | path

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

12

/external/v8/src/debug/
Ddebug-stack-trace-iterator.cc79 v8::MaybeLocal<v8::Value> DebugStackTraceIterator::GetReceiver() const { in GetReceiver()
90 if (!context->IsFunctionContext()) return v8::MaybeLocal<v8::Value>(); in GetReceiver()
97 return v8::MaybeLocal<v8::Value>(); in GetReceiver()
106 if (slot_index < 0) return v8::MaybeLocal<v8::Value>(); in GetReceiver()
108 if (value->IsTheHole(isolate_)) return v8::MaybeLocal<v8::Value>(); in GetReceiver()
115 return v8::MaybeLocal<v8::Value>(); in GetReceiver()
172 v8::MaybeLocal<v8::Value> DebugStackTraceIterator::Evaluate( in Evaluate()
182 return v8::MaybeLocal<v8::Value>(); in Evaluate()
Ddebug-interface.h50 MaybeLocal<Array> GetInternalProperties(Isolate* isolate, Local<Value> value);
119 MaybeLocal<String> Name() const;
120 MaybeLocal<String> SourceURL() const;
121 MaybeLocal<String> SourceMappingURL() const;
123 MaybeLocal<String> Source() const;
154 MaybeLocal<UnboundScript> CompileInspectorScript(Isolate* isolate,
217 v8::MaybeLocal<debug::Script> Script();
281 MaybeLocal<String> Name() const;
347 std::vector<MaybeLocal<String>> Types() const;
441 virtual v8::MaybeLocal<v8::Value> GetReceiver() const = 0;
[all …]
Ddebug-stack-trace-iterator.h24 v8::MaybeLocal<v8::Value> GetReceiver() const override;
33 v8::MaybeLocal<v8::Value> Evaluate(v8::Local<v8::String> source,
/external/v8/src/inspector/
Dv8-debugger.cc27 v8::MaybeLocal<v8::Array> collectionsEntries(v8::Local<v8::Context> context, in collectionsEntries()
34 return v8::MaybeLocal<v8::Array>(); in collectionsEntries()
41 return v8::MaybeLocal<v8::Array>(); in collectionsEntries()
62 return v8::MaybeLocal<v8::Array>(); in collectionsEntries()
67 v8::MaybeLocal<v8::Object> buildLocation(v8::Local<v8::Context> context, in buildLocation()
71 return v8::MaybeLocal<v8::Object>(); in buildLocation()
74 return v8::MaybeLocal<v8::Object>(); in buildLocation()
79 return v8::MaybeLocal<v8::Object>(); in buildLocation()
85 return v8::MaybeLocal<v8::Object>(); in buildLocation()
91 return v8::MaybeLocal<v8::Object>(); in buildLocation()
[all …]
Dv8-debugger.h98 v8::MaybeLocal<v8::Array> internalProperties(v8::Local<v8::Context>,
154 v8::MaybeLocal<v8::Value> getTargetScopes(v8::Local<v8::Context>,
158 v8::MaybeLocal<v8::Value> functionScopes(v8::Local<v8::Context>,
160 v8::MaybeLocal<v8::Value> generatorScopes(v8::Local<v8::Context>,
Dv8-inspector-impl.h68 v8::MaybeLocal<v8::Value> compileAndRunInternalScript(v8::Local<v8::Context>,
70 v8::MaybeLocal<v8::Script> compileScript(v8::Local<v8::Context>,
81 v8::MaybeLocal<v8::Context> contextById(int groupId,
Dv8-inspector-impl.cc84 v8::MaybeLocal<v8::Value> V8InspectorImpl::compileAndRunInternalScript( in compileAndRunInternalScript()
89 return v8::MaybeLocal<v8::Value>(); in compileAndRunInternalScript()
97 v8::MaybeLocal<v8::Script> V8InspectorImpl::compileScript( in compileScript()
191 v8::MaybeLocal<v8::Context> V8InspectorImpl::contextById( in contextById()
196 return context.IsEmpty() ? v8::MaybeLocal<v8::Context>() : context; in contextById()
199 return context ? context->context() : v8::MaybeLocal<v8::Context>(); in contextById()
Dinjected-script.h92 v8::MaybeLocal<v8::Value> value,
108 v8::MaybeLocal<v8::Value> maybeResultValue, const v8::TryCatch&,
Dv8-runtime-agent-impl.cc91 v8::MaybeLocal<v8::Value> maybeResultValue, in wrapEvaluateResultAsync()
143 v8::MaybeLocal<v8::Value> maybeFunctionValue; in innerCallFunctionOn()
175 v8::MaybeLocal<v8::Value> maybeResultValue; in innerCallFunctionOn()
262 v8::MaybeLocal<v8::Value> maybeResultValue; in evaluate()
565 v8::MaybeLocal<v8::Value> maybeResultValue; in runScript()
Dv8-function-call.cc103 v8::MaybeLocal<v8::Value> maybeResult = function->Call( in callWithoutExceptionHandling()
Dv8-console.cc130 v8::MaybeLocal<v8::Object> firstArgAsObject() { in firstArgAsObject()
132 return v8::MaybeLocal<v8::Object>(); in firstArgAsObject()
136 v8::MaybeLocal<v8::Function> firstArgAsFunction() { in firstArgAsFunction()
138 return v8::MaybeLocal<v8::Function>(); in firstArgAsFunction()
Dinjected-script.cc440 V8InspectorSessionImpl* session, v8::MaybeLocal<v8::Value> value, in addPromiseCallback()
609 v8::MaybeLocal<v8::Value> maybeResultValue, const v8::TryCatch& tryCatch, in wrapEvaluateResult()
/external/v8/include/
Dv8.h116 class MaybeLocal; variable
411 friend class MaybeLocal;
456 class MaybeLocal {
458 V8_INLINE MaybeLocal() : val_(nullptr) {}
460 V8_INLINE MaybeLocal(Local<S> that)
1036 V8_INLINE MaybeLocal<T> EscapeMaybe(MaybeLocal<T> value) {
1310 typedef MaybeLocal<Module> (*ResolveCallback)(Local<Context> context,
1332 V8_WARN_UNUSED_RESULT MaybeLocal<Value> Evaluate(Local<Context> context);
1359 static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile(
1368 V8_WARN_UNUSED_RESULT MaybeLocal<Value> Run(Local<Context> context);
[all …]
Dv8-inspector.h199 virtual v8::MaybeLocal<v8::Value> memoryInfo(v8::Isolate*, in memoryInfo()
201 return v8::MaybeLocal<v8::Value>(); in memoryInfo()
248 virtual v8::MaybeLocal<v8::Context> contextById(int groupId,
DAPIDesign.md50 indicate so by returning a v8::Maybe&lt;&gt; or v8::MaybeLocal&lt;&gt; result,
/external/pdfium/fxjs/
Dcjs_v8.cpp147 v8::MaybeLocal<v8::Int32> maybe_int32 = pValue->ToInt32(context); in ToInt32()
157 v8::MaybeLocal<v8::Boolean> maybe_boolean = pValue->ToBoolean(context); in ToBoolean()
167 v8::MaybeLocal<v8::Number> maybe_number = pValue->ToNumber(context); in ToDouble()
177 v8::MaybeLocal<v8::String> maybe_string = pValue->ToString(context); in ToWideString()
188 v8::MaybeLocal<v8::String> maybe_string = pValue->ToString(context); in ToByteString()
Dcjs_runtime.cpp282 v8::MaybeLocal<v8::Number> maybeNum = in MaybeCoerceToNumber()
Dcfxjse_class.cpp90 v8::MaybeLocal<v8::String> str = v8::String::NewFromUtf8( in DynPropGetterAdapter_MethodCallback()
/external/v8/src/
Dd8.h298 inline MaybeLocal<Function> GetTimeoutCallback();
299 inline MaybeLocal<Context> GetTimeoutContext();
422 static MaybeLocal<Value> DeserializeValue(
512 static MaybeLocal<Promise> HostImportModuleDynamically(
570 static MaybeLocal<Context> CreateRealm(
572 v8::MaybeLocal<Value> global_object);
575 static MaybeLocal<Module> FetchModuleTree(v8::Local<v8::Context> context,
Dapi.cc141 return MaybeLocal<T>(); \
159 MaybeLocal<T>(), InternalEscapableScope, \
204 EXCEPTION_BAILOUT_CHECK_SCOPED_DO_NOT_USE(isolate, MaybeLocal<T>())
1448 MaybeLocal<FunctionTemplate> FunctionTemplate::FromSnapshot(Isolate* isolate, in FromSnapshot()
1663 MaybeLocal<ObjectTemplate> ObjectTemplate::FromSnapshot(Isolate* isolate, in FromSnapshot()
2124 MaybeLocal<Value> Script::Run(Local<Context> context) { in Run()
2127 ENTER_V8(isolate, context, Script, Run, MaybeLocal<Value>(), in Run()
2309 MaybeLocal<Value> Module::Evaluate(Local<Context> context) { in Evaluate()
2312 ENTER_V8(isolate, context, Module, Evaluate, MaybeLocal<Value>(), in Evaluate()
2359 MaybeLocal<UnboundScript> ScriptCompiler::CompileUnboundInternal( in CompileUnboundInternal()
[all …]
Dd8.cc516 MaybeLocal<Value> maybe_result; in ExecuteString()
523 MaybeLocal<Script> maybe_script; in ExecuteString()
724 MaybeLocal<Module> ResolveModuleCallback(Local<Context> context, in ResolveModuleCallback()
741 MaybeLocal<Module> Shell::FetchModuleTree(Local<Context> context, in FetchModuleTree()
749 return MaybeLocal<Module>(); in FetchModuleTree()
759 return MaybeLocal<Module>(); in FetchModuleTree()
778 return MaybeLocal<Module>(); in FetchModuleTree()
806 MaybeLocal<Promise> Shell::HostImportModuleDynamically( in HostImportModuleDynamically()
811 MaybeLocal<Promise::Resolver> maybe_resolver = in HostImportModuleDynamically()
822 return MaybeLocal<Promise>(); in HostImportModuleDynamically()
[all …]
Dasync-hooks-wrapper.cc254 MaybeLocal<Value> result; in PromiseHookDispatch()
/external/v8/samples/
Dshell.cc59 v8::MaybeLocal<v8::String> ReadFile(v8::Isolate* isolate, const char* name);
237 v8::MaybeLocal<v8::String> ReadFile(v8::Isolate* isolate, const char* name) { in ReadFile()
239 if (file == NULL) return v8::MaybeLocal<v8::String>(); in ReadFile()
251 return v8::MaybeLocal<v8::String>(); in ReadFile()
255 v8::MaybeLocal<v8::String> result = v8::String::NewFromUtf8( in ReadFile()
Dprocess.cc51 using v8::MaybeLocal;
645 MaybeLocal<String> ReadFile(Isolate* isolate, const string& name) { in ReadFile()
647 if (file == NULL) return MaybeLocal<String>(); in ReadFile()
659 return MaybeLocal<String>(); in ReadFile()
663 MaybeLocal<String> result = String::NewFromUtf8( in ReadFile()
/external/v8/src/wasm/
Dwasm-js.cc48 void Abort(MaybeLocal<Value> exception) { in Abort()
80 void WasmStreaming::Abort(MaybeLocal<Value> exception) { in Abort()
609 MaybeLocal<Value> WebAssemblyInstantiateImpl(Isolate* isolate, in WebAssemblyInstantiateImpl()
835 v8::MaybeLocal<v8::Value> maybe = object->Get(context, property); in GetIntegerProperty()
876 v8::MaybeLocal<v8::Value> maybe = in WebAssemblyTable()
956 v8::MaybeLocal<v8::Value> maybe = descriptor->Get(context, shared_key); in WebAssemblyMemory()
1012 v8::MaybeLocal<v8::Value> maybe = descriptor->Get(context, mutable_key); in WebAssemblyGlobal()
1024 v8::MaybeLocal<v8::Value> maybe = in WebAssemblyGlobal()

12