Home
last modified time | relevance | path

Searched defs:key (Results 1 – 25 of 455) sorted by relevance

12345678910>>...19

/arkcompiler/ets_runtime/test/aottest/vtable/forin/
Dforin.ts30 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/
DastDump.h76 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/
DdestructuredMaappedTypeIsNotImplicitlyAny.ts22 …const { [key]: bar } = obj; // Element implicitly has an 'any' type because type '{ [_ in T]: numb… constant
31 const lorem = obj[key]; constant
DtypeGuardsTypeParameters.ts73 for (const key in item) { constant
77 const value = item[key]; constant
/arkcompiler/ets_frontend/merge_abc/protos/
DassemblyProgram.proto26 bytes key = 1; field
30 bytes key = 1; field
34 bytes key = 1; field
38 bytes key = 1; field
/arkcompiler/ets_runtime/ecmascript/
Djs_arguments.cpp25 const JSHandle<JSTaggedValue> &key, PropertyDescriptor &desc) in GetOwnProperty()
45const JSHandle<JSTaggedValue> &key, const PropertyDescriptor &desc) in DefineOwnProperty()
58const 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()
Dlayout_info.cpp35 …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
Dlinked_hash_table.cpp40 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()
Djs_hclass-inl.h34 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()
Djs_arguments.h43 const JSHandle<JSTaggedValue> &key) in GetProperty()
50 …ol SetProperty(JSThread *thread, const JSHandle<JSObject> &obj, const JSHandle<JSTaggedValue> &key, in SetProperty()
Djs_tagged_value.cpp64 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()
582const JSHandle<JSTaggedValue> &key, const JSHandle<JSTaggedValue> &receiver) in GetProperty()
610const 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()
669const JSHandle<JSTaggedValue> &key, const JSHandle<JSTaggedValue> &value, in SetProperty()
699 const JSHandle<JSTaggedValue> &key) in DeleteProperty()
722 const JSHandle<JSTaggedValue> &key) in DeletePropertyOrThrow()
743const JSHandle<JSTaggedValue> &key, const PropertyDescriptor &desc) in DefinePropertyOrThrow()
[all …]
/arkcompiler/toolchain/tooling/base/
Dpt_json.cpp61 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/
Dbuiltins_lazy_test.cpp72 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/
Dplugin_options.rb24 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/
Dtest-runner.rb33 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/
Djs_api_tree_map.cpp25 …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/
Djs_cjs_module_cache.h68 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/
Dpgo_profiler_layout.cpp24 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/
Dhash_base.h37 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/
Djs_api_plain_array_test.cpp68 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 …]
Djs_set_test.cpp89 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/
Dproperties_cache.h29 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()
Dic_runtime.cpp34 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/
Dcontainer_treeset.js68 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/
DastPrinter.ts43 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

12345678910>>...19