Lines Matching refs:index
334 uint32_t index = parser->index; in php_http_parser_execute() local
414 index = 2; in php_http_parser_execute()
579 index = 1; in php_http_parser_execute()
607 if (ch == ' ' && (matcher[index] == '\0' || parser->method == PHP_HTTP_NOT_IMPLEMENTED)) { in php_http_parser_execute()
609 } else if (ch == matcher[index]) { in php_http_parser_execute()
612 if (index == 1 && ch == 'H') { in php_http_parser_execute()
614 } else if (index == 2 && ch == 'P') { in php_http_parser_execute()
618 if (index == 1 && ch == 'O') { in php_http_parser_execute()
620 } else if (index == 1 && ch == 'E') { in php_http_parser_execute()
622 } else if (index == 1 && ch == '-') { in php_http_parser_execute()
624 } else if (index == 2 && ch == 'A') { in php_http_parser_execute()
627 } else if (index == 1 && parser->method == PHP_HTTP_POST && ch == 'R') { in php_http_parser_execute()
629 } else if (index == 1 && parser->method == PHP_HTTP_POST && ch == 'U') { in php_http_parser_execute()
631 } else if (index == 1 && parser->method == PHP_HTTP_POST && ch == 'A') { in php_http_parser_execute()
633 } else if (index == 2 && parser->method == PHP_HTTP_UNLOCK && ch == 'S') { in php_http_parser_execute()
635 } else if (index == 4 && parser->method == PHP_HTTP_PROPFIND && ch == 'P') { in php_http_parser_execute()
641 ++index; in php_http_parser_execute()
1041 index = 0; in php_http_parser_execute()
1078 index++; in php_http_parser_execute()
1083 index++; in php_http_parser_execute()
1088 index++; in php_http_parser_execute()
1105 index++; in php_http_parser_execute()
1106 if (index > sizeof(CONNECTION)-1 in php_http_parser_execute()
1107 || c != CONNECTION[index]) { in php_http_parser_execute()
1109 } else if (index == sizeof(CONNECTION)-2) { in php_http_parser_execute()
1117 index++; in php_http_parser_execute()
1118 if (index > sizeof(PROXY_CONNECTION)-1 in php_http_parser_execute()
1119 || c != PROXY_CONNECTION[index]) { in php_http_parser_execute()
1121 } else if (index == sizeof(PROXY_CONNECTION)-2) { in php_http_parser_execute()
1129 index++; in php_http_parser_execute()
1130 if (index > sizeof(CONTENT_LENGTH)-1 in php_http_parser_execute()
1131 || c != CONTENT_LENGTH[index]) { in php_http_parser_execute()
1133 } else if (index == sizeof(CONTENT_LENGTH)-2) { in php_http_parser_execute()
1141 index++; in php_http_parser_execute()
1142 if (index > sizeof(TRANSFER_ENCODING)-1 in php_http_parser_execute()
1143 || c != TRANSFER_ENCODING[index]) { in php_http_parser_execute()
1145 } else if (index == sizeof(TRANSFER_ENCODING)-2) { in php_http_parser_execute()
1153 index++; in php_http_parser_execute()
1154 if (index > sizeof(UPGRADE)-1 in php_http_parser_execute()
1155 || c != UPGRADE[index]) { in php_http_parser_execute()
1157 } else if (index == sizeof(UPGRADE)-2) { in php_http_parser_execute()
1204 index = 0; in php_http_parser_execute()
1293 index++; in php_http_parser_execute()
1294 if (index > sizeof(CHUNKED)-1 in php_http_parser_execute()
1295 || c != CHUNKED[index]) { in php_http_parser_execute()
1297 } else if (index == sizeof(CHUNKED)-2) { in php_http_parser_execute()
1304 index++; in php_http_parser_execute()
1305 if (index > sizeof(KEEP_ALIVE)-1 in php_http_parser_execute()
1306 || c != KEEP_ALIVE[index]) { in php_http_parser_execute()
1308 } else if (index == sizeof(KEEP_ALIVE)-2) { in php_http_parser_execute()
1315 index++; in php_http_parser_execute()
1316 if (index > sizeof(CLOSE)-1 || c != CLOSE[index]) { in php_http_parser_execute()
1318 } else if (index == sizeof(CLOSE)-2) { in php_http_parser_execute()
1561 parser->index = index; in php_http_parser_execute()