Searched refs:prefix_index (Results 1 – 3 of 3) sorted by relevance
231 size_t prefix_index, value_index; in TryRemovePrefix() local232 for (prefix_index = 0, value_index = 0; in TryRemovePrefix()233 prefix_index < prefix_to_match.size() && value_index < value.size(); in TryRemovePrefix()239 if (ascii_tolower(value[value_index]) != prefix_to_match[prefix_index++]) { in TryRemovePrefix()246 if (prefix_index < prefix_to_match.size()) { in TryRemovePrefix()
404 unsigned int prefix_index; in unicodedata_UCD_decomposition_impl() local433 prefix_index = decomp_data[index] & 255; in unicodedata_UCD_decomposition_impl()434 assert(prefix_index < Py_ARRAY_LENGTH(decomp_prefix)); in unicodedata_UCD_decomposition_impl()437 i = strlen(decomp_prefix[prefix_index]); in unicodedata_UCD_decomposition_impl()438 memcpy(decomp, decomp_prefix[prefix_index], i); in unicodedata_UCD_decomposition_impl()
406 unsigned int prefix_index; in unicodedata_decomposition() local442 prefix_index = decomp_data[index] & 255; in unicodedata_decomposition()443 assert(prefix_index < (sizeof(decomp_prefix)/sizeof(*decomp_prefix))); in unicodedata_decomposition()446 i = strlen(decomp_prefix[prefix_index]); in unicodedata_decomposition()447 memcpy(decomp, decomp_prefix[prefix_index], i); in unicodedata_decomposition()