Home
last modified time | relevance | path

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

12345678910>>...16

/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/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, double value) const in Add() argument
107 bool PtJson::Add(const char *key, const char *value) const in Add() argument
125 bool PtJson::Add(const char *key, const std::unique_ptr<PtJson> &value) const in Add() argument
332 Result PtJson::GetBool(const char *key, bool *value) const in GetBool() argument
346 Result PtJson::GetInt(const char *key, int32_t *value) const in GetInt() argument
356 Result PtJson::GetInt64(const char *key, int64_t *value) const in GetInt64() argument
366 Result PtJson::GetDouble(const char *key, double *value) const in GetDouble() argument
[all …]
/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.cpp24 …id LayoutInfo::AddKey(const JSThread *thread, [[maybe_unused]] int index, const JSTaggedValue &key, in AddKey()
57 JSTaggedValue key = GetKey(i); in GetAllKeys() local
69 JSTaggedValue key = GetKey(i); in GetAllKeys() local
82 JSTaggedValue key = GetKey(i); in GetAllKeys() local
102 JSTaggedValue key = GetKey(i); in GetAllEnumKeys() 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_tagged_value.cpp62 JSHandle<JSTaggedValue> key(thread, ToPrimitive(thread, tagged, PREFER_STRING)); in ToPropertyKey() local
516 const JSHandle<JSTaggedValue> &key) in GetProperty()
545 …sult JSTaggedValue::GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, uint32_t key) in GetProperty()
573const JSHandle<JSTaggedValue> &key, const JSHandle<JSTaggedValue> &receiver) in GetProperty()
601const JSHandle<JSTaggedValue> &key, const JSHandle<JSTaggedValue> &value, bool mayThrow) in SetProperty()
629 bool JSTaggedValue::SetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, uint32_t key, in SetProperty()
660const JSHandle<JSTaggedValue> &key, const JSHandle<JSTaggedValue> &value, in SetProperty()
690 const JSHandle<JSTaggedValue> &key) in DeleteProperty()
713 const JSHandle<JSTaggedValue> &key) in DeletePropertyOrThrow()
734const JSHandle<JSTaggedValue> &key, const PropertyDescriptor &desc) in DefinePropertyOrThrow()
[all …]
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()
Dtagged_dictionary.cpp21 int NameDictionary::Hash(const JSTaggedValue &key) in Hash()
38 bool NameDictionary::IsMatch(const JSTaggedValue &key, const JSTaggedValue &other) in IsMatch()
49 JSTaggedValue key = GetKey(hashIndex); in GetAllKeys() local
69 JSTaggedValue key = GetKey(hashIndex); in GetAllEnumKeys() local
103 void NameDictionary::SetEntry(const JSThread *thread, int entry, const JSTaggedValue &key, const JS… in SetEntry()
130 int NumberDictionary::Hash(const JSTaggedValue &key) in Hash()
140 bool NumberDictionary::IsMatch(const JSTaggedValue &key, const JSTaggedValue &other) in IsMatch()
165 JSTaggedValue key = obj->GetKey(hashIndex); in GetAllKeys() local
189 JSTaggedValue key = obj->GetKey(hashIndex); in GetAllEnumKeys() local
225 void NumberDictionary::SetEntry(const JSThread *thread, int entry, const JSTaggedValue &key, const … in SetEntry()
Dtransitions_dictionary.h28 static inline bool IsMatch([[maybe_unused]] const JSTaggedValue &key, in IsMatch()
33 static inline int Hash([[maybe_unused]] const JSTaggedValue &key) in Hash()
38 …static inline bool IsMatch(const JSTaggedValue &key, const JSTaggedValue &metaData, const JSTagged… in IsMatch()
44 static inline int Hash(const JSTaggedValue &key, const JSTaggedValue &metaData) in Hash()
106 …inline void SetEntry(const JSThread *thread, int entry, const JSTaggedValue &key, const JSTaggedVa… in SetEntry()
/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/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/ets_runtime/ecmascript/js_api/
Djs_api_tree_map.cpp25 …eeMap::Set(JSThread *thread, const JSHandle<JSAPITreeMap> &map, const JSHandle<JSTaggedValue> &key, in Set()
42 …eeMap::Get(JSThread *thread, const JSHandle<JSAPITreeMap> &map, const JSHandle<JSTaggedValue> &key) in Get()
56 JSTaggedValue key = TaggedTreeMap::Cast(GetTreeMap().GetTaggedObject())->GetKey(entry); in GetKey() local
68 const JSHandle<JSTaggedValue> &key) in Delete()
82 …ap::HasKey(JSThread *thread, const JSHandle<JSAPITreeMap> &map, const JSHandle<JSTaggedValue> &key) in HasKey()
101 …p::Replace(JSThread *thread, const JSHandle<JSAPITreeMap> &map, const JSHandle<JSTaggedValue> &key, in Replace()
/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/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/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
340 JSHandle<JSTaggedValue> key(thread, JSTaggedValue(i)); in HWTEST_F_L0() local
345 JSHandle<JSTaggedValue> key(thread, JSTaggedValue(i)); in HWTEST_F_L0() local
362 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
Djs_map_test.cpp88 JSHandle<JSTaggedValue> key(factory->NewFromASCII("key")); in HWTEST_F_L0() local
104 JSHandle<JSTaggedValue> key(factory->NewFromASCII(keyArray)); in HWTEST_F_L0() local
125 JSHandle<JSTaggedValue> key(thread, JSTaggedValue(i)); in HWTEST_F_L0() local
150 JSHandle<JSTaggedValue> key(thread, JSTaggedValue(i)); in HWTEST_F_L0() local
157 JSHandle<JSTaggedValue> key(thread, JSTaggedValue(5)); in HWTEST_F_L0() local
Drb_tree_node_test.cpp69 JSHandle<JSTaggedValue> key(thread, factory->NewFromStdString(k).GetTaggedValue()); in HWTEST_F_L0() local
88 JSHandle<JSTaggedValue> key(thread, factory->NewFromStdString(iKey).GetTaggedValue()); in HWTEST_F_L0() local
99 JSHandle<JSTaggedValue> key(thread, factory->NewFromStdString(iKey).GetTaggedValue()); in HWTEST_F_L0() local
120 JSHandle<JSTaggedValue> key(thread, factory->NewFromStdString(iKey).GetTaggedValue()); in HWTEST_F_L0() local
130 JSHandle<JSTaggedValue> key(thread, factory->NewFromStdString(iKey).GetTaggedValue()); in HWTEST_F_L0() local
141 JSHandle<JSTaggedValue> key(thread, factory->NewFromStdString(iKey).GetTaggedValue()); in HWTEST_F_L0() local
151 JSHandle<JSTaggedValue> key(thread, factory->NewFromStdString(iKey).GetTaggedValue()); in HWTEST_F_L0() local
170 JSHandle<JSTaggedValue> key(thread, factory->NewFromStdString(iKey).GetTaggedValue()); in HWTEST_F_L0() local
221 JSHandle<JSTaggedValue> key(thread, factory->NewFromStdString(iKey).GetTaggedValue()); in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/ic/
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()
190 …aggedValue StoreICRuntime::StoreMiss(JSHandle<JSTaggedValue> receiver, JSHandle<JSTaggedValue> key, in StoreMiss()
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()
/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
/arkcompiler/runtime_core/runtime/tooling/inspector/
Djson_property.h27 bool GetProperty(Result &result, const JsonObject &object, const JsonObject::Key &key, const Key &.… in GetProperty()
51 bool GetPropertyOrLog(Result &result, const JsonObject &object, const JsonObject::Key &key, const K… in GetPropertyOrLog()
/arkcompiler/runtime_core/libpandabase/utils/
Dhash_base.h36 static uint32_t GetHash32WithSeed(const uint8_t *key, size_t len, uint32_t seed) in GetHash32WithSeed()
46 static uint32_t GetHash32(const uint8_t *key, size_t len) in GetHash32()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_weak_map.cpp89 JSHandle<JSTaggedValue> key = GetCallArg(argv, 0); in Delete() local
110 JSHandle<JSTaggedValue> key = GetCallArg(argv, 0); in Has() local
131 JSHandle<JSTaggedValue> key = GetCallArg(argv, 0); in Get() local
152 JSHandle<JSTaggedValue> key = GetCallArg(argv, 0); in Set() local

12345678910>>...16