Lines Matching refs:CE

312     if (pattern->CE != cetable && pattern->CE) {
313 uprv_free(pattern->CE);
341 pattern->CE = cetable;
395 // ** whether a CE is signed or unsigned. For example, look at routine above this one.)
554 setShiftTable(pattern->shift, pattern->backShift, pattern->CE,
637 if (U_FAILURE(status) || ce != strsrch->pattern.CE[count]) {
872 uint32_t firstce = strsrch->pattern.CE[0];
925 int32_t firstce = strsrch->pattern.CE[0];
1007 int32_t firstce = strsrch->pattern.CE[0];
1202 int32_t *patternce = strsrch->pattern.CE;
1406 int32_t *patternce = strsrch->pattern.CE;
1605 int32_t *ce = strsrch->pattern.CE;
1845 int32_t *patternce = strsrch->pattern.CE;
2043 int32_t *patternce = strsrch->pattern.CE;
2268 int32_t *ce = strsrch->pattern.CE;
2483 int32_t *patternce = strsrch->pattern.CE;
2709 result->pattern.CE = NULL;
2753 if (strsrch->pattern.CE != strsrch->pattern.CEBuffer &&
2754 strsrch->pattern.CE) {
2755 uprv_free(strsrch->pattern.CE);
3524 // Get the CE with the specified index.
3528 // The CE value will be UCOL__PROCESSED_NULLORDER at end of input.
3539 // Caller is requesting a new, never accessed before, CE.
3548 // Manage the circular CE buffer indexing
3563 // Get the CE with the specified index.
3567 // The CE value will be UCOL__PROCESSED_NULLORDER at end of input.
3578 // Caller is requesting a new, never accessed before, CE.
3587 // Manage the circular CE buffer indexing
3826 printf(" %8x", strsrch->pattern.CE[ii]);
3838 strsrch->pattern.CE == NULL) {
3864 // target CE space.
3868 // 2. An int64_t CE weight is determined for each resulting unit (high 16 bits are primary strength, next
3871 // CE weight 0 (as for a combining diacritic with secondary weight when the collator strentgh is primary),
3872 // then the CE is deleted, so the following code sees only CEs that are relevant.
3873 // For each CE, the lowIndex and highIndex correspond to where this CE begins and ends in the original text.
3874 // If lowIndex==highIndex, either the CE resulted from an expansion/decomposition of one of the original text
3875 // characters, or the CE marks the limit of the target text (in which case the CE weight is UCOL_PROCESSED_NULLORDER).
3884 // For targetIx > 0, this ceb.get gets a CE that is as far back in the ring buffer
3885 // (compared to the last CE fetched for the previous targetIx value) as we need to go
3897 // Compare CE from target string with CE from the pattern.
3898 // Note that the target CE will be UCOL_PROCESSED_NULLORDER if we reach the end of input,
3915 targetIxOffset += strsrch->pattern.PCELength; // this is now the offset in target CE space to end of the match so far
3928 // We have found a match in CE space.
3930 // There still is a chance of match failure if the CE range not correspond to
3938 // Look at the CE following the match. If it is UCOL_NULLORDER the match
3941 // Look at the high and low indices of the CE following the match. If
3943 // 1. The match extended to the last CE from the target text, which is OK, or
3944 // 2. The last CE that was part of the match is in an expansion that extends
3945 // to the first CE after the match. In this case, we reject the match.
3961 // As long as the next CE has primary weight of 0,
3970 // If lowIndex == highIndex, this target CE is part of an expansion of the last matched
3975 // Else the target CE is not part of an expansion of the last matched element, match succeeds
3995 // With exapnsions, the first CE will report the index of the source
4007 // When the last CE's low index is same with its high index, the CE is likely
4012 // the position and the next character produces CE(s). See ticket#8482.
4030 // advanced us beyond the end of the match in CE space, reject this match.
4093 printf(" %8x", strsrch->pattern.CE[ii]);
4105 strsrch->pattern.CE == NULL) {
4118 * Pre-load the buffer with the CE's for the grapheme
4120 * we can look at the CE following the match when we
4123 * This will also pre-fetch the first CE that we'll
4155 // target CE space.
4163 // For targetIx > limitIx, this ceb.getPrevious gets a CE that is as far back in the ring buffer
4164 // (compared to the last CE fetched for the previous targetIx value) as we need to go
4179 // Compare CE from target string with CE from the pattern.
4180 // Note that the target CE will be UCOL_NULLORDER if we reach the end of input,
4209 // We have found a match in CE space.
4211 // There still is a chance of match failure if the CE range not correspond to
4227 // Look at the high index of the first CE in the match. If it's the same as the
4228 // low index, the first CE in the match is in the middle of an expansion.
4237 // Look at the CE following the match. If it is UCOL_NULLORDER the match
4240 // Look at the high and low indices of the CE following the match. If
4242 // 1. The match extended to the last CE from the target text, which is OK, or
4243 // 2. The last CE that was part of the match is in an expansion that extends
4244 // to the first CE after the match. In this case, we reject the match.
4264 // advanced us beyond the end of the match in CE space, reject this match.
4277 // the last non-ignorable CE. Combining sequence
4340 int32_t *patternce = strsrch->pattern.CE;
4454 int32_t *patternce = strsrch->pattern.CE;
4568 int32_t *patternce = strsrch->pattern.CE;
4714 int32_t *patternce = strsrch->pattern.CE;