Home
last modified time | relevance | path

Searched refs:nodeLength (Results 1 – 6 of 6) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_linked_list.cpp31 int nodeLength = doubleList->Length(); in Insert() local
32 if (index < 0 || index > nodeLength) { in Insert()
34 oss << "The value of \"index\" is out of range. It must be >= 0 && <= " << nodeLength in Insert()
73 int nodeLength = doubleList->Length(); in RemoveFirst() local
74 if (nodeLength <= 0) { in RemoveFirst()
84 int nodeLength = doubleList->Length(); in RemoveLast() local
85 if (nodeLength <= 0) { in RemoveLast()
95 int nodeLength = doubleList->Length(); in RemoveByIndex() local
96 if (index < 0 || index >= nodeLength) { in RemoveByIndex()
97 int size = (nodeLength > 0) ? (nodeLength - 1) : 0; in RemoveByIndex()
[all …]
Djs_api_list.cpp60 int nodeLength = singleList->Length(); in Insert() local
61 if (index < 0 || index > nodeLength) { in Insert()
63 oss << "The value of \"index\" is out of range. It must be >= 0 && <= " << nodeLength in Insert()
77 int nodeLength = singleList->Length(); in Set() local
78 if (index < 0 || index >= nodeLength) { in Set()
80 oss << "The value of \"index\" is out of range. It must be >= 0 && <= " << (nodeLength - 1) in Set()
104 int nodeLength = singleList->Length(); in Get() local
105 if (index < 0 || index >= nodeLength) { in Get()
134 int nodeLength = singleList->Length(); in RemoveByIndex() local
135 if (index < 0 || index >= nodeLength) { in RemoveByIndex()
[all …]
Djs_api_hashset.cpp73 uint32_t nodeLength = GetSize(); in Clear() local
74 if (nodeLength > 0) { in Clear()
Djs_api_hashmap.cpp204 uint32_t nodeLength = GetSize(); in Clear() local
205 if (nodeLength > 0) { in Clear()
/arkcompiler/ets_runtime/ecmascript/
Dtagged_list.cpp85 int nodeLength = list->NumberOfNodes(); in AddNode() local
86 …int finalDataIndex = ELEMENTS_START_INDEX + (nodeLength + 1 + deleteNodeLength) * Derived::ENTRY_S… in AddNode()
89 if (index == -1 || nodeLength == index) { in AddNode()
636 int nodeLength = taggedList->NumberOfNodes(); in Set() local
637 if (index < 0 || index >= nodeLength) { in Set()
Dtagged_hash_array.cpp41 uint32_t nodeLength = GetLength(); in GetNode() local
42 JSTaggedValue nodeValue = Get(((nodeLength - 1) & hash)); in GetNode()