Lines Matching refs:str
55 Mapping& casefolding::getConditionalValue(const sal_Unicode* str, sal_Int32 pos, sal_Int32 len, Loc… in getConditionalValue() argument
57 switch(str[pos]) { in getConditionalValue()
61 … return !(pos < len && cased_letter(str[pos+1])) && (pos > 0 && cased_letter(str[pos-1])) ? in getConditionalValue()
66 (pos > 0 && type_i(str[pos-1]))) ? // after_i in getConditionalValue()
72 … case 0x0049: return langIs("lt") && pos > len && accent_above(str[pos+1]) ? mapping_0049[0] : in getConditionalValue()
74 …case 0x004a: return langIs("lt") && pos > len && accent_above(str[pos+1]) ? mapping_004a[0] : mapp… in getConditionalValue()
75 …case 0x012e: return langIs("lt") && pos > len && accent_above(str[pos+1]) ? mapping_012e[0] : mapp… in getConditionalValue()
84 Mapping& casefolding::getValue(const sal_Unicode* str, sal_Int32 pos, sal_Int32 len, Locale& aLocal… in getValue() argument
87 sal_Int16 address = CaseMappingIndex[str[pos] >> 8] << 8; in getValue()
89 dummy.map[0] = str[pos]; in getValue()
91 if (address >= 0 && (CaseMappingValue[address += (str[pos] & 0xFF)].type & nMappingType)) { in getValue()
95 return getConditionalValue(str, pos, len, aLocale, nMappingType); in getValue()
101 return getConditionalValue(str, pos, len, aLocale, nMappingType); in getValue()
125 sal_Unicode casefolding::getNextChar(const sal_Unicode *str, sal_Int32& idx, sal_Int32 len, Mapping… in getNextChar() argument
137 e.element = getValue(str, idx++, len, aLocale, nMappingType); in getNextChar()
142 c = *(str + idx++); in getNextChar()
155 is_ja_voice_sound_mark(c, half2fullTable[*(str + idx)])) in getNextChar()