Lines Matching refs:olen
432 int olen = utf_ptr2len(STR_PTR(i)); in str_foldcase() local
438 if ((c < 0x80 || olen > 1) && c != lc) in str_foldcase()
444 if (olen != nlen) in str_foldcase()
446 if (nlen > olen) in str_foldcase()
449 ? ga_grow(&ga, nlen - olen + 1) == FAIL in str_foldcase()
450 : len + nlen - olen >= buflen) in str_foldcase()
454 nlen = olen; in str_foldcase()
457 if (olen != nlen) in str_foldcase()
461 STRMOVE(GA_PTR(i) + nlen, GA_PTR(i) + olen); in str_foldcase()
462 ga.ga_len += nlen - olen; in str_foldcase()
466 STRMOVE(buf + i + nlen, buf + i + olen); in str_foldcase()
467 len += nlen - olen; in str_foldcase()