Home
last modified time | relevance | path

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

/arkcompiler/ets_frontend/es2panda/typescript/types/
DstringType.cpp20 void StringType::ToString(std::stringstream &ss) const in ToString()
25 void StringType::Identical(TypeRelation *relation, Type *other) in Identical()
32 void StringType::AssignmentTarget(TypeRelation *relation, Type *source) in AssignmentTarget()
39 TypeFacts StringType::GetTypeFacts() const in GetTypeFacts()
44 Type *StringType::Instantiate([[maybe_unused]] ArenaAllocator *allocator, [[maybe_unused]] TypeRela… in Instantiate()
DstringType.h23 class StringType : public Type {
25 StringType() : Type(TypeFlag::STRING) {} in StringType() function
DtypeMapping.h26 _(TypeFlag::STRING, StringType) \
DglobalTypesHolder.cpp44 globalTypes_[static_cast<size_t>(GlobalTypeId::STRING)] = allocator->New<StringType>(); in GlobalTypesHolder()
/arkcompiler/ets_frontend/ets2panda/checker/types/ts/
DstringType.cpp19 void StringType::ToString(std::stringstream &ss, [[maybe_unused]] bool precise) const in ToString()
24 void StringType::Identical(TypeRelation *relation, Type *other) in Identical()
31 void StringType::AssignmentTarget(TypeRelation *relation, Type *source) in AssignmentTarget()
38 TypeFacts StringType::GetTypeFacts() const in GetTypeFacts()
43 Type *StringType::Instantiate([[maybe_unused]] ArenaAllocator *allocator, [[maybe_unused]] TypeRela… in Instantiate()
DstringType.h22 class StringType : public Type {
24 StringType() : Type(TypeFlag::STRING) {} in StringType() function
/arkcompiler/runtime_core/static_core/libpandabase/os/
Dcpu_affinity.h173 template <class StringType = std::string>
174 …static std::enable_if_t<is_stringable_v<StringType>, StringType> CpuSetToString(const CpuSet &cpus… in CpuSetToString()
176 StringType mask(cpuCount_, '0'); in CpuSetToString()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/core/
DTypeCreateErasedBodyTest.sts60 .addParameter(new ParameterCreator(StringType.REF))
61 .addResult(StringType.REF)
DTypeMethodTest.sts95 … test(serializeMethodType.getResultType() == StringType.REF, " has String result type") +
/arkcompiler/ets_frontend/arkguard/test/grammar/removeComments/
DremoveComments3_expected.txt20 * @typedef {T extends string ? "StringType" : "NonStringType"} StringTypeChecker<T>
/arkcompiler/ets_frontend/ets2panda/checker/types/
DtypeMapping.h27 _(TypeFlag::STRING, StringType) \
DglobalTypesHolder.cpp75 globalTypes_[static_cast<size_t>(GlobalTypeId::STRING)] = allocator->New<StringType>(); in AddTSSpecificTypes()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dtype.h50 V(STRING, StringType) \
200 static GateType StringType() in StringType() function
Dtyped_bytecode_lowering.cpp477 ASSERT(tacc.GetParamType() == ParamType::StringType()); in SpeculateNumbersOrString()
478 GateRef result = builder_.TypedBinaryOp<Op>(left, right, ParamType::StringType()); in SpeculateNumbersOrString()
482 ASSERT(tacc.GetParamType() == ParamType::StringType()); in SpeculateNumbersOrString()
483 GateRef result = builder_.TypedBinaryOp<Op>(left, right, ParamType::StringType()); in SpeculateNumbersOrString()
Dtype_info_accessors.cpp37 return ParamType::StringType(); in PGOSampleTypeToParamType()
45 return ParamType::StringType(); in PGOSampleTypeToParamType()
Dhcr_circuit_builder.cpp760 … { currentControl, currentDepend, number }, GateType::StringType()); in NumberToString()
Dnumber_speculative_retype.cpp461 return SetOutputType(gate, GateType::StringType()); in VisitNumberToString()
514 return SetOutputType(gate, GateType::StringType()); in VisitStringAdd()
Dstub_builder.cpp6449 callback.ProfileOpType(Int32(PGOSampleType::StringType())); in FastStrictEqual()
6535 callback.ProfileOpType(Int32(PGOSampleType::StringType())); in FastEqual()
6645 callback.ProfileOpType(Int32(PGOSampleType::StringType())); in FastEqual()
7378 callback.ProfileOpType(Int32(PGOSampleType::StringType())); in TryStringAdd()
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/
DValue.sts246 } else if (t instanceof StringType) {
247 return new StringValue(t as StringType, o! as string)
436 } else if (ft instanceof StringType && val instanceof StringValue) {
483 } else if (ft instanceof StringType && val instanceof StringValue) {
618 } else if (et instanceof StringType && val instanceof StringValue) {
1046 private typ: StringType
1057 internal constructor(typ: StringType, data: String) {
DType.sts206 return StringType.REF
422 return StringType.REF
2534 export final class StringType extends Type {
2535 public static readonly REF: StringType = new StringType()
2590 * Checks for equality this instance with provided object, treated as a StringType
2594 * @returns true if object also has StringType
2597 return other instanceof StringType
DObject.sts323 if (t instanceof StringType || t instanceof ArrayType) {
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/
DReflect.sts206 … } else if (t instanceof StringType || t instanceof ArrayType || t instanceof LambdaType) {
Djson.sts462 } else if (typ instanceof StringType
1112 } else if (value instanceof JSONString && typ instanceof StringType) {
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/types/
Dpgo_profiler_type.h175 static int32_t StringType() in StringType() function
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/tests/
Dpgo_profiler_test.cpp1083 ASSERT_EQ(static_cast<uint32_t>(primitiveType), PGOSampleType::StringType()); in HWTEST_F_L0()