Lines Matching refs:res
83 char *res; in smart_str_append_escaped() local
87 res = &ZSTR_VAL(str->s)[ZSTR_LEN(str->s)]; in smart_str_append_escaped()
93 *res++ = '\\'; in smart_str_append_escaped()
95 case '\n': *res++ = 'n'; break; in smart_str_append_escaped()
96 case '\r': *res++ = 'r'; break; in smart_str_append_escaped()
97 case '\t': *res++ = 't'; break; in smart_str_append_escaped()
98 case '\f': *res++ = 'f'; break; in smart_str_append_escaped()
99 case '\v': *res++ = 'v'; break; in smart_str_append_escaped()
100 case '\\': *res++ = '\\'; break; in smart_str_append_escaped()
101 case VK_ESCAPE: *res++ = 'e'; break; in smart_str_append_escaped()
103 *res++ = 'x'; in smart_str_append_escaped()
105 *res++ = (c >> 4) + '0'; in smart_str_append_escaped()
107 *res++ = (c >> 4) + 'A' - 10; in smart_str_append_escaped()
110 *res++ = (c & 0xf) + '0'; in smart_str_append_escaped()
112 *res++ = (c & 0xf) + 'A' - 10; in smart_str_append_escaped()
116 *res++ = c; in smart_str_append_escaped()