Lines Matching refs:end

297 static bool escape_passthrough(unsigned char c, char **dst, char *end)  in escape_passthrough()  argument
301 if (out < end) in escape_passthrough()
307 static bool escape_space(unsigned char c, char **dst, char *end) in escape_space() argument
332 if (out < end) in escape_space()
335 if (out < end) in escape_space()
343 static bool escape_special(unsigned char c, char **dst, char *end) in escape_special() argument
362 if (out < end) in escape_special()
365 if (out < end) in escape_special()
373 static bool escape_null(unsigned char c, char **dst, char *end) in escape_null() argument
380 if (out < end) in escape_null()
383 if (out < end) in escape_null()
391 static bool escape_octal(unsigned char c, char **dst, char *end) in escape_octal() argument
395 if (out < end) in escape_octal()
398 if (out < end) in escape_octal()
401 if (out < end) in escape_octal()
404 if (out < end) in escape_octal()
412 static bool escape_hex(unsigned char c, char **dst, char *end) in escape_hex() argument
416 if (out < end) in escape_hex()
419 if (out < end) in escape_hex()
422 if (out < end) in escape_hex()
425 if (out < end) in escape_hex()
491 char *end = p + osz; in string_escape_mem() local
512 if (flags & ESCAPE_SPACE && escape_space(c, &p, end)) in string_escape_mem()
515 if (flags & ESCAPE_SPECIAL && escape_special(c, &p, end)) in string_escape_mem()
518 if (flags & ESCAPE_NULL && escape_null(c, &p, end)) in string_escape_mem()
522 if (flags & ESCAPE_OCTAL && escape_octal(c, &p, end)) in string_escape_mem()
525 if (flags & ESCAPE_HEX && escape_hex(c, &p, end)) in string_escape_mem()
529 escape_passthrough(c, &p, end); in string_escape_mem()