Lines Matching refs:dst
128 static bool unescape_space(char **src, char **dst) in unescape_space() argument
130 char *p = *dst, *q = *src; in unescape_space()
151 *dst += 1; in unescape_space()
156 static bool unescape_octal(char **src, char **dst) in unescape_octal() argument
158 char *p = *dst, *q = *src; in unescape_octal()
170 *dst += 1; in unescape_octal()
175 static bool unescape_hex(char **src, char **dst) in unescape_hex() argument
177 char *p = *dst, *q = *src; in unescape_hex()
194 *dst += 1; in unescape_hex()
199 static bool unescape_special(char **src, char **dst) in unescape_special() argument
201 char *p = *dst, *q = *src; in unescape_special()
219 *dst += 1; in unescape_special()
262 int string_unescape(char *src, char *dst, size_t size, unsigned int flags) in string_unescape() argument
264 char *out = dst; in string_unescape()
293 return out - dst; in string_unescape()
297 static bool escape_passthrough(unsigned char c, char **dst, char *end) in escape_passthrough() argument
299 char *out = *dst; in escape_passthrough()
303 *dst = out + 1; in escape_passthrough()
307 static bool escape_space(unsigned char c, char **dst, char *end) in escape_space() argument
309 char *out = *dst; in escape_space()
339 *dst = out; in escape_space()
343 static bool escape_special(unsigned char c, char **dst, char *end) in escape_special() argument
345 char *out = *dst; in escape_special()
369 *dst = out; in escape_special()
373 static bool escape_null(unsigned char c, char **dst, char *end) in escape_null() argument
375 char *out = *dst; in escape_null()
387 *dst = out; in escape_null()
391 static bool escape_octal(unsigned char c, char **dst, char *end) in escape_octal() argument
393 char *out = *dst; in escape_octal()
408 *dst = out; in escape_octal()
412 static bool escape_hex(unsigned char c, char **dst, char *end) in escape_hex() argument
414 char *out = *dst; in escape_hex()
429 *dst = out; in escape_hex()
489 int string_escape_mem(const char *src, size_t isz, char *dst, size_t osz, in string_escape_mem() argument
492 char *p = dst; in string_escape_mem()
534 return p - dst; in string_escape_mem()