/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_symbol.cpp | 77 JSTaggedValue primitive = JSPrimitiveRef::Cast(valueHandle->GetTaggedObject())->GetValue(); in ToString() local 78 if (primitive.IsSymbol()) { in ToString() 79 return SymbolDescriptiveString(thread, primitive); in ToString() 135 JSTaggedValue primitive = JSPrimitiveRef::Cast(valueHandle->GetTaggedObject())->GetValue(); in ValueOf() local 136 if (primitive.IsSymbol()) { in ValueOf() 137 return primitive; in ValueOf() 212 JSTaggedValue primitive = JSPrimitiveRef::Cast(sym->GetTaggedObject())->GetValue(); in ToPrimitive() local 213 if (primitive.IsSymbol()) { in ToPrimitive() 214 return primitive; in ToPrimitive() 244 JSTaggedValue primitive = JSPrimitiveRef::Cast(value->GetTaggedObject())->GetValue(); in ThisSymbolValue() local [all …]
|
D | builtins_boolean.cpp | 62 JSTaggedValue primitive = JSPrimitiveRef::Cast(value.GetTaggedObject())->GetValue(); in ThisBooleanValue() local 64 if (primitive.IsBoolean()) { in ThisBooleanValue() 66 return primitive; in ThisBooleanValue()
|
D | builtins_bigint.cpp | 207 JSTaggedValue primitive = JSPrimitiveRef::Cast(value->GetTaggedObject())->GetValue(); in ThisBigIntValue() local 209 if (primitive.IsBigInt()) { in ThisBigIntValue() 211 return primitive; in ThisBigIntValue()
|
D | builtins_number.cpp | 477 JSTaggedValue primitive = JSPrimitiveRef::Cast(value->GetTaggedObject())->GetValue(); in ThisNumberValue() local 478 if (primitive.IsNumber()) { in ThisNumberValue() 479 return JSTaggedNumber(primitive); in ThisNumberValue()
|
D | builtins_string.cpp | 1903 JSTaggedValue primitive = JSPrimitiveRef::Cast(value.GetTaggedObject())->GetValue(); in ThisStringValue() local 1904 if (primitive.IsString()) { in ThisStringValue() 1905 return primitive; in ThisStringValue()
|
/arkcompiler/ets_runtime/ecmascript/base/ |
D | json_stringifier.cpp | 195 … JSTaggedValue primitive = JSPrimitiveRef::Cast(prop.GetTaggedObject())->GetValue(); in Stringify() local 196 if (primitive.IsNumber() || primitive.IsString()) { in Stringify() 207 JSTaggedValue primitive = JSPrimitiveRef::Cast(gap->GetTaggedObject())->GetValue(); in Stringify() local 209 if (primitive.IsNumber()) { in Stringify() 215 } else if (primitive.IsString()) { in Stringify() 654 …JSTaggedValue primitive = JSPrimitiveRef::Cast(primitiveRef.GetTaggedValue().GetTaggedObject())->G… in SerializePrimitiveRef() local 655 if (primitive.IsString()) { in SerializePrimitiveRef() 661 } else if (primitive.IsNumber()) { in SerializePrimitiveRef() 669 } else if (primitive.IsBoolean()) { in SerializePrimitiveRef() 670 result_ += primitive.IsTrue() ? "true" : "false"; in SerializePrimitiveRef() [all …]
|
/arkcompiler/ets_frontend/es2panda/test/parser/ts/type_checker/ |
D | in_9-expected.txt | 185 TypeError: The right-hand side of an 'in' expression must not be a primitive. [in_9.ts:19:6]
|
D | in_13-expected.txt | 185 TypeError: The right-hand side of an 'in' expression must not be a primitive. [in_13.ts:19:6]
|
D | in_8-expected.txt | 185 TypeError: The right-hand side of an 'in' expression must not be a primitive. [in_8.ts:19:6]
|
D | in_11-expected.txt | 185 TypeError: The right-hand side of an 'in' expression must not be a primitive. [in_11.ts:19:6]
|
D | in_14-expected.txt | 185 TypeError: The right-hand side of an 'in' expression must not be a primitive. [in_14.ts:19:6]
|
D | in_12-expected.txt | 185 TypeError: The right-hand side of an 'in' expression must not be a primitive. [in_12.ts:19:6]
|
D | in_10-expected.txt | 226 TypeError: The right-hand side of an 'in' expression must not be a primitive. [in_10.ts:19:6]
|
D | in_15-expected.txt | 252 TypeError: The right-hand side of an 'in' expression must not be a primitive. [in_15.ts:19:6]
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | object_factory_test.cpp | 155 JSHandle<JSTaggedValue> primitive(thread, JSTaggedValue(1)); in HWTEST_F_L0() local 158 JSHandle<JSPrimitiveRef> newPrimitive = factory->NewJSPrimitiveRef(numberFun, primitive); in HWTEST_F_L0()
|
/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/tests/verifier-tests/ |
D | bug_2107_1.pa | 18 # description: 'Perform specified primitive type conversion of accumulator.
|
/arkcompiler/runtime_core/docs/bc_verification/ |
D | absint_checks.md | 39 ### (todo) Simple range checks of primitive types
|
/arkcompiler/runtime_core/docs/ |
D | assembly_format.md | 60 Simple identifiers can be used for naming metadata annotations, primitive data types, aggregate dat… 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[]…
|
D | file_format.md | 117 `PrimitiveType` is a one letter encoding for primitive type 304 `FieldType` encoding uses this fact to encode primitive types of the field in the low 4 bits. 305 For non-primitive type the value is an offset to [Class](#class) or to 431 …6_t[]` | Array of indexes of the method's signature non-primitive types. For each non-primitive t…
|
/arkcompiler/ets_runtime/ecmascript/ts_types/ |
D | ts_manager.cpp | 1174 auto primitive = static_cast<TSPrimitiveType>(gt.GetLocalId()); in GetPrimitiveStr() local 1175 switch (primitive) { in GetPrimitiveStr()
|
/arkcompiler/ets_frontend/es2panda/test/ |
D | test262skiplist-compiler-arm64.txt | 388 language/types/reference/put-value-prop-base-primitive.js
|
/arkcompiler/ets_frontend/test262/ |
D | es5_tests.txt | 100 built-ins/BigInt/prototype/valueOf/this-value-invalid-primitive-throws.js 107 language/expressions/bitwise-and/bigint-non-primitive.js 111 language/expressions/bitwise-not/bigint-non-primitive.js 115 language/expressions/bitwise-or/bigint-non-primitive.js 121 language/expressions/bitwise-xor/bigint-non-primitive.js 133 language/expressions/does-not-equals/bigint-and-incomparable-primitive.js 141 language/expressions/equals/bigint-and-incomparable-primitive.js 170 language/expressions/left-shift/bigint-non-primitive.js 207 language/expressions/right-shift/bigint-non-primitive.js 213 language/expressions/strict-does-not-equals/bigint-and-incomparable-primitive.js [all …]
|
D | CI_tests.txt | 1319 built-ins/JSON/parse/text-non-string-primitive.js 1458 built-ins/Array/property-cast-boolean-primitive.js 1464 built-ins/Array/prototype/concat/Array.prototype.concat_array-like-primitive-non-number-length.js 2037 built-ins/TypedArrayConstructors/ctors/object-arg/throws-setting-obj-to-primitive-typeerror.js 3518 language/expressions/template-literal/middle-list-one-expr-primitive.js 3527 language/expressions/template-literal/middle-list-many-expr-primitive.js 3641 language/expressions/instanceof/primitive-prototype-with-primitive.js
|
D | dynamicImport_tests.txt | 415 custom-primitive.js
|