Home
last modified time | relevance | path

Searched refs:subset (Results 1 - 2 of 2) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/lexer/scripts/
H A Dkeywords.rb73 raise "Unknown extension" unless active.subset?(Set.new(data.extensions.map { |ext| ext.name }))
/arkcompiler/ets_runtime/ecmascript/
H A Djs_locale.cpp89 // 2. c. If availableLocale is not undefined, append locale to the end of subset. in LookupMatcher()
186 // c. If availableLocale is not undefined, append locale to the end of subset. in LookupSupportedLocales()
198 // 2. Let subset be a new empty List. in LookupSupportedLocales()
199 JSHandle<TaggedArray> subset = factory->NewTaggedArray(indexAvailableLocales.size()); in LookupSupportedLocales() local
202 subset->Set(thread, index++, requestedLocales->Get(thread, indexAvailableLocales[i])); in LookupSupportedLocales()
204 // 3. Return subset. in LookupSupportedLocales()
205 return subset; in LookupSupportedLocales()
271 JSHandle<JSArray> subset = JSArray::CreateArrayFromList(thread, supportedLocales); in SupportedLocales() local
273 return subset; in SupportedLocales()

Completed in 3 milliseconds