Lines Matching defs:tok
1304 const char *tok, ap_etag_e type)
1310 if (!line || !tok) {
1313 if (type == AP_ETAG_STRONG && *tok != '\"') {
1317 if (*tok == 'W' && (*(tok+1)) == '/' && (*(tok+2)) == '\"') {
1318 tok += 2;
1320 else if (*tok != '\"') {
1354 for (pos = (const unsigned char *)tok;
1432 const char *tok)
1434 return find_list_item(p, line, tok, AP_ETAG_NONE);
1441 const char *tok)
1443 return find_list_item(p, line, tok, AP_ETAG_STRONG);
1450 const char *tok)
1452 return find_list_item(p, line, tok, AP_ETAG_WEAK);
1589 AP_DECLARE(int) ap_find_token(apr_pool_t *p, const char *line, const char *tok)
1613 if (!strncasecmp((const char *)start_token, (const char *)tok,
1625 const char *tok)
1633 tlen = strlen(tok);
1640 return (strncasecmp(&line[lidx], tok, tlen) == 0);