Home
last modified time | relevance | path

Searched full:primitive (Results 1 – 25 of 109) sorted by relevance

12345

/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_symbol.cpp78 … 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 …]
Dbuiltins_bigint.cpp36 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()
Dbuiltins_boolean.cpp62 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/
Djson_stringifier.cpp194 … 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/
Dnewarr.yaml64 …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 …]
Du32tof32.yaml20 Perform specified primitive type conversion of accumulator.
Du32tof64.yaml20 Perform specified primitive type conversion of accumulator.
Di32tof32.yaml20 Perform specified primitive type conversion of accumulator.
/arkcompiler/ets_frontend/es2panda/typescript/types/
DtypeFlag.h74PRIMITIVE = STRING | NUMBER | BIGINT | BOOLEAN | ENUM | ENUM_LITERAL | SYMBOL | VOID | UNDEFINED |… enumerator
76 PRIMITIVE_OR_ANY = PRIMITIVE | ANY,
DglobalTypesHolder.h43 PRIMITIVE, enumerator
DglobalTypesHolder.cpp63 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/
Dvregister.h37 // 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/
Dgc-mark.puactivity37 mark object == mark object and add all non-primitive fields to the Mark Stack
/arkcompiler/runtime_core/docs/bc_verification/
Dabsint_checks.md39 ### (todo) Simple range checks of primitive types
/arkcompiler/runtime_core/tests/verifier-tests/
Dbug_2107_1.pa18 # description: 'Perform specified primitive type conversion of accumulator.
/arkcompiler/runtime_core/docs/
Dassembly_format.md60 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/
Dassembly-record.h32 bool conflict = false; /* Name is conflict with panda primitive types. Need special handle. */
/arkcompiler/ets_frontend/es2panda/test/parser/ts/type_checker/
Din_12-expected.txt189 TypeError: The right-hand side of an 'in' expression must not be a primitive. [in_12.ts:19:6]
Din_13-expected.txt189 TypeError: The right-hand side of an 'in' expression must not be a primitive. [in_13.ts:19:6]
Din_14-expected.txt189 TypeError: The right-hand side of an 'in' expression must not be a primitive. [in_14.ts:19:6]
Din_8-expected.txt189 TypeError: The right-hand side of an 'in' expression must not be a primitive. [in_8.ts:19:6]
Din_9-expected.txt189 TypeError: The right-hand side of an 'in' expression must not be a primitive. [in_9.ts:19:6]
Din_11-expected.txt189 TypeError: The right-hand side of an 'in' expression must not be a primitive. [in_11.ts:19:6]
Din_10-expected.txt230 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/
Dts_manager.h27 PRIMITIVE = 0, enumerator
142 // primitive table, builtins table, infer table and runtime table
381 V(Primitive, TSTypeKind::PRIMITIVE) \

12345