Home
last modified time | relevance | path

Searched refs:parser_state (Results 1 - 11 of 11) sorted by relevance

/third_party/libwebsockets/plugins/ssh-base/
H A Dsshd.c306 switch (pss->parser_state) { in handle_name()
447 pss->parser_state = SSHS_GET_STRING_LEN_ALLOC; in state_get_string_alloc()
454 pss->parser_state = SSHS_GET_STRING_LEN; in state_get_string()
461 pss->parser_state = SSHS_GET_U32; in state_get_u32()
545 switch(pss->parser_state) { in lws_ssh_parse_plaintext()
547 pss->parser_state = SSHS_IDSTRING; in lws_ssh_parse_plaintext()
558 pss->parser_state = SSHS_IDSTRING_CR; in lws_ssh_parse_plaintext()
572 pss->parser_state = SSHS_MSG_LEN; in lws_ssh_parse_plaintext()
592 pss->parser_state = SSHS_MSG_PADDING; in lws_ssh_parse_plaintext()
603 pss->parser_state in lws_ssh_parse_plaintext()
[all...]
/third_party/libwebsockets/lib/roles/http/
H A Dparsers.c97 ah->parser_state = WSI_TOKEN_NAME_PART; in _lws_header_table_reset()
786 (long)wsi->http.ah->parser_state, in issue_char()
1032 switch (ah->parser_state) { in lws_parse()
1041 ah->parser_state = WSI_TOKEN_NAME_PART; in lws_parse()
1061 lwsl_parser("WSI_TOK_(%d) '%c'\n", ah->parser_state, c); in lws_parse()
1065 if (!ah->frags[ah->frag_index[ah->parser_state]].len && in lws_parse()
1070 if (ah->parser_state == methods[m]) in lws_parse()
1107 ah->parser_state = WSI_TOKEN_HTTP; in lws_parse()
1126 if (ah->parser_state != WSI_TOKEN_CHALLENGE && in lws_parse()
1133 ah->parser_state in lws_parse()
[all...]
H A Dprivate-lib-roles-http.h148 uint8_t /* enum lws_token_indexes */ parser_state; member
/third_party/alsa-utils/axfer/
H A Dcontainer-riff-wave.c116 struct parser_state { struct
128 static int parse_riff_chunk_header(struct parser_state *state, in parse_riff_chunk_header()
150 struct parser_state *state = cntr->private_data; in parse_riff_chunk()
185 static int parse_wave_fmt_subchunk(struct parser_state *state, in parse_wave_fmt_subchunk()
215 static int parse_wave_data_subchunk(struct parser_state *state, in parse_wave_data_subchunk()
238 struct parser_state *state = cntr->private_data; in parse_wave_subchunk()
349 struct parser_state *state = cntr->private_data; in wave_parser_pre_process()
560 .private_size = sizeof(struct parser_state),
H A Dcontainer-voc.c306 struct parser_state { struct
317 static int parse_container_header(struct parser_state *state, in parse_container_header()
359 static int parse_v120_format_block(struct parser_state *state, in parse_v120_format_block()
374 static int parse_extended_v110_format(struct parser_state *state, in parse_extended_v110_format()
404 static int parse_v110_data(struct parser_state *state, in parse_v110_data()
433 struct parser_state *state = cntr->private_data; in detect_container_version()
521 struct parser_state *state = cntr->private_data; in detect_format_block()
562 struct parser_state *state = cntr->private_data; in voc_parser_pre_process()
823 .private_size = sizeof(struct parser_state),
H A Dcontainer-au.c64 struct parser_state { struct
76 struct parser_state *state = cntr->private_data; in au_parser_pre_process()
192 .private_size = sizeof(struct parser_state),
/third_party/libwebsockets/lib/roles/h2/
H A Dhpack.c855 ah->parser_state = 255; in lws_hpack_interpret()
1050 ah->parser_state = WSI_TOKEN_NAME_PART; in lws_hpack_interpret()
1059 n = ah->parser_state; in lws_hpack_interpret()
1180 * in wsi->parser_state in lws_hpack_interpret()
1230 lwsl_header("wsi->parser_state: %d\n", in lws_hpack_interpret()
1231 ah->parser_state); in lws_hpack_interpret()
1233 if (ah->parser_state == WSI_TOKEN_NAME_PART) { in lws_hpack_interpret()
1241 if (ah->parser_state == WSI_TOKEN_NAME_PART || in lws_hpack_interpret()
1243 ah->parser_state == WSI_TOKEN_UNKNOWN_VALUE_PART || in lws_hpack_interpret()
1245 ah->parser_state in lws_hpack_interpret()
[all...]
/third_party/libwebsockets/lib/roles/http/client/
H A Dclient-http.c320 wsi->http.ah->parser_state = WSI_TOKEN_NAME_PART; in lws_http_client_socket_service()
351 wsi->http.ah->parser_state = WSI_TOKEN_NAME_PART; in lws_http_client_socket_service()
402 while (wsi->http.ah->parser_state != WSI_PARSING_COMPLETE) { in lws_http_client_socket_service()
438 (wsi->http.ah->parser_state == in lws_http_client_socket_service()
456 assert(wsi->http.ah->parser_state == in lws_http_client_socket_service()
468 if (wsi->http.ah->parser_state != WSI_PARSING_COMPLETE) in lws_http_client_socket_service()
555 wsi->http.ah->parser_state = WSI_TOKEN_NAME_PART; in lws_http_transaction_completed_client()
1363 wsi->http.ah->parser_state == WSI_PARSING_COMPLETE && in lws_http_client_read()
/third_party/libwebsockets/plugins/ssh-base/include/
H A Dlws-ssh.h528 char parser_state; member
/third_party/libwebsockets/lib/roles/h1/
H A Dops-h1.c759 wsi->http.ah->parser_state = WSI_TOKEN_NAME_PART; in rops_handle_POLLOUT_h1()
/third_party/libwebsockets/lib/roles/http/server/
H A Dserver.c2263 if (wsi->http.ah->parser_state != WSI_PARSING_COMPLETE) in lws_handshake_server()

Completed in 15 milliseconds