/arkcompiler/ets_runtime/ecmascript/require/ |
D | js_cjs_module_cache.h | 86 JSTaggedValue keyValue; in FindEntry() local 90 keyValue = GetKey(entry); in FindEntry() 91 if (keyValue.IsHole()) { in FindEntry() 94 if (keyValue.IsUndefined()) { in FindEntry() 97 if (IsMatch(key, keyValue)) { in FindEntry() 121 JSTaggedValue keyValue = key.GetTaggedValue(); in SetEntry() local 123 SetKey(thread, entry, keyValue); in SetEntry()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | tagged_node.h | 57 uint64_t keyValue = key.GetRawData(); in Hash() local 58 … return GetHash32(reinterpret_cast<uint8_t *>(&keyValue), sizeof(keyValue) / sizeof(uint8_t)); in Hash() 78 uint32_t keyValue = BigInt::Cast(key.GetTaggedObject())->GetDigit(0); in Hash() local 79 … return GetHash32(reinterpret_cast<uint8_t *>(&keyValue), sizeof(keyValue) / sizeof(uint8_t)); in Hash() 82 uint64_t keyValue = key.GetRawData(); in Hash() local 83 … return GetHash32(reinterpret_cast<uint8_t *>(&keyValue), sizeof(keyValue) / sizeof(uint8_t)); in Hash()
|
D | tagged_hash_table.h | 227 JSTaggedValue keyValue; in FindEntry() local 231 keyValue = GetKey(entry); in FindEntry() 232 if (keyValue.IsHole()) { in FindEntry() 235 if (keyValue.IsUndefined()) { in FindEntry() 238 if (Derived::IsMatch(key, keyValue)) { in FindEntry() 249 JSTaggedValue keyValue; in FindEntry() local 253 keyValue = GetKey(entry); in FindEntry() 254 if (keyValue.IsHole()) { in FindEntry() 257 if (keyValue.IsUndefined()) { in FindEntry() 261 if (Derived::IsMatch(str, strSize, keyValue)) { in FindEntry()
|
D | linked_hash_table.cpp | 253 uint32_t keyValue = BigInt::Cast(key.GetTaggedObject())->GetDigit(0); in Hash() local 254 … return GetHash32(reinterpret_cast<uint8_t *>(&keyValue), sizeof(keyValue) / sizeof(uint8_t)); in Hash() 260 uint64_t keyValue = key.GetRawData(); in Hash() local 261 return GetHash32(reinterpret_cast<uint8_t *>(&keyValue), sizeof(keyValue) / sizeof(uint8_t)); in Hash()
|
D | tagged_dictionary.cpp | 238 int keyValue = key.GetInt(); in Hash() local 239 … return GetHash32(reinterpret_cast<uint8_t *>(&keyValue), sizeof(keyValue) / sizeof(uint8_t)); in Hash() 242 int32_t keyValue = static_cast<int32_t>(static_cast<uint32_t>(key.GetDouble())); in Hash() local 243 … return GetHash32(reinterpret_cast<uint8_t *>(&keyValue), sizeof(keyValue) / sizeof(uint8_t)); in Hash() 265 int32_t keyValue = static_cast<int32_t>(static_cast<uint32_t>(key.GetDouble())); in IsMatch() local 266 return keyValue == other.GetInt(); in IsMatch()
|
D | js_object-inl.h | 474 …JSHandle<TaggedArray> keyValue = thread->GetEcmaVM()->GetFactory()->NewTaggedArray(2); // 2: key-… in SetValuesOrEntries() local 475 keyValue->Set(thread, 0, key); in SetValuesOrEntries() 476 keyValue->Set(thread, 1, value); in SetValuesOrEntries() 477 JSHandle<JSArray> entry = JSArray::CreateArrayFromList(thread, keyValue); in SetValuesOrEntries()
|
D | js_object.cpp | 1081 auto keyValue = factory->NewFromUtf8(key).GetTaggedValue(); in GetGlobalPropertyBox() local 1082 return GetGlobalPropertyBox(keyValue); in GetGlobalPropertyBox()
|
/arkcompiler/ets_runtime/ecmascript/js_api/ |
D | js_api_lightweightmap.cpp | 480 uint32_t keyValue = BigInt::Cast(key.GetTaggedObject())->GetDigit(0); in Hash() local 481 … return GetHash32(reinterpret_cast<uint8_t *>(&keyValue), sizeof(keyValue) / sizeof(uint8_t)); in Hash() 483 uint64_t keyValue = key.GetRawData(); in Hash() local 484 return GetHash32(reinterpret_cast<uint8_t *>(&keyValue), sizeof(keyValue) / sizeof(uint8_t)); in Hash()
|
D | js_api_lightweightset.cpp | 477 uint64_t keyValue = key.GetRawData(); in Hash() local 478 return GetHash32(reinterpret_cast<uint8_t *>(&keyValue), sizeof(keyValue) / sizeof(uint8_t)); in Hash()
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/07.object_literal/03.object_literal_of_record_type/ |
D | spec_ex2.ets | 18 The first expression in keyValue denotes a key, and must be of type Key;
|
D | spec_ex1.ets | 18 The first expression in keyValue denotes a key, and must be of type Key;
|
/arkcompiler/ets_runtime/ecmascript/ts_types/ |
D | ts_manager.cpp | 265 JSTaggedValue keyValue = JSTaggedValue(key); in GetSuperPropType() local 267 if (keyValue.IsInt() || keyValue.IsDouble()) { in GetSuperPropType() 268 propertyName.Update(keyValue); in GetSuperPropType() 277 JSTaggedValue keyValue = JSTaggedValue(key); in GetPropType() local 279 if (keyValue.IsInt() || keyValue.IsDouble()) { in GetPropType() 280 propertyName.Update(keyValue); in GetPropType()
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
D | jsnapi_expo.cpp | 1092 JSHandle<JSTaggedValue> keyValue = JSNApiHelper::ToJSHandle(key); in New() local 1095 bool result = JSTaggedValue::SetProperty(thread, obj, keyValue, currentTaggedValue); in New() 1115 JSHandle<JSTaggedValue> keyValue = JSNApiHelper::ToJSHandle(key); in New() local 1118 bool result = JSTaggedValue::SetProperty(thread, obj, keyValue, currentTaggedValue); in New() 1613 JSHandle<JSTaggedValue> keyValue = env->GetNativeBindingSymbol(); in ConvertToNativeBindingObject() local 1615 bool result = JSTaggedValue::SetProperty(vm->GetJSThread(), object, keyValue, valueValue); in ConvertToNativeBindingObject() 1627 JSHandle<JSTaggedValue> keyValue = JSNApiHelper::ToJSHandle(key); in Set() local 1630 return JSTaggedValue::SetProperty(thread, obj, keyValue, valueValue); in Set() 1633 keyValue.GetTaggedValue(), in Set() 1664 JSHandle<JSTaggedValue> keyValue = JSNApiHelper::ToJSHandle(key); in SetAccessorProperty() local [all …]
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_hclass_test.cpp | 282 JSHandle<JSTaggedValue> keyValue(thread, JSTaggedValue(i)); in HWTEST_F_L0() local 284 factory->ConcatFromString(keyHandle, JSTaggedValue::ToString(thread, keyValue))); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | stub_builder.h | 629 …GateRef GetPropertyByValue(GateRef glue, GateRef receiver, GateRef keyValue, ProfileOperation call…
|
D | stub_builder.cpp | 2651 GateRef StubBuilder::GetPropertyByValue(GateRef glue, GateRef receiver, GateRef keyValue, ProfileOp… in GetPropertyByValue() argument 2656 DEFVARIABLE(key, VariableType::JS_ANY(), keyValue); in GetPropertyByValue()
|
/arkcompiler/runtime_core/static_core/plugins/ets/doc/spec/ |
D | 7_expressions.rst | 1205 keyValue (',' keyValue)* ','? 1208 keyValue: 1212 The first expression in *keyValue* denotes a key, and must be of type *Key*;
|