Searched defs:isolate (Results 101 - 125 of 504) sorted by relevance

1234567891011>>

/external/v8/src/libsampler/
H A Dsampler.h33 explicit Sampler(Isolate* isolate);
36 Isolate* isolate() const { return isolate_; } function in class:v8::sampler::Sampler
/external/v8/src/
H A Dmanaged.h11 #include "src/isolate.h"
17 // garbage collected, or, last resort, if the isolate is torn down before GC,
35 static Handle<Managed<CppType>> New(Isolate* isolate, CppType* ptr) { argument
37 isolate->RegisterForReleaseAtTeardown(ptr,
40 isolate->factory()->NewForeign(reinterpret_cast<Address>(node)));
41 RegisterWeakCallbackForDelete(isolate, handle);
46 static void RegisterWeakCallbackForDelete(Isolate* isolate, argument
48 Handle<Object> global_handle = isolate->global_handles()->Create(*handle);
60 Isolate* isolate = reinterpret_cast<Isolate*>(data.GetIsolate()); local
62 isolate
[all...]
H A Dmap-updater.h46 MapUpdater(Isolate* isolate, Handle<Map> old_map) argument
47 : isolate_(isolate),
H A Dproperty-descriptor.cc9 #include "src/isolate-inl.h"
42 bool ToPropertyDescriptorFastPath(Isolate* isolate, Handle<JSReceiver> obj, argument
48 if (map->prototype() != *isolate->initial_object_prototype()) return false;
51 if (isolate->bootstrapper()->IsActive()) return false;
53 isolate->native_context()->object_function_prototype_map()) {
78 value = handle(descs->GetValue(i), isolate);
85 Heap* heap = isolate->heap();
113 void CreateDataProperty(Isolate* isolate, Handle<JSObject> object, argument
124 Handle<Object> PropertyDescriptor::ToObject(Isolate* isolate) { argument
127 Factory* factory = isolate
187 ToPropertyDescriptor(Isolate* isolate, Handle<Object> obj, PropertyDescriptor* desc) argument
303 CompletePropertyDescriptor(Isolate* isolate, PropertyDescriptor* desc) argument
[all...]
H A Dapi-arguments.h9 #include "src/isolate.h"
26 explicit inline CustomArgumentsBase(Isolate* isolate) argument
27 : Relocatable(isolate) {}
43 explicit inline CustomArguments(Isolate* isolate) : Super(isolate) {} argument
46 Handle<V> GetReturnValue(Isolate* isolate);
48 inline Isolate* isolate() { function in class:v8::internal::CustomArguments
55 Handle<V> CustomArguments<T>::GetReturnValue(Isolate* isolate) { argument
59 if ((*handle)->IsTheHole(isolate)) return Handle<V>();
79 PropertyCallbackArguments(Isolate* isolate, Objec argument
158 FunctionCallbackArguments(internal::Isolate* isolate, internal::Object* data, internal::HeapObject* callee, internal::Object* holder, internal::HeapObject* new_target, internal::Object** argv, int argc) argument
[all...]
H A Dapi-experimental.cc56 FastAccessorBuilder* FastAccessorBuilder::New(Isolate* isolate) { argument
57 i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(isolate);
H A Dassert-scope.cc9 #include "src/isolate.h"
114 PerIsolateAssertScope<kType, kAllow>::PerIsolateAssertScope(Isolate* isolate) argument
115 : isolate_(isolate), old_data_(isolate->per_isolate_assert_data()) {
116 DCHECK_NOT_NULL(isolate);
130 bool PerIsolateAssertScope<kType, kAllow>::IsAllowed(Isolate* isolate) { argument
131 return DataBit::decode(isolate->per_isolate_assert_data());
H A Dcancelable-task.h140 explicit CancelableTask(Isolate* isolate);
141 CancelableTask(Isolate* isolate, CancelableTaskManager* manager);
152 Isolate* isolate() { return isolate_; } function in class:v8::internal::CancelableTask
163 explicit CancelableIdleTask(Isolate* isolate);
164 CancelableIdleTask(Isolate* isolate, CancelableTaskManager* manager);
175 Isolate* isolate() { return isolate_; } function in class:v8::internal::CancelableIdleTask
H A Ddateparser-inl.h16 bool DateParser::Parse(Isolate* isolate, Vector<Char> str, FixedArray* out) { argument
17 UnicodeCache* unicode_cache = isolate->unicode_cache();
179 isolate->CountUsage(v8::Isolate::kLegacyDateParser);
H A Dexternal-reference-table.cc25 Object* Builtin_##Name(int argc, Object** args, Isolate* isolate);
29 ExternalReferenceTable* ExternalReferenceTable::instance(Isolate* isolate) { argument
31 isolate->external_reference_table();
33 external_reference_table = new ExternalReferenceTable(isolate);
34 isolate->set_external_reference_table(external_reference_table);
39 ExternalReferenceTable::ExternalReferenceTable(Isolate* isolate) { argument
42 AddReferences(isolate);
43 AddBuiltins(isolate);
44 AddRuntimeFunctions(isolate);
45 AddIsolateAddresses(isolate);
74 AddReferences(Isolate* isolate) argument
307 AddBuiltins(Isolate* isolate) argument
336 AddRuntimeFunctions(Isolate* isolate) argument
354 AddIsolateAddresses(Isolate* isolate) argument
368 AddAccessors(Isolate* isolate) argument
397 AddStubCache(Isolate* isolate) argument
431 AddDeoptEntries(Isolate* isolate) argument
444 AddApiReferences(Isolate* isolate) argument
[all...]
/external/v8/src/profiler/
H A Dheap-profiler.h10 #include "src/isolate.h"
72 v8::HeapProfiler::RetainerInfos GetRetainerInfos(Isolate* isolate);
80 Isolate* isolate() const { return heap()->isolate(); } function in class:v8::internal::HeapProfiler
/external/v8/src/runtime/
H A Druntime-wasm.cc24 WasmInstanceObject* GetWasmInstanceOnStackTop(Isolate* isolate) { argument
26 const Address entry = Isolate::c_entry_fp(isolate->thread_local_top());
29 Code* code = isolate->inner_pointer_to_code_cache()->GetCacheEntry(pc)->code;
35 Context* GetWasmContextOnStackTop(Isolate* isolate) { argument
36 return GetWasmInstanceOnStackTop(isolate)
43 HandleScope scope(isolate);
46 Handle<WasmInstanceObject> instance(GetWasmInstanceOnStackTop(isolate),
47 isolate); local
48 return *isolate->factory()->NewNumberFromInt(
49 wasm::GetInstanceMemorySize(isolate, instanc
57 isolate); local
67 ThrowRuntimeError(Isolate* isolate, int message_id, int byte_offset, bool patch_source_position) argument
[all...]
/external/v8/src/snapshot/
H A Dpartial-serializer.cc14 Isolate* isolate, StartupSerializer* startup_serializer,
16 : Serializer(isolate),
31 // partial snapshot, it is chained into the weak context list on the isolate
122 startup_serializer_->isolate()->heap()->fixed_cow_array_map();
129 DisallowJavascriptExecution no_js(isolate());
130 DisallowCompilation no_compile(isolate());
134 HandleScope scope(isolate());
135 Handle<JSObject> obj(internal_field_holders_.RemoveLast(), isolate());
13 PartialSerializer( Isolate* isolate, StartupSerializer* startup_serializer, v8::SerializeInternalFieldsCallback callback) argument
/external/devlib/devlib/module/
H A Dcgroups.py416 def isolate(self, cpus, exclude=[]): member in class:CgroupsModule
423 This should allows to isolate the specified CPUs which will not get
426 :param cpus: the list of CPUs to isolate
/external/v8/include/
H A Dv8-platform.h96 * |isolate|. Tasks posted for the same isolate should be execute in order of
99 virtual void CallOnForegroundThread(Isolate* isolate, Task* task) = 0;
103 * |isolate| after the given number of seconds |delay_in_seconds|.
104 * Tasks posted for the same isolate should be execute in order of
107 virtual void CallDelayedOnForegroundThread(Isolate* isolate, Task* task,
112 * |isolate| when the embedder is idle.
113 * Requires that SupportsIdleTasks(isolate) is true.
118 virtual void CallIdleOnForegroundThread(Isolate* isolate, IdleTask* task) { argument
123 * Returns true if idle tasks are enabled for the given |isolate|
125 IdleTasksEnabled(Isolate* isolate) argument
[all...]
/external/v8/src/arm/
H A Dcodegen-arm.cc22 MemCopyUint8Function CreateMemCopyUint8Function(Isolate* isolate, argument
32 MacroAssembler masm(isolate, buffer, static_cast<int>(actual_size),
172 Assembler::FlushICache(isolate, buffer, actual_size);
181 Isolate* isolate, MemCopyUint16Uint8Function stub) {
190 MacroAssembler masm(isolate, buffer, static_cast<int>(actual_size),
260 Assembler::FlushICache(isolate, buffer, actual_size);
268 UnaryMathFunctionWithIsolate CreateSqrtFunction(Isolate* isolate) { argument
277 MacroAssembler masm(isolate, buffer, static_cast<int>(actual_size),
289 Assembler::FlushICache(isolate, buffer, actual_size);
420 CodeAgingHelper::CodeAgingHelper(Isolate* isolate) { argument
180 CreateMemCopyUint16Uint8Function( Isolate* isolate, MemCopyUint16Uint8Function stub) argument
444 IsYoungSequence(Isolate* isolate, byte* sequence) argument
450 GetCodeAge(Isolate* isolate, byte* sequence) argument
459 PatchPlatformCodeAge(Isolate* isolate, byte* sequence, Code::Age age) argument
[all...]
/external/v8/src/arm64/
H A Dcodegen-arm64.cc18 UnaryMathFunctionWithIsolate CreateSqrtFunction(Isolate* isolate) { argument
43 CodeAgingHelper::CodeAgingHelper(Isolate* isolate) { argument
44 USE(isolate);
49 PatchingAssembler patcher(isolate, young_sequence_.start(),
58 PatchingAssembler patcher_old(isolate, old_sequence_.start(), length);
71 bool Code::IsYoungSequence(Isolate* isolate, byte* sequence) { argument
72 return MacroAssembler::IsYoungSequence(isolate, sequence);
75 Code::Age Code::GetCodeAge(Isolate* isolate, byte* sequence) { argument
76 if (IsYoungSequence(isolate, sequence)) return kNoAgeCodeAge;
83 void Code::PatchPlatformCodeAge(Isolate* isolate, byt argument
[all...]
/external/v8/src/builtins/
H A Dbuiltins-dataview.cc10 #include "src/isolate.h"
21 HandleScope scope(isolate);
23 isolate,
25 isolate->factory()->NewStringFromAsciiChecked("DataView")));
30 HandleScope scope(isolate);
33 Handle<Object> buffer = args.atOrUndefined(isolate, 1);
34 Handle<Object> byte_offset = args.atOrUndefined(isolate, 2);
35 Handle<Object> byte_length = args.atOrUndefined(isolate, 3);
42 isolate, NewTypeError(MessageTemplate::kDataViewNotArrayBuffer));
49 isolate, offse
162 GetViewValue(Isolate* isolate, Handle<JSDataView> data_view, Handle<Object> request_index, bool is_little_endian) argument
248 SetViewValue(Isolate* isolate, Handle<JSDataView> data_view, Handle<Object> request_index, bool is_little_endian, Handle<Object> value) argument
[all...]
/external/v8/src/compiler-dispatcher/
H A Dcompiler-dispatcher-tracer.cc7 #include "src/isolate.h"
79 CompilerDispatcherTracer::CompilerDispatcherTracer(Isolate* isolate) argument
81 // isolate might be nullptr during unittests.
82 if (isolate) {
83 runtime_call_stats_ = isolate->counters()->runtime_call_stats();
H A Doptimizing-compile-dispatcher.cc11 #include "src/isolate.h"
37 explicit CompileTask(Isolate* isolate, argument
39 : isolate_(isolate), dispatcher_(dispatcher) {
H A Doptimizing-compile-dispatcher.h28 explicit OptimizingCompileDispatcher(Isolate* isolate) argument
29 : isolate_(isolate),
/external/v8/src/debug/
H A Ddebug-coverage.cc9 #include "src/isolate.h"
61 Coverage* Coverage::Collect(Isolate* isolate, bool reset_count) { argument
65 if (isolate->IsCodeCoverageEnabled()) {
68 Handle<ArrayList>::cast(isolate->factory()->code_coverage_list());
80 HeapIterator heap_iterator(isolate->heap());
95 Script::Iterator scripts(isolate);
101 Handle<Script> script_handle(script, isolate);
102 result->emplace_back(isolate, script_handle);
124 isolate->factory()->empty_string());
132 Handle<String> name(info->DebugName(), isolate);
139 TogglePrecise(Isolate* isolate, bool enable) argument
[all...]
H A Ddebug-frames.cc15 Isolate* isolate)
18 isolate_(isolate) {
38 js_frame, inlined_frame_index, isolate));
200 SaveContext* DebugFrameHelper::FindSavedContextForFrame(Isolate* isolate, argument
202 SaveContext* save = isolate->save_context();
14 FrameInspector(StandardFrame* frame, int inlined_frame_index, Isolate* isolate) argument
/external/v8/src/extensions/
H A Dstatistics-extension.cc9 #include "src/isolate.h"
19 v8::Isolate* isolate, v8::Local<v8::String> str) {
21 return v8::FunctionTemplate::New(isolate, StatisticsExtension::GetCounters);
25 static void AddCounter(v8::Isolate* isolate, argument
30 object->Set(isolate->GetCurrentContext(),
31 v8::String::NewFromUtf8(isolate, name, NewStringType::kNormal)
33 v8::Number::New(isolate, *counter->GetInternalPointer()))
38 static void AddNumber(v8::Isolate* isolate, v8::Local<v8::Object> object, argument
41 ->Set(isolate->GetCurrentContext(),
42 v8::String::NewFromUtf8(isolate, nam
18 GetNativeFunctionTemplate( v8::Isolate* isolate, v8::Local<v8::String> str) argument
49 AddNumber64(v8::Isolate* isolate, v8::Local<v8::Object> object, int64_t value, const char* name) argument
62 Isolate* isolate = reinterpret_cast<Isolate*>(args.GetIsolate()); local
[all...]
/external/v8/src/ffi/
H A Dffi-compiler.cc13 void InstallFFIMap(Isolate* isolate) { argument
14 Handle<Context> context(isolate->context());
16 Handle<Map> prev_map = Handle<Map>(context->sloppy_function_map(), isolate);
83 isolate());
105 Handle<JSFunction> CompileJSToNativeWrapper(Isolate* isolate, argument
109 Zone zone(isolate->allocator(), ZONE_NAME);
110 CodeAssemblerState state(isolate, &zone, params,
117 isolate->factory()->NewSharedFunctionInfo(name, code, false);
120 Handle<JSFunction> function = isolate->factory()->NewFunction(
121 isolate
[all...]

Completed in 675 milliseconds

1234567891011>>