Lines Matching refs:Collation
206 CollationKeys::LevelCallback::needToWrite(Collation::Level /*level*/) { return TRUE; } in needToWrite()
230 Collation::Level minLevel, LevelCallback &callback, in writeSortKeyUpToQuaternary()
238 levels |= Collation::CASE_LEVEL_FLAG; in writeSortKeyUpToQuaternary()
273 if(p < variableTop && p > Collation::MERGE_SEPARATOR_PRIMARY) { in writeSortKeyUpToQuaternary()
287 if((levels & Collation::QUATERNARY_LEVEL_FLAG) != 0) { in writeSortKeyUpToQuaternary()
302 } while(p < variableTop && p > Collation::MERGE_SEPARATOR_PRIMARY); in writeSortKeyUpToQuaternary()
308 if(p > Collation::NO_CE_PRIMARY && (levels & Collation::PRIMARY_LEVEL_FLAG) != 0) { in writeSortKeyUpToQuaternary()
320 if(p1 > Collation::MERGE_SEPARATOR_BYTE) { in writeSortKeyUpToQuaternary()
321 sink.Append(Collation::PRIMARY_COMPRESSION_LOW_BYTE); in writeSortKeyUpToQuaternary()
324 sink.Append(Collation::PRIMARY_COMPRESSION_HIGH_BYTE); in writeSortKeyUpToQuaternary()
353 if((levels & Collation::SECONDARY_LEVEL_FLAG) != 0) { in writeSortKeyUpToQuaternary()
357 } else if(s == Collation::COMMON_WEIGHT16 && in writeSortKeyUpToQuaternary()
359 p != Collation::MERGE_SEPARATOR_PRIMARY)) { in writeSortKeyUpToQuaternary()
371 if(s < Collation::COMMON_WEIGHT16) { in writeSortKeyUpToQuaternary()
386 if(prevSecondary < Collation::COMMON_WEIGHT16) { in writeSortKeyUpToQuaternary()
400 if(0 < p && p <= Collation::MERGE_SEPARATOR_PRIMARY) { in writeSortKeyUpToQuaternary()
414 secondaries.appendByte(p == Collation::NO_CE_PRIMARY ? in writeSortKeyUpToQuaternary()
415 Collation::LEVEL_SEPARATOR_BYTE : Collation::MERGE_SEPARATOR_BYTE); in writeSortKeyUpToQuaternary()
425 if((levels & Collation::CASE_LEVEL_FLAG) != 0) { in writeSortKeyUpToQuaternary()
434 if((c & 0xc0) == 0 && c > Collation::LEVEL_SEPARATOR_BYTE) { in writeSortKeyUpToQuaternary()
443 (c > Collation::LEVEL_SEPARATOR_BYTE || !cases.isEmpty())) { in writeSortKeyUpToQuaternary()
450 if(c <= Collation::LEVEL_SEPARATOR_BYTE) { in writeSortKeyUpToQuaternary()
458 if(c > Collation::LEVEL_SEPARATOR_BYTE) { in writeSortKeyUpToQuaternary()
474 if(c > Collation::LEVEL_SEPARATOR_BYTE) { in writeSortKeyUpToQuaternary()
485 if((levels & Collation::TERTIARY_LEVEL_FLAG) != 0) { in writeSortKeyUpToQuaternary()
488 if(t == Collation::COMMON_WEIGHT16) { in writeSortKeyUpToQuaternary()
500 if(t < Collation::COMMON_WEIGHT16) { in writeSortKeyUpToQuaternary()
508 if(t > Collation::COMMON_WEIGHT16) { t += 0xc000; } in writeSortKeyUpToQuaternary()
520 if(t < Collation::COMMON_WEIGHT16) { in writeSortKeyUpToQuaternary()
528 if(t > Collation::COMMON_WEIGHT16) { t += 0x4000; } in writeSortKeyUpToQuaternary()
544 if(t <= Collation::NO_CE_WEIGHT16) { in writeSortKeyUpToQuaternary()
576 if((levels & Collation::QUATERNARY_LEVEL_FLAG) != 0) { in writeSortKeyUpToQuaternary()
578 if((q & 0xc0) == 0 && q > Collation::NO_CE_WEIGHT16) { in writeSortKeyUpToQuaternary()
580 } else if(q == Collation::NO_CE_WEIGHT16 && in writeSortKeyUpToQuaternary()
590 quaternaries.appendByte(Collation::LEVEL_SEPARATOR_BYTE); in writeSortKeyUpToQuaternary()
592 if(q == Collation::NO_CE_WEIGHT16) { in writeSortKeyUpToQuaternary()
593 q = Collation::LEVEL_SEPARATOR_BYTE; in writeSortKeyUpToQuaternary()
616 if((lower32 >> 24) == Collation::LEVEL_SEPARATOR_BYTE) { break; } // ce == NO_CE in writeSortKeyUpToQuaternary()
623 if((levels & Collation::SECONDARY_LEVEL_FLAG) != 0) { in writeSortKeyUpToQuaternary()
624 if(!callback.needToWrite(Collation::SECONDARY_LEVEL)) { return; } in writeSortKeyUpToQuaternary()
626 sink.Append(Collation::LEVEL_SEPARATOR_BYTE); in writeSortKeyUpToQuaternary()
630 if((levels & Collation::CASE_LEVEL_FLAG) != 0) { in writeSortKeyUpToQuaternary()
631 if(!callback.needToWrite(Collation::CASE_LEVEL)) { return; } in writeSortKeyUpToQuaternary()
633 sink.Append(Collation::LEVEL_SEPARATOR_BYTE); in writeSortKeyUpToQuaternary()
652 if((levels & Collation::TERTIARY_LEVEL_FLAG) != 0) { in writeSortKeyUpToQuaternary()
653 if(!callback.needToWrite(Collation::TERTIARY_LEVEL)) { return; } in writeSortKeyUpToQuaternary()
655 sink.Append(Collation::LEVEL_SEPARATOR_BYTE); in writeSortKeyUpToQuaternary()
659 if((levels & Collation::QUATERNARY_LEVEL_FLAG) != 0) { in writeSortKeyUpToQuaternary()
660 if(!callback.needToWrite(Collation::QUATERNARY_LEVEL)) { return; } in writeSortKeyUpToQuaternary()
662 sink.Append(Collation::LEVEL_SEPARATOR_BYTE); in writeSortKeyUpToQuaternary()