• Home
  • Raw
  • Download

Lines Matching refs:collator

237     UCollator* collator;  member
292 UCollator* collator = (UCollator*)sqlite3_user_data(context);
375 uint32_t result = ucol_getSortKey(collator, token, -1, (uint8_t*)keybuf, sizeof(keybuf)-1);
419 static void localized_collator_dtor(UCollator* collator) in localized_collator_dtor() argument
421 ucol_close(collator); in localized_collator_dtor()
439 UCollator* collator = ucol_open(systemLocale, &status); in register_localized_collators() local
444 ucol_setAttribute(collator, UCOL_STRENGTH, UCOL_PRIMARY, &status); in register_localized_collators()
451 err = sqlite3_create_collation_v2(handle, LOCALIZED_COLLATOR_NAME, SQLITE_UTF16, collator, in register_localized_collators()
454 err = sqlite3_create_collation_v2(handle, LOCALIZED_COLLATOR_NAME, SQLITE_UTF8, collator, in register_localized_collators()
464 …err = sqlite3_create_function(handle, "_TOKENIZE", 4, SQLITE_UTF16, collator, tokenize, NULL, NULL… in register_localized_collators()
468 …err = sqlite3_create_function(handle, "_TOKENIZE", 5, SQLITE_UTF16, collator, tokenize, NULL, NULL… in register_localized_collators()
472 …err = sqlite3_create_function(handle, "_TOKENIZE", 6, SQLITE_UTF16, collator, tokenize, NULL, NULL… in register_localized_collators()
480 collator = ucol_open(systemLocale, &status); in register_localized_collators()
486 ucol_setAttribute(collator, UCOL_STRENGTH, UCOL_PRIMARY, &status); in register_localized_collators()
492 err = sqlite3_create_collation_v2(handle, PHONEBOOK_COLLATOR_NAME, SQLITE_UTF16, collator, in register_localized_collators()
495 err = sqlite3_create_collation_v2(handle, PHONEBOOK_COLLATOR_NAME, SQLITE_UTF8, collator, in register_localized_collators()
515 UCollator * collator = ucol_open(NULL, &status); in register_android_functions() local
528 err = sqlite3_create_collation_v2(handle, "UNICODE", SQLITE_UTF16, collator, collate16, in register_android_functions()
531 err = sqlite3_create_collation_v2(handle, "UNICODE", SQLITE_UTF8, collator, collate8, in register_android_functions()