Home
last modified time | relevance | path

Searched full:has (Results 1 – 25 of 520) sorted by relevance

12345678910>>...21

/arkcompiler/ets_runtime/test/moduletest/container/
Dcontainer_treeset.js31 // test has: true
32 map.set("test has:", set.length == 2 && set.has("aa") && set.has("bb") && !set.has("cc"));
69 setFlag= set.has(key) && set.has(value);
81 set.popLast() == "ee" && !set.has("aa"));
83 map.set("test remove:", set.remove("bb") && set.length == 2 && !set.has("bb"));
86 map.set("test clear:", set.length == 0 && !set.has("cc") && set.isEmpty());
101 // test has: true
102 … map.set("test has:", proxy.length == 2 && proxy.has("aa") && proxy.has("bb") && !proxy.has("cc"));
139 setFlag1 = proxy.has(key) && proxy.has(value);
151 proxy.popLast() == "ee" && !proxy.has("aa"));
[all …]
Dcontainer_lightweightset.js34 // test has: true
35 res.set("test has 1:", proxy.has(1));
36 res.set("test has 2:", proxy.has(2));
37 res.set("test has 3:", proxy.has(3));
38 // test has: false
39 res.set("test has 4:", proxy.has(4) == false);
63 flag = proxy.has(key) && proxy.has(value);
Dcontainer_hashset.js31 // test has: true
32 map.set("test has:", set.length == 2 && set.has("aa") && set.has("bb") && !set.has("cc"));
73 map.set("test clear:", set.length == 0 && !set.has("cc") && set.isEmpty());
88 // test has: true
89 … map.set("test has:", proxy.length == 2 && proxy.has("aa") && proxy.has("bb") && !proxy.has("cc"));
131 map.set("test clear:", proxy.length == 0 && !proxy.has("cc") && proxy.isEmpty());
Dcontainer_linked_list.js32 map.set("test linkedlist has:", list.has(8))
33 map.set("test linkedlist not has:", list.has(2))
165 map.set("test linkedlist has:", proxy.has(8))
166 map.set("test linkedlist not has:", proxy.has(2))
Dcontainer_list.js36 map.set("test list has:", list.has(8))
37 map.set("test list not has:", list.has(123) === false)
194 map.set("test list has:", proxy.has(8))
195 map.set("test list not has:", proxy.has(123) === false)
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_api_tree_set_test.cpp121 // test has in HWTEST_F_L0()
122 bool has = JSAPITreeSet::Has(thread, tset, key); in HWTEST_F_L0() local
123 EXPECT_EQ(has, true); in HWTEST_F_L0()
164 // test has in HWTEST_F_L0()
165 bool has = JSAPITreeSet::Has(thread, tset, key); in HWTEST_F_L0() local
166 EXPECT_EQ(has, false); in HWTEST_F_L0()
173 // test has in HWTEST_F_L0()
174 bool has = JSAPITreeSet::Has(thread, tset, key); in HWTEST_F_L0() local
175 EXPECT_EQ(has, true); in HWTEST_F_L0()
201 // test has in HWTEST_F_L0()
[all …]
Djs_api_hashset_test.cpp115 // test has in HWTEST_F_L0()
116 JSTaggedValue bHas = hashSet->Has(thread, value.GetTaggedValue()); in HWTEST_F_L0()
125 // test Has exception in HWTEST_F_L0()
126 JSTaggedValue exceptionHas = hashSet->Has(thread, JSTaggedValue::Hole()); in HWTEST_F_L0()
158 // test has in HWTEST_F_L0()
159 JSTaggedValue has = hashSet->Has(thread, value.GetTaggedValue()); in HWTEST_F_L0() local
160 EXPECT_EQ(has, JSTaggedValue::False()); in HWTEST_F_L0()
167 // test has in HWTEST_F_L0()
168 JSTaggedValue has = hashSet->Has(thread, value.GetTaggedValue()); in HWTEST_F_L0() local
169 EXPECT_EQ(has, JSTaggedValue::True()); in HWTEST_F_L0()
[all …]
Djs_proxy_test.cpp102 // 1. handler has no "get" in HWTEST_F_L0()
120 // 2. handler has "get" in HWTEST_F_L0()
143 // 1. handler has no "get" in HWTEST_F_L0()
163 // 2. handler has "get" in HWTEST_F_L0()
185 // 1. handler has no "get" in HWTEST_F_L0()
187 // 1. handler has no "get" in HWTEST_F_L0()
205 // 2. handler has "set" in HWTEST_F_L0()
228 // 1. handler has no "defineProperty" in HWTEST_F_L0()
247 // 2. handler has "defineProperty" in HWTEST_F_L0()
270 // 1. handler has no "deleteProperty" in HWTEST_F_L0()
[all …]
Djs_set_test.cpp91 EXPECT_TRUE(set->Has(key.GetTaggedValue())); in HWTEST_F_L0()
106 EXPECT_TRUE(set->Has(key.GetTaggedValue())); in HWTEST_F_L0()
109 // whether jsSet has delete key in HWTEST_F_L0()
113 EXPECT_FALSE(set->Has(deleteKey.GetTaggedValue())); in HWTEST_F_L0()
/arkcompiler/runtime_core/compiler/optimizer/code_generator/target/amd64/
Dregfile.cpp41 if (callee_saved_.Has(i)) { in GetCalleeSaved()
44 if (callee_savedv_.Has(i)) { in GetCalleeSaved()
88 if (!scalar_used && callee_saved_.Has(i)) { in SetUsedRegs()
91 if (!scalar_used && caller_saved_.Has(i)) { in SetUsedRegs()
96 if (!vector_used && callee_savedv_.Has(i)) { in SetUsedRegs()
99 if (!vector_used && caller_savedv_.Has(i)) { in SetUsedRegs()
/arkcompiler/ets_runtime/test/aottest/aot_compatibility_test/builtins_api/
Dbuiltins_api.ts26 print("Reflect.has:", Reflect.has(this, "b"));
35 print("Reflect.has:", Reflect.has(this, "b"));
Dexpect_output.txt18 Reflect.has: false
26 Reflect.has: true
/arkcompiler/runtime_core/runtime/
Dglobal_handle_storage.h94 // TaggedType has been specialized for js, Other types are empty implementation
97 // TaggedType has been specialized for js, Other types are empty implementation
100 // TaggedType has been specialized for js, Other types are empty implementation
105 // TaggedType has been specialized for js, Other types are empty implementation
Dvtable_builder.cpp22 // we have to guarantee that while we are iterating itable, the child interface has to be accessed …
23 // interface. interface without inheritance has no limit.
/arkcompiler/runtime_core/docs/
Dfile_format.md39 Local entities has the same header as the corresponding foreign. So
227 To address file structures using 16-bit indexes file is split into regions. Each region has class, …
292 …sleb128` | Integral value of the field. This tag is used when the field has type `boolean`, `by…
294 …sible** annotation of the field. The tag may be repeated in case the field has several annotations…
295 …sible** annotation of the field. The tag may be repeated in case the field has several annotations…
296 …** type annotation of the field. The tag may be repeated in case the field has several annotations…
297 …** type annotation of the field. The tag may be repeated in case the field has several annotations…
363 …ble** annotation of the method. The tag may be repeated in case the method has several annotations…
366 …ble** annotation of the method. The tag may be repeated in case the method has several annotations…
368 … type annotation of the method. The tag may be repeated in case the method has several annotations…
[all …]
/arkcompiler/ets_frontend/ts2panda/src/
DtypeRecorder.ts82 return this.type2Index.has(typeNode);
86 if (this.type2Index.has(typeNode)) {
94 if (this.variable2Type.has(variableNode)) {
106 return this.arrayTypeMap.has(contentTypeIndex);
118 return this.unionTypeMap.has(unionStr);
130 return this.class2InstanceMap.has(classIndex);
142 return this.builtinContainer2InstanceMap.has(builtinContainer);
235 return this.namespaceMap.has(targetName);
/arkcompiler/runtime_core/compiler/docs/
Dbalance_expressions_doc.md26 `Analysis of operator inputs` is a check if `lhs`(`rhs`) has the same opcode and has the only user …
105 // As soon as v10 has more than one users it has side-effects, so the algorithm considers it as a t…
128 // As soon as v10 has more than one users it has side-effects, so the algorithm considers it as a t…
Dreg_alloc_graph_coloring_doc.md26 … set as pre-color for node. And input parameters is marked for split if it has intersection with c…
39 …t parameters of function itself and arguments for call-sites, and affinity subgraph has been added.
48 …ias colors bitsets. For each node it is checked if it is a neighbor and it has a color, this value…
49 Having “Busy”-bitmaps for current node, assignment phase is started. If node has bias and color set…
51 After color for node has been chosen, if node has bias and in bias-array color is in “Undefined” st…
/arkcompiler/ets_runtime/ecmascript/
Djs_weak_container.cpp50 bool JSWeakMap::Has(JSTaggedValue key) const in Has() function in panda::ecmascript::JSWeakMap
52 return LinkedHashMap::Cast(GetLinkedMap().GetTaggedObject())->Has(key); in Has()
89 bool JSWeakSet::Has(JSTaggedValue value) const in Has() function in panda::ecmascript::JSWeakSet
91 return LinkedHashSet::Cast(GetLinkedSet().GetTaggedObject())->Has(value); in Has()
Druntime_call_id.h339 V(Map, Has) \
478 V(Reflect, Has) \
501 V(Set, Has) \
579 V(WeakMap, Has) \
584 V(WeakSet, Has) \
595 V(ArrayList, Has) \
642 V(LightWeightSet, Has) \
661 V(PlainArray, Has) \
693 V(HashSet, Has) \
724 V(TreeSet, Has) \
[all …]
/arkcompiler/ets_frontend/es2panda/test/hotreload/add-dup-name-function/
Dbase_mod.js16 // Test scenario: add function which has same name as exits functions, es2abc can specify and throw…
20 function B() { // add function B, which has a duplicate name
/arkcompiler/ets_frontend/es2panda/test/hotfix/hotfix-throwerror/add-dup-name-function/
Dbase_mod.js16 // Test scenario: add function which has same name as exits functions, es2abc can specify and throw…
20 function B() { // add function B, which has a duplicate name
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_weak_set_test.cpp137 JSTaggedValue result1 = BuiltinsWeakSet::Has(ecmaRuntimeCallInfo); in HWTEST_F_L0()
149 // test Has() in HWTEST_F_L0()
156 JSTaggedValue result3 = BuiltinsWeakSet::Has(ecmaRuntimeCallInfo1); in HWTEST_F_L0()
187 // whether jsWeakSet has delete lastKey in HWTEST_F_L0()
195 JSTaggedValue result2 = BuiltinsWeakSet::Has(ecmaRuntimeCallInfo1); in HWTEST_F_L0()
206 JSTaggedValue result4 = BuiltinsWeakSet::Has(ecmaRuntimeCallInfo1); in HWTEST_F_L0()
Dbuiltins_weak_map_test.cpp141 JSTaggedValue result1 = BuiltinsWeakMap::Has(ecmaRuntimeCallInfo); in HWTEST_F_L0()
153 // test Has() in HWTEST_F_L0()
161 JSTaggedValue result3 = BuiltinsWeakMap::Has(ecmaRuntimeCallInfo1); in HWTEST_F_L0()
193 // whether jsWeakMap has delete lastKey in HWTEST_F_L0()
201 JSTaggedValue result2 = BuiltinsWeakMap::Has(ecmaRuntimeCallInfo1); in HWTEST_F_L0()
212 JSTaggedValue result4 = BuiltinsWeakMap::Has(ecmaRuntimeCallInfo1); in HWTEST_F_L0()
Dbuiltins_set_test.cpp150 JSTaggedValue result1 = BuiltinsSet::Has(ecmaRuntimeCallInfo); in HWTEST_F_L0()
161 // test Has() in HWTEST_F_L0()
168 JSTaggedValue result3 = BuiltinsSet::Has(ecmaRuntimeCallInfo1); in HWTEST_F_L0()
193 [[maybe_unused]] JSTaggedValue result4 = BuiltinsSet::Has(ecmaRuntimeCallInfo3); in HWTEST_F_L0()
202 // generate a set has 5 entry{key1,key2,key3,key4,key5} in HWTEST_F_L0()
266 // whether jsSet has delete key in HWTEST_F_L0()
276 JSTaggedValue result2 = BuiltinsSet::Has(ecmaRuntimeCallInfo1); in HWTEST_F_L0()
286 JSTaggedValue result4 = BuiltinsSet::Has(ecmaRuntimeCallInfo1); in HWTEST_F_L0()
329 JSHandle<JSTaggedValue> key2(factory->NewFromASCII("has")); in HWTEST_F_L0()

12345678910>>...21