Home
last modified time | relevance | path

Searched defs:value (Results 1 – 25 of 314) sorted by relevance

12345678910>>...13

/ark/runtime_core/assembler/
Dmeta.cpp48 static panda::pandasm::Value::Type GetType(std::string_view value) in GetType()
63 static T ConvertFromString(std::string_view value, char **end) in ConvertFromString()
88 int64_t ConvertFromString(std::string_view value, char **end) in ConvertFromString()
94 uint64_t ConvertFromString(std::string_view value, char **end) in ConvertFromString()
100 float ConvertFromString(std::string_view value, char **end) in ConvertFromString()
106 double ConvertFromString(std::string_view value, char **end) in ConvertFromString()
112 static Expected<T, Metadata::Error> ConvertFromString(std::string_view value) in ConvertFromString()
132 static Expected<ScalarValue, Metadata::Error> CreatePrimitiveValue(std::string_view value, in CreatePrimitiveValue()
150 Value::Type type, std::string_view value, in CreateValue()
217std::string_view value, const std::unordered_map<std::string, std::unique_ptr<AnnotationData>> &an… in AddValue()
[all …]
Dannotation.h453 static ScalarValue Create(ValueTypeHelperT<type> value) in Create()
492 ScalarValue(Type type, uint64_t value) : Value(type), value_(value) {} in ScalarValue()
494 ScalarValue(Type type, float value) : Value(type), value_(value) {} in ScalarValue()
496 ScalarValue(Type type, double value) : Value(type), value_(value) {} in ScalarValue()
498 ScalarValue(Type type, std::string_view value) : Value(type), value_(std::string(value)) {} in ScalarValue()
500 ScalarValue(Type type, pandasm::Type value) : Value(type), value_(std::move(value)) {} in ScalarValue()
502 ScalarValue(Type type, const AnnotationData &value) : Value(type), value_(value) {} in ScalarValue()
536 …AnnotationElement(std::string_view name, std::unique_ptr<Value> value) : name_(name), value_(std::… in AnnotationElement()
/ark/runtime_core/libpandabase/utils/
Dbit_field.h84 static constexpr bool IsValid(T value) in IsValid()
93 static constexpr void Set(T value, Stor *stor) in Set()
101 constexpr static T Get([[maybe_unused]] uint64_t value) in Get()
109 static uint64_t Encode(T value) in Encode()
118 static uint64_t Update(uint64_t old_value, T value) in Update()
127 static T Decode(uint64_t value) in Decode()
Dbit_utils.h92 constexpr size_t MinimumBitsToStore(T value) in MinimumBitsToStore()
121 constexpr bool IsAligned(T value) in IsAligned()
129 constexpr bool IsAligned(T value, size_t n) in IsAligned()
156 constexpr T SwapBits(T value, T mask, uint32_t offset) in SwapBits()
163 inline uint8_t GetByteFrom(T value, uint64_t index) in GetByteFrom()
172 inline uint16_t ReverseBytes(uint16_t value) in ReverseBytes()
178 inline uint32_t ReverseBytes(uint32_t value) in ReverseBytes()
187 inline uint64_t ReverseBytes(uint64_t value) in ReverseBytes()
211 inline uint32_t ReverseBits(uint32_t value) in ReverseBits()
225 inline uint64_t ReverseBits(uint64_t value) in ReverseBits()
[all …]
Dmath_helpers.h55 constexpr bool IsPowerOfTwo(T value) in IsPowerOfTwo()
64 constexpr uint32_t GetPowerOfTwoValue32(uint32_t value) in GetPowerOfTwoValue32()
80 constexpr unsigned int Ctz(uint32_t value) in Ctz()
94 constexpr uint32_t Clz(uint32_t value) in Clz()
/ark/ts2abc/ts2panda/ts2abc/
Dts2abc_options.h52 void SetSizeStatArg(bool value) in SetSizeStatArg()
67 void SetHelpArg(bool value) in SetHelpArg()
82 void SetOptLevelArg(int value) in SetOptLevelArg()
97 void SetOptLogLevelArg(std::string value) in SetOptLogLevelArg()
112 void SetSetBcVersionArg(bool value) in SetSetBcVersionArg()
127 void SetBcMinVersionArg(bool value) in SetBcMinVersionArg()
142 void SetCompileByPipeArg(bool value) in SetCompileByPipeArg()
157 void SetTailArg1(std::string value) in SetTailArg1()
172 void SetTailArg2(std::string value) in SetTailArg2()
/ark/runtime_core/runtime/include/
Dobject_header-inl.h40 inline void ObjectHeader::SetFieldPrimitive(size_t offset, T value) in SetFieldPrimitive()
54 inline void ObjectHeader::SetFieldObject(size_t offset, ObjectHeader *value) in SetFieldObject()
66 inline void ObjectHeader::SetFieldPrimitive(const Field &field, T value) in SetFieldPrimitive()
80 inline void ObjectHeader::SetFieldObject(const Field &field, ObjectHeader *value) in SetFieldObject()
94 …e void ObjectHeader::SetFieldObject(ManagedThread *thread, const Field &field, ObjectHeader *value) in SetFieldObject()
101 inline void ObjectHeader::SetFieldObject(ManagedThread *thread, size_t offset, ObjectHeader *value) in SetFieldObject()
113 inline void ObjectHeader::SetFieldPrimitive(size_t offset, T value, std::memory_order memory_order) in SetFieldPrimitive()
127 inline void ObjectHeader::SetFieldObject(size_t offset, ObjectHeader *value, std::memory_order memo… in SetFieldObject()
168 inline T ObjectHeader::GetAndSetFieldPrimitive(size_t offset, T value, std::memory_order memory_ord… in GetAndSetFieldPrimitive()
175 inline ObjectHeader *ObjectHeader::GetAndSetFieldObject(size_t offset, ObjectHeader *value, in GetAndSetFieldObject()
[all …]
Dobject_accessor-inl.h43 inline void ObjectAccessor::SetObject(void *obj, size_t offset, ObjectHeader *value) in SetObject()
88 …jectAccessor::SetObject(const ManagedThread *thread, void *obj, size_t offset, ObjectHeader *value) in SetObject()
126 inline void ObjectAccessor::SetFieldPrimitive(void *obj, const Field &field, T value) in SetFieldPrimitive()
149 inline void ObjectAccessor::SetFieldObject(void *obj, const Field &field, ObjectHeader *value) in SetFieldObject()
175 …Accessor::SetFieldObject(ManagedThread *thread, void *obj, const Field &field, ObjectHeader *value) in SetFieldObject()
193 inline void ObjectAccessor::SetFieldPrimitive(void *obj, size_t offset, T value, std::memory_order … in SetFieldPrimitive()
212 inline void ObjectAccessor::SetFieldObject(void *obj, size_t offset, ObjectHeader *value, in SetFieldObject()
272 auto value = in CompareAndSetFieldObject() local
277 auto value = CompareAndSetFieldPrimitive<object_pointer_type>( in CompareAndSetFieldObject() local
303 inline T ObjectAccessor::GetAndSetFieldPrimitive(void *obj, size_t offset, T value, std::memory_ord… in GetAndSetFieldPrimitive()
[all …]
Dobject_accessor.h38 static void SetPrimitive(void *obj, size_t offset, T value) in SetPrimitive()
115 static inline void SetDynPrimitive(void *obj, size_t offset, T value) in SetDynPrimitive()
146 static void Set(void *obj, size_t offset, T value) in Set()
165 static void Set(void *obj, size_t offset, T value, std::memory_order memory_order) in Set()
Dclass-inl.h400 inline void Class::SetFieldPrimitive(size_t offset, T value) in SetFieldPrimitive()
415 inline void Class::SetFieldObject(size_t offset, ObjectHeader *value) in SetFieldObject()
429 inline void Class::SetFieldPrimitive(const Field &field, T value) in SetFieldPrimitive()
443 inline void Class::SetFieldObject(const Field &field, ObjectHeader *value) in SetFieldObject()
463 inline void Class::SetFieldObject(ManagedThread *thread, const Field &field, ObjectHeader *value) in SetFieldObject()
481 inline void Class::SetFieldPrimitive(size_t offset, T value, std::memory_order memory_order) in SetFieldPrimitive()
495 inline void Class::SetFieldObject(size_t offset, ObjectHeader *value, std::memory_order memory_orde… in SetFieldObject()
536 inline T Class::GetAndSetFieldPrimitive(size_t offset, T value, std::memory_order memory_order) in GetAndSetFieldPrimitive()
543 inline ObjectHeader *Class::GetAndSetFieldObject(size_t offset, ObjectHeader *value, std::memory_or… in GetAndSetFieldObject()
549 inline T Class::GetAndAddFieldPrimitive(size_t offset, T value, std::memory_order memory_order) in GetAndAddFieldPrimitive()
[all …]
/ark/runtime_core/runtime/interpreter/
Dvregister.h124 ALWAYS_INLINE inline void Set(int32_t value) in Set()
130 ALWAYS_INLINE inline void Set(uint32_t value) in Set()
136 ALWAYS_INLINE inline void Set(int64_t value) in Set()
142 ALWAYS_INLINE inline void Set(uint64_t value) in Set()
149 ALWAYS_INLINE inline void Set(float value) in Set()
156 ALWAYS_INLINE inline void Set(double value) in Set()
163 ALWAYS_INLINE inline void Set(ObjectHeader *value) in Set()
170 ALWAYS_INLINE inline void SetPrimitive(int32_t value) in SetPrimitive()
176 ALWAYS_INLINE inline void SetPrimitive(int64_t value) in SetPrimitive()
182 ALWAYS_INLINE inline void SetPrimitive(float value) in SetPrimitive()
[all …]
Dacc_vregister.h53 ALWAYS_INLINE inline void SetValue(int64_t value) in SetValue()
63 ALWAYS_INLINE inline void SetTag(uint64_t value) in SetTag()
/ark/js_runtime/ecmascript/builtins/
Dbuiltins_math.cpp56 double value = numberValue.GetNumber(); in Acos() local
74 double value = numberValue.GetNumber(); in Acosh() local
91 double value = numberValue.GetNumber(); in Asin() local
108 double value = numberValue.GetNumber(); in Asinh() local
126 double value = numberValue.GetNumber(); in Atan() local
144 double value = numberValue.GetNumber(); in Atanh() local
190 double value = numberValue.GetNumber(); in Cbrt() local
208 double value = numberValue.GetNumber(); in Ceil() local
232 double value = numberValue.GetNumber(); in Clz32() local
251 double value = numberValue.GetNumber(); in Cos() local
[all …]
/ark/js_runtime/ecmascript/
Decma_global_storage-inl.h28 EcmaGlobalStorage::Node *EcmaGlobalStorage::NodeList::NewNode(JSTaggedType value) in NewNode()
68 EcmaGlobalStorage::Node *EcmaGlobalStorage::NodeList::GetFreeNode(JSTaggedType value) in GetFreeNode()
111 bool isWeak, JSTaggedType value) in NewGlobalHandleImplement()
141 inline uintptr_t EcmaGlobalStorage::NewGlobalHandle(JSTaggedType value) in NewGlobalHandle()
194 auto value = reinterpret_cast<Node *>(nodeAddr)->GetObject(); in SetWeak() local
201 auto value = reinterpret_cast<Node *>(nodeAddr)->GetObject(); in ClearWeak() local
Djs_serializer.cpp44 bool JSSerializer::SerializeJSTaggedValue(const JSHandle<JSTaggedValue> &value) in SerializeJSTaggedValue()
60 bool JSSerializer::WritePrimitiveValue(const JSHandle<JSTaggedValue> &value) in WritePrimitiveValue()
86 bool JSSerializer::WriteInt(int32_t value) in WriteInt()
99 bool JSSerializer::WriteDouble(double value) in WriteDouble()
112 bool JSSerializer::WriteBoolean(bool value) in WriteBoolean()
237 bool JSSerializer::WriteTaggedObject(const JSHandle<JSTaggedValue> &value) in WriteTaggedObject()
298 bool JSSerializer::WriteJSError(const JSHandle<JSTaggedValue> &value) in WriteJSError()
340 bool JSSerializer::WriteJSDate(const JSHandle<JSTaggedValue> &value) in WriteJSDate()
364 bool JSSerializer::WriteJSArray(const JSHandle<JSTaggedValue> &value) in WriteJSArray()
383 bool JSSerializer::WriteEcmaString(const JSHandle<JSTaggedValue> &value) in WriteEcmaString()
[all …]
Djs_runtime_options.h58 void SetEnableArkTools(bool value) in SetEnableArkTools()
73 void SetEnableStubAot(bool value) in SetEnableStubAot()
88 void SetStubModuleFile(std::string value) in SetStubModuleFile()
103 void SetEnableForceGC(bool value) in SetEnableForceGC()
113 void SetForceFullGC(bool value) in SetForceFullGC()
123 void SetEnableCpuprofiler(bool value) in SetEnableCpuprofiler()
133 void SetEnableTsAot(bool value) in SetEnableTsAot()
Djs_handle.h43 explicit JSHandle(const JSThread *thread, JSTaggedValue value) : HandleBase() in JSHandle()
48 explicit JSHandle(const JSThread *thread, const ObjectHeader *value) : HandleBase() in JSHandle()
53 explicit JSHandle(const JSThread *thread, const TaggedObject *value) : HandleBase() in JSHandle()
171 …explicit JSMutableHandle(const JSThread *thread, JSTaggedValue value) : JSHandle<T>(thread, value)… in JSMutableHandle()
172 …explicit JSMutableHandle(const JSThread *thread, const TaggedArray *value) : JSHandle<T>(thread, v… in JSMutableHandle()
184 void Update(JSTaggedValue value) in Update()
Dobject_operator.cpp195 const JSHandle<JSTaggedValue> &value, const PropertyAttributes &attr) in FastAdd()
285 JSTaggedValue value(dict->GetBox(entry)); in LookupGlobal() local
310 JSTaggedValue value(dict->GetBox(entry)); in LookupPropertyInlinedProps() local
328 JSTaggedValue value; in LookupPropertyInlinedProps() local
346 JSTaggedValue value = dict->GetValue(entry); in LookupPropertyInlinedProps() local
388 …or::UpdateValueAndDetails(const JSHandle<JSObject> &receiver, const JSHandle<JSTaggedValue> &value, in UpdateValueAndDetails()
398 …Operator::UpdateDataValue(const JSHandle<JSObject> &receiver, const JSHandle<JSTaggedValue> &value, in UpdateDataValue()
520 JSHandle<JSTaggedValue> value = JSHandle<JSTaggedValue>::Cast(accessor); in WriteDataProperty() local
534 …jectOperator::AddProperty(const JSHandle<JSObject> &receiver, const JSHandle<JSTaggedValue> &value, in AddProperty()
581 void ObjectOperator::SetFound(uint32_t index, JSTaggedValue value, uint32_t attr, bool mode, bool t… in SetFound()
[all …]
/ark/runtime_core/verification/value/
Dabstract_typed_value.h43 …AbstractTypedValue(const AbstractType &type, const AbstractValue &value) : Value_ {value}, Type_ {… in AbstractTypedValue()
48 …AbstractTypedValue(const AbstractType &type, const AbstractValue &value, const panda::BytecodeInst… in AbstractTypedValue()
52 …AbstractTypedValue(const AbstractType &type, const AbstractValue &value, const ValueOrigin &origin) in AbstractTypedValue()
58 …AbstractTypedValue(const AbstractType &type, const AbstractValue &value, [[maybe_unused]] Start st… in AbstractTypedValue()
67 AbstractTypedValue &SetAbstractValue(const AbstractValue &value) in SetAbstractValue()
/ark/ts2abc/ts2panda/tools/
DastPrinter.ts43 for (const [key, value] of Object.entries(ts.SyntaxKind)) { constant
92 for (const [key, value] of Object.entries(array)) { constant
126 for (const [key, value] of Object.entries(node)) { constant
156 for (const value of file.statements) { constant
/ark/runtime_core/runtime/include/coretypes/
Darray-inl.h37 inline void Array::SetPrimitive(size_t offset, T value) in SetPrimitive()
51 inline void Array::SetObject(size_t offset, ObjectHeader *value) in SetObject()
63 inline void Array::SetPrimitive(size_t offset, T value, std::memory_order memory_order) in SetPrimitive()
77 inline void Array::SetObject(size_t offset, ObjectHeader *value, std::memory_order memory_order) in SetObject()
123 inline T Array::GetAndSetPrimitive(size_t offset, T value, std::memory_order memory_order) in GetAndSetPrimitive()
130 inline ObjectHeader *Array::GetAndSetObject(size_t offset, ObjectHeader *value, std::memory_order m… in GetAndSetObject()
137 inline T Array::GetAndAddPrimitive(size_t offset, T value, std::memory_order memory_order) in GetAndAddPrimitive()
143 inline T Array::GetAndBitwiseOrPrimitive(size_t offset, T value, std::memory_order memory_order) in GetAndBitwiseOrPrimitive()
149 inline T Array::GetAndBitwiseAndPrimitive(size_t offset, T value, std::memory_order memory_order) in GetAndBitwiseAndPrimitive()
155 inline T Array::GetAndBitwiseXorPrimitive(size_t offset, T value, std::memory_order memory_order) in GetAndBitwiseXorPrimitive()
/ark/js_runtime/ecmascript/tooling/backend/
Ddebugger_executor.cpp48 Local<JSValueRef> value = GetValue(vm, frameHandler.get(), Local<StringRef>(name)); in DebuggerGetValue() local
74 Local<JSValueRef> value = argv[1]; in DebuggerSetValue() local
91 Local<JSValueRef> value; in GetValue() local
109 Local<StringRef> name, Local<JSValueRef> value) in SetValue()
146 Local<StringRef> name, Local<JSValueRef> value) in SetLocalValue()
174 Local<StringRef> name, Local<JSValueRef> value) in SetLexicalValue()
192 … DebuggerExecutor::SetGlobalValue(const EcmaVM *vm, Local<StringRef> name, Local<JSValueRef> value) in SetGlobalValue()
/ark/js_runtime/ecmascript/ic/
Dproto_change_details.cpp21 const JSHandle<JSHClass> &value, uint32_t *index) in Add()
59 JSTaggedValue value = array->Get(i); in CheckHole() local
69 JSTaggedValue value = WeakVector::Get(index); in Get() local
/ark/runtime_core/runtime/
Dhandle_scope.cpp22 uintptr_t HandleScope<coretypes::TaggedType>::NewHandle(coretypes::TaggedType value) in NewHandle()
31 uintptr_t HandleScope<ObjectHeader *>::NewHandle(ObjectHeader *value) in NewHandle()
/ark/js_runtime/ecmascript/base/
Dbuiltins_base.h61 static inline JSTaggedValue GetTaggedInt(int32_t value) in GetTaggedInt()
66 static inline JSTaggedValue GetTaggedDouble(double value) in GetTaggedDouble()
71 static inline JSTaggedValue GetTaggedBoolean(bool value) in GetTaggedBoolean()

12345678910>>...13