Lines Matching refs:end

303 static bool escape_passthrough(unsigned char c, char **dst, char *end)  in escape_passthrough()  argument
307 if (out < end) in escape_passthrough()
313 static bool escape_space(unsigned char c, char **dst, char *end) in escape_space() argument
338 if (out < end) in escape_space()
341 if (out < end) in escape_space()
349 static bool escape_special(unsigned char c, char **dst, char *end) in escape_special() argument
371 if (out < end) in escape_special()
374 if (out < end) in escape_special()
382 static bool escape_null(unsigned char c, char **dst, char *end) in escape_null() argument
389 if (out < end) in escape_null()
392 if (out < end) in escape_null()
400 static bool escape_octal(unsigned char c, char **dst, char *end) in escape_octal() argument
404 if (out < end) in escape_octal()
407 if (out < end) in escape_octal()
410 if (out < end) in escape_octal()
413 if (out < end) in escape_octal()
421 static bool escape_hex(unsigned char c, char **dst, char *end) in escape_hex() argument
425 if (out < end) in escape_hex()
428 if (out < end) in escape_hex()
431 if (out < end) in escape_hex()
434 if (out < end) in escape_hex()
523 char *end = p + osz; in string_escape_mem() local
551 escape_passthrough(c, &p, end)) in string_escape_mem()
555 flags & ESCAPE_NAP && escape_passthrough(c, &p, end)) in string_escape_mem()
559 flags & ESCAPE_NP && escape_passthrough(c, &p, end)) in string_escape_mem()
563 flags & ESCAPE_NA && escape_passthrough(c, &p, end)) in string_escape_mem()
566 if (flags & ESCAPE_SPACE && escape_space(c, &p, end)) in string_escape_mem()
569 if (flags & ESCAPE_SPECIAL && escape_special(c, &p, end)) in string_escape_mem()
572 if (flags & ESCAPE_NULL && escape_null(c, &p, end)) in string_escape_mem()
576 if (flags & ESCAPE_OCTAL && escape_octal(c, &p, end)) in string_escape_mem()
579 if (flags & ESCAPE_HEX && escape_hex(c, &p, end)) in string_escape_mem()
582 escape_passthrough(c, &p, end); in string_escape_mem()