Home
last modified time | relevance | path

Searched refs:Length (Results 1 - 25 of 70) sorted by relevance

123

/arkcompiler/ets_runtime/ecmascript/containers/tests/
H A Dcontainers_linked_list_test.cpp175 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 Dcontainers_list_test.cpp161 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 Djs_api_linked_list_test.cpp66 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 Djs_api_list_test.cpp68 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 Decma_test_common.h283 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 Djs_api_list_iterator_test.cpp65 uint32_t capacity = static_cast<uint32_t>(list->Length()); in HWTEST_F_L0()
H A Djs_api_linked_list_iterator_test.cpp65 uint32_t capacity = static_cast<uint32_t>(linkedList->Length()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/js_api/
H A Djs_api_linked_list.cpp26 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 Djs_api_list.cpp52 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 Djs_api_linked_list.h64 inline uint32_t Length() in Length() function in panda::ecmascript::JSAPILinkedList
66 return TaggedDoubleList::Cast(GetDoubleList().GetTaggedObject())->Length(); in Length()
H A Djs_api_list.h91 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 Dpath.cpp55 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 Dustring.cpp88 return size == Length() && ch != Iterator::INVALID_CP; in IsConvertibleToChar()
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dinterpreter_stub.h35 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 Dstringreflength_fuzzer.cpp36 res->Length(vm); in StringRefLengthFuzzTest()
/arkcompiler/ets_runtime/ecmascript/
H A Djs_regexp.h41 ACCESSORS_PRIMITIVE_FIELD(Length, uint32_t, LENGTH_OFFSET, LAST_OFFSET)
H A Djs_for_in_iterator.h40 ACCESSORS_PRIMITIVE_FIELD(Length, uint32_t, LENGTH_OFFSET, LAST_OFFSET)
/arkcompiler/ets_frontend/es2panda/ir/expressions/literals/
H A DbigIntLiteral.cpp33 util::StringView bigIntValue = src_.Substr(0, src_.Length() - 1); in Compile()
/arkcompiler/ets_runtime/ecmascript/containers/
H A Dcontainers_lightweightmap.h26 static JSTaggedValue Length(EcmaRuntimeCallInfo *argv);
H A Dcontainers_linked_list.h45 static JSTaggedValue Length(EcmaRuntimeCallInfo *argv);
H A Dcontainers_list.h46 static JSTaggedValue Length(EcmaRuntimeCallInfo *argv);
/arkcompiler/ets_runtime/ecmascript/js_vm/
H A Dmain.cpp59 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 Darrayref_fuzzer.cpp63 property->Length(vm); in ArrayRefLengthFuzzerTest()
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightmaplength_fuzzer/
H A Dcontainerslightweightmaplength_fuzzer.cpp115 ContainersLightWeightMap::Length(callInfo2); in ContainersLightWeightMapLengthFuzzTest()
/arkcompiler/runtime_core/static_core/verification/util/
H A Drange.h133 size_t Length() const in Length() function in ark::verifier::Range

Completed in 10 milliseconds

123