Lines Matching refs:str
131 sal_Int32 xdictionary::getLongestMatch(const sal_Unicode* str, sal_Int32 sLen) { in getLongestMatch() argument
135 sal_Int16 idx = index1[str[0] >> 8]; in getLongestMatch()
139 idx = (idx<<8) | (str[0]&0xff); in getLongestMatch()
145 str++; sLen--; // first character is not stored in the dictionary in getLongestMatch()
152 while (pos < len && dstr[pos] == str[pos]) { pos++; } in getLongestMatch()
178 sal_Bool WordBreakCache::equals(const sal_Unicode* str, Boundary& boundary) { in equals() argument
183 if (contents[i] != str[i + boundary.startPos]) return sal_False; in equals()
273 const sal_Unicode *str = text + wordBoundary.startPos + aCache.wordboundary[i]; in getCache() local
276 for (;len == 0 && slen > 0; str++, slen--) { in getCache()
277 len = getLongestMatch(str, slen); in getCache()
283 type = JapaneseCharType(*str); in getCache()
284 else if (type != JapaneseCharType(*str)) in getCache()