• Home
  • Raw
  • Download

Lines Matching refs:end

358 static bool escape_passthrough(unsigned char c, char **dst, char *end)  in escape_passthrough()  argument
362 if (out < end) in escape_passthrough()
368 static bool escape_space(unsigned char c, char **dst, char *end) in escape_space() argument
393 if (out < end) in escape_space()
396 if (out < end) in escape_space()
404 static bool escape_special(unsigned char c, char **dst, char *end) in escape_special() argument
426 if (out < end) in escape_special()
429 if (out < end) in escape_special()
437 static bool escape_null(unsigned char c, char **dst, char *end) in escape_null() argument
444 if (out < end) in escape_null()
447 if (out < end) in escape_null()
455 static bool escape_octal(unsigned char c, char **dst, char *end) in escape_octal() argument
459 if (out < end) in escape_octal()
462 if (out < end) in escape_octal()
465 if (out < end) in escape_octal()
468 if (out < end) in escape_octal()
476 static bool escape_hex(unsigned char c, char **dst, char *end) in escape_hex() argument
480 if (out < end) in escape_hex()
483 if (out < end) in escape_hex()
486 if (out < end) in escape_hex()
489 if (out < end) in escape_hex()
578 char *end = p + osz; in string_escape_mem() local
606 escape_passthrough(c, &p, end)) in string_escape_mem()
610 flags & ESCAPE_NAP && escape_passthrough(c, &p, end)) in string_escape_mem()
614 flags & ESCAPE_NP && escape_passthrough(c, &p, end)) in string_escape_mem()
618 flags & ESCAPE_NA && escape_passthrough(c, &p, end)) in string_escape_mem()
621 if (flags & ESCAPE_SPACE && escape_space(c, &p, end)) in string_escape_mem()
624 if (flags & ESCAPE_SPECIAL && escape_special(c, &p, end)) in string_escape_mem()
627 if (flags & ESCAPE_NULL && escape_null(c, &p, end)) in string_escape_mem()
631 if (flags & ESCAPE_OCTAL && escape_octal(c, &p, end)) in string_escape_mem()
634 if (flags & ESCAPE_HEX && escape_hex(c, &p, end)) in string_escape_mem()
637 escape_passthrough(c, &p, end); in string_escape_mem()
861 char *end; in strim() local
867 end = s + size - 1; in strim()
868 while (end >= s && isspace(*end)) in strim()
869 end--; in strim()
870 *(end + 1) = '\0'; in strim()