MCPcopy Index your code
hub / github.com/apache/httpd / ap_getword_white

Function ap_getword_white

server/util.c:751–771  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

749}
750
751AP_DECLARE(char *) ap_getword_white(apr_pool_t *atrans, const char **line)
752{
753 const char *pos = *line;
754 int len;
755 char *res;
756
757 while (!apr_isspace(*pos) && *pos) {
758 ++pos;
759 }
760
761 len = pos - *line;
762 res = apr_pstrmemdup(atrans, *line, len);
763
764 while (apr_isspace(*pos)) {
765 ++pos;
766 }
767
768 *line = pos;
769
770 return res;
771}
772
773AP_DECLARE(char *) ap_getword_nulls_nc(apr_pool_t *atrans, char **line,
774 char stop)

Callers 7

dav_get_timeoutFunction · 0.85
get_digest_recFunction · 0.85
parse_cmdFunction · 0.85
define_filterFunction · 0.85
ap_getword_white_ncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected