Lines Matching refs:index
335 uint32_t index = parser->index; in php_http_parser_execute() local
415 index = 2; in php_http_parser_execute()
580 index = 1; in php_http_parser_execute()
609 if (parser->method != PHP_HTTP_NOT_IMPLEMENTED && matcher[index] != '\0') { in php_http_parser_execute()
613 } else if (parser->method == PHP_HTTP_NOT_IMPLEMENTED || ch == matcher[index]) { in php_http_parser_execute()
616 if (index == 1 && ch == 'H') { in php_http_parser_execute()
618 } else if (index == 2 && ch == 'P') { in php_http_parser_execute()
624 if (index == 1 && ch == 'O') { in php_http_parser_execute()
626 } else if (index == 3 && ch == 'A') { in php_http_parser_execute()
628 } else if (index == 1 && ch == 'E') { in php_http_parser_execute()
630 } else if (index == 1 && ch == '-') { in php_http_parser_execute()
632 } else if (index == 2 && ch == 'A') { in php_http_parser_execute()
637 } else if (index == 1 && parser->method == PHP_HTTP_POST && ch == 'R') { in php_http_parser_execute()
639 } else if (index == 1 && parser->method == PHP_HTTP_POST && ch == 'U') { in php_http_parser_execute()
641 } else if (index == 1 && parser->method == PHP_HTTP_POST && ch == 'A') { in php_http_parser_execute()
643 } else if (index == 2 && parser->method == PHP_HTTP_UNLOCK && ch == 'S') { in php_http_parser_execute()
645 } else if (index == 4 && parser->method == PHP_HTTP_PROPFIND && ch == 'P') { in php_http_parser_execute()
651 ++index; in php_http_parser_execute()
1051 index = 0; in php_http_parser_execute()
1088 index++; in php_http_parser_execute()
1093 index++; in php_http_parser_execute()
1098 index++; in php_http_parser_execute()
1115 index++; in php_http_parser_execute()
1116 if (index > sizeof(CONNECTION)-1 in php_http_parser_execute()
1117 || c != CONNECTION[index]) { in php_http_parser_execute()
1119 } else if (index == sizeof(CONNECTION)-2) { in php_http_parser_execute()
1127 index++; in php_http_parser_execute()
1128 if (index > sizeof(PROXY_CONNECTION)-1 in php_http_parser_execute()
1129 || c != PROXY_CONNECTION[index]) { in php_http_parser_execute()
1131 } else if (index == sizeof(PROXY_CONNECTION)-2) { in php_http_parser_execute()
1139 index++; in php_http_parser_execute()
1140 if (index > sizeof(CONTENT_LENGTH)-1 in php_http_parser_execute()
1141 || c != CONTENT_LENGTH[index]) { in php_http_parser_execute()
1143 } else if (index == sizeof(CONTENT_LENGTH)-2) { in php_http_parser_execute()
1151 index++; in php_http_parser_execute()
1152 if (index > sizeof(TRANSFER_ENCODING)-1 in php_http_parser_execute()
1153 || c != TRANSFER_ENCODING[index]) { in php_http_parser_execute()
1155 } else if (index == sizeof(TRANSFER_ENCODING)-2) { in php_http_parser_execute()
1163 index++; in php_http_parser_execute()
1164 if (index > sizeof(UPGRADE)-1 in php_http_parser_execute()
1165 || c != UPGRADE[index]) { in php_http_parser_execute()
1167 } else if (index == sizeof(UPGRADE)-2) { in php_http_parser_execute()
1214 index = 0; in php_http_parser_execute()
1303 index++; in php_http_parser_execute()
1304 if (index > sizeof(CHUNKED)-1 in php_http_parser_execute()
1305 || c != CHUNKED[index]) { in php_http_parser_execute()
1307 } else if (index == sizeof(CHUNKED)-2) { in php_http_parser_execute()
1314 index++; in php_http_parser_execute()
1315 if (index > sizeof(KEEP_ALIVE)-1 in php_http_parser_execute()
1316 || c != KEEP_ALIVE[index]) { in php_http_parser_execute()
1318 } else if (index == sizeof(KEEP_ALIVE)-2) { in php_http_parser_execute()
1325 index++; in php_http_parser_execute()
1326 if (index > sizeof(CLOSE)-1 || c != CLOSE[index]) { in php_http_parser_execute()
1328 } else if (index == sizeof(CLOSE)-2) { in php_http_parser_execute()
1571 parser->index = index; in php_http_parser_execute()