Home
last modified time | relevance | path

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

12345678910>>...28

/external/v8/src/
Dcode-factory.h35 static Callable LoadIC(Isolate* isolate, TypeofMode typeof_mode,
37 static Callable LoadICInOptimizedCode(Isolate* isolate,
41 static Callable KeyedLoadIC(Isolate* isolate, LanguageMode language_mode);
43 Isolate* isolate, LanguageMode language_mode,
45 static Callable CallIC(Isolate* isolate, int argc,
48 Isolate* isolate, int argc,
50 static Callable StoreIC(Isolate* isolate, LanguageMode mode);
51 static Callable StoreICInOptimizedCode(Isolate* isolate, LanguageMode mode,
53 static Callable KeyedStoreIC(Isolate* isolate, LanguageMode mode);
55 Isolate* isolate, LanguageMode mode,
[all …]
Dcode-factory.cc15 Callable CodeFactory::LoadIC(Isolate* isolate, TypeofMode typeof_mode, in LoadIC()
26 Isolate* isolate, TypeofMode typeof_mode, LanguageMode language_mode, in LoadICInOptimizedCode()
36 Callable CodeFactory::KeyedLoadIC(Isolate* isolate, in KeyedLoadIC()
47 Isolate* isolate, LanguageMode language_mode, in KeyedLoadICInOptimizedCode()
61 Callable CodeFactory::CallIC(Isolate* isolate, int argc, in CallIC()
69 Callable CodeFactory::CallICInOptimizedCode(Isolate* isolate, int argc, in CallICInOptimizedCode()
78 Callable CodeFactory::StoreIC(Isolate* isolate, LanguageMode language_mode) { in StoreIC()
87 Isolate* isolate, LanguageMode language_mode, in StoreICInOptimizedCode()
99 Callable CodeFactory::KeyedStoreIC(Isolate* isolate, in KeyedStoreIC()
109 Isolate* isolate, LanguageMode language_mode, in KeyedStoreICInOptimizedCode()
[all …]
Disolate-inl.h15 void Isolate::set_context(Context* context) { in set_context()
21 Object* Isolate::pending_exception() { in pending_exception()
28 void Isolate::set_pending_exception(Object* exception_obj) { in set_pending_exception()
34 void Isolate::clear_pending_exception() { in clear_pending_exception()
40 bool Isolate::has_pending_exception() { in has_pending_exception()
46 void Isolate::clear_pending_message() { in clear_pending_message()
51 Object* Isolate::scheduled_exception() { in scheduled_exception()
58 bool Isolate::has_scheduled_exception() { in has_scheduled_exception()
64 void Isolate::clear_scheduled_exception() { in clear_scheduled_exception()
70 bool Isolate::is_catchable_by_javascript(Object* exception) { in is_catchable_by_javascript()
[all …]
Dassembler.h63 AssemblerBase(Isolate* isolate, void* buffer, int buffer_size);
66 Isolate* isolate() const { return isolate_; } in isolate()
111 static void FlushICache(Isolate* isolate, void* start, size_t size);
133 Isolate* isolate_;
430 explicit RelocInfo(Isolate* isolate) : isolate_(isolate) { in RelocInfo()
434 RelocInfo(Isolate* isolate, byte* pc, Mode rmode, intptr_t data, Code* host) in RelocInfo()
512 Isolate* isolate() const { return isolate_; } in isolate()
615 inline void Visit(Isolate* isolate, ObjectVisitor* v);
634 void Print(Isolate* isolate, std::ostream& os); // NOLINT
637 void Verify(Isolate* isolate);
[all …]
Disolate.cc55 int thread_id = base::Thread::GetThreadLocalInt(Isolate::thread_id_key_); in GetCurrentThreadId()
58 base::Thread::SetThreadLocalInt(Isolate::thread_id_key_, thread_id); in GetCurrentThreadId()
111 base::Thread::LocalStorageKey Isolate::isolate_key_;
112 base::Thread::LocalStorageKey Isolate::thread_id_key_;
113 base::Thread::LocalStorageKey Isolate::per_isolate_thread_data_key_;
114 base::LazyMutex Isolate::thread_data_table_mutex_ = LAZY_MUTEX_INITIALIZER;
115 Isolate::ThreadDataTable* Isolate::thread_data_table_ = NULL;
116 base::Atomic32 Isolate::isolate_counter_ = 0;
118 base::Atomic32 Isolate::isolate_key_created_ = 0;
121 Isolate::PerIsolateThreadData*
[all …]
Dapi.cc91 ? i::Isolate::Current() \
92 : reinterpret_cast<i::Isolate*>(context->GetIsolate()); \
145 return reinterpret_cast<v8::Isolate*>(i::HeapObject::cast(*obj)->GetIsolate()) in ContextFromHeapObject()
151 explicit inline InternalEscapableScope(i::Isolate* isolate) in InternalEscapableScope()
152 : v8::EscapableHandleScope(reinterpret_cast<v8::Isolate*>(isolate)) {} in InternalEscapableScope()
158 explicit CallDepthScope(i::Isolate* isolate, Local<Context> context, in CallDepthScope()
186 i::Isolate* const isolate_;
195 static ScriptOrigin GetScriptOriginForScript(i::Isolate* isolate, in GetScriptOriginForScript()
199 v8::Isolate* v8_isolate = in GetScriptOriginForScript()
200 reinterpret_cast<v8::Isolate*>(script->GetIsolate()); in GetScriptOriginForScript()
[all …]
Daccessors.cc24 Isolate* isolate, in MakeAccessor()
45 Isolate* isolate, in CloneAccessor()
75 Isolate* isolate = name->GetIsolate(); in IsJSObjectFieldAccessor()
99 Isolate* isolate = name->GetIsolate(); in IsJSArrayBufferViewFieldAccessor()
151 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); in ArgumentsIteratorGetter()
162 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); in ArgumentsIteratorSetter()
178 Isolate* isolate, PropertyAttributes attributes) { in ArgumentsIteratorInfo()
193 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); in ArrayLengthGetter()
206 i::Isolate* isolate = reinterpret_cast<i::Isolate*>(info.GetIsolate()); in ArrayLengthSetter()
226 Isolate* isolate, PropertyAttributes attributes) { in ArrayLengthInfo()
[all …]
Dhandles.h21 class Isolate; variable
30 V8_INLINE explicit HandleBase(Object* object, Isolate* isolate);
94 V8_INLINE Handle(T* object, Isolate* isolate) : HandleBase(object, isolate) {} in Handle()
97 V8_INLINE static Handle<T> New(T* object, Isolate* isolate);
159 V8_INLINE Handle<T> handle(T* object, Isolate* isolate) { in handle()
252 explicit inline HandleScope(Isolate* isolate);
257 static int NumberOfHandles(Isolate* isolate);
260 V8_INLINE static Object** GetHandle(Isolate* isolate, Object* value);
263 V8_INLINE static Object** CreateHandle(Isolate* isolate, Object* value);
266 static void DeleteExtensions(Isolate* isolate);
[all …]
Di18n.h28 static Handle<ObjectTemplateInfo> GetTemplate(Isolate* isolate);
31 static Handle<ObjectTemplateInfo> GetTemplate2(Isolate* isolate);
43 Isolate* isolate,
49 static icu::SimpleDateFormat* UnpackDateFormat(Isolate* isolate,
67 Isolate* isolate,
73 static icu::DecimalFormat* UnpackNumberFormat(Isolate* isolate,
91 Isolate* isolate,
97 static icu::Collator* UnpackCollator(Isolate* isolate, Handle<JSObject> obj);
113 Isolate* isolate,
119 static icu::BreakIterator* UnpackBreakIterator(Isolate* isolate,
Dcode-stubs.h202 explicit CodeStub(Isolate* isolate) : minor_key_(0), isolate_(isolate) {} in CodeStub()
205 static void GenerateStubsAheadOfTime(Isolate* isolate);
206 static void GenerateFPStubs(Isolate* isolate);
227 static void InitializeDescriptor(Isolate* isolate, uint32_t key,
230 static MaybeHandle<Code> GetCode(Isolate* isolate, uint32_t key);
248 Isolate* isolate() const { return isolate_; } in isolate()
251 CodeStub(uint32_t key, Isolate* isolate) in CodeStub()
301 static void Dispatch(Isolate* isolate, uint32_t key, void** value_out,
313 Isolate* isolate_;
319 NAME(uint32_t key, Isolate* isolate) : SUPER(key, isolate) {} \
[all …]
Dassembler.cc167 AssemblerBase::AssemblerBase(Isolate* isolate, void* buffer, int buffer_size) in AssemblerBase()
196 void AssemblerBase::FlushICache(Isolate* isolate, void* start, size_t size) { in FlushICache()
742 Isolate* isolate = code->map()->GetIsolate(); in RelocIterator()
845 void RelocInfo::Print(Isolate* isolate, std::ostream& os) { // NOLINT in Print()
887 void RelocInfo::Verify(Isolate* isolate) { in Verify()
1012 ExternalReference::ExternalReference(Builtins::CFunctionId id, Isolate* isolate) in ExternalReference()
1019 Isolate* isolate = NULL) in ExternalReference()
1023 ExternalReference::ExternalReference(Builtins::Name name, Isolate* isolate) in ExternalReference()
1027 ExternalReference::ExternalReference(Runtime::FunctionId id, Isolate* isolate) in ExternalReference()
1032 Isolate* isolate) in ExternalReference()
[all …]
Dbootstrapper.h22 void Initialize(Isolate* isolate, bool create_heap_objects) { in Initialize()
43 Isolate* isolate = shared->GetIsolate(); in Add()
110 static bool CompileNative(Isolate* isolate, Vector<const char> name,
113 static bool CompileBuiltin(Isolate* isolate, int index);
114 static bool CompileExperimentalBuiltin(Isolate* isolate, int index);
115 static bool CompileExtraBuiltin(Isolate* isolate, int index);
116 static bool CompileExperimentalExtraBuiltin(Isolate* isolate, int index);
118 static void ExportFromRuntime(Isolate* isolate, Handle<JSObject> container);
119 static void ExportExperimentalFromRuntime(Isolate* isolate,
123 Isolate* isolate_;
[all …]
/external/pdfium/fpdfsdk/include/jsapi/
Dfxjs_v8.h50 static void SetUp(v8::Isolate* pIsolate);
51 static FXJS_PerIsolateData* Get(v8::Isolate* pIsolate);
85 void FXJS_Initialize(unsigned int embedderDataSlot, v8::Isolate* pIsolate);
91 bool FXJS_GetIsolate(v8::Isolate** pResultIsolate);
98 void FXJS_PrepareIsolate(v8::Isolate* pIsolate);
102 void JS_PrepareIsolate(v8::Isolate* pIsolate);
105 int FXJS_DefineObj(v8::Isolate* pIsolate,
111 void FXJS_DefineObjMethod(v8::Isolate* pIsolate,
115 void FXJS_DefineObjProperty(v8::Isolate* pIsolate,
120 void FXJS_DefineObjAllProperties(v8::Isolate* pIsolate,
[all …]
/external/v8/test/cctest/
Dtest-lockers.cc60 KangarooThread(v8::Isolate* isolate, v8::Local<v8::Context> context) in KangarooThread()
68 v8::Isolate::Scope isolate_scope(isolate_); in Run()
69 CHECK_EQ(isolate_, v8::Isolate::GetCurrent()); in Run()
80 v8::Isolate::Scope isolate_scope(isolate_); in Run()
93 v8::Isolate* isolate_;
100 v8::Isolate::CreateParams create_params; in TEST()
102 v8::Isolate* isolate = v8::Isolate::New(create_params); in TEST()
106 v8::Isolate::Scope isolate_scope(isolate); in TEST()
110 CHECK_EQ(isolate, v8::Isolate::GetCurrent()); in TEST()
178 explicit IsolateLockingThreadWithLocalContext(v8::Isolate* isolate) in IsolateLockingThreadWithLocalContext()
[all …]
Dtest-object-observe.cc36 return value->Int32Value(v8::Isolate::GetCurrent()->GetCurrentContext()) in ToInt32()
63 ->Set(v8::Isolate::GetCurrent()->GetCurrentContext(), v8_str("obj"), in TEST()
74 ->Set(v8::Isolate::GetCurrent()->GetCurrentContext(), v8_str("obj"), in TEST()
83 ->Set(v8::Isolate::GetCurrent()->GetCurrentContext(), in TEST()
87 ->Set(v8::Isolate::GetCurrent()->GetCurrentContext(), v8_str("fun1"), in TEST()
91 ->Set(v8::Isolate::GetCurrent()->GetCurrentContext(), v8_str("fun2"), in TEST()
95 ->Set(v8::Isolate::GetCurrent()->GetCurrentContext(), v8_str("fun3"), in TEST()
276 ->Set(v8::Isolate::GetCurrent()->GetCurrentContext(), v8_str("obj"), in TEST()
280 ->Set(v8::Isolate::GetCurrent()->GetCurrentContext(), in TEST()
296 ->BooleanValue(v8::Isolate::GetCurrent()->GetCurrentContext()) in TEST()
[all …]
Dtest-deoptimization.cc44 using ::v8::internal::Isolate;
111 static void NonIncrementalGC(i::Isolate* isolate) { in NonIncrementalGC()
416 v8::Isolate::CreateParams create_params; in UNINITIALIZED_TEST()
418 v8::Isolate* isolate = v8::Isolate::New(create_params); in UNINITIALIZED_TEST()
419 i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(isolate); in UNINITIALIZED_TEST()
490 i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>((*env)->GetIsolate()); in TestDeoptimizeBinaryOpHelper()
524 v8::Isolate::CreateParams create_params; in UNINITIALIZED_TEST()
526 v8::Isolate* isolate = v8::Isolate::New(create_params); in UNINITIALIZED_TEST()
527 i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(isolate); in UNINITIALIZED_TEST()
554 v8::Isolate::CreateParams create_params; in UNINITIALIZED_TEST()
[all …]
Dtest-serialize.cc63 class TestIsolate : public Isolate {
65 static v8::Isolate* NewInitialized(bool enable_serializer) { in NewInitialized()
66 i::Isolate* isolate = new TestIsolate(enable_serializer); in NewInitialized()
67 v8::Isolate* v8_isolate = reinterpret_cast<v8::Isolate*>(isolate); in NewInitialized()
68 v8::Isolate::Scope isolate_scope(v8_isolate); in NewInitialized()
72 explicit TestIsolate(bool enable_serializer) : Isolate(enable_serializer) { in TestIsolate()
93 static bool WriteToFile(Isolate* isolate, const char* snapshot_file) { in WriteToFile()
104 static void Serialize(v8::Isolate* isolate) { in Serialize()
109 v8::Isolate::Scope isolate_scope(isolate); in Serialize()
115 Isolate* internal_isolate = reinterpret_cast<Isolate*>(isolate); in Serialize()
[all …]
Dcctest.h107 static v8::Isolate* isolate() { in EXTENSION_LIST()
113 static i::Isolate* InitIsolateOnce() { in EXTENSION_LIST()
118 static i::Isolate* i_isolate() { in EXTENSION_LIST()
119 return reinterpret_cast<i::Isolate*>(isolate()); in EXTENSION_LIST()
160 v8::Isolate* isolate = CcTest::isolate()); in EXTENSION_LIST()
177 static v8::Isolate* isolate_; in EXTENSION_LIST()
274 LocalContext(v8::Isolate* isolate, v8::ExtensionConfiguration* extensions = 0,
305 void Initialize(v8::Isolate* isolate, v8::ExtensionConfiguration* extensions, in Initialize()
320 v8::Isolate* isolate_;
333 return v8::Number::New(v8::Isolate::GetCurrent(), x); in v8_num()
[all …]
/external/pdfium/fpdfsdk/src/jsapi/
Dfxjs_v8.cpp26 static v8::Isolate* g_isolate = nullptr;
42 static int MaxID(v8::Isolate* pIsolate) { in MaxID()
46 static CFXJS_ObjDefinition* ForID(v8::Isolate* pIsolate, int id) { in ForID()
51 CFXJS_ObjDefinition(v8::Isolate* isolate, in CFXJS_ObjDefinition()
61 v8::Isolate::Scope isolate_scope(isolate); in CFXJS_ObjDefinition()
95 v8::Isolate* m_pIsolate;
101 v8::Isolate* pIsolate) { in GetGlobalObjectTemplate()
128 void FXJS_Initialize(unsigned int embedderDataSlot, v8::Isolate* pIsolate) { in FXJS_Initialize()
148 bool FXJS_GetIsolate(v8::Isolate** pResultIsolate) { in FXJS_GetIsolate()
156 v8::Isolate::CreateParams params; in FXJS_GetIsolate()
[all …]
/external/v8/src/ic/
Dic.h29 IC(FrameDepth depth, Isolate* isolate, FeedbackNexus* nexus = NULL);
46 static void Clear(Isolate* isolate, Address address, Address constant_pool);
62 Isolate* isolate,
65 Isolate* isolate,
90 Isolate* isolate() const { return isolate_; } in isolate()
99 inline static bool AddressIsDeoptimizedCode(Isolate* isolate,
142 static void OnTypeFeedbackChanged(Isolate* isolate, Address address,
146 static void OnTypeFeedbackChanged(Isolate* isolate, Code* host);
254 Isolate* isolate_;
278 CallIC(Isolate* isolate, CallICNexus* nexus) in CallIC()
[all …]
/external/pdfium/xfa/src/fxjse/src/
Druntime.h12 CFXJSE_RuntimeData(v8::Isolate* pIsolate) : m_pIsolate(pIsolate){}; in CFXJSE_RuntimeData()
15 static CFXJSE_RuntimeData* Create(v8::Isolate* pIsolate);
16 static CFXJSE_RuntimeData* Get(v8::Isolate* pIsolate);
19 v8::Isolate* m_pIsolate;
33 typedef void (*RuntimeDisposeCallback)(v8::Isolate*);
36 void AppendRuntime(v8::Isolate* pIsolate);
37 void RemoveRuntime(v8::Isolate* pIsolate,
42 CFX_ArrayTemplate<v8::Isolate*> m_RuntimeList;
Druntime.cpp35 static void FXJSE_Runtime_DisposeCallback(v8::Isolate* pIsolate) { in FXJSE_Runtime_DisposeCallback()
54 v8::Isolate::CreateParams params; in FXJSE_Runtime_Create()
56 v8::Isolate* pIsolate = v8::Isolate::New(params); in FXJSE_Runtime_Create()
62 v8::Isolate* pIsolate = reinterpret_cast<v8::Isolate*>(hRuntime); in FXJSE_Runtime_Release()
69 CFXJSE_RuntimeData* CFXJSE_RuntimeData::Create(v8::Isolate* pIsolate) { in Create()
81 CFXJSE_RuntimeData* CFXJSE_RuntimeData::Get(v8::Isolate* pIsolate) { in Get()
89 void CFXJSE_RuntimeList::AppendRuntime(v8::Isolate* pIsolate) { in AppendRuntime()
93 v8::Isolate* pIsolate, in RemoveRuntime()
/external/v8/include/
Dv8-debug.h87 virtual Isolate* GetIsolate() const = 0;
158 static bool SetDebugEventListener(Isolate* isolate, EventCallback that,
166 static void DebugBreak(Isolate* isolate);
170 static void CancelDebugBreak(Isolate* isolate);
173 static bool CheckDebugBreak(Isolate* isolate);
176 static void SetMessageHandler(Isolate* isolate, MessageHandler handler);
180 static void SendCommand(Isolate* isolate,
249 static void ProcessDebugMessages(Isolate* isolate);
260 static Local<Context> GetDebugContext(Isolate* isolate);
270 static void SetLiveEditEnabled(Isolate* isolate, bool enable);
[all …]
Dv8.h83 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/libplatform/
Ddefault-platform.h34 bool PumpMessageLoop(v8::Isolate* isolate);
39 void CallOnForegroundThread(v8::Isolate* isolate, Task* task) override;
40 void CallDelayedOnForegroundThread(Isolate* isolate, Task* task,
42 void CallIdleOnForegroundThread(Isolate* isolate, IdleTask* task) override;
43 bool IdleTasksEnabled(Isolate* isolate) override;
60 Task* PopTaskInMainThreadQueue(v8::Isolate* isolate);
61 Task* PopTaskInMainThreadDelayedQueue(v8::Isolate* isolate);
68 std::map<v8::Isolate*, std::queue<Task*> > main_thread_queue_;
71 std::map<v8::Isolate*,

12345678910>>...28