| /arkcompiler/ets_runtime/test/aottest/vtable/forin/ |
| D | forin.ts | 30 for (let key in a) { variable 36 for (let key in a) { variable 42 for (let key in a) { variable 48 for (let key in a) { variable 54 for (let key in a) { variable
|
| /arkcompiler/ets_frontend/es2panda/ir/ |
| D | astDump.h | 76 Property(const char *key, const char *string) : key_(key), value_(string) {} in Property() 77 Property(const char *key, util::StringView str) : key_(key), value_(str) {} in Property() 78 Property(const char *key, bool boolean) : key_(key), value_(boolean) {} in Property() 79 Property(const char *key, double number) : key_(key), value_(number) {} in Property() 80 Property(const char *key, lexer::TokenType token) : key_(key), value_(token) {} in Property() 81 … Property(const char *key, std::initializer_list<Property> props) : key_(key), value_(props) {} in Property() 82 …Property(const char *key, const ir::AstNode *node) : key_(key), value_(const_cast<ir::AstNode *>(n… in Property() 84 Property(const char *key, Constant constant) : key_(key), value_(constant) {} in Property() 85 Property(const char *key, Nullable nullable) : key_(key) in Property() 94 Property(const char *key, Optional optional) : key_(key) in Property() [all …]
|
| /arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
| D | destructuredMaappedTypeIsNotImplicitlyAny.ts | 22 …const { [key]: bar } = obj; // Element implicitly has an 'any' type because type '{ [_ in T]: numb… constant 31 const lorem = obj[key]; constant
|
| D | typeGuardsTypeParameters.ts | 73 for (const key in item) { constant 77 const value = item[key]; constant
|
| /arkcompiler/ets_frontend/merge_abc/protos/ |
| D | assemblyProgram.proto | 26 bytes key = 1; field 30 bytes key = 1; field 34 bytes key = 1; field 38 bytes key = 1; field
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | js_arguments.cpp | 25 const JSHandle<JSTaggedValue> &key, PropertyDescriptor &desc) in GetOwnProperty() 45 … const JSHandle<JSTaggedValue> &key, const PropertyDescriptor &desc) in DefineOwnProperty() 58 … const JSHandle<JSTaggedValue> &key, const JSHandle<JSTaggedValue> &receiver) in GetProperty() 66 …etProperty(JSThread *thread, const JSHandle<JSArguments> &args, const JSHandle<JSTaggedValue> &key, in SetProperty() 75 const JSHandle<JSTaggedValue> &key) in DeleteProperty()
|
| D | layout_info.cpp | 35 …id LayoutInfo::AddKey(const JSThread *thread, [[maybe_unused]] int index, const JSTaggedValue &key, in AddKey() 68 JSTaggedValue key = GetKey(i); in GetAllKeys() local 80 JSTaggedValue key = GetKey(i); in GetAllKeys() local 98 JSTaggedValue key = GetKey(static_cast<int>(i)); in GetAllKeysByFilter() local 116 JSTaggedValue key = GetKey(static_cast<int>(i)); in GetAllKeysByFilter() local 134 JSTaggedValue key = GetKey(i); in GetAllKeys() local 154 JSTaggedValue key = GetKey(i); in GetAllEnumKeys() local 179 auto key = GetKey(index); in DumpFieldIndexForProfile() local
|
| D | linked_hash_table.cpp | 40 const JSHandle<JSTaggedValue> &key, in Insert() 65 …const JSHandle<Derived> &table, const JSHandle<JSTaggedValue> &key, const JSHandle<JSTaggedValue> … in InsertWeakRef() 106 const JSHandle<JSTaggedValue> &key) in Remove() 139 const JSHandle<JSTaggedValue> &key) in Delete() 145 const JSHandle<JSTaggedValue> &key, const JSHandle<JSTaggedValue> &value) in Set() 151 const JSHandle<JSTaggedValue> &key, const JSHandle<JSTaggedValue> &value) in SetWeakRef() 194 const JSHandle<JSTaggedValue> &key) in Delete() 200 const JSHandle<JSTaggedValue> &key) in Add() 206 const JSHandle<JSTaggedValue> &key) in AddWeakRef() 233 int LinkedHash::Hash(JSTaggedValue key) in Hash()
|
| D | js_hclass-inl.h | 34 const JSHandle<JSTaggedValue> &key, PropertyAttributes attributes) in AddTransitions() 61 … const JSHandle<JSHClass> &child, const JSHandle<JSTaggedValue> &key) in AddExtensionTransitions() 68 … const JSHandle<JSHClass> &child, const JSHandle<JSTaggedValue> &key, in AddProtoTransitions() 92 inline JSHClass *JSHClass::FindTransitions(const JSTaggedValue &key, const JSTaggedValue &attribute… in FindTransitions() 126 inline JSHClass *JSHClass::FindProtoTransitions(const JSTaggedValue &key, const JSTaggedValue &prot… in FindProtoTransitions() 149 …JSHClass::UpdatePropertyMetaData(const JSThread *thread, [[maybe_unused]] const JSTaggedValue &key, in UpdatePropertyMetaData() 237 inline int JSHClass::FindPropertyEntry(const JSThread *thread, JSHClass *hclass, JSTaggedValue key) in FindPropertyEntry()
|
| D | js_arguments.h | 43 const JSHandle<JSTaggedValue> &key) in GetProperty() 50 …ol SetProperty(JSThread *thread, const JSHandle<JSObject> &obj, const JSHandle<JSTaggedValue> &key, in SetProperty()
|
| D | js_tagged_value.cpp | 64 JSHandle<JSTaggedValue> key(thread, ToPrimitive(thread, tagged, PREFER_STRING)); in ToPropertyKey() local 525 const JSHandle<JSTaggedValue> &key) in GetProperty() 554 …sult JSTaggedValue::GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, uint32_t key) in GetProperty() 582 … const JSHandle<JSTaggedValue> &key, const JSHandle<JSTaggedValue> &receiver) in GetProperty() 610 … const JSHandle<JSTaggedValue> &key, const JSHandle<JSTaggedValue> &value, bool mayThrow) in SetProperty() 638 bool JSTaggedValue::SetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, uint32_t key, in SetProperty() 669 … const JSHandle<JSTaggedValue> &key, const JSHandle<JSTaggedValue> &value, in SetProperty() 699 const JSHandle<JSTaggedValue> &key) in DeleteProperty() 722 const JSHandle<JSTaggedValue> &key) in DeletePropertyOrThrow() 743 … const JSHandle<JSTaggedValue> &key, const PropertyDescriptor &desc) in DefinePropertyOrThrow() [all …]
|
| /arkcompiler/toolchain/tooling/base/ |
| D | pt_json.cpp | 61 bool PtJson::Add(const char *key, bool value) const in Add() argument 79 bool PtJson::Add(const char *key, int32_t value) const in Add() argument 84 bool PtJson::Add(const char *key, int64_t value) const in Add() argument 89 bool PtJson::Add(const char *key, uint32_t value) const in Add() argument 94 bool PtJson::Add(const char *key, double value) const in Add() argument 112 bool PtJson::Add(const char *key, const char *value) const in Add() argument 130 bool PtJson::Add(const char *key, const std::unique_ptr<PtJson> &value) const in Add() argument 351 Result PtJson::GetBool(const char *key, bool *value) const in GetBool() argument 365 Result PtJson::GetInt(const char *key, int32_t *value) const in GetInt() argument 375 Result PtJson::GetInt64(const char *key, int64_t *value) const in GetInt64() argument [all …]
|
| /arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
| D | builtins_lazy_test.cpp | 72 JSHandle<JSTaggedValue> key(factory->NewFromUtf8("Date")); in HWTEST_F_L0() local 85 JSHandle<JSTaggedValue> key(factory->NewFromUtf8("Date")); in HWTEST_F_L0() local 102 JSHandle<JSTaggedValue> key(factory->NewFromUtf8("now")); in HWTEST_F_L0() local 111 auto key = factory->NewFromUtf8("Date"); in HWTEST_F_L0() local 126 JSHandle<JSTaggedValue> key(factory->NewFromUtf8("add")); in HWTEST_F_L0() local 135 JSTaggedValue key = factory->NewFromUtf8("Set").GetTaggedValue(); in HWTEST_F_L0() local 150 JSHandle<JSTaggedValue> key(factory->NewFromUtf8("clear")); in HWTEST_F_L0() local 159 JSTaggedValue key = factory->NewFromUtf8("Map").GetTaggedValue(); in HWTEST_F_L0() local 174 JSHandle<JSTaggedValue> key(factory->NewFromUtf8("delete")); in HWTEST_F_L0() local 183 JSTaggedValue key = factory->NewFromUtf8("WeakMap").GetTaggedValue(); in HWTEST_F_L0() local [all …]
|
| /arkcompiler/runtime_core/templates/ |
| D | plugin_options.rb | 24 def assign_data_level(cur_hash, key, cur_data) argument 41 def wrap_array_level(cur_hash, key, cur_data) argument 51 def wrap_hash_level(cur_hash, key, cur_data) argument
|
| /arkcompiler/runtime_core/tests/cts-generator/ |
| D | test-runner.rb | 33 def check_option(optparser, options, key) argument 41 def check_option_limit(optparser, options, key, min, max) argument 50 def check_option_enum(optparser, options, key, enum) argument
|
| /arkcompiler/ets_runtime/ecmascript/js_api/ |
| D | js_api_tree_map.cpp | 25 …eeMap::Set(JSThread *thread, const JSHandle<JSAPITreeMap> &map, const JSHandle<JSTaggedValue> &key, in Set() 43 …eeMap::Get(JSThread *thread, const JSHandle<JSAPITreeMap> &map, const JSHandle<JSTaggedValue> &key) in Get() 57 JSTaggedValue key = TaggedTreeMap::Cast(GetTreeMap().GetTaggedObject())->GetKey(entry); in GetKey() local 69 const JSHandle<JSTaggedValue> &key) in Delete() 83 …ap::HasKey(JSThread *thread, const JSHandle<JSAPITreeMap> &map, const JSHandle<JSTaggedValue> &key) in HasKey() 102 …p::Replace(JSThread *thread, const JSHandle<JSAPITreeMap> &map, const JSHandle<JSTaggedValue> &key, in Replace()
|
| /arkcompiler/ets_runtime/ecmascript/require/ |
| D | js_cjs_module_cache.h | 68 static inline int Hash(const JSTaggedValue &key) in Hash() 82 inline int FindEntry(const JSTaggedValue &key) in FindEntry() 104 inline bool ContainsModule(const JSTaggedValue &key) in ContainsModule() 110 inline JSTaggedValue GetModule(const JSTaggedValue &key) in GetModule() 118 const JSHandle<JSTaggedValue> &key, in SetEntry()
|
| /arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
| D | pgo_profiler_layout.cpp | 24 void PGOHClassLayoutDesc::UpdateKeyAndDesc(const CString &key, const PGOHandler &handler, PGOObjKin… in UpdateKeyAndDesc() 43 bool PGOHClassLayoutDesc::FindDescWithKey(const CString &key, PGOHandler &handler) const in FindDescWithKey() argument 66 void PGOHClassLayoutDesc::UpdateKeyAndDesc(const CString &key, const PGOHandler &handler, LayoutDes… in UpdateKeyAndDesc()
|
| /arkcompiler/runtime_core/libpandabase/utils/ |
| D | hash_base.h | 37 static uint32_t GetHash32WithSeed(const uint8_t *key, size_t len, uint32_t seed) in GetHash32WithSeed() 47 static uint32_t GetHash32(const uint8_t *key, size_t len) in GetHash32()
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | js_api_plain_array_test.cpp | 68 JSHandle<JSTaggedValue> key(factory->NewFromASCII("ArkPrivate")); in CreatePlainArray() local 103 JSMutableHandle<JSTaggedValue> key(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0() local 150 JSMutableHandle<JSTaggedValue> key(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0() local 188 JSMutableHandle<JSTaggedValue> key(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0() local 231 JSMutableHandle<JSTaggedValue> key(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0() local 280 JSMutableHandle<JSTaggedValue> key(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0() local 304 JSMutableHandle<JSTaggedValue> key(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0() local 338 JSHandle<JSTaggedValue> key(thread, JSTaggedValue(i)); in HWTEST_F_L0() local 343 JSHandle<JSTaggedValue> key(thread, JSTaggedValue(i)); in HWTEST_F_L0() local 360 JSHandle<JSTaggedValue> key(thread, JSTaggedValue(i)); in HWTEST_F_L0() local [all …]
|
| D | js_set_test.cpp | 89 JSHandle<JSTaggedValue> key(factory->NewFromASCII("key")); in HWTEST_F_L0() local 104 JSHandle<JSTaggedValue> key(factory->NewFromASCII(keyArray)); in HWTEST_F_L0() local 122 JSHandle<JSTaggedValue> key(thread, JSTaggedValue(i)); in HWTEST_F_L0() local 139 JSHandle<JSTaggedValue> key(thread, JSTaggedValue(i)); in HWTEST_F_L0() local 147 JSHandle<JSTaggedValue> key(thread, JSTaggedValue(5)); in HWTEST_F_L0() local
|
| /arkcompiler/ets_runtime/ecmascript/ic/ |
| D | properties_cache.h | 29 inline int Get(JSHClass *jsHclass, JSTaggedValue key) in Get() 38 inline void Set(JSHClass *jsHclass, JSTaggedValue key, int index) in Set() 72 static inline int Hash(JSHClass *cls, JSTaggedValue key) in Hash()
|
| D | ic_runtime.cpp | 34 void ICRuntime::UpdateLoadHandler(const ObjectOperator &op, JSHandle<JSTaggedValue> key, in UpdateLoadHandler() 82 void ICRuntime::UpdateStoreHandler(const ObjectOperator &op, JSHandle<JSTaggedValue> key, in UpdateStoreHandler() 148 JSTaggedValue LoadICRuntime::LoadMiss(JSHandle<JSTaggedValue> receiver, JSHandle<JSTaggedValue> key) in LoadMiss() 195 …aggedValue StoreICRuntime::StoreMiss(JSHandle<JSTaggedValue> receiver, JSHandle<JSTaggedValue> key, in StoreMiss()
|
| /arkcompiler/ets_runtime/test/moduletest/container/ |
| D | container_treeset.js | 68 function TestForEach(value, key, set) { argument 138 function TestForEach1(value, key, proxy) { argument 167 function elements(value, key, map) { argument
|
| /arkcompiler/ets_frontend/ts2panda/tools/ |
| D | astPrinter.ts | 43 for (const [key, value] of Object.entries(ts.SyntaxKind)) { constant 92 for (const [key, value] of Object.entries(array)) { constant 126 for (const [key, value] of Object.entries(node)) { constant
|