Home | History | Annotate | Download | only in coll

Lines Matching defs:cond

200                 ConditionalCE32 cond = getConditionalCE32ForCE32(oldCE32);
201 cond.builtCE32 = Collation.NO_CE32;
202 cond.ce32 = ce32;
205 ConditionalCE32 cond;
213 cond = getConditionalCE32(index);
215 cond = getConditionalCE32ForCE32(oldCE32);
216 cond.builtCE32 = Collation.NO_CE32;
223 // invariant: context > cond.context
224 int next = cond.next;
226 // Append a new ConditionalCE32 after cond.
228 cond.next = index;
234 // Insert a new ConditionalCE32 between cond and nextCond.
236 cond.next = index;
244 cond = nextCond;
430 ConditionalCE32 cond = new ConditionalCE32(context, ce32);
431 conditionalCE32s.add(cond);
583 ConditionalCE32 cond = getConditionalCE32(index); // the last ConditionalCE32 so far
591 index = copyContractionsFromBaseCE32(context, c, ce32, cond);
594 cond.next = index = addConditionalCE32(context.toString(), ce32);
596 cond = getConditionalCE32(index);
632 * Sets cond.next to the index of the first new item
636 ConditionalCE32 cond) {
649 cond.next = index = addConditionalCE32(context.toString(), ce32);
650 cond = getConditionalCE32(index);
659 cond.next = index = addConditionalCE32(context.toString(), ce32);
662 cond = getConditionalCE32(index);
754 ConditionalCE32 cond = src.getConditionalCE32ForCE32(ce32);
755 assert(!cond.hasContext());
757 cond.context, copyCE32(cond.ce32));
759 while(cond.next >= 0) {
760 cond = src.getConditionalCE32(cond.next);
763 cond.context, copyCE32(cond.ce32));
764 int suffixStart = cond.prefixLength() + 1;
765 dest.unsafeBackwardSet.addAll(cond.context.substring(suffixStart));
1013 ConditionalCE32 cond = getConditionalCE32ForCE32(ce32);
1014 ce32 = buildContext(cond);
1026 for(ConditionalCE32 cond = head;; cond = getConditionalCE32(cond.next)) {
1028 assert(cond == head || cond.hasContext());
1029 int prefixLength = cond.prefixLength();
1030 StringBuilder prefix = new StringBuilder().append(cond.context, 0, prefixLength + 1);
1033 ConditionalCE32 firstCond = cond;
1034 ConditionalCE32 lastCond = cond;
1035 while(cond.next >= 0 &&
1036 (cond = getConditionalCE32(cond.next)).context.startsWith(prefixString)) {
1037 lastCond = cond;
1045 cond = lastCond;
1056 cond = getConditionalCE32(firstCond.next);
1067 for(cond = head;; cond = getConditionalCE32(cond.next)) {
1068 int length = cond.prefixLength();
1070 if(cond.defaultCE32 != Collation.NO_CE32 &&
1072 prefix.length() - length, cond.context, 1, length)
1073 /* C++: prefix.endsWith(cond.context, 1, length) */)) {
1074 emptySuffixCE32 = cond.defaultCE32;
1077 cond = firstCond;
1085 String suffix = cond.context.substring(suffixStart);
1095 contractionBuilder.add(suffix, cond.ce32);
1096 if(cond == lastCond) { break; }
1097 cond = getConditionalCE32(cond.next);
1107 assert(cond == lastCond);
1110 if(cond.next < 0) {
1118 if(cond.next < 0) { break; }
1306 ConditionalCE32 cond = builder.getConditionalCE32ForCE32(ce32);
1307 if(cond.builtCE32 == Collation.NO_CE32) {
1310 cond.builtCE32 = builder.buildContext(cond);
1313 cond.builtCE32 = builder.buildContext(cond);
1317 return cond.builtCE32;