Searched refs:ByteType (Results 1 – 16 of 16) sorted by relevance
| /arkcompiler/ets_frontend/ets2panda/checker/types/ets/ |
| D | byteType.cpp | 22 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()
|
| D | byteType.h | 22 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/ |
| D | Value.ets | 148 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 …]
|
| D | Type.ets | 189 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/ |
| D | conversion.h | 27 void WideningNarrowingPrimitive(TypeRelation *relation, ByteType *source, CharType *target);
|
| D | narrowingConverter.h | 37 ApplyNarrowing<ByteType>(TypeFlag::NARROWABLE_TO_BYTE); in NarrowingConverter()
|
| D | wideningConverter.h | 154 ApplyWidening<TargetType, ByteType>(); in ApplyWidening()
|
| D | typeCreation.cpp | 41 ByteType *ETSChecker::CreateByteType(int8_t value) in CreateByteType() 43 return Allocator()->New<ByteType>(value); in CreateByteType()
|
| D | conversion.cpp | 43 void WideningNarrowingPrimitive(TypeRelation *const relation, ByteType *const source, CharType *con… in WideningNarrowingPrimitive()
|
| D | helpers.cpp | 1488 ByteType::UType value = type->AsByteType()->GetValue(); in ConcatConstantString()
|
| /arkcompiler/ets_frontend/ets2panda/checker/types/ |
| D | typeMapping.h | 44 _(TypeFlag::BYTE, ByteType) \
|
| D | globalTypesHolder.cpp | 85 globalTypes_[static_cast<size_t>(GlobalTypeId::BYTE)] = allocator->New<ByteType>(); in GlobalTypesHolder()
|
| /arkcompiler/ets_frontend/ets2panda/compiler/core/ |
| D | ETSGen.h | 451 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()
|
| D | ETSCompiler.cpp | 1275 … if (util::Helpers::IsTargetFitInSourceRange<checker::ByteType::UType, checker::IntType::UType>( in Compile()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/ |
| D | json.ets | 327 || typ instanceof ByteType
|
| /arkcompiler/ets_frontend/ets2panda/checker/ |
| D | ETSchecker.h | 192 ByteType *CreateByteType(int8_t value);
|