|
static bool | ExecuteString (Isolate *isolate, Local< String > source, Local< String > name, ReportExceptions report_exceptions, Global< Value > *out_result=nullptr) |
|
static bool | ExecuteModule (Isolate *isolate, const char *file_name) |
|
static bool | LoadJSON (Isolate *isolate, const char *file_name) |
|
static void | ReportException (Isolate *isolate, Local< Message > message, Local< Value > exception) |
|
static void | ReportException (Isolate *isolate, const TryCatch &try_catch) |
|
static MaybeLocal< String > | ReadFile (Isolate *isolate, const char *name, bool should_throw=true) |
|
static std::unique_ptr< base::OS::MemoryMappedFile > | ReadFileData (Isolate *isolate, const char *name, bool should_throw=true) |
|
static Local< String > | WasmLoadSourceMapCallback (Isolate *isolate, const char *name) |
|
static MaybeLocal< Context > | CreateEvaluationContext (Isolate *isolate) |
|
static int | RunMain (Isolate *isolate, bool last_run) |
|
static int | Main (int argc, char *argv[]) |
|
static void | Exit (int exit_code) |
|
static void | OnExit (Isolate *isolate, bool dispose) |
|
static void | CollectGarbage (Isolate *isolate) |
|
static bool | EmptyMessageQueues (Isolate *isolate) |
|
static bool | CompleteMessageLoop (Isolate *isolate) |
|
static bool | FinishExecuting (Isolate *isolate, const Global< Context > &context) |
|
static bool | HandleUnhandledPromiseRejections (Isolate *isolate) |
|
static std::unique_ptr< SerializationData > | SerializeValue (Isolate *isolate, Local< Value > value, Local< Value > transfer) |
|
static MaybeLocal< Value > | DeserializeValue (Isolate *isolate, std::unique_ptr< SerializationData > data) |
|
static int * | LookupCounter (const char *name) |
|
static void * | CreateHistogram (const char *name, int min, int max, size_t buckets) |
|
static void | AddHistogramSample (void *histogram, int sample) |
|
static void | MapCounters (v8::Isolate *isolate, const char *name) |
|
static double | GetTimestamp () |
|
static uint64_t | GetTracingTimestampFromPerformanceTimestamp (double performance_timestamp) |
|
static void | PerformanceNow (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | PerformanceMark (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | PerformanceMeasure (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | PerformanceMeasureMemory (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | RealmCurrent (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | RealmOwner (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | RealmGlobal (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | RealmCreate (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | RealmNavigate (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | RealmCreateAllowCrossRealmAccess (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | RealmDetachGlobal (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | RealmDispose (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | RealmSwitch (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | RealmEval (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | RealmSharedGet (Local< Name > property, const PropertyCallbackInfo< Value > &info) |
|
static void | RealmSharedSet (Local< Name > property, Local< Value > value, const PropertyCallbackInfo< void > &info) |
|
static void | LogGetAndStop (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | TestVerifySourcePositions (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | InstallConditionalFeatures (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | EnableJSPI (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | SetFlushDenormals (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | AsyncHooksCreateHook (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | AsyncHooksExecutionAsyncId (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | AsyncHooksTriggerAsyncId (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | SetPromiseHooks (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | EnableDebugger (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | DisableDebugger (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | SerializerSerialize (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | SerializerDeserialize (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | ProfilerSetOnProfileEndListener (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | ProfilerTriggerSample (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static bool | HasOnProfileEndListener (Isolate *isolate) |
|
static void | TriggerOnProfileEndListener (Isolate *isolate, std::string profile) |
|
static void | ResetOnProfileEndListener (Isolate *isolate) |
|
static void | Print (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | PrintErr (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | WriteStdout (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | WaitUntilDone (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | NotifyDone (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | QuitOnce (v8::FunctionCallbackInfo< v8::Value > *info) |
|
static void | Quit (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | TerminateNow (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | ScheduleTermination (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | Version (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | WriteFile (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | ReadFile (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | CreateWasmMemoryMapDescriptor (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static char * | ReadChars (const char *name, int *size_out) |
|
static MaybeLocal< PrimitiveArray > | ReadLines (Isolate *isolate, const char *name) |
|
static void | ReadBuffer (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static Local< String > | ReadFromStdin (Isolate *isolate) |
|
static void | ReadLine (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | WriteChars (const char *name, uint8_t *buffer, size_t buffer_size) |
|
static void | ExecuteFile (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | SetTimeout (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | ReadCodeTypeAndArguments (const v8::FunctionCallbackInfo< v8::Value > &info, int index, CodeType *code_type, Local< Value > *arguments=nullptr) |
|
static bool | FunctionAndArgumentsToString (Local< Function > function, Local< Value > arguments, Local< String > *source, Isolate *isolate) |
|
static MaybeLocal< String > | ReadSource (const v8::FunctionCallbackInfo< v8::Value > &info, int index, CodeType default_type) |
|
static void | WorkerNew (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | WorkerPostMessage (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | WorkerGetMessage (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | WorkerOnMessageGetter (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | WorkerOnMessageSetter (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | WorkerTerminate (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | WorkerTerminateAndWait (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | System (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | ChangeDirectory (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | SetEnvironment (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | UnsetEnvironment (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | SetUMask (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | MakeDirectory (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | RemoveDirectory (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | GetExtrasBindingObject (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static MaybeLocal< Promise > | HostImportModuleDynamically (Local< Context > context, Local< Data > host_defined_options, Local< Value > resource_name, Local< String > specifier, Local< FixedArray > import_attributes) |
|
static MaybeLocal< Promise > | HostImportModuleWithPhaseDynamically (Local< Context > context, Local< Data > host_defined_options, Local< Value > resource_name, Local< String > specifier, ModuleImportPhase phase, Local< FixedArray > import_attributes) |
|
static void | ModuleResolutionSuccessCallback (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | ModuleResolutionFailureCallback (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static void | HostInitializeImportMetaObject (Local< Context > context, Local< Module > module, Local< Object > meta) |
|
static MaybeLocal< Context > | HostCreateShadowRealmContext (Local< Context > initiator_context) |
|
static void | DoHostImportModuleDynamically (void *data) |
|
static void | AddOSMethods (v8::Isolate *isolate, Local< ObjectTemplate > os_template) |
|
static void | SetWaitUntilDone (Isolate *isolate, bool value) |
|
static char * | ReadCharsFromTcpPort (const char *name, int *size_out) |
|
static void | set_script_executed () |
|
static bool | use_interactive_shell () |
|
static void | update_script_size (int size) |
|
static bool | is_valid_fuzz_script () |
|
static void | WaitForRunningWorkers (const i::ParkedScope &parked) |
|
static void | AddRunningWorker (std::shared_ptr< Worker > worker) |
|
static void | RemoveRunningWorker (const std::shared_ptr< Worker > &worker) |
|
static void | Initialize (Isolate *isolate, D8Console *console, bool isOnMainThread=true) |
|
static void | PromiseRejectCallback (v8::PromiseRejectMessage reject_message) |
|
|
static int | DeserializationRunCount () |
|
static void | WriteIgnitionDispatchCountersFile (v8::Isolate *isolate) |
|
static void | WriteLcovData (v8::Isolate *isolate, const char *file) |
|
static Counter * | GetCounter (const char *name, bool is_histogram) |
|
static Local< String > | Stringify (Isolate *isolate, Local< Value > value) |
|
static void | RunShell (Isolate *isolate) |
|
static bool | RunMainIsolate (Isolate *isolate, bool keep_context_alive) |
|
static bool | SetOptions (int argc, char *argv[]) |
|
static void | NodeTypeCallback (const v8::FunctionCallbackInfo< v8::Value > &info) |
|
static Local< FunctionTemplate > | CreateEventTargetTemplate (Isolate *isolate) |
|
static Local< FunctionTemplate > | CreateNodeTemplates (Isolate *isolate, Local< FunctionTemplate > event_target) |
|
static Local< ObjectTemplate > | CreateGlobalTemplate (Isolate *isolate) |
|
static Local< ObjectTemplate > | CreateOSTemplate (Isolate *isolate) |
|
static Local< FunctionTemplate > | CreateWorkerTemplate (Isolate *isolate) |
|
static Local< ObjectTemplate > | CreateAsyncHookTemplate (Isolate *isolate) |
|
static Local< ObjectTemplate > | CreateTestRunnerTemplate (Isolate *isolate) |
|
static Local< ObjectTemplate > | CreatePerformanceTemplate (Isolate *isolate) |
|
static Local< ObjectTemplate > | CreateRealmTemplate (Isolate *isolate) |
|
static Local< ObjectTemplate > | CreateD8Template (Isolate *isolate) |
|
static Local< FunctionTemplate > | CreateTestFastCApiTemplate (Isolate *isolate) |
|
static Local< FunctionTemplate > | CreateLeafInterfaceTypeTemplate (Isolate *isolate) |
|
static MaybeLocal< Context > | CreateRealm (const v8::FunctionCallbackInfo< v8::Value > &info, int index, v8::MaybeLocal< Value > global_object) |
|
static void | DisposeRealm (const v8::FunctionCallbackInfo< v8::Value > &info, int index) |
|
static MaybeLocal< Object > | FetchModuleSource (v8::Local< v8::Module > origin_module, v8::Local< v8::Context > context, const std::string &file_name, ModuleType module_type) |
|
static MaybeLocal< Module > | FetchModuleTree (v8::Local< v8::Module > origin_module, v8::Local< v8::Context > context, const std::string &file_name, ModuleType module_type) |
|
static MaybeLocal< Value > | JSONModuleEvaluationSteps (Local< Context > context, Local< Module > module) |
|
template<class T > |
static MaybeLocal< T > | CompileString (Isolate *isolate, Local< Context > context, Local< String > source, const ScriptOrigin &origin) |
|
static ScriptCompiler::CachedData * | LookupCodeCache (Isolate *isolate, Local< Value > name) |
|
static void | StoreInCodeCache (Isolate *isolate, Local< Value > name, const ScriptCompiler::CachedData *data) |
|
Definition at line 522 of file d8.h.