Home
last modified time | relevance | path

Searched refs:Isolate (Results 1 – 25 of 737) sorted by relevance

12345678910>>...30

/external/v8/src/
Dcode-factory.h37 static Handle<Code> RuntimeCEntry(Isolate* isolate, int result_size = 1);
40 static Callable LoadIC(Isolate* isolate);
41 static Callable LoadICInOptimizedCode(Isolate* isolate);
42 static Callable LoadICProtoArray(Isolate* isolate, bool throw_if_nonexistent);
43 static Callable LoadGlobalIC(Isolate* isolate, TypeofMode typeof_mode);
44 static Callable LoadGlobalICInOptimizedCode(Isolate* isolate,
46 static Callable KeyedLoadIC(Isolate* isolate);
47 static Callable KeyedLoadICInOptimizedCode(Isolate* isolate);
48 static Callable KeyedLoadIC_Megamorphic(Isolate* isolate);
49 static Callable CallIC(Isolate* isolate,
[all …]
Dassembler.h67 AssemblerBase(Isolate* isolate, void* buffer, int buffer_size);
70 Isolate* isolate() const { return isolate_; } in isolate()
120 static void FlushICache(Isolate* isolate, void* start, size_t size);
142 Isolate* isolate_;
375 explicit RelocInfo(Isolate* isolate) : isolate_(isolate) { in RelocInfo()
379 RelocInfo(Isolate* isolate, byte* pc, Mode rmode, intptr_t data, Code* host) in RelocInfo()
481 Isolate* isolate() const { return isolate_; } in isolate()
597 inline void Visit(Isolate* isolate, ObjectVisitor* v);
612 void Print(Isolate* isolate, std::ostream& os); // NOLINT
615 void Verify(Isolate* isolate);
[all …]
Disolate-inl.h15 void Isolate::set_context(Context* context) { in set_context()
20 Handle<Context> Isolate::native_context() { in native_context()
24 Context* Isolate::raw_native_context() { return context()->native_context(); } in raw_native_context()
26 Object* Isolate::pending_exception() { in pending_exception()
33 void Isolate::set_pending_exception(Object* exception_obj) { in set_pending_exception()
39 void Isolate::clear_pending_exception() { in clear_pending_exception()
45 bool Isolate::has_pending_exception() { in has_pending_exception()
51 void Isolate::clear_pending_message() { in clear_pending_message()
56 Object* Isolate::scheduled_exception() { in scheduled_exception()
63 bool Isolate::has_scheduled_exception() { in has_scheduled_exception()
[all …]
Dcode-factory.cc26 Handle<Code> CodeFactory::RuntimeCEntry(Isolate* isolate, int result_size) { in RuntimeCEntry()
32 Callable CodeFactory::LoadIC(Isolate* isolate) { in LoadIC()
38 Callable CodeFactory::LoadICProtoArray(Isolate* isolate, in LoadICProtoArray()
48 Callable CodeFactory::ApiGetter(Isolate* isolate) { in ApiGetter()
54 Callable CodeFactory::LoadICInOptimizedCode(Isolate* isolate) { in LoadICInOptimizedCode()
60 Callable CodeFactory::LoadGlobalIC(Isolate* isolate, TypeofMode typeof_mode) { in LoadGlobalIC()
69 Callable CodeFactory::LoadGlobalICInOptimizedCode(Isolate* isolate, in LoadGlobalICInOptimizedCode()
78 Callable CodeFactory::KeyedLoadIC(Isolate* isolate) { in KeyedLoadIC()
84 Callable CodeFactory::KeyedLoadICInOptimizedCode(Isolate* isolate) { in KeyedLoadICInOptimizedCode()
90 Callable CodeFactory::CallIC(Isolate* isolate, ConvertReceiverMode mode, in CallIC()
[all …]
Dassembler.cc141 AssemblerBase::AssemblerBase(Isolate* isolate, void* buffer, int buffer_size) in AssemblerBase()
170 void AssemblerBase::FlushICache(Isolate* isolate, void* start, size_t size) { in FlushICache()
670 Isolate* isolate = code->map()->GetIsolate(); in RelocIterator()
785 void RelocInfo::Print(Isolate* isolate, std::ostream& os) { // NOLINT in Print()
827 void RelocInfo::Verify(Isolate* isolate) { in Verify()
916 ExternalReference::ExternalReference(Address address, Isolate* isolate) in ExternalReference()
922 Isolate* isolate = NULL) in ExternalReference()
926 ExternalReference::ExternalReference(Builtins::Name name, Isolate* isolate) in ExternalReference()
930 ExternalReference::ExternalReference(Runtime::FunctionId id, Isolate* isolate) in ExternalReference()
935 Isolate* isolate) in ExternalReference()
[all …]
Disolate.cc67 int thread_id = base::Thread::GetThreadLocalInt(Isolate::thread_id_key_); in GetCurrentThreadId()
70 base::Thread::SetThreadLocalInt(Isolate::thread_id_key_, thread_id); in GetCurrentThreadId()
123 base::Thread::LocalStorageKey Isolate::isolate_key_;
124 base::Thread::LocalStorageKey Isolate::thread_id_key_;
125 base::Thread::LocalStorageKey Isolate::per_isolate_thread_data_key_;
126 base::LazyMutex Isolate::thread_data_table_mutex_ = LAZY_MUTEX_INITIALIZER;
127 Isolate::ThreadDataTable* Isolate::thread_data_table_ = NULL;
128 base::Atomic32 Isolate::isolate_counter_ = 0;
130 base::Atomic32 Isolate::isolate_key_created_ = 0;
133 Isolate::PerIsolateThreadData*
[all …]
Dapi.cc116 ? i::Isolate::Current() \
117 : reinterpret_cast<i::Isolate*>(context->GetIsolate()); \
125 ? i::Isolate::Current() \
126 : reinterpret_cast<i::Isolate*>(context->GetIsolate()); \
202 return reinterpret_cast<v8::Isolate*>(i::HeapObject::cast(*obj)->GetIsolate()) in ContextFromHeapObject()
208 explicit inline InternalEscapableScope(i::Isolate* isolate) in InternalEscapableScope()
209 : v8::EscapableHandleScope(reinterpret_cast<v8::Isolate*>(isolate)) {} in InternalEscapableScope()
214 void CheckMicrotasksScopesConsistency(i::Isolate* isolate) { in CheckMicrotasksScopesConsistency()
227 explicit CallDepthScope(i::Isolate* isolate, Local<Context> context) in CallDepthScope()
264 i::Isolate* const isolate_;
[all …]
Daccessors.cc23 Isolate* isolate, Handle<Name> name, AccessorNameGetterCallback getter, in MakeAccessor()
65 Isolate* isolate = name->GetIsolate(); in IsJSObjectFieldAccessor()
86 Isolate* isolate, Handle<Object> receiver, Handle<JSObject> holder, in ReplaceAccessorWithDataProperty()
107 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); in ReconfigureToDataProperty()
130 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); in ArgumentsIteratorGetter()
139 Isolate* isolate, PropertyAttributes attributes) { in ArgumentsIteratorInfo()
154 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); in ArrayLengthGetter()
167 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); in ArrayLengthSetter()
224 Isolate* isolate, PropertyAttributes attributes) { in ArrayLengthInfo()
238 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); in ModuleNamespaceEntryGetter()
[all …]
Dexternal-reference-table.h13 class Isolate; variable
20 static ExternalReferenceTable* instance(Isolate* isolate);
47 explicit ExternalReferenceTable(Isolate* isolate);
58 void AddReferences(Isolate* isolate);
59 void AddBuiltins(Isolate* isolate);
60 void AddRuntimeFunctions(Isolate* isolate);
61 void AddIsolateAddresses(Isolate* isolate);
62 void AddAccessors(Isolate* isolate);
63 void AddStubCache(Isolate* isolate);
64 void AddDeoptEntries(Isolate* isolate);
[all …]
Dhandles.h23 class Isolate; variable
32 V8_INLINE explicit HandleBase(Object* object, Isolate* isolate);
101 V8_INLINE Handle(T* object, Isolate* isolate) : HandleBase(object, isolate) {} in Handle()
104 V8_INLINE static Handle<T> New(T* object, Isolate* isolate);
166 V8_INLINE Handle<T> handle(T* object, Isolate* isolate) { in handle()
213 V8_INLINE MaybeHandle(S* object, Isolate* isolate) in MaybeHandle()
267 explicit inline HandleScope(Isolate* isolate);
272 V8_EXPORT_PRIVATE static int NumberOfHandles(Isolate* isolate);
275 V8_INLINE static Object** GetHandle(Isolate* isolate, Object* value);
278 V8_INLINE static Object** CreateHandle(Isolate* isolate, Object* value);
[all …]
Dcode-stubs.h198 explicit CodeStub(Isolate* isolate) : minor_key_(0), isolate_(isolate) {} in CodeStub()
201 static void GenerateStubsAheadOfTime(Isolate* isolate);
202 static void GenerateFPStubs(Isolate* isolate);
223 static void InitializeDescriptor(Isolate* isolate, uint32_t key,
226 static MaybeHandle<Code> GetCode(Isolate* isolate, uint32_t key);
244 Isolate* isolate() const { return isolate_; } in isolate()
249 CodeStub(uint32_t key, Isolate* isolate) in CodeStub()
299 static void Dispatch(Isolate* isolate, uint32_t key, void** value_out,
311 Isolate* isolate_;
317 NAME(uint32_t key, Isolate* isolate) : SUPER(key, isolate) {} \
[all …]
Duri.h17 static MaybeHandle<String> DecodeUri(Isolate* isolate, Handle<String> uri) { in DecodeUri()
22 static MaybeHandle<String> DecodeUriComponent(Isolate* isolate, in DecodeUriComponent()
28 static MaybeHandle<String> EncodeUri(Isolate* isolate, Handle<String> uri) { in EncodeUri()
33 static MaybeHandle<String> EncodeUriComponent(Isolate* isolate, in EncodeUriComponent()
39 static MaybeHandle<String> Escape(Isolate* isolate, Handle<String> string);
42 static MaybeHandle<String> Unescape(Isolate* isolate, Handle<String> string);
45 static MaybeHandle<String> Decode(Isolate* isolate, Handle<String> uri,
47 static MaybeHandle<String> Encode(Isolate* isolate, Handle<String> uri,
Dcancelable-task.h20 class Isolate; variable
140 explicit CancelableTask(Isolate* isolate);
141 CancelableTask(Isolate* isolate, CancelableTaskManager* manager);
152 Isolate* isolate() { return isolate_; } in isolate()
155 Isolate* isolate_;
163 explicit CancelableIdleTask(Isolate* isolate);
164 CancelableIdleTask(Isolate* isolate, CancelableTaskManager* manager);
175 Isolate* isolate() { return isolate_; } in isolate()
178 Isolate* isolate_;
Dmanaged.h35 static Handle<Managed<CppType>> New(Isolate* isolate, CppType* ptr) { in New()
36 Isolate::ManagedObjectFinalizer* node = in New()
46 static void RegisterWeakCallbackForDelete(Isolate* isolate, in RegisterWeakCallbackForDelete()
58 Isolate::ManagedObjectFinalizer* finalizer = (*p)->GetFinalizer(); in GCDelete()
60 Isolate* isolate = reinterpret_cast<Isolate*>(data.GetIsolate()); in GCDelete()
73 Isolate::ManagedObjectFinalizer* GetFinalizer() { in GetFinalizer()
74 return reinterpret_cast<Isolate::ManagedObjectFinalizer*>( in GetFinalizer()
Disolate.h103 Isolate* __isolate__ = (isolate); \
113 Isolate* __isolate__ = (isolate); \
126 Isolate* __isolate__ = (isolate); \
144 Isolate* __isolate__ = (isolate); \
154 Isolate* __isolate__ = (isolate); \
160 Isolate* __isolate__ = (isolate); \
174 Isolate* __isolate__ = (isolate); \
202 Isolate* for_with_handle_isolate = isolate; \
260 friend class Isolate; variable
302 Isolate* isolate_;
[all …]
/external/v8/include/
Dv8-debug.h83 virtual Isolate* GetIsolate() const = 0;
123 virtual Isolate* GetIsolate() const = 0;
148 static bool SetDebugEventListener(Isolate* isolate, EventCallback that,
153 static void DebugBreak(Isolate* isolate);
157 static void CancelDebugBreak(Isolate* isolate);
161 static bool CheckDebugBreak(Isolate* isolate));
165 static void SetMessageHandler(Isolate* isolate,
170 static void SendCommand(Isolate* isolate,
199 static void ProcessDebugMessages(Isolate* isolate));
209 static Local<Context> GetDebugContext(Isolate* isolate));
[all …]
Dv8.h82 class Isolate; variable
135 class Isolate; variable
148 class Isolate; variable
303 V8_INLINE static Local<T> New(Isolate* isolate, Local<T> that);
304 V8_INLINE static Local<T> New(Isolate* isolate,
322 friend Local<Primitive> Undefined(Isolate* isolate);
323 friend Local<Primitive> Null(Isolate* isolate);
324 friend Local<Boolean> True(Isolate* isolate);
325 friend Local<Boolean> False(Isolate* isolate);
335 V8_INLINE static Local<T> New(Isolate* isolate, T* that);
[all …]
/external/v8/src/heap/
Dcode-stats.h16 static void CollectCodeStatistics(PagedSpace* space, Isolate* isolate);
19 static void CollectCodeStatistics(LargeObjectSpace* space, Isolate* isolate);
22 static void ResetCodeAndMetadataStatistics(Isolate* isolate);
26 static void ReportCodeStatistics(Isolate* isolate);
31 Isolate* isolate);
34 static void CollectCommentStatistics(Isolate* isolate, RelocIterator* it);
35 static void CollectCodeCommentStatistics(HeapObject* obj, Isolate* isolate);
36 static void EnterComment(Isolate* isolate, const char* comment, int delta);
37 static void ResetCodeStatistics(Isolate* isolate);
/external/v8/src/debug/
Ddebug-interface.h35 Local<Context> GetDebugContext(Isolate* isolate);
64 void SetLiveEditEnabled(Isolate* isolate, bool enable);
68 void DebugBreak(Isolate* isolate);
72 void CancelDebugBreak(Isolate* isolate);
79 MaybeLocal<Array> GetInternalProperties(Isolate* isolate, Local<Value> value);
93 void ChangeBreakOnException(Isolate* isolate, ExceptionBreakState state);
95 void SetBreakPointsActive(Isolate* isolate, bool is_active);
104 void PrepareStep(Isolate* isolate, StepAction action);
106 bool HasNonBlackboxedFrameOnStack(Isolate* isolate);
115 void SetOutOfMemoryCallback(Isolate* isolate, OutOfMemoryCallback callback,
[all …]
/external/v8/src/libplatform/
Ddefault-platform.h42 bool PumpMessageLoop(v8::Isolate* isolate); in NON_EXPORTED_BASE()
44 void RunIdleTasks(v8::Isolate* isolate, double idle_time_in_seconds); in NON_EXPORTED_BASE()
50 void CallOnForegroundThread(v8::Isolate* isolate, Task* task) override; in NON_EXPORTED_BASE()
51 void CallDelayedOnForegroundThread(Isolate* isolate, Task* task, in NON_EXPORTED_BASE()
53 void CallIdleOnForegroundThread(Isolate* isolate, IdleTask* task) override; in NON_EXPORTED_BASE()
54 bool IdleTasksEnabled(Isolate* isolate) override; in NON_EXPORTED_BASE()
77 Task* PopTaskInMainThreadQueue(v8::Isolate* isolate); in NON_EXPORTED_BASE()
78 Task* PopTaskInMainThreadDelayedQueue(v8::Isolate* isolate); in NON_EXPORTED_BASE()
79 IdleTask* PopTaskInMainThreadIdleQueue(v8::Isolate* isolate); in NON_EXPORTED_BASE()
86 std::map<v8::Isolate*, std::queue<Task*>> main_thread_queue_; in NON_EXPORTED_BASE()
[all …]
/external/pdfium/fxjs/
Dcfxjse_isolatetracker.h20 explicit CFXJSE_ScopeUtil_IsolateHandle(v8::Isolate* pIsolate) in CFXJSE_ScopeUtil_IsolateHandle()
22 v8::Isolate* GetIsolate() { return m_isolate; } in GetIsolate()
31 v8::Isolate* m_isolate;
32 v8::Isolate::Scope m_iscope;
38 explicit CFXJSE_ScopeUtil_IsolateHandleRootContext(v8::Isolate* pIsolate) in CFXJSE_ScopeUtil_IsolateHandleRootContext()
57 typedef void (*DisposeCallback)(v8::Isolate*, bool bOwnedIsolate);
62 void Append(v8::Isolate* pIsolate,
64 void Remove(v8::Isolate* pIsolate, DisposeCallback lpfnDisposeCallback);
70 std::vector<v8::Isolate*> m_OwnedIsolates;
71 std::map<v8::Isolate*, std::unique_ptr<v8::ArrayBuffer::Allocator>>
/external/v8/src/regexp/
Dregexp-utils.h19 static Handle<String> GenericCaptureGetter(Isolate* isolate,
25 Isolate* isolate, Handle<JSReceiver> regexp, int value);
27 Isolate* isolate, Handle<JSReceiver> recv);
31 Isolate* isolate, Handle<JSReceiver> regexp, Handle<String> string,
36 static Maybe<bool> IsRegExp(Isolate* isolate, Handle<Object> object);
40 static bool IsUnmodifiedRegExp(Isolate* isolate, Handle<Object> obj);
44 static int AdvanceStringIndex(Isolate* isolate, Handle<String> string,
47 Isolate* isolate, Handle<JSReceiver> regexp, Handle<String> string,
/external/v8/src/wasm/
Dwasm-js.cc53 i::Handle<i::String> v8_str(i::Isolate* isolate, const char* str) { in v8_str()
56 Local<String> v8_str(Isolate* isolate, const char* str) { in v8_str()
57 return Utils::ToLocal(v8_str(reinterpret_cast<i::Isolate*>(isolate), str)); in v8_str()
62 v8::Isolate* isolate = args.GetIsolate(); in GetFirstArgumentAsModule()
81 bool IsCompilationAllowed(i::Isolate* isolate, ErrorThrower* thrower, in IsCompilationAllowed()
90 !callback(reinterpret_cast<v8::Isolate*>(isolate), source, is_async)) { in IsCompilationAllowed()
97 bool IsInstantiationAllowed(i::Isolate* isolate, ErrorThrower* thrower, in IsInstantiationAllowed()
111 !callback(reinterpret_cast<v8::Isolate*>(isolate), module_or_bytes, in IsInstantiationAllowed()
177 v8::Isolate* isolate = args.GetIsolate(); in WebAssemblyCompile()
178 i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(isolate); in WebAssemblyCompile()
[all …]
Dwasm-module.h367 Isolate* isolate, const byte* start, const byte* end, ErrorThrower* thrower,
371 V8_EXPORT_PRIVATE bool IsWasmCodegenAllowed(Isolate* isolate,
374 V8_EXPORT_PRIVATE Handle<JSArray> GetImports(Isolate* isolate,
376 V8_EXPORT_PRIVATE Handle<JSArray> GetExports(Isolate* isolate,
379 Isolate* isolate, Handle<WasmModuleObject> module, Handle<String> name,
392 Isolate* isolate, Handle<WasmInstanceObject> instance);
394 int32_t GetInstanceMemorySize(Isolate* isolate,
397 int32_t GrowInstanceMemory(Isolate* isolate,
400 Handle<JSArrayBuffer> NewArrayBuffer(Isolate* isolate, size_t size,
403 int32_t GrowWebAssemblyMemory(Isolate* isolate,
[all …]
/external/v8/src/ic/
Dhandler-configuration.h87 static inline Handle<Object> LoadField(Isolate* isolate,
91 static inline Handle<Object> LoadConstant(Isolate* isolate, int descriptor);
94 static inline Handle<Object> LoadApiGetter(Isolate* isolate, int descriptor);
99 Isolate* isolate, Handle<Object> smi_handler);
104 Isolate* isolate, Handle<Object> smi_handler);
109 Isolate* isolate, bool do_negative_lookup_on_receiver);
112 static inline Handle<Object> LoadElement(Isolate* isolate,
178 static inline Handle<Object> StoreField(Isolate* isolate, int descriptor,
184 static inline Handle<Object> TransitionToField(Isolate* isolate,
192 static inline Handle<Object> TransitionToConstant(Isolate* isolate,
[all …]

12345678910>>...30