Home
last modified time | relevance | path

Searched refs:ByteType (Results 1 – 16 of 16) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/checker/types/ets/
DbyteType.cpp22 void ByteType::Identical(TypeRelation *relation, Type *other) in Identical()
29 void ByteType::AssignmentTarget(TypeRelation *relation, [[maybe_unused]] Type *source) in AssignmentTarget()
37 bool ByteType::AssignmentSource([[maybe_unused]] TypeRelation *relation, [[maybe_unused]] Type *tar… in AssignmentSource()
53 void ByteType::Cast(TypeRelation *const relation, Type *const target) in Cast()
98 Type *ByteType::Instantiate([[maybe_unused]] ArenaAllocator *allocator, [[maybe_unused]] TypeRelati… in Instantiate()
DbyteType.h22 class ByteType : public Type {
26 ByteType() : Type(TypeFlag::BYTE) {} in ByteType() function
27 explicit ByteType(UType value) : Type(TypeFlag::BYTE | TypeFlag::CONSTANT), value_(value) {} in ByteType() function
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/
DValue.ets148 return new ByteValue(ByteType.VAL, v)
182 return new ByteValue(ByteType.REF, v)
222 return new ByteValue(ByteType.REF, o as Byte)
350 } else if (ft instanceof ByteType) {
351 return new ByteValue(ft as ByteType, ValueAPIGetFieldByte(this.data, i))
378 } else if (ft instanceof ByteType) {
379 return new ByteValue(ft as ByteType, ValueAPIGetFieldByNameByte(this.data, name))
420 } else if (ft instanceof ByteType && val instanceof ByteValue) {
467 } else if (ft instanceof ByteType && val instanceof ByteValue) {
539 } else if (et instanceof ByteType) {
[all …]
DType.ets189 return TypeAPIIsValueType(td) ? ByteType.VAL : ByteType.REF
260 return ByteType.VAL
350 return ByteType.REF
555 return (this) instanceof ByteType
971 * @note Boxed Byte and primitive byte both have ByteType
973 export final class ByteType extends Type {
974 public static readonly VAL: ByteType = new ByteType(ValueTypeDesc.BYTE, true)
975 public static readonly REF: ByteType = new ByteType(TypeAPIGetTypeDescriptor(new Byte()), false)
1039 return to instanceof ByteType && this.isValue != (to as ByteType).isReference()
/arkcompiler/ets_frontend/ets2panda/checker/ets/
Dconversion.h27 void WideningNarrowingPrimitive(TypeRelation *relation, ByteType *source, CharType *target);
DnarrowingConverter.h37 ApplyNarrowing<ByteType>(TypeFlag::NARROWABLE_TO_BYTE); in NarrowingConverter()
DwideningConverter.h154 ApplyWidening<TargetType, ByteType>(); in ApplyWidening()
DtypeCreation.cpp41 ByteType *ETSChecker::CreateByteType(int8_t value) in CreateByteType()
43 return Allocator()->New<ByteType>(value); in CreateByteType()
Dconversion.cpp43 void WideningNarrowingPrimitive(TypeRelation *const relation, ByteType *const source, CharType *con… in WideningNarrowingPrimitive()
Dhelpers.cpp1488 ByteType::UType value = type->AsByteType()->GetValue(); in ConcatConstantString()
/arkcompiler/ets_frontend/ets2panda/checker/types/
DtypeMapping.h44 _(TypeFlag::BYTE, ByteType) \
DglobalTypesHolder.cpp85 globalTypes_[static_cast<size_t>(GlobalTypeId::BYTE)] = allocator->New<ByteType>(); in GlobalTypesHolder()
/arkcompiler/ets_frontend/ets2panda/compiler/core/
DETSGen.h451 Ra().Emit<Movi>(node, reg, static_cast<checker::ByteType::UType>(value)); in MoveImmediateToRegister()
512 Ra().Emit<Inci>(node, reg, static_cast<checker::ByteType::UType>(value)); in IncrementImmediateRegister()
1122 Sa().Emit<Ldai>(node, static_cast<checker::ByteType::UType>(number)); in LoadAccumulatorNumber()
DETSCompiler.cpp1275 … if (util::Helpers::IsTargetFitInSourceRange<checker::ByteType::UType, checker::IntType::UType>( in Compile()
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/
Djson.ets327 || typ instanceof ByteType
/arkcompiler/ets_frontend/ets2panda/checker/
DETSchecker.h192 ByteType *CreateByteType(int8_t value);