Lines Matching refs:head
621 * head/headlen alone (leaving stat/statlen NULL/0), so that they
623 * isn't counted as the head bytes are.
627 const char *head,
638 if (!head || headlen == 0 || !*head) {
639 head = stat;
647 if (head && headlen && *head && ((stat = memchr(head, '\r', headlen))
648 || (stat = memchr(head, '\n', headlen))
649 || (stat = memchr(head, '\0', headlen))
650 || (stat = head + headlen))) {
651 statlen = stat - head;
652 if (memchr(head, ':', statlen)) {
657 const char *flip = head;
658 head = stat;
662 if (*head == '\r' && headlen)
663 ++head, --headlen, ++ate;
664 if (*head == '\n' && headlen)
665 ++head, --headlen, ++ate;
696 if (!head || headlen == 0 || !*head) {
697 head = "\r\n";
702 if (head[headlen - 1] && head[headlen]) {
704 head = apr_pstrndup(cid->r->pool, head, headlen);
718 APLOG_MODULE_INDEX, &termch, &termarg, stat, head, NULL);
722 APLOG_MODULE_INDEX, &termch, &termarg, head, NULL);
797 * happens if the parser got to the head arg, which varies based
798 * on whether we passed stat+head to scan, or only head.
801 && head_present && head + headlen > termch) {
802 return ate + termch - head;