Lines Matching refs:resultLen
676 int32_t resultLen = skelStr.length(); in uspoof_getSkeleton() local
681 if (!unorm_isNormalized(result, resultLen, UNORM_NFKD, status)) { in uspoof_getSkeleton()
682 normalizedLen = unorm_normalize(dest, resultLen, UNORM_NFKD, 0, NULL, 0, status); in uspoof_getSkeleton()
688 unorm_normalize(result, resultLen, UNORM_NFKD, 0, normedResult, normalizedLen+1, status); in uspoof_getSkeleton()
690 resultLen = normalizedLen; in uspoof_getSkeleton()
695 if (destCapacity == 0 || resultLen > destCapacity) { in uspoof_getSkeleton()
696 … *status = resultLen>destCapacity ? U_BUFFER_OVERFLOW_ERROR : U_STRING_NOT_TERMINATED_WARNING; in uspoof_getSkeleton()
698 u_memcpy(dest, result, resultLen); in uspoof_getSkeleton()
699 if (destCapacity > resultLen) { in uspoof_getSkeleton()
700 dest[resultLen] = 0; in uspoof_getSkeleton()
707 return resultLen; in uspoof_getSkeleton()