/external/v8/src/debug/ |
D | debug-stack-trace-iterator.cc | 79 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()
|
D | debug-interface.h | 50 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 …]
|
D | debug-stack-trace-iterator.h | 24 v8::MaybeLocal<v8::Value> GetReceiver() const override; 33 v8::MaybeLocal<v8::Value> Evaluate(v8::Local<v8::String> source,
|
/external/v8/src/inspector/ |
D | v8-debugger.cc | 27 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 …]
|
D | v8-debugger.h | 98 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>,
|
D | v8-inspector-impl.h | 68 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,
|
D | v8-inspector-impl.cc | 84 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()
|
D | injected-script.h | 92 v8::MaybeLocal<v8::Value> value, 108 v8::MaybeLocal<v8::Value> maybeResultValue, const v8::TryCatch&,
|
D | v8-runtime-agent-impl.cc | 91 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()
|
D | v8-function-call.cc | 103 v8::MaybeLocal<v8::Value> maybeResult = function->Call( in callWithoutExceptionHandling()
|
D | v8-console.cc | 130 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()
|
D | injected-script.cc | 440 V8InspectorSessionImpl* session, v8::MaybeLocal<v8::Value> value, in addPromiseCallback() 609 v8::MaybeLocal<v8::Value> maybeResultValue, const v8::TryCatch& tryCatch, in wrapEvaluateResult()
|
/external/v8/include/ |
D | v8.h | 116 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 …]
|
D | v8-inspector.h | 199 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,
|
D | APIDesign.md | 50 indicate so by returning a v8::Maybe<> or v8::MaybeLocal<> result,
|
/external/pdfium/fxjs/ |
D | cjs_v8.cpp | 147 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()
|
D | cjs_runtime.cpp | 282 v8::MaybeLocal<v8::Number> maybeNum = in MaybeCoerceToNumber()
|
D | cfxjse_class.cpp | 90 v8::MaybeLocal<v8::String> str = v8::String::NewFromUtf8( in DynPropGetterAdapter_MethodCallback()
|
/external/v8/src/ |
D | d8.h | 298 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,
|
D | api.cc | 141 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 …]
|
D | d8.cc | 516 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 …]
|
D | async-hooks-wrapper.cc | 254 MaybeLocal<Value> result; in PromiseHookDispatch()
|
/external/v8/samples/ |
D | shell.cc | 59 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()
|
D | process.cc | 51 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/ |
D | wasm-js.cc | 48 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()
|