Lines Matching refs:index

268   uint32_t index = parser->index;  in php_http_parser_execute()  local
348 index = 2; in php_http_parser_execute()
513 index = 1; in php_http_parser_execute()
541 if (parser->method != PHP_HTTP_NOT_IMPLEMENTED && matcher[index] != '\0') { in php_http_parser_execute()
545 } else if (parser->method == PHP_HTTP_NOT_IMPLEMENTED || ch == matcher[index]) { in php_http_parser_execute()
548 if (index == 1 && ch == 'H') { in php_http_parser_execute()
550 } else if (index == 2 && ch == 'P') { in php_http_parser_execute()
556 if (index == 1 && ch == 'O') { in php_http_parser_execute()
558 } else if (index == 3 && ch == 'A') { in php_http_parser_execute()
560 } else if (index == 1 && ch == 'E') { in php_http_parser_execute()
562 } else if (index == 1 && ch == '-') { in php_http_parser_execute()
564 } else if (index == 2 && ch == 'A') { in php_http_parser_execute()
569 } else if (index == 1 && parser->method == PHP_HTTP_POST && ch == 'R') { in php_http_parser_execute()
571 } else if (index == 1 && parser->method == PHP_HTTP_POST && ch == 'U') { in php_http_parser_execute()
573 } else if (index == 1 && parser->method == PHP_HTTP_POST && ch == 'A') { in php_http_parser_execute()
575 } else if (index == 1 && parser->method == PHP_HTTP_SUBSCRIBE && ch == 'E') { in php_http_parser_execute()
577 } else if (index == 2 && parser->method == PHP_HTTP_UNLOCK && ch == 'S') { in php_http_parser_execute()
579 } else if (index == 4 && parser->method == PHP_HTTP_PROPFIND && ch == 'P') { in php_http_parser_execute()
585 ++index; in php_http_parser_execute()
985 index = 0; in php_http_parser_execute()
1022 index++; in php_http_parser_execute()
1027 index++; in php_http_parser_execute()
1032 index++; in php_http_parser_execute()
1049 index++; in php_http_parser_execute()
1050 if (index > sizeof(CONNECTION)-1 in php_http_parser_execute()
1051 || c != CONNECTION[index]) { in php_http_parser_execute()
1053 } else if (index == sizeof(CONNECTION)-2) { in php_http_parser_execute()
1061 index++; in php_http_parser_execute()
1062 if (index > sizeof(PROXY_CONNECTION)-1 in php_http_parser_execute()
1063 || c != PROXY_CONNECTION[index]) { in php_http_parser_execute()
1065 } else if (index == sizeof(PROXY_CONNECTION)-2) { in php_http_parser_execute()
1073 index++; in php_http_parser_execute()
1074 if (index > sizeof(CONTENT_LENGTH)-1 in php_http_parser_execute()
1075 || c != CONTENT_LENGTH[index]) { in php_http_parser_execute()
1077 } else if (index == sizeof(CONTENT_LENGTH)-2) { in php_http_parser_execute()
1085 index++; in php_http_parser_execute()
1086 if (index > sizeof(TRANSFER_ENCODING)-1 in php_http_parser_execute()
1087 || c != TRANSFER_ENCODING[index]) { in php_http_parser_execute()
1089 } else if (index == sizeof(TRANSFER_ENCODING)-2) { in php_http_parser_execute()
1097 index++; in php_http_parser_execute()
1098 if (index > sizeof(UPGRADE)-1 in php_http_parser_execute()
1099 || c != UPGRADE[index]) { in php_http_parser_execute()
1101 } else if (index == sizeof(UPGRADE)-2) { in php_http_parser_execute()
1148 index = 0; in php_http_parser_execute()
1237 index++; in php_http_parser_execute()
1238 if (index > sizeof(CHUNKED)-1 in php_http_parser_execute()
1239 || c != CHUNKED[index]) { in php_http_parser_execute()
1241 } else if (index == sizeof(CHUNKED)-2) { in php_http_parser_execute()
1248 index++; in php_http_parser_execute()
1249 if (index > sizeof(KEEP_ALIVE)-1 in php_http_parser_execute()
1250 || c != KEEP_ALIVE[index]) { in php_http_parser_execute()
1252 } else if (index == sizeof(KEEP_ALIVE)-2) { in php_http_parser_execute()
1259 index++; in php_http_parser_execute()
1260 if (index > sizeof(CLOSE)-1 || c != CLOSE[index]) { in php_http_parser_execute()
1262 } else if (index == sizeof(CLOSE)-2) { in php_http_parser_execute()
1513 parser->index = index; in php_http_parser_execute()