Searched refs:srcType (Results 1 – 8 of 8) sorted by relevance
| /arkcompiler/ets_runtime/ecmascript/base/ |
| D | typed_array_helper.cpp | 228 DataViewType srcType = JSTypedArray::GetTypeFromName(thread, srcName); in CreateFromTypedArray() local 229 uint32_t srcElementSize = TypedArrayHelper::GetSizeFromType(srcType); in CreateFromTypedArray() 244 if (arrayType == srcType) { in CreateFromTypedArray() 278 …tinsArrayBuffer::GetValueFromBuffer(thread, srcData.GetTaggedValue(), srcByteIndex, srcType, true); in CreateFromTypedArray()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | type_mcr_lowering.h | 125 void LowerPrimitiveToNumber(GateRef dst, GateRef src, GateType srcType);
|
| D | type_mcr_lowering.cpp | 487 void TypeMCRLowering::LowerPrimitiveToNumber(GateRef dst, GateRef src, GateType srcType) in LowerPrimitiveToNumber() argument 490 if (srcType.IsBooleanType()) { in LowerPrimitiveToNumber() 506 } else if (srcType.IsUndefinedType()) { in LowerPrimitiveToNumber() 508 } else if (srcType.IsBigIntType() || srcType.IsNumberType()) { in LowerPrimitiveToNumber() 510 } else if (srcType.IsNullType()) { in LowerPrimitiveToNumber()
|
| D | gate_meta_data.h | 878 …static uint64_t ToValue(ValueType srcType, ValueType dstType, ConvertSupport support = ConvertSupp… 880 uint8_t srcVlaue = static_cast<uint8_t>(srcType);
|
| D | lcr_lowering.cpp | 337 ValueType srcType = acc_.GetSrcType(gate); in LowerCheckAndConvert() local 339 switch (srcType) { in LowerCheckAndConvert()
|
| D | ts_hcr_lowering.cpp | 491 GateType srcType = acc_.GetGateType(src); in LowerPrimitiveTypeToNumber() local 493 GateRef result = builder_.PrimitiveToNumber(src, VariableType(MachineType::I64, srcType)); in LowerPrimitiveTypeToNumber()
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins_typedarray.cpp | 1168 DataViewType srcType = JSTypedArray::GetTypeFromName(thread, srcName); in Set() local 1169 uint32_t srcElementSize = TypedArrayHelper::GetSizeFromType(srcType); in Set() 1210 if (srcType != targetType) { in Set() 1214 srcByteIndex, srcType, true); in Set() 1294 DataViewType srcType = JSTypedArray::GetTypeFromName(thread, srcName); in Slice() local 1312 if (srcType != targetType) { in Slice() 1338 uint32_t elementSize = TypedArrayHelper::GetSizeFromType(srcType); in Slice()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/type_inference/ |
| D | method_type_infer.cpp | 606 GateType srcType = gateAccessor_.GetGateType(src); in InferToNumberic() local 607 if (srcType.IsNumberType()) { in InferToNumberic() 608 return UpdateType(gate, srcType); in InferToNumberic()
|