/arkcompiler/ets_runtime/ecmascript/containers/tests/ |
H A D | containers_linked_list_test.cpp | 175 int size = list->Length(); in HWTEST_F_L0() 191 EXPECT_EQ(linkedlist->Length(), static_cast<int>(i + 1)); in HWTEST_F_L0() 196 EXPECT_EQ(linkedlist->Length(), static_cast<int>(NODE_NUMBERS + 1)); in HWTEST_F_L0() 201 EXPECT_EQ(linkedlist->Length(), static_cast<int>(NODE_NUMBERS + 2)); in HWTEST_F_L0() 206 EXPECT_EQ(linkedlist->Length(), static_cast<int>(NODE_NUMBERS + 3)); in HWTEST_F_L0() 208 uint32_t length = static_cast<uint32_t>(linkedlist->Length()); in HWTEST_F_L0() 234 EXPECT_EQ(linkedlist->Length(), static_cast<int>(i + 1)); in HWTEST_F_L0() 247 EXPECT_EQ(linkedlist->Length(), static_cast<int>(NODE_NUMBERS - 1)); in HWTEST_F_L0() 259 EXPECT_EQ(linkedlist->Length(), static_cast<int>(i + 1)); in HWTEST_F_L0() 265 EXPECT_EQ(linkedlist->Length(), static_cas in HWTEST_F_L0() [all...] |
H A D | containers_list_test.cpp | 161 int size = list->Length(); in HWTEST_F_L0() 184 EXPECT_EQ(list->Length(), static_cast<int>(i + 1)); in HWTEST_F_L0() 228 EXPECT_EQ(list->Length(), static_cast<int>(i + 1)); 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() 266 EXPECT_EQ(list->Length(), static_cast<int>(i + 1)); in HWTEST_F_L0() 273 EXPECT_EQ(list1->Length(), static_cast<int>(i + 1)); in HWTEST_F_L0() 278 // Length Not Equal in HWTEST_F_L0() 284 EXPECT_EQ(list2->Length(), static_cast<int>(i + 1)); in HWTEST_F_L0() 298 EXPECT_EQ(list3->Length(), static_cas in HWTEST_F_L0() [all...] |
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | js_api_linked_list_test.cpp | 66 EXPECT_EQ(toor->Length(), NODE_NUMBERS); in HWTEST_F_L0() 76 EXPECT_EQ(list->Length(), 1); in HWTEST_F_L0() 81 EXPECT_EQ(list->Length(), 2); in HWTEST_F_L0() 107 EXPECT_EQ(toor->Length(), 19); in HWTEST_F_L0() 112 EXPECT_EQ(toor->Length(), 18); in HWTEST_F_L0() 117 EXPECT_EQ(toor->Length(), 17); in HWTEST_F_L0() 122 EXPECT_EQ(toor->Length(), 16); in HWTEST_F_L0() 127 EXPECT_EQ(toor->Length(), 15); in HWTEST_F_L0() 132 EXPECT_EQ(toor->Length(), 14); in HWTEST_F_L0() 172 EXPECT_EQ(list->Length(), in HWTEST_F_L0() [all...] |
H A D | js_api_list_test.cpp | 68 EXPECT_EQ(toor->Length(), NODE_NUMBERS); in HWTEST_F_L0() 96 EXPECT_EQ(toor->Length(), 19); in HWTEST_F_L0() 101 EXPECT_EQ(toor->Length(), 18); in HWTEST_F_L0() 117 EXPECT_EQ(list->Length(), 0); in HWTEST_F_L0() 233 uint32_t bigIndex = List->Length() + 10; in HWTEST_F_L0()
|
H A D | ecma_test_common.h | 283 int len = toor->Length(); in ListGetLastCommon() 294 EXPECT_EQ(toor->Length(), 10); // 10: len in GetIndexOfAndGetLastIndexOfCommon() 300 EXPECT_EQ(toor->Length(), 11); // 11: len in GetIndexOfAndGetLastIndexOfCommon() 306 EXPECT_EQ(toor->Length(), 12); // 12: len in GetIndexOfAndGetLastIndexOfCommon() 316 EXPECT_EQ(toor->Length(), 10); // 10: len in InsertAndGetLastCommon() 321 EXPECT_EQ(toor->Length(), 11); // 11: len in InsertAndGetLastCommon() 327 EXPECT_EQ(toor->Length(), 12); // 12: len in InsertAndGetLastCommon() 342 EXPECT_EQ(toor->Length(), NODE_NUMBERS); in ListRemoveCommon()
|
H A D | js_api_list_iterator_test.cpp | 65 uint32_t capacity = static_cast<uint32_t>(list->Length()); in HWTEST_F_L0()
|
H A D | js_api_linked_list_iterator_test.cpp | 65 uint32_t capacity = static_cast<uint32_t>(linkedList->Length()); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/js_api/ |
H A D | js_api_linked_list.cpp | 26 int nodeLength = doubleList->Length(); in Insert() 68 int nodeLength = doubleList->Length(); in RemoveFirst() 79 int nodeLength = doubleList->Length(); in RemoveLast() 90 int nodeLength = doubleList->Length(); in RemoveByIndex() 109 int nodeLength = doubleList->Length(); in Remove() 120 int nodeLength = doubleList->Length(); in RemoveFirstFound() 132 int nodeLength = doubleList->Length(); in RemoveLastFound() 177 int nodeLength = doubleList->Length(); in Set() 203 int nodeLength = doubleList->Length(); in Get() 248 uint32_t length = static_cast<uint32_t>(doubleList->Length()); in GetOwnProperty() [all...] |
H A D | js_api_list.cpp | 52 int nodeLength = singleList->Length(); in Insert() 72 int nodeLength = singleList->Length(); in Set() 103 int nodeLength = singleList->Length(); in Get() 113 if (index < 0 || index >= singleList->Length()) { in FastGet() 154 int nodeLength = singleList->Length(); in RemoveByIndex() 212 int nodeLength = singleList->Length(); in GetSubList() 261 uint32_t length = static_cast<uint32_t>(singleList->Length()); in GetOwnProperty() 277 int nodeLength = singleList->Length(); in GetProperty() 310 int nodeLength = singleList->Length(); in SetProperty()
|
H A D | js_api_linked_list.h | 64 inline uint32_t Length() in Length() function in panda::ecmascript::JSAPILinkedList 66 return TaggedDoubleList::Cast(GetDoubleList().GetTaggedObject())->Length(); in Length()
|
H A D | js_api_list.h | 91 inline uint32_t Length() in Length() function in panda::ecmascript::JSAPIList 93 return TaggedSingleList::Cast(GetSingleList().GetTaggedObject())->Length(); in Length()
|
/arkcompiler/ets_frontend/ets2panda/util/ |
H A D | path.cpp | 55 util::StringView fileName = path_.Substr(position + 1, path_.Length()); in InitializeFileName() 71 if (position != std::string::npos && position + 1 <= path_.Length()) { in InitializeFileExtension() 72 fileExtension_ = path_.Substr(position + 1, path_.Length()); in InitializeFileExtension()
|
H A D | ustring.cpp | 88 return size == Length() && ch != Iterator::INVALID_CP; in IsConvertibleToChar()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | interpreter_stub.h | 35 enum class Length : uint8_t {
class in panda::ecmascript::kungfu::StringIdInfo 46 length(Length::INVALID), stringId(0), stringIdType(StringIdType::STRING_ID_INFO) {}
in StringIdInfo() 48 StringIdInfo(GateRef inputConstpool, GateRef inputPc, Offset inputOffset, Length inputLength)
in StringIdInfo() 54 length(Length::INVALID), stringId(inputStringId), stringIdType(StringIdType::STRING_ID) {}
in StringIdInfo() 71 Length GetLength() const
in GetLength() 89 return (constpool != 0) && (pc != 0) && (offset != Offset::INVALID) && (length != Length::INVALID);
in IsValid() 98 Length length { Length::INVALID };
|
/arkcompiler/ets_runtime/test/fuzztest/stringreflength_fuzzer/ |
H A D | stringreflength_fuzzer.cpp | 36 res->Length(vm); in StringRefLengthFuzzTest()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_regexp.h | 41 ACCESSORS_PRIMITIVE_FIELD(Length, uint32_t, LENGTH_OFFSET, LAST_OFFSET)
|
H A D | js_for_in_iterator.h | 40 ACCESSORS_PRIMITIVE_FIELD(Length, uint32_t, LENGTH_OFFSET, LAST_OFFSET)
|
/arkcompiler/ets_frontend/es2panda/ir/expressions/literals/ |
H A D | bigIntLiteral.cpp | 33 util::StringView bigIntValue = src_.Substr(0, src_.Length() - 1); in Compile()
|
/arkcompiler/ets_runtime/ecmascript/containers/ |
H A D | containers_lightweightmap.h | 26 static JSTaggedValue Length(EcmaRuntimeCallInfo *argv);
|
H A D | containers_linked_list.h | 45 static JSTaggedValue Length(EcmaRuntimeCallInfo *argv);
|
H A D | containers_list.h | 46 static JSTaggedValue Length(EcmaRuntimeCallInfo *argv);
|
/arkcompiler/ets_runtime/ecmascript/js_vm/ |
H A D | main.cpp | 59 uint32_t length = arr0->Length(vm); in IsEqual() 60 if (length != arr1->Length(vm)) { in IsEqual()
|
/arkcompiler/ets_runtime/test/fuzztest/arrayref_fuzzer/ |
H A D | arrayref_fuzzer.cpp | 63 property->Length(vm); in ArrayRefLengthFuzzerTest()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightmaplength_fuzzer/ |
H A D | containerslightweightmaplength_fuzzer.cpp | 115 ContainersLightWeightMap::Length(callInfo2); in ContainersLightWeightMapLengthFuzzTest()
|
/arkcompiler/runtime_core/static_core/verification/util/ |
H A D | range.h | 133 size_t Length() const in Length() function in ark::verifier::Range
|