Lines Matching refs:res
363 char_u *res; in strup_save() local
365 res = p = vim_strsave(orig); in strup_save()
367 if (res != NULL) in strup_save()
393 s = alloc(STRLEN(res) + 1 + newl - l); in strup_save()
396 vim_free(res); in strup_save()
399 mch_memmove(s, res, p - res); in strup_save()
400 STRCPY(s + (p - res) + newl, p + l); in strup_save()
401 p = s + (p - res); in strup_save()
402 vim_free(res); in strup_save()
403 res = s; in strup_save()
418 return res; in strup_save()
430 char_u *res; in strlow_save() local
432 res = p = vim_strsave(orig); in strlow_save()
434 if (res != NULL) in strlow_save()
460 s = alloc(STRLEN(res) + 1 + newl - l); in strlow_save()
463 vim_free(res); in strlow_save()
466 mch_memmove(s, res, p - res); in strlow_save()
467 STRCPY(s + (p - res) + newl, p + l); in strlow_save()
468 p = s + (p - res); in strlow_save()
469 vim_free(res); in strlow_save()
470 res = s; in strlow_save()
485 return res; in strlow_save()