Home
last modified time | relevance | path

Searched refs:GetThread (Results 1 – 25 of 145) sorted by relevance

123456

/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_errors.cpp32 BUILTINS_API_TRACE(argv->GetThread(), Error, ErrorConstructor); in ErrorConstructor()
38 BUILTINS_API_TRACE(argv->GetThread(), Error, ErrorToString); in ToString()
45 BUILTINS_API_TRACE(argv->GetThread(), Error, RangeErrorConstructor); in RangeErrorConstructor()
51 BUILTINS_API_TRACE(argv->GetThread(), Error, RangeErrorToString); in ToString()
58 BUILTINS_API_TRACE(argv->GetThread(), Error, ReferenceErrorConstructor); in ReferenceErrorConstructor()
64 BUILTINS_API_TRACE(argv->GetThread(), Error, ReferenceErrorToString); in ToString()
71 BUILTINS_API_TRACE(argv->GetThread(), Error, TypeErrorConstructor); in TypeErrorConstructor()
77 BUILTINS_API_TRACE(argv->GetThread(), Error, TypeErrorToString); in ToString()
83 JSThread *thread = argv->GetThread(); in ThrowTypeError()
92 BUILTINS_API_TRACE(argv->GetThread(), Error, URIErrorConstructor); in URIErrorConstructor()
[all …]
Dbuiltins_math.cpp32 BUILTINS_API_TRACE(argv->GetThread(), Math, Abs); in Abs()
33 JSThread *thread = argv->GetThread(); in Abs()
51 BUILTINS_API_TRACE(argv->GetThread(), Math, Acos); in Acos()
52 JSThread *thread = argv->GetThread(); in Acos()
70 BUILTINS_API_TRACE(argv->GetThread(), Math, Acosh); in Acosh()
71 JSThread *thread = argv->GetThread(); in Acosh()
88 BUILTINS_API_TRACE(argv->GetThread(), Math, Asin); in Asin()
89 JSThread *thread = argv->GetThread(); in Asin()
106 BUILTINS_API_TRACE(argv->GetThread(), Math, Asinh); in Asinh()
107 JSThread *thread = argv->GetThread(); in Asinh()
[all …]
Dbuiltins_proxy.cpp29 BUILTINS_API_TRACE(argv->GetThread(), Proxy, Constructor); in ProxyConstructor()
30 [[maybe_unused]] EcmaHandleScope handleScope(argv->GetThread()); in ProxyConstructor()
35 THROW_TYPE_ERROR_AND_RETURN(argv->GetThread(), "ProxyConstructor: NewTarget is undefined", in ProxyConstructor()
40 …JSHandle<JSProxy> proxy = JSProxy::ProxyCreate(argv->GetThread(), GetCallArg(argv, 0), GetCallArg(… in ProxyConstructor()
41 RETURN_EXCEPTION_IF_ABRUPT_COMPLETION(argv->GetThread()); in ProxyConstructor()
49 BUILTINS_API_TRACE(argv->GetThread(), Proxy, Revocable); in Revocable()
50 JSThread *thread = argv->GetThread(); in Revocable()
84 BUILTINS_API_TRACE(argv->GetThread(), Proxy, InvalidateProxyFunction); in InvalidateProxyFunction()
85 JSThread *thread = argv->GetThread(); in InvalidateProxyFunction()
Dbuiltins_reflect.cpp26 BUILTINS_API_TRACE(argv->GetThread(), Reflect, Apply); in ReflectApply()
27 JSThread *thread = argv->GetThread(); in ReflectApply()
56 BUILTINS_API_TRACE(argv->GetThread(), Reflect, Constructor); in ReflectConstruct()
57 JSThread *thread = argv->GetThread(); in ReflectConstruct()
90 BUILTINS_API_TRACE(argv->GetThread(), Reflect, DefineProperty); in ReflectDefineProperty()
91 JSThread *thread = argv->GetThread(); in ReflectDefineProperty()
114 BUILTINS_API_TRACE(argv->GetThread(), Reflect, DeleteProperty); in ReflectDeleteProperty()
115 JSThread *thread = argv->GetThread(); in ReflectDeleteProperty()
133 BUILTINS_API_TRACE(argv->GetThread(), Reflect, Get); in ReflectGet()
134 JSThread *thread = argv->GetThread(); in ReflectGet()
[all …]
Dbuiltins_iterator.cpp26 BUILTINS_API_TRACE(argv->GetThread(), Iterator, Constructor); in IteratorConstructor()
32 BUILTINS_API_TRACE(argv->GetThread(), Iterator, Next); in Next()
38 BUILTINS_API_TRACE(argv->GetThread(), Iterator, Throw); in Throw()
44 BUILTINS_API_TRACE(argv->GetThread(), Iterator, Return); in Return()
45 JSThread *thread = argv->GetThread(); in Return()
54 BUILTINS_API_TRACE(argv->GetThread(), Iterator, GetObj); in GetIteratorObj()
Dbuiltins_typedarray.cpp47 BUILTINS_API_TRACE(argv->GetThread(), TypedArray, BaseConstructor); in TypedArrayBaseConstructor()
48 THROW_TYPE_ERROR_AND_RETURN(argv->GetThread(), "TypedArray Constructor cannot be called.", in TypedArrayBaseConstructor()
55 BUILTINS_API_TRACE(argv->GetThread(), TypedArray, Int8ArrayConstructor); in Int8ArrayConstructor()
56 JSThread *thread = argv->GetThread(); in Int8ArrayConstructor()
64 BUILTINS_API_TRACE(argv->GetThread(), TypedArray, Uint8ArrayConstructor); in Uint8ArrayConstructor()
65 JSThread *thread = argv->GetThread(); in Uint8ArrayConstructor()
73 BUILTINS_API_TRACE(argv->GetThread(), TypedArray, Uint8ClampedArrayConstructor); in Uint8ClampedArrayConstructor()
74 JSThread *thread = argv->GetThread(); in Uint8ClampedArrayConstructor()
83 BUILTINS_API_TRACE(argv->GetThread(), TypedArray, Int16ArrayConstructor); in Int16ArrayConstructor()
84 JSThread *thread = argv->GetThread(); in Int16ArrayConstructor()
[all …]
Dbuiltins_map.cpp29 BUILTINS_API_TRACE(argv->GetThread(), Map, Constructor); in MapConstructor()
30 JSThread *thread = argv->GetThread(); in MapConstructor()
70 BUILTINS_API_TRACE(argv->GetThread(), Map, Set); in Set()
71 JSThread *thread = argv->GetThread(); in Set()
91 BUILTINS_API_TRACE(argv->GetThread(), Map, Clear); in Clear()
92 JSThread *thread = argv->GetThread(); in Clear()
109 BUILTINS_API_TRACE(argv->GetThread(), Map, Delete); in Delete()
110 JSThread *thread = argv->GetThread(); in Delete()
127 BUILTINS_API_TRACE(argv->GetThread(), Map, Has); in Has()
128 JSThread *thread = argv->GetThread(); in Has()
[all …]
Dbuiltins_generator.cpp25 BUILTINS_API_TRACE(argv->GetThread(), Generator, Constructor); in GeneratorFunctionConstructor()
27 …THROW_TYPE_ERROR_AND_RETURN(argv->GetThread(), "Not support eval. Forbidden using new GeneratorFun… in GeneratorFunctionConstructor()
34 BUILTINS_API_TRACE(argv->GetThread(), Generator, PrototypeNext); in GeneratorPrototypeNext()
36 JSThread *thread = argv->GetThread(); in GeneratorPrototypeNext()
55 BUILTINS_API_TRACE(argv->GetThread(), Generator, PrototypeReturn); in GeneratorPrototypeReturn()
57 JSThread *thread = argv->GetThread(); in GeneratorPrototypeReturn()
80 BUILTINS_API_TRACE(argv->GetThread(), Generator, PrototypeThrow); in GeneratorPrototypeThrow()
82 JSThread *thread = argv->GetThread(); in GeneratorPrototypeThrow()
Dbuiltins_symbol.cpp34 BUILTINS_API_TRACE(argv->GetThread(), Symbol, Constructor); in SymbolConstructor()
35 JSThread *thread = argv->GetThread(); in SymbolConstructor()
63 BUILTINS_API_TRACE(argv->GetThread(), Symbol, ToString); in ToString()
64 JSThread *thread = argv->GetThread(); in ToString()
122 BUILTINS_API_TRACE(argv->GetThread(), Symbol, ValueOf); in ValueOf()
123 JSThread *thread = argv->GetThread(); in ValueOf()
149 BUILTINS_API_TRACE(argv->GetThread(), Symbol, For); in For()
150 JSThread *thread = argv->GetThread(); in For()
173 BUILTINS_API_TRACE(argv->GetThread(), Symbol, KeyFor); in KeyFor()
174 JSThread *thread = argv->GetThread(); in KeyFor()
[all …]
Dbuiltins_dataview.cpp32 JSThread *thread = argv->GetThread(); in DataViewConstructor()
111 JSThread *thread = argv->GetThread(); in GetBuffer()
135 JSThread *thread = argv->GetThread(); in GetByteLength()
165 JSThread *thread = argv->GetThread(); in GetOffset()
195 BUILTINS_API_TRACE(argv->GetThread(), DataView, GetFloat32); in GetFloat32()
203 BUILTINS_API_TRACE(argv->GetThread(), DataView, GetFloat64); in GetFloat64()
211 BUILTINS_API_TRACE(argv->GetThread(), DataView, GetInt8); in GetInt8()
219 BUILTINS_API_TRACE(argv->GetThread(), DataView, GetInt16); in GetInt16()
227 BUILTINS_API_TRACE(argv->GetThread(), DataView, GetInt32); in GetInt32()
235 BUILTINS_API_TRACE(argv->GetThread(), DataView, GetUint8); in GetUint8()
[all …]
Dbuiltins_cjs_module.cpp29 JSThread *thread = argv->GetThread(); in CjsModuleConstructor()
40 JSThread *thread = msg->GetThread(); in Compiler()
49 JSThread *thread = msg->GetThread(); in Load()
58 JSThread *thread = argv->GetThread(); in ResolveFilename()
82 JSThread *thread = msg->GetThread(); in Require()
91 JSThread *thread = msg->GetThread(); in GetExportsForCircularRequire()
100 JSThread *thread = msg->GetThread(); in UpdateChildren()
Dbuiltins_set.cpp31 BUILTINS_API_TRACE(argv->GetThread(), Set, Constructor); in SetConstructor()
32 JSThread *thread = argv->GetThread(); in SetConstructor()
108 BUILTINS_API_TRACE(argv->GetThread(), Set, Add); in Add()
109 JSThread *thread = argv->GetThread(); in Add()
129 BUILTINS_API_TRACE(argv->GetThread(), Set, Clear); in Clear()
130 JSThread *thread = argv->GetThread(); in Clear()
148 BUILTINS_API_TRACE(argv->GetThread(), Set, Delete); in Delete()
149 JSThread *thread = argv->GetThread(); in Delete()
168 BUILTINS_API_TRACE(argv->GetThread(), Set, Has); in Has()
169 JSThread *thread = argv->GetThread(); in Has()
[all …]
Dbuiltins_weak_map.cpp31 BUILTINS_API_TRACE(argv->GetThread(), WeakMap, Constructor); in WeakMapConstructor()
32 JSThread *thread = argv->GetThread(); in WeakMapConstructor()
78 BUILTINS_API_TRACE(argv->GetThread(), WeakMap, Delete); in Delete()
79 JSThread *thread = argv->GetThread(); in Delete()
100 BUILTINS_API_TRACE(argv->GetThread(), WeakMap, Has); in Has()
101 JSThread *thread = argv->GetThread(); in Has()
122 BUILTINS_API_TRACE(argv->GetThread(), WeakMap, Get); in Get()
123 JSThread *thread = argv->GetThread(); in Get()
144 BUILTINS_API_TRACE(argv->GetThread(), WeakMap, Set); in Set()
145 JSThread *thread = argv->GetThread(); in Set()
Dbuiltins_async_iterator.cpp26 BUILTINS_API_TRACE(argv->GetThread(), AsyncIterator, Constructor); in AsyncIteratorConstructor()
32 BUILTINS_API_TRACE(argv->GetThread(), AsyncIterator, Next); in Next()
38 BUILTINS_API_TRACE(argv->GetThread(), AsyncIterator, Throw); in Throw()
44 JSThread *thread = argv->GetThread(); in Return()
66 BUILTINS_API_TRACE(argv->GetThread(), AsyncIterator, GetObj); in GetAsyncIteratorObj()
Dbuiltins_ark_tools.cpp37 JSThread *thread = info->GetThread(); in ObjectDump()
61 JSThread *thread = info->GetThread(); in CompareHClass()
81 JSThread *thread = info->GetThread(); in DumpHClass()
96 JSThread *thread = info->GetThread(); in IsTSHClass()
109 JSThread *thread = info->GetThread(); in GetHClass()
121 JSThread *thread = info->GetThread(); in HasTSSubtyping()
134 JSThread *thread = info->GetThread(); in IsNotHoleProperty()
152 JSThread *thread = info->GetThread(); in ExcutePendingJob()
162 JSThread *thread = info->GetThread(); in GetLexicalEnv()
177 const_cast<Heap *>(info->GetThread()->GetEcmaVM()->GetHeap())->CollectGarbage( in ForceFullGC()
[all …]
Dbuiltins_async_generator.cpp26 BUILTINS_API_TRACE(argv->GetThread(), AsyncGenerator, Constructor); in AsyncGeneratorFunctionConstructor()
28 …THROW_TYPE_ERROR_AND_RETURN(argv->GetThread(), "Not support eval. Forbidden using new AsyncGenerat… in AsyncGeneratorFunctionConstructor()
35 JSThread *thread = argv->GetThread(); in AsyncGeneratorPrototypeNext()
53 JSThread *thread = argv->GetThread(); in AsyncGeneratorPrototypeReturn()
70 JSThread *thread = argv->GetThread(); in AsyncGeneratorPrototypeThrow()
Dbuiltins_number.cpp43 BUILTINS_API_TRACE(argv->GetThread(), Number, Constructor); in NumberConstructor()
44 JSThread *thread = argv->GetThread(); in NumberConstructor()
83 BUILTINS_API_TRACE(argv->GetThread(), Number, IsFinite); in IsFinite()
97 BUILTINS_API_TRACE(argv->GetThread(), Number, IsInteger); in IsInteger()
98 JSThread *thread = argv->GetThread(); in IsInteger()
120 BUILTINS_API_TRACE(argv->GetThread(), Number, IsNaN); in IsNaN()
135 BUILTINS_API_TRACE(argv->GetThread(), Number, IsSafeInteger); in IsSafeInteger()
136 JSThread *thread = argv->GetThread(); in IsSafeInteger()
159 BUILTINS_API_TRACE(argv->GetThread(), Number, ParseFloat); in ParseFloat()
160 JSThread *thread = argv->GetThread(); in ParseFloat()
[all …]
Dbuiltins_object.cpp35 JSThread *thread = argv->GetThread(); in ObjectConstructor()
67 JSThread *thread = argv->GetThread(); in Assign()
215 JSThread *thread = argv->GetThread(); in Create()
244 JSThread *thread = argv->GetThread(); in DefineProperties()
255 JSThread *thread = argv->GetThread(); in DefineProperty()
292 JSThread *thread = argv->GetThread(); in Freeze()
323 JSThread *thread = argv->GetThread(); in GetOwnPropertyDescriptor()
413 JSThread *thread = argv->GetThread(); in GetOwnPropertyNames()
427 JSThread *thread = argv->GetThread(); in GetOwnPropertySymbols()
441 JSThread *thread = argv->GetThread(); in GetPrototypeOf()
[all …]
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_treeset.cpp31 BUILTINS_API_TRACE(argv->GetThread(), TreeSet, Constructor); in TreeSetConstructor()
32 JSThread *thread = argv->GetThread(); in TreeSetConstructor()
74 BUILTINS_API_TRACE(argv->GetThread(), TreeSet, Add); in Add()
75 JSThread *thread = argv->GetThread(); in Add()
98 BUILTINS_API_TRACE(argv->GetThread(), TreeSet, Remove); in Remove()
99 JSThread *thread = argv->GetThread(); in Remove()
120 BUILTINS_API_TRACE(argv->GetThread(), TreeSet, Has); in Has()
121 JSThread *thread = argv->GetThread(); in Has()
145 BUILTINS_API_TRACE(argv->GetThread(), TreeSet, GetFirstValue); in GetFirstValue()
146 JSThread *thread = argv->GetThread(); in GetFirstValue()
[all …]
Dcontainers_treemap.cpp31 BUILTINS_API_TRACE(argv->GetThread(), TreeMap, Constructor); in TreeMapConstructor()
32 JSThread *thread = argv->GetThread(); in TreeMapConstructor()
75 BUILTINS_API_TRACE(argv->GetThread(), TreeMap, Set); in Set()
76 JSThread *thread = argv->GetThread(); in Set()
102 BUILTINS_API_TRACE(argv->GetThread(), TreeMap, Get); in Get()
103 JSThread *thread = argv->GetThread(); in Get()
124 BUILTINS_API_TRACE(argv->GetThread(), TreeMap, Remove); in Remove()
125 JSThread *thread = argv->GetThread(); in Remove()
146 BUILTINS_API_TRACE(argv->GetThread(), TreeMap, HasKey); in HasKey()
147 JSThread *thread = argv->GetThread(); in HasKey()
[all …]
Dcontainers_stack.cpp32 BUILTINS_API_TRACE(argv->GetThread(), Stack, Constructor); in StackConstructor()
33 JSThread *thread = argv->GetThread(); in StackConstructor()
56 BUILTINS_API_TRACE(argv->GetThread(), Stack, IsEmpty); in IsEmpty()
57 JSThread *thread = argv->GetThread(); in IsEmpty()
79 BUILTINS_API_TRACE(argv->GetThread(), Stack, Push); in Push()
80 JSThread *thread = argv->GetThread(); in Push()
102 BUILTINS_API_TRACE(argv->GetThread(), Stack, Peek); in Peek()
103 JSThread *thread = argv->GetThread(); in Peek()
126 BUILTINS_API_TRACE(argv->GetThread(), Stack, Locate); in Locate()
127 JSThread *thread = argv->GetThread(); in Locate()
[all …]
Dcontainers_deque.cpp34 BUILTINS_API_TRACE(argv->GetThread(), Deque, Constructor); in DequeConstructor()
35 JSThread *thread = argv->GetThread(); in DequeConstructor()
56 BUILTINS_API_TRACE(argv->GetThread(), Deque, InsertFront); in InsertFront()
57 JSThread *thread = argv->GetThread(); in InsertFront()
81 BUILTINS_API_TRACE(argv->GetThread(), Deque, InsertEnd); in InsertEnd()
82 JSThread *thread = argv->GetThread(); in InsertEnd()
105 BUILTINS_API_TRACE(argv->GetThread(), Deque, GetFirst); in GetFirst()
106 JSThread *thread = argv->GetThread(); in GetFirst()
128 BUILTINS_API_TRACE(argv->GetThread(), Deque, GetLast); in GetLast()
129 JSThread *thread = argv->GetThread(); in GetLast()
[all …]
Dcontainers_arraylist.cpp34 BUILTINS_API_TRACE(argv->GetThread(), ArrayList, Constructor); in ArrayListConstructor()
35 JSThread *thread = argv->GetThread(); in ArrayListConstructor()
56 BUILTINS_API_TRACE(argv->GetThread(), ArrayList, Add); in Add()
57 JSThread *thread = argv->GetThread(); in Add()
78 BUILTINS_API_TRACE(argv->GetThread(), ArrayList, Insert); in Insert()
79 JSThread *thread = argv->GetThread(); in Insert()
111 BUILTINS_API_TRACE(argv->GetThread(), ArrayList, Clear); in Clear()
112 JSThread *thread = argv->GetThread(); in Clear()
134 BUILTINS_API_TRACE(argv->GetThread(), ArrayList, Clone); in Clone()
135 JSThread *thread = argv->GetThread(); in Clone()
[all …]
Dcontainers_queue.cpp30 BUILTINS_API_TRACE(argv->GetThread(), Queue, Constructor); in QueueConstructor()
31 JSThread *thread = argv->GetThread(); in QueueConstructor()
53 BUILTINS_API_TRACE(argv->GetThread(), Queue, Add); in Add()
54 JSThread *thread = argv->GetThread(); in Add()
76 BUILTINS_API_TRACE(argv->GetThread(), Queue, Add); in GetFirst()
77 JSThread *thread = argv->GetThread(); in GetFirst()
99 BUILTINS_API_TRACE(argv->GetThread(), Queue, Add); in Pop()
100 JSThread *thread = argv->GetThread(); in Pop()
122 BUILTINS_API_TRACE(argv->GetThread(), Queue, ForEach); in ForEach()
123 JSThread *thread = argv->GetThread(); in ForEach()
[all …]
/arkcompiler/ets_runtime/ecmascript/ic/
Dic_runtime.cpp44 JSHandle<JSHClass> hclass(GetThread(), JSHandle<JSObject>::Cast(receiver)->GetClass()); in UpdateLoadHandler()
170 ObjectOperator op(GetThread(), receiver, key); in LoadMiss()
171 auto result = JSHandle<JSTaggedValue>(thread_, JSObject::GetProperty(GetThread(), &op)); in LoadMiss()
173 op = ObjectOperator(GetThread(), receiver, key); in LoadMiss()
176 … return SlowRuntimeStub::ThrowReferenceError(GetThread(), key.GetTaggedValue(), " is not defined"); in LoadMiss()
178 RETURN_EXCEPTION_IF_ABRUPT_COMPLETION(GetThread()); in LoadMiss()
180 if (!GetThread()->GetEcmaVM()->ICEnabled()) { in LoadMiss()
200 bool success = JSTaggedValue::SetProperty(GetThread(), receiver, key, value, true); in StoreMiss()
219 ObjectOperator op(GetThread(), receiver, key); in StoreMiss()
225 … return SlowRuntimeStub::ThrowReferenceError(GetThread(), key.GetTaggedValue(), " is not defined"); in StoreMiss()
[all …]

123456