| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins_symbol.cpp | 78 … JSTaggedValue primitive = JSPrimitiveRef::Cast(valueHandle->GetTaggedObject())->GetValue(); in ToString() local 79 ASSERT(primitive.IsSymbol()); in ToString() 80 sym = primitive; in ToString() 143 JSTaggedValue primitive = JSPrimitiveRef::Cast(valueHandle->GetTaggedObject())->GetValue(); in ValueOf() local 144 ASSERT(primitive.IsSymbol()); in ValueOf() 146 return primitive; in ValueOf() 226 JSTaggedValue primitive = JSPrimitiveRef::Cast(sym->GetTaggedObject())->GetValue(); in ToPrimitive() local 227 ASSERT(primitive.IsSymbol()); in ToPrimitive() 228 return primitive; in ToPrimitive() 254 JSTaggedValue primitive = JSPrimitiveRef::Cast(value->GetTaggedObject())->GetValue(); in ThisSymbolValue() local [all …]
|
| D | builtins_bigint.cpp | 36 JSHandle<JSTaggedValue> Primitive(thread, JSTaggedValue::ToPrimitive(thread, value)); in BigIntConstructor() local 38 if (Primitive->IsNumber()) { in BigIntConstructor() 39 return BigInt::NumberToBigInt(thread, Primitive); in BigIntConstructor() 181 JSTaggedValue primitive = JSPrimitiveRef::Cast(value->GetTaggedObject())->GetValue(); in ThisBigIntValue() local 183 if (primitive.IsBigInt()) { in ThisBigIntValue() 185 return primitive; in ThisBigIntValue()
|
| D | builtins_boolean.cpp | 62 JSTaggedValue primitive = JSPrimitiveRef::Cast(value.GetTaggedObject())->GetValue(); in ThisBooleanValue() local 64 if (primitive.IsBoolean()) { in ThisBooleanValue() 66 … return primitive == JSTaggedValue::True() ? GetTaggedBoolean(true) : GetTaggedBoolean(false); in ThisBooleanValue()
|
| /arkcompiler/ets_runtime/ecmascript/base/ |
| D | json_stringifier.cpp | 194 … JSTaggedValue primitive = JSPrimitiveRef::Cast(prop.GetTaggedObject())->GetValue(); in Stringify() local 195 if (primitive.IsNumber() || primitive.IsString()) { in Stringify() 206 JSTaggedValue primitive = JSPrimitiveRef::Cast(gap->GetTaggedObject())->GetValue(); in Stringify() local 208 if (primitive.IsNumber()) { in Stringify() 214 } else if (primitive.IsString()) { in Stringify() 637 …JSTaggedValue primitive = JSPrimitiveRef::Cast(primitiveRef.GetTaggedValue().GetTaggedObject())->G… in SerializePrimitiveRef() local 638 if (primitive.IsString()) { in SerializePrimitiveRef() 644 } else if (primitive.IsNumber()) { in SerializePrimitiveRef() 652 } else if (primitive.IsBoolean()) { in SerializePrimitiveRef() 653 result_ += primitive.IsTrue() ? "true" : "false"; in SerializePrimitiveRef() [all …]
|
| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | newarr.yaml | 64 …Elements of array are initialized to a default value, i.e. 0 for primitive types and null for obje… 104 description: Check `newarr` creates array of specified size and primitive type. 133 …description: Check acceptable array of primitive types for newarr instruction in Panda Assembly co… 160 …description: Check acceptable array of references to primitive types for newarr instruction in Pan… 188 …description: Check acceptable array of primitive types for newarr instruction in PandaAssembly con… 214 …description: Check acceptable array of references to primitive types for newarr instruction in Pan… 240 …description: Check rejectable array of primitive types for newarr instruction in PandaAssembly con… 261 …description: Check rejectable array of references to primitive types for newarr instruction in Pan… 671 …Elements of array are initialized to a default value, i.e. 0 for primitive types and null for obje… 768 …Elements of array are initialized to a default value, i.e. 0 for primitive types and null for obje… [all …]
|
| D | u32tof32.yaml | 20 Perform specified primitive type conversion of accumulator.
|
| D | u32tof64.yaml | 20 Perform specified primitive type conversion of accumulator.
|
| D | i32tof32.yaml | 20 Perform specified primitive type conversion of accumulator.
|
| /arkcompiler/ets_frontend/es2panda/typescript/types/ |
| D | typeFlag.h | 74 …PRIMITIVE = STRING | NUMBER | BIGINT | BOOLEAN | ENUM | ENUM_LITERAL | SYMBOL | VOID | UNDEFINED |… enumerator 76 PRIMITIVE_OR_ANY = PRIMITIVE | ANY,
|
| D | globalTypesHolder.h | 43 PRIMITIVE, enumerator
|
| D | globalTypesHolder.cpp | 63 globalTypes_[static_cast<size_t>(GlobalTypeId::PRIMITIVE)] = allocator->New<UnionType>( in GlobalTypesHolder() 170 return globalTypes_.at(static_cast<size_t>(GlobalTypeId::PRIMITIVE)); in GlobalPrimitiveType()
|
| /arkcompiler/runtime_core/runtime/interpreter/ |
| D | vregister.h | 37 // usage | unused | object type | primitive type | IsObject flag | 39 // | | @001: STRING | @100: DOUBLE | primitive value | 45 // the 'IsObject flag' field will take bits [1-0] and the 'primitive type' field should take bits [… 48 // the value is a object pointer, otherwise, the value is a primitive value for both static and dyn… 73 // Tags of primitive types
|
| /arkcompiler/runtime_core/docs/diagrams/ |
| D | gc-mark.puactivity | 37 mark object == mark object and add all non-primitive fields to the Mark Stack
|
| /arkcompiler/runtime_core/docs/bc_verification/ |
| D | absint_checks.md | 39 ### (todo) Simple range checks of primitive types
|
| /arkcompiler/runtime_core/tests/verifier-tests/ |
| D | bug_2107_1.pa | 18 # description: 'Perform specified primitive type conversion of accumulator.
|
| /arkcompiler/runtime_core/docs/ |
| D | assembly_format.md | 60 Simple identifiers can be used for naming metadata annotations, primitive data types, aggregate dat… 199 ### Primitive Data Types 201 Following primitive types are supported: 218 All identifiers that are used for naming primitive data types cannot be used for any other purpose. 279 Platform support arrays of primitive and aggregate data types. Array of type `T` has type name `T[]…
|
| /arkcompiler/runtime_core/assembler/ |
| D | assembly-record.h | 32 bool conflict = false; /* Name is conflict with panda primitive types. Need special handle. */
|
| /arkcompiler/ets_frontend/es2panda/test/parser/ts/type_checker/ |
| D | in_12-expected.txt | 189 TypeError: The right-hand side of an 'in' expression must not be a primitive. [in_12.ts:19:6]
|
| D | in_13-expected.txt | 189 TypeError: The right-hand side of an 'in' expression must not be a primitive. [in_13.ts:19:6]
|
| D | in_14-expected.txt | 189 TypeError: The right-hand side of an 'in' expression must not be a primitive. [in_14.ts:19:6]
|
| D | in_8-expected.txt | 189 TypeError: The right-hand side of an 'in' expression must not be a primitive. [in_8.ts:19:6]
|
| D | in_9-expected.txt | 189 TypeError: The right-hand side of an 'in' expression must not be a primitive. [in_9.ts:19:6]
|
| D | in_11-expected.txt | 189 TypeError: The right-hand side of an 'in' expression must not be a primitive. [in_11.ts:19:6]
|
| D | in_10-expected.txt | 230 TypeError: The right-hand side of an 'in' expression must not be a primitive. [in_10.ts:19:6]
|
| /arkcompiler/ets_runtime/ecmascript/ts_types/ |
| D | ts_manager.h | 27 PRIMITIVE = 0, enumerator 142 // primitive table, builtins table, infer table and runtime table 381 V(Primitive, TSTypeKind::PRIMITIVE) \
|