Home
last modified time | relevance | path

Searched refs:propertiesNumber (Results 1 - 3 of 3) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
H A Dlayout_info-inl.h107 int propertiesNumber)
109 ASSERT(NumberOfElements() >= propertiesNumber);
111 if (propertiesNumber <= MAX_ELEMENTS_LINER_SEARCH) {
112 Span<struct Properties> sp(GetProperties(), propertiesNumber); local
113 for (int i = 0; i < propertiesNumber; i++) {
123 return BinarySearch(key, propertiesNumber);
129 index = BinarySearch(key, propertiesNumber);
137 inline int LayoutInfo::BinarySearch(JSTaggedValue key, int propertiesNumber) in BinarySearch() argument
139 ASSERT(NumberOfElements() >= propertiesNumber); in BinarySearch()
159 return sortIndex < propertiesNumber in BinarySearch()
[all...]
H A Dlayout_info.h95 int FindElementWithCache(const JSThread *thread, JSHClass *cls, JSTaggedValue key, int propertiesNumber);
96 int BinarySearch(JSTaggedValue key, int propertiesNumber);
/arkcompiler/ets_runtime/ecmascript/tests/
H A Dlayout_info_test.cpp89 int propertiesNumber = layoutInfoHandle->NumberOfElements(); in HWTEST_F_L0() local
91 result = layoutInfoHandle->FindElementWithCache(thread, nullptr, key1.GetTaggedValue(), propertiesNumber); in HWTEST_F_L0()
93 result = layoutInfoHandle->FindElementWithCache(thread, nullptr, key5.GetTaggedValue(), propertiesNumber); in HWTEST_F_L0()

Completed in 2 milliseconds