/arkcompiler/ets_runtime/ecmascript/tests/ |
D | tagged_tree_test.cpp | 188 constexpr int NODE_NUMBERS = 64; in HWTEST_F_L0() local 189 JSHandle<TaggedTreeMap> tmap(thread, TaggedTreeMap::Create(thread, NODE_NUMBERS)); in HWTEST_F_L0() 190 EXPECT_EQ(tmap->Capacity(), NODE_NUMBERS); in HWTEST_F_L0() 198 constexpr int NODE_NUMBERS = 64; in HWTEST_F_L0() local 199 JSHandle<TaggedTreeSet> tset(thread, TaggedTreeSet::Create(thread, NODE_NUMBERS)); in HWTEST_F_L0() 200 EXPECT_EQ(tset->Capacity(), NODE_NUMBERS); in HWTEST_F_L0() 209 constexpr int NODE_NUMBERS = 64; in HWTEST_F_L0() local 210 JSMutableHandle<TaggedTreeMap> tmap(thread, TaggedTreeMap::Create(thread, NODE_NUMBERS)); in HWTEST_F_L0() 245 constexpr int NODE_NUMBERS = 64; in HWTEST_F_L0() local 246 JSMutableHandle<TaggedTreeSet> tset(thread, TaggedTreeSet::Create(thread, NODE_NUMBERS)); in HWTEST_F_L0() [all …]
|
D | js_api_tree_set_test.cpp | 98 constexpr int NODE_NUMBERS = 8; in HWTEST_F_L0() local 105 for (int i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 110 EXPECT_EQ(tset->GetSize(), NODE_NUMBERS); in HWTEST_F_L0() 117 for (int i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 129 constexpr int NODE_NUMBERS = 64; in HWTEST_F_L0() local 137 for (int i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 142 EXPECT_EQ(tset->GetSize(), NODE_NUMBERS); in HWTEST_F_L0() 146 std::string ikey = myKey + std::to_string(NODE_NUMBERS); in HWTEST_F_L0() 158 EXPECT_EQ(tset->GetSize(), NODE_NUMBERS - REMOVE_SIZE); in HWTEST_F_L0() 169 for (int i = REMOVE_SIZE; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() [all …]
|
D | js_api_lightweightset_test.cpp | 101 constexpr uint32_t NODE_NUMBERS = 8; // 8 means the value in HWTEST_F_L0() local 109 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 113 EXPECT_EQ(lws->GetSize(), NODE_NUMBERS); in HWTEST_F_L0() 115 uint32_t tmp = NODE_NUMBERS * 2; // 2 means the value in HWTEST_F_L0() 123 JSAPILightWeightSet::IncreaseCapacityTo(thread, lws, NODE_NUMBERS); in HWTEST_F_L0() 127 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 132 for (uint32_t i = 0; i < NODE_NUMBERS + 2; i++) { in HWTEST_F_L0() 137 tmp = NODE_NUMBERS + 2; // 2 means the value in HWTEST_F_L0() 143 constexpr uint32_t NODE_NUMBERS = 8; // 8 means the value in HWTEST_F_L0() local 160 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() [all …]
|
D | js_api_tree_map_test.cpp | 98 constexpr int NODE_NUMBERS = 8; in HWTEST_F_L0() local 107 for (int i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 114 EXPECT_EQ(tmap->GetSize(), NODE_NUMBERS); in HWTEST_F_L0() 121 for (int i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 135 constexpr int NODE_NUMBERS = 64; in HWTEST_F_L0() local 145 for (int i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 152 EXPECT_EQ(tmap->GetSize(), NODE_NUMBERS); in HWTEST_F_L0() 159 EXPECT_EQ(tmap->GetSize(), NODE_NUMBERS - REMOVE_SIZE); in HWTEST_F_L0() 174 for (int i = REMOVE_SIZE; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 190 constexpr int NODE_NUMBERS = 8; in HWTEST_F_L0() local [all …]
|
D | js_api_hashmap_test.cpp | 97 constexpr uint32_t NODE_NUMBERS = 8; in HWTEST_F_L0() local 115 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 122 EXPECT_EQ(hashMap->GetSize(), NODE_NUMBERS); in HWTEST_F_L0() 127 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 141 constexpr uint32_t NODE_NUMBERS = 8; in HWTEST_F_L0() local 159 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 166 EXPECT_EQ(hashMap->GetSize(), NODE_NUMBERS); in HWTEST_F_L0() 172 for (uint32_t i = 0; i < NODE_NUMBERS / 2; i++) { in HWTEST_F_L0() 177 EXPECT_EQ(hashMap->GetSize(), NODE_NUMBERS / 2); in HWTEST_F_L0() 179 for (uint32_t i = 0; i < NODE_NUMBERS / 2; i++) { in HWTEST_F_L0() [all …]
|
D | js_api_hashset_test.cpp | 97 constexpr uint32_t NODE_NUMBERS = 8; in HWTEST_F_L0() local 104 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 109 EXPECT_EQ(hashSet->GetSize(), NODE_NUMBERS); in HWTEST_F_L0() 111 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 133 constexpr uint32_t NODE_NUMBERS = 8; in HWTEST_F_L0() local 140 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 145 EXPECT_EQ(hashSet->GetSize(), NODE_NUMBERS); in HWTEST_F_L0() 147 for (uint32_t i = 0; i < NODE_NUMBERS / 2; i++) { in HWTEST_F_L0() 152 EXPECT_EQ(hashSet->GetSize(), NODE_NUMBERS / 2); in HWTEST_F_L0() 154 for (uint32_t i = 0; i < NODE_NUMBERS / 2; i++) { in HWTEST_F_L0() [all …]
|
D | js_api_plain_array_test.cpp | 101 constexpr uint32_t NODE_NUMBERS = 8; // 8 means the value in HWTEST_F_L0() local 109 for (uint32_t i = 0; i < NODE_NUMBERS; i = i + 2) { in HWTEST_F_L0() 118 for (uint32_t i = 1; i < NODE_NUMBERS; i = i + 2) { in HWTEST_F_L0() 127 EXPECT_EQ(array->GetSize(), static_cast<int>(NODE_NUMBERS)); in HWTEST_F_L0() 129 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 140 EXPECT_EQ(array->GetKeyAt(NODE_NUMBERS), JSTaggedValue::Undefined()); in HWTEST_F_L0() 148 constexpr uint32_t NODE_NUMBERS = 8; // 8 means the value in HWTEST_F_L0() local 156 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 163 EXPECT_EQ(array->GetSize(), static_cast<int>(NODE_NUMBERS)); in HWTEST_F_L0() 169 EXPECT_EQ(newArray->GetSize(), static_cast<int>(NODE_NUMBERS)); in HWTEST_F_L0() [all …]
|
D | rb_tree_node_test.cpp | 60 uint32_t NODE_NUMBERS = 8; member in panda::test::RBTreeNodeTest 85 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 94 EXPECT_EQ(rootNode->GetCount(), NODE_NUMBERS); in HWTEST_F_L0() 96 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 117 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 126 EXPECT_EQ(rootNode->GetCount(), NODE_NUMBERS); in HWTEST_F_L0() 128 for (uint32_t i = 0; i < NODE_NUMBERS / 2; i++) { in HWTEST_F_L0() 137 EXPECT_EQ(rootNode->GetCount(), (NODE_NUMBERS / 2)); in HWTEST_F_L0() 139 for (uint32_t i = 0; i < NODE_NUMBERS / 2; i++) { in HWTEST_F_L0() 148 for (uint32_t i = NODE_NUMBERS / 2; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() [all …]
|
D | js_api_list_test.cpp | 100 constexpr int NODE_NUMBERS = 9; in HWTEST_F_L0() local 109 for (int i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 114 EXPECT_EQ(toor->Length(), NODE_NUMBERS); in HWTEST_F_L0() 117 for (int i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 136 constexpr uint32_t NODE_NUMBERS = 9; in HWTEST_F_L0() local 142 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 171 constexpr uint32_t NODE_NUMBERS = 9; in HWTEST_F_L0() local 177 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 208 constexpr uint32_t NODE_NUMBERS = 20; in HWTEST_F_L0() local 214 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() [all …]
|
D | js_api_linked_list_test.cpp | 100 constexpr int NODE_NUMBERS = 9; in HWTEST_F_L0() local 107 for (int i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 112 EXPECT_EQ(toor->Length(), NODE_NUMBERS); in HWTEST_F_L0() 114 for (int i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 145 constexpr uint32_t NODE_NUMBERS = 9; in HWTEST_F_L0() local 151 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 180 constexpr uint32_t NODE_NUMBERS = 9; in HWTEST_F_L0() local 186 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 217 constexpr uint32_t NODE_NUMBERS = 20; in HWTEST_F_L0() local 223 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() [all …]
|
D | js_api_stack_test.cpp | 98 constexpr uint32_t NODE_NUMBERS = 9; in HWTEST_F_L0() local 108 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 115 EXPECT_EQ(static_cast<uint32_t>(toor->GetTop() + 1), NODE_NUMBERS); in HWTEST_F_L0() 122 constexpr uint32_t NODE_NUMBERS = 9; in HWTEST_F_L0() local 132 for (uint32_t i = 1; i <= NODE_NUMBERS; i++) { in HWTEST_F_L0() 140 for (uint32_t i = NODE_NUMBERS; i >= 1; i--) { in HWTEST_F_L0() 152 constexpr uint32_t NODE_NUMBERS = 9; in HWTEST_F_L0() local 159 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 169 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 183 constexpr uint32_t NODE_NUMBERS = 9; in HWTEST_F_L0() local [all …]
|
D | js_api_vector_test.cpp | 98 constexpr uint32_t NODE_NUMBERS = 9; in HWTEST_F_L0() local 105 value.Update(JSTaggedValue(NODE_NUMBERS)); in HWTEST_F_L0() 109 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 117 value.Update(JSTaggedValue(NODE_NUMBERS)); in HWTEST_F_L0() 119 EXPECT_EQ(static_cast<uint32_t>(toor->GetSize()), NODE_NUMBERS); in HWTEST_F_L0() 124 JSAPIVector::Get(thread, toor, static_cast<int32_t>(NODE_NUMBERS)); in HWTEST_F_L0() 132 constexpr uint32_t NODE_NUMBERS = 9; in HWTEST_F_L0() local 139 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 146 for (int32_t i = NODE_NUMBERS / 2; i > 0; i--) { in HWTEST_F_L0() 159 JSTaggedValue result1 = JSAPIVector::RemoveByIndex(thread, toor, NODE_NUMBERS); in HWTEST_F_L0() [all …]
|
D | js_api_deque_test.cpp | 97 constexpr uint32_t NODE_NUMBERS = 9; in HWTEST_F_L0() local 107 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 119 constexpr uint32_t NODE_NUMBERS = 9; in HWTEST_F_L0() local 129 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 141 constexpr uint32_t NODE_NUMBERS = 9; in HWTEST_F_L0() local 151 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 163 constexpr uint32_t NODE_NUMBERS = 9; in HWTEST_F_L0() local 173 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/containers/tests/ |
D | containers_treeset_test.cpp | 186 constexpr int NODE_NUMBERS = 8; in HWTEST_F_L0() local 188 for (int i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 200 EXPECT_EQ(tset->GetSize(), NODE_NUMBERS); in HWTEST_F_L0() 206 for (int i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 219 EXPECT_EQ(tset->GetSize(), NODE_NUMBERS + i + 1); in HWTEST_F_L0() 221 EXPECT_EQ(tset->GetSize(), NODE_NUMBERS * 2); in HWTEST_F_L0() 223 for (int i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 234 for (int i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 253 constexpr int NODE_NUMBERS = 64; in HWTEST_F_L0() local 256 for (int i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() [all …]
|
D | containers_linked_list_test.cpp | 185 constexpr uint32_t NODE_NUMBERS = 8; in HWTEST_F_L0() local 188 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 196 EXPECT_EQ(linkedlist->Length(), static_cast<int>(NODE_NUMBERS + 1)); in HWTEST_F_L0() 199 result = LinkedListInsert(linkedlist, JSTaggedValue(NODE_NUMBERS / 2), JSTaggedValue(10)); in HWTEST_F_L0() 201 EXPECT_EQ(linkedlist->Length(), static_cast<int>(NODE_NUMBERS + 2)); in HWTEST_F_L0() 204 result = LinkedListInsert(linkedlist, JSTaggedValue(NODE_NUMBERS + 2), JSTaggedValue(10)); in HWTEST_F_L0() 206 EXPECT_EQ(linkedlist->Length(), static_cast<int>(NODE_NUMBERS + 3)); in HWTEST_F_L0() 213 } else if (i == NODE_NUMBERS / 2) { in HWTEST_F_L0() 216 } else if (i == NODE_NUMBERS + 2) { in HWTEST_F_L0() 228 constexpr uint32_t NODE_NUMBERS = 20; in HWTEST_F_L0() local [all …]
|
D | containers_hashmap_test.cpp | 147 constexpr uint32_t NODE_NUMBERS = 8; in HWTEST_F_L0() local 149 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 163 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 179 constexpr uint32_t NODE_NUMBERS = 8; in HWTEST_F_L0() local 181 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 195 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 228 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 243 EXPECT_EQ(JSAPIHashMap::Cast(result.GetTaggedObject())->GetSize(), NODE_NUMBERS + i + 1); in HWTEST_F_L0() 246 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 281 constexpr uint32_t NODE_NUMBERS = 8; in HWTEST_F_L0() local [all …]
|
D | containers_treemap_test.cpp | 190 constexpr int NODE_NUMBERS = 8; in HWTEST_F_L0() local 192 for (int i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 212 for (int i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 227 EXPECT_EQ(JSAPITreeMap::Cast(result.GetTaggedObject())->GetSize(), NODE_NUMBERS + i + 1); in HWTEST_F_L0() 230 for (int i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 242 for (int i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 262 constexpr int NODE_NUMBERS = 64; in HWTEST_F_L0() local 265 for (int i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 290 EXPECT_EQ(tmap->GetSize(), NODE_NUMBERS - REMOVE_SIZE); in HWTEST_F_L0() 292 for (int i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() [all …]
|
D | containers_hashset_test.cpp | 126 constexpr uint32_t NODE_NUMBERS = 8; in HWTEST_F_L0() local 128 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 141 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 157 constexpr uint32_t NODE_NUMBERS = 8; in HWTEST_F_L0() local 159 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 174 callInfo->SetCallArg(0, JSTaggedValue(NODE_NUMBERS / 2)); in HWTEST_F_L0() 179 EXPECT_EQ(tSet->GetSize(), NODE_NUMBERS - 1); in HWTEST_F_L0() 181 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 189 if (i == (NODE_NUMBERS / 2)) { in HWTEST_F_L0() 200 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() [all …]
|
D | containers_plainarray_test.cpp | 175 constexpr uint32_t NODE_NUMBERS = 8; // 8 means the value in HWTEST_F_L0() local 178 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 192 EXPECT_EQ(tArray1->GetSize(), static_cast<int>(NODE_NUMBERS)); in HWTEST_F_L0() 194 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 206 EXPECT_EQ(tArray1->GetSize(), static_cast<int>(NODE_NUMBERS)); in HWTEST_F_L0() 213 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 230 EXPECT_EQ(tArray->GetSize(), static_cast<int>(NODE_NUMBERS)); in HWTEST_F_L0() 232 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 252 constexpr uint32_t NODE_NUMBERS = 8; in HWTEST_F_L0() local 254 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() [all …]
|
D | containers_list_test.cpp | 171 constexpr uint32_t NODE_NUMBERS = 8; in HWTEST_F_L0() local 173 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 200 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 215 constexpr uint32_t NODE_NUMBERS = 20; in HWTEST_F_L0() local 217 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 235 callInfo->SetCallArg(0, JSTaggedValue(NODE_NUMBERS / 2)); in HWTEST_F_L0() 241 EXPECT_EQ(list->Length(), static_cast<int>(NODE_NUMBERS - 1)); in HWTEST_F_L0() 254 EXPECT_EQ(list->Length(), static_cast<int>(NODE_NUMBERS - 2)); in HWTEST_F_L0() 260 constexpr uint32_t NODE_NUMBERS = 8; in HWTEST_F_L0() local 263 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() [all …]
|
D | containers_lightweightmap_test.cpp | 139 constexpr uint32_t NODE_NUMBERS = 8; in HWTEST_F_L0() local 141 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 162 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 179 EXPECT_EQ(length, NODE_NUMBERS + 1 + i); in HWTEST_F_L0() 182 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 194 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 213 constexpr uint32_t NODE_NUMBERS = 8; in HWTEST_F_L0() local 215 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 234 callInfo->SetCallArg(0, JSTaggedValue(NODE_NUMBERS / 2)); in HWTEST_F_L0() 239 EXPECT_EQ(rvalue, JSTaggedValue(NODE_NUMBERS / 2 + 1)); in HWTEST_F_L0() [all …]
|
D | containers_deque_test.cpp | 144 constexpr uint32_t NODE_NUMBERS = 8; in HWTEST_F_L0() local 146 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 162 constexpr uint32_t NODE_NUMBERS = 8; in HWTEST_F_L0() local 164 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 180 constexpr uint32_t NODE_NUMBERS = 8; in HWTEST_F_L0() local 182 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 194 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 206 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 221 constexpr uint32_t NODE_NUMBERS = 8; in HWTEST_F_L0() local 223 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() [all …]
|
D | containers_stack_test.cpp | 144 constexpr uint32_t NODE_NUMBERS = 8; in HWTEST_F_L0() local 146 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 162 constexpr uint32_t NODE_NUMBERS = 8; in HWTEST_F_L0() local 164 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 176 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 191 constexpr uint32_t NODE_NUMBERS = 8; in HWTEST_F_L0() local 193 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 207 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 226 constexpr uint32_t NODE_NUMBERS = 8; in HWTEST_F_L0() local 228 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() [all …]
|
D | containers_arraylist_test.cpp | 191 constexpr uint32_t NODE_NUMBERS = 8; in HWTEST_F_L0() local 193 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 203 EXPECT_EQ(arrayList->GetSize(), static_cast<int>(NODE_NUMBERS - 2)); in HWTEST_F_L0() 204 for (uint32_t i = 0; i < NODE_NUMBERS - 2; i++) { in HWTEST_F_L0() 232 constexpr uint32_t NODE_NUMBERS = 8; in HWTEST_F_L0() local 234 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 268 constexpr uint32_t NODE_NUMBERS = 8; in HWTEST_F_L0() local 274 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 280 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 288 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() [all …]
|
D | containers_lightweightset_test.cpp | 140 constexpr uint32_t NODE_NUMBERS = 8; // 8 means the value in HWTEST_F_L0() local 142 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 161 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 175 EXPECT_EQ(length, static_cast<int>(NODE_NUMBERS + 1 + i)); in HWTEST_F_L0() 181 constexpr uint32_t NODE_NUMBERS = 8; // 8 means the value in HWTEST_F_L0() local 183 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 200 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() 226 EXPECT_EQ(length, static_cast<int>(NODE_NUMBERS * 2)); in HWTEST_F_L0() 234 constexpr uint32_t NODE_NUMBERS = 8; // 8 means the value in HWTEST_F_L0() local 236 for (uint32_t i = 0; i < NODE_NUMBERS; i++) { in HWTEST_F_L0() [all …]
|