Home
last modified time | relevance | path

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

12

/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_symbol.cpp77 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 …]
Dbuiltins_boolean.cpp62 JSTaggedValue primitive = JSPrimitiveRef::Cast(value.GetTaggedObject())->GetValue(); in ThisBooleanValue() local
64 if (primitive.IsBoolean()) { in ThisBooleanValue()
66 return primitive; in ThisBooleanValue()
Dbuiltins_bigint.cpp207 JSTaggedValue primitive = JSPrimitiveRef::Cast(value->GetTaggedObject())->GetValue(); in ThisBigIntValue() local
209 if (primitive.IsBigInt()) { in ThisBigIntValue()
211 return primitive; in ThisBigIntValue()
Dbuiltins_number.cpp477 JSTaggedValue primitive = JSPrimitiveRef::Cast(value->GetTaggedObject())->GetValue(); in ThisNumberValue() local
478 if (primitive.IsNumber()) { in ThisNumberValue()
479 return JSTaggedNumber(primitive); in ThisNumberValue()
Dbuiltins_string.cpp1903 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/
Djson_stringifier.cpp195 … 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/
Din_9-expected.txt185 TypeError: The right-hand side of an 'in' expression must not be a primitive. [in_9.ts:19:6]
Din_13-expected.txt185 TypeError: The right-hand side of an 'in' expression must not be a primitive. [in_13.ts:19:6]
Din_8-expected.txt185 TypeError: The right-hand side of an 'in' expression must not be a primitive. [in_8.ts:19:6]
Din_11-expected.txt185 TypeError: The right-hand side of an 'in' expression must not be a primitive. [in_11.ts:19:6]
Din_14-expected.txt185 TypeError: The right-hand side of an 'in' expression must not be a primitive. [in_14.ts:19:6]
Din_12-expected.txt185 TypeError: The right-hand side of an 'in' expression must not be a primitive. [in_12.ts:19:6]
Din_10-expected.txt226 TypeError: The right-hand side of an 'in' expression must not be a primitive. [in_10.ts:19:6]
Din_15-expected.txt252 TypeError: The right-hand side of an 'in' expression must not be a primitive. [in_15.ts:19:6]
/arkcompiler/ets_runtime/ecmascript/tests/
Dobject_factory_test.cpp155 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/
Dgc-mark.puactivity37 mark object == mark object and add all non-primitive fields to the Mark Stack
/arkcompiler/runtime_core/tests/verifier-tests/
Dbug_2107_1.pa18 # description: 'Perform specified primitive type conversion of accumulator.
/arkcompiler/runtime_core/docs/bc_verification/
Dabsint_checks.md39 ### (todo) Simple range checks of primitive types
/arkcompiler/runtime_core/docs/
Dassembly_format.md60 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[]…
Dfile_format.md117 `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/
Dts_manager.cpp1174 auto primitive = static_cast<TSPrimitiveType>(gt.GetLocalId()); in GetPrimitiveStr() local
1175 switch (primitive) { in GetPrimitiveStr()
/arkcompiler/ets_frontend/es2panda/test/
Dtest262skiplist-compiler-arm64.txt388 language/types/reference/put-value-prop-base-primitive.js
/arkcompiler/ets_frontend/test262/
Des5_tests.txt100 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 …]
DCI_tests.txt1319 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
DdynamicImport_tests.txt415 custom-primitive.js

12