Lines Matching defs:token

784 /* return each comma separated token, one at a time */
907 char *token;
927 token = str;
929 /* skip valid token characters to terminate token and
934 *last = token;
970 return token;
995 const char *token = cache_strqtok(header, CACHE_SEPARATOR, &last);
996 while (token) {
998 if (!strcmp(token, "no-cache")) {
1002 else if (!strcasecmp(token, "no-cache")) {
1005 token = cache_strqtok(NULL, CACHE_SEPARATOR, &last);
1012 const char *token = cache_strqtok(header, CACHE_SEPARATOR, &last);
1013 while (token) {
1014 switch (token[0]) {
1018 if (!strcmp(token, "no-cache")) {
1021 else if (!strcmp(token, "no-store")) {
1025 else if (!strncasecmp(token, "no-cache", 8)) {
1026 if (token[8] == '=') {
1029 else if (!token[8]) {
1034 else if (!strcasecmp(token, "no-store")) {
1037 else if (!strcasecmp(token, "no-transform")) {
1045 if (!strcmp(token, "max-age=0")) {
1049 else if (!strcmp(token, "must-revalidate")) {
1053 else if (!strncasecmp(token, "max-age", 7)) {
1054 if (token[7] == '=') {
1056 cc->max_age_value = apr_atoi64(token + 8);
1060 else if (!strncasecmp(token, "max-stale", 9)) {
1061 if (token[9] == '=') {
1063 cc->max_stale_value = apr_atoi64(token + 10);
1065 else if (!token[10]) {
1071 else if (!strncasecmp(token, "min-fresh", 9)) {
1072 if (token[9] == '=') {
1074 cc->min_fresh_value = apr_atoi64(token + 10);
1078 else if (!strcasecmp(token, "must-revalidate")) {
1085 if (!strcasecmp(token, "only-if-cached")) {
1093 if (!strcmp(token, "private")) {
1097 else if (!strcasecmp(token, "public")) {
1100 else if (!strncasecmp(token, "private", 7)) {
1101 if (token[7] == '=') {
1104 else if (!token[7]) {
1109 else if (!strcasecmp(token, "proxy-revalidate")) {
1116 if (!strncasecmp(token, "s-maxage", 8)) {
1117 if (token[8] == '=') {
1119 cc->s_maxage_value = apr_atoi64(token + 9);
1126 token = cache_strqtok(NULL, CACHE_SEPARATOR, &last);
1146 char *token = cache_strqtok(header, CACHE_SEPARATOR, &last);
1147 while (token) {
1148 switch (token[0]) {
1151 if (!strncmp(token, "no-cache", 8)
1152 || !strncasecmp(token, "no-cache", 8)) {
1153 if (token[8] == '=') {
1154 const char *header = cache_strqtok(token + 9,
1169 if (!strncmp(token, "private", 7)
1170 || !strncasecmp(token, "private", 7)) {
1171 if (token[7] == '=') {
1172 const char *header = cache_strqtok(token + 8,
1185 token = cache_strqtok(NULL, CACHE_SEPARATOR, &last);