Lines Matching refs:res

2786 	StrMatchResult res;  in ModifyWord_Match()  local
2788 res = Str_Match(word.start, args->pattern); in ModifyWord_Match()
2789 if (res.error != NULL && !args->error_reported) { in ModifyWord_Match()
2793 res.error, args->pattern, args->neg ? ":N" : ":M"); in ModifyWord_Match()
2795 if (res.matched != args->neg) in ModifyWord_Match()
3134 char *res = bmake_malloc(n); in str_toupper() local
3136 res[i] = ch_toupper(str[i]); in str_toupper()
3137 return res; in str_toupper()
3144 char *res = bmake_malloc(n); in str_tolower() local
3146 res[i] = ch_tolower(str[i]); in str_tolower()
3147 return res; in str_tolower()
3948 ApplyModifierResult res; in ApplySingleModifier() local
3955 res = ApplyModifier(&p, ch); in ApplySingleModifier()
3957 if (res == AMR_UNKNOWN) { in ApplySingleModifier()
3959 res = ApplyModifier_SysV(&p, ch); in ApplySingleModifier()
3962 if (res == AMR_UNKNOWN) { in ApplySingleModifier()
3975 if (res == AMR_CLEANUP || res == AMR_BAD) { in ApplySingleModifier()
3977 return res; in ApplySingleModifier()
4049 ApplyModifierResult res; in ApplyModifiers() local
4067 res = ApplySingleModifier(&p, &ch); in ApplyModifiers()
4068 if (res == AMR_CLEANUP) in ApplyModifiers()
4070 if (res == AMR_BAD) in ApplyModifiers()
4637 VarSubstDollarDollar(const char **pp, Buffer *res, VarEvalMode emode) in VarSubstDollarDollar() argument
4641 Buf_AddByte(res, '$'); in VarSubstDollarDollar()
4642 Buf_AddByte(res, '$'); in VarSubstDollarDollar()
4704 VarSubstPlain(const char **pp, Buffer *res) in VarSubstPlain() argument
4711 Buf_AddRange(res, start, p); in VarSubstPlain()
4729 Buffer res; in Var_Subst() local
4737 Buf_Init(&res); in Var_Subst()
4742 VarSubstDollarDollar(&p, &res, emode); in Var_Subst()
4744 VarSubstExpr(&p, &res, scope, emode, &errorReported); in Var_Subst()
4746 VarSubstPlain(&p, &res); in Var_Subst()
4749 return Buf_DoneData(&res); in Var_Subst()