Home | History | Annotate | Download | only in i18n

Lines Matching full:accents

454     // Since the strength is primary, accents are ignored in the pattern.
541 * pattern into 3 parts, the prefix accents (PA), the middle string bounded by
542 * the first and last base character (MS), the ending accents (EA). Matches
544 * will be required for the prefix and end accents in order to determine if
547 * consideration. Forwards search will take the end accents into consideration
549 * accents into consideration.
596 /* Check the start of the matched text to make sure it doesn't have any accents
674 * accents the following base character will be returned
815 * This checks for accents in the potential match started with a .
818 * have any extra accents. We have to normalize the potential match and find
828 * Note here that accents checking are slow and cautioned in the API docs.
835 * @return TRUE if there is non-ignorable accents before at the beginning
909 * Used by exact matches, checks if there are accents before the match.
911 * the start of the matches have to not have any extra accents.
922 * Note here that accents checking are slow and cautioned in the API docs.
926 * @return TRUE if there are accents on either side of the match,
995 * Used by exact matches, checks if there are accents bounding the match.
997 * starts or ends with composite characters, the accents in those
1003 * Note here that accents checking are slow and cautioned in the API docs.
1007 * @return TRUE if there are accents on either side of the match,
1244 * <li> exact matches has no extra accents
1298 * composed character with accents
1325 * Getting the indexes of the accents that are not blocked in the argument
1327 * @param accents array of accents in nfd terminated by a 0.
1328 * @param accentsindex array of indexes of the accents that are not blocked
1331 inline int getUnblockedAccentIndex(UChar *accents, int32_t *accentsindex)
1334 int32_t length = u_strlen(accents);
1341 UTF_NEXT_CHAR(accents, index, length, codepoint);
1436 * Rearranges the front accents to try matching.
1437 * Prefix accents in the text will be grouped according to their combining
1448 * @param start first offset of the accents to start searching
1452 * offset of the match. Note this start includes all preceding accents.
1472 UChar accents[INITIAL_ARRAY_SIZE_];
1474 unorm_normalize(text + start, offset - start, UNORM_NFD, 0, accents,
1481 int32_t accentsize = getUnblockedAccentIndex(accents,
1490 *rearrange ++ = accents[k];
1493 // sets of accents
1498 *rearrange ++ = accents[j];
1571 * Take the rearranged end accents and tries matching. If match failed at
1572 * a seperate preceding set of accents (seperated from the rearranged on by
1573 * at least a base character) then we rearrange the preceding accents and
1583 * offset of the match. Note this start includes all preceding accents.
1660 // try rearranging the front accents
1700 * This will try normalizing the end accents and arranging them into canonical
1702 * Suffix accents in the text will be grouped according to their combining
1714 * the accents to be rearranged
1744 UChar accents[INITIAL_ARRAY_SIZE_];
1749 0, accents, INITIAL_ARRAY_SIZE_, status);
1753 int32_t size = getUnblockedAccentIndex(accents, accentsindex);
1755 // 2 power n - 1 plus the full set of accents
1761 *rearrange ++ = accents[k];
1764 // sets of accents
1769 *rearrange ++ = accents[j];
1790 * if it is a composed character with accents
1875 // accents may have extra starting ces, this occurs when a
2088 * <li> exact matches has no extra accents
2140 * Rearranges the end accents to try matching.
2141 * Suffix accents in the text will be grouped according to their combining
2156 * offset of the match. Note this start includes all following accents.
2176 UChar accents[INITIAL_ARRAY_SIZE_];
2179 unorm_normalize(text + offset, end - offset, UNORM_NFD, 0, accents,
2183 int32_t accentsize = getUnblockedAccentIndex(accents,
2192 *rearrange ++ = accents[k];
2195 // sets of accents
2200 *rearrange ++ = accents[j];
2231 * Take the rearranged start accents and tries matching. If match failed at
2232 * a seperate following set of accents (seperated from the rearranged on by
2233 * at least a base character) then we rearrange the preceding accents and
2243 * offset of the match. Note this start includes all following accents.
2324 // try rearranging the end accents
2363 * This will try normalizing the starting accents and arranging them into
2365 * Prefix accents in the text will be grouped according to their combining
2377 * with the accents to be rearranged
2407 UChar accents[INITIAL_ARRAY_SIZE_];
2412 0, accents, INITIAL_ARRAY_SIZE_, status);
2416 int32_t size = getUnblockedAccentIndex(accents, accentsindex);
2418 // 2 power n - 1 plus the full set of accents
2424 *rearrange ++ = accents[k];
2427 // sets of accents
2432 *rearrange ++ = accents[j];
2513 // accents may have extra starting ces, this occurs when a
3168 * of all accents. But since the offset returned is from the text string, we
3260 // can't use exact here since extra accents are allowed.
3352 // can't use exact here since extra accents are allowed.
4608 // checking for accents in composite character
4751 // checking for accents in composite character