Lines Matching defs:token
1151 const unsigned char *token;
1159 token = ptr;
1188 if ((*len = (ptr - token)) == 0) {
1199 return (const char *)token;
1213 char *token;
1222 token = apr_palloc(p, tok_len + 1);
1224 /* Scan the token again, but this time copy only the good bytes.
1229 for (ptr = (const unsigned char *)tok_start, pos = (unsigned char *)token;
1289 return token;
1455 /* Grab a list of tokens of the format 1#token (from RFC7230) */
1482 return "Encountered illegal whitespace in token";
1501 * characters of a token */
1527 /* Act like we haven't seen a token so we reset */
1544 /* Retrieve a token, spacing over it and returning a pointer to
1555 char *token;
1564 /* find token end, skipping over quoted strings.
1576 token = apr_pstrmemdup(p, tok_start, ptr - tok_start);
1584 return token;
1588 /* find http tokens, see the definition of token from RFC2068 */
1599 /* find start of token, skip all stop characters, note NUL
1600 * isn't a token stop, so we don't need to test for it
1609 /* find end of the token */