Lines Matching defs:collator
21 #include "src/objects/js-collator-inl.h"
1089 // 1. Let collator be this value.
1090 // 2. If Type(collator) is not Object, throw a TypeError exception.
1091 // 3. If collator does not have an [[InitializedCollator]] internal slot,
1093 CHECK_RECEIVER(JSCollator, collator, method_name);
1095 // 4. If collator.[[BoundCompare]] is undefined, then
1096 Handle<Object> bound_compare(collator->bound_compare(), isolate);
1099 // 5. Return collator.[[BoundCompare]].
1104 isolate, collator, Builtin::kCollatorInternalCompare, 2);
1106 // 4.c. Set collator.[[BoundCompare]] to F.
1107 collator->set_bound_compare(*new_bound_compare_function);
1109 // 5. Return collator.[[BoundCompare]].
1117 // 1. Let collator be F.[[Collator]].
1118 // 2. Assert: Type(collator) is Object and collator has an
1120 Handle<JSCollator> collator = Handle<JSCollator>(
1139 // 7. Return CompareStrings(collator, X, Y).
1140 icu::Collator* icu_collator = collator->icu_collator().raw();