Home
last modified time | relevance | path

Searched refs:collator_ (Results 1 – 2 of 2) sorted by relevance

/base/global/i18n/interfaces/js/kits/include/
Dintl_addon.h123 std::unique_ptr<Collator> collator_ = nullptr; variable
/base/global/i18n/interfaces/js/kits/src/
Dintl_addon.cpp1390 collator_ = std::make_unique<Collator>(localeTags, map); in InitCollatorContext()
1392 return collator_ != nullptr; in InitCollatorContext()
1548 if (status != napi_ok || !obj || !obj->collator_) { in CompareString()
1553 CompareResult compareResult = obj->collator_->Compare(first.data(), second.data()); in CompareString()
1574 if (status != napi_ok || !obj || !obj->collator_) { in GetCollatorResolvedOptions()
1581 obj->collator_->ResolvedOptions(options); in GetCollatorResolvedOptions()