Home
last modified time | relevance | path

Searched refs:stringLen (Results 1 – 6 of 6) sorted by relevance

/external/icu4c/i18n/
Duspoof_impl.cpp191 int32_t stringLen = USPOOF_KEY_LENGTH_FIELD(keyFlags) + 1; in confusableLookup()
197 if (stringLen == 1) { in confusableLookup()
209 if (stringLen == 4) { in confusableLookup()
213 stringLen = fSpoofData->fCFUStringLengths[ix].fStrLength; in confusableLookup()
220 U_ASSERT(value + stringLen <= fSpoofData->fRawData->fCFUStringTableLen); in confusableLookup()
222 dest.append(src, stringLen); in confusableLookup()
223 return stringLen; in confusableLookup()
Drematch.cpp2877 int32_t stringLen = URX_VAL(op); in MatchAt() local
2879 U_ASSERT(stringLen >= 2); in MatchAt()
2887 while (patternStringIndex < stringLen) { in MatchAt()
2894 U16_NEXT(patternString, patternStringIndex, stringLen, patternChar); in MatchAt()
4366 int32_t stringLen; in MatchChunkAt() local
4371 stringLen = URX_VAL(op); in MatchChunkAt()
4373 U_ASSERT(stringLen >= 2); in MatchChunkAt()
4378 const UChar * pEnd = pInp + stringLen; in MatchChunkAt()
4393 fp->fInputIdx += stringLen; in MatchChunkAt()
Dregexcmp.cpp2657 int32_t stringLen = URX_VAL(stringLenOp); in matchStartType() local
2671 fRXPat->fInitialStringLen = stringLen; in matchStartType()
2674 currentLen += stringLen; in matchStartType()
2686 int32_t stringLen = URX_VAL(stringLenOp); in matchStartType() local
2705 currentLen += stringLen; in matchStartType()
/external/chromium_org/third_party/icu/source/i18n/
Duspoof_impl.cpp184 int32_t stringLen = USPOOF_KEY_LENGTH_FIELD(keyFlags) + 1; in confusableLookup()
190 if (stringLen == 1) { in confusableLookup()
202 if (stringLen == 4) { in confusableLookup()
206 stringLen = fSpoofData->fCFUStringLengths[ix].fStrLength; in confusableLookup()
213 U_ASSERT(value + stringLen < fSpoofData->fRawData->fCFUStringTableLen); in confusableLookup()
215 for (ix=0; ix<stringLen; ix++) { in confusableLookup()
218 return stringLen; in confusableLookup()
Dregexcmp.cpp1767 int32_t stringLen; in literalChar() local
1826 stringLen = fRXPat->fLiteralText.length() - fStringOpStart; in literalChar()
1827 op = URX_BUILD(URX_STRING_LEN, stringLen); in literalChar()
1879 int32_t stringLen; in fixLiterals() local
1897 stringLen = URX_VAL(op); in fixLiterals()
1917 stringLen -= (fRXPat->fLiteralText.length() - stringLastCharIdx); in fixLiterals()
1918 op = URX_BUILD(URX_STRING_LEN, stringLen); in fixLiterals()
2691 int32_t stringLen = URX_VAL(stringLenOp); in matchStartType() local
2705 fRXPat->fInitialStringLen = stringLen; in matchStartType()
2708 currentLen += stringLen; in matchStartType()
[all …]
Drematch.cpp2856 int32_t stringLen; in MatchAt() local
2861 stringLen = URX_VAL(op); in MatchAt()
2863 U_ASSERT(stringLen >= 2); in MatchAt()
2866 const UChar *patternEnd = patternChars+stringLen; in MatchAt()
3908 int32_t stringStartIdx, stringLen; in MatchAt() local
3916 stringLen = opValue; in MatchAt()
3919 const UChar *patternEnd = patternChars+stringLen; in MatchAt()
4561 int32_t stringLen; in MatchChunkAt() local
4566 stringLen = URX_VAL(op); in MatchChunkAt()
4568 U_ASSERT(stringLen >= 2); in MatchChunkAt()
[all …]