Home
last modified time | relevance | path

Searched refs:field_name_length (Results 1 – 14 of 14) sorted by relevance

/NetX-Duo-v6.2.1/test/regression/websocket_test/
Dnetx_websocket_common_process.c21 UINT field_name_length; in _server_connect_response_process() local
71 field_name_length = 0; in _server_connect_response_process()
77 field_name_length++; in _server_connect_response_process()
79 offset += field_name_length; in _server_connect_response_process()
109 …if (_nx_websocket_client_name_compare((UCHAR *)field_name, field_name_length, (UCHAR *)"Upgrade", … in _server_connect_response_process()
116 …else if (_nx_websocket_client_name_compare((UCHAR *)field_name, field_name_length, (UCHAR *)"Conne… in _server_connect_response_process()
123 …else if (_nx_websocket_client_name_compare((UCHAR *)field_name, field_name_length, (UCHAR *)"Sec-W… in _server_connect_response_process()
/NetX-Duo-v6.2.1/test/regression/mqtt_test/
Dnetx_mqtt_websocket_block_test.c339 UINT field_name_length; in _server_connect_response_process() local
389 field_name_length = 0; in _server_connect_response_process()
395 field_name_length++; in _server_connect_response_process()
397 offset += field_name_length; in _server_connect_response_process()
427 …if (_nx_websocket_client_name_compare((UCHAR *)field_name, field_name_length, (UCHAR *)"Upgrade", … in _server_connect_response_process()
434 …else if (_nx_websocket_client_name_compare((UCHAR *)field_name, field_name_length, (UCHAR *)"Conne… in _server_connect_response_process()
441 …else if (_nx_websocket_client_name_compare((UCHAR *)field_name, field_name_length, (UCHAR *)"Sec-W… in _server_connect_response_process()
Dnetx_mqtt_websocket_non_block_test.c351 UINT field_name_length; in _server_connect_response_process() local
401 field_name_length = 0; in _server_connect_response_process()
407 field_name_length++; in _server_connect_response_process()
409 offset += field_name_length; in _server_connect_response_process()
439 …if (_nx_websocket_client_name_compare((UCHAR *)field_name, field_name_length, (UCHAR *)"Upgrade", … in _server_connect_response_process()
446 …else if (_nx_websocket_client_name_compare((UCHAR *)field_name, field_name_length, (UCHAR *)"Conne… in _server_connect_response_process()
453 …else if (_nx_websocket_client_name_compare((UCHAR *)field_name, field_name_length, (UCHAR *)"Sec-W… in _server_connect_response_process()
/NetX-Duo-v6.2.1/test/regression/web_test/
Dnetx_web_non_block_basic_test.c181 …ID http_response_callback(NX_WEB_HTTP_CLIENT *client_ptr, CHAR *field_name, UINT field_name_length, in http_response_callback() argument
184 if (memcmp(field_name, "Content-Type", field_name_length) == 0) in http_response_callback()
189 else if(memcmp(field_name, "Content-Length", field_name_length) == 0) in http_response_callback()
195 else if(memcmp(field_name, "Connection", field_name_length) == 0) in http_response_callback()
Dnetx_web_non_block_reconnect_test.c181 …ID http_response_callback(NX_WEB_HTTP_CLIENT *client_ptr, CHAR *field_name, UINT field_name_length, in http_response_callback() argument
184 if (memcmp(field_name, "Content-Type", field_name_length) == 0) in http_response_callback()
189 else if(memcmp(field_name, "Content-Length", field_name_length) == 0) in http_response_callback()
195 else if(memcmp(field_name, "Connection", field_name_length) == 0) in http_response_callback()
Dnetx_web_basic_test.c206 …ID http_response_callback(NX_WEB_HTTP_CLIENT *client_ptr, CHAR *field_name, UINT field_name_length, in http_response_callback() argument
209 if (memcmp(field_name, "Content-Type", field_name_length) == 0) in http_response_callback()
214 else if(memcmp(field_name, "Content-Length", field_name_length) == 0) in http_response_callback()
220 else if(memcmp(field_name, "Connection", field_name_length) == 0) in http_response_callback()
Dnetx_web_concurrent_sessions_test.c247 …ID http_response_callback(NX_WEB_HTTP_CLIENT *client_ptr, CHAR *field_name, UINT field_name_length, in http_response_callback() argument
250 if (memcmp(field_name, "Content-Type", field_name_length) == 0) in http_response_callback()
255 else if(memcmp(field_name, "Content-Length", field_name_length) == 0) in http_response_callback()
260 else if(memcmp(field_name, "Connection", field_name_length) == 0) in http_response_callback()
Dnetx_web_keep_alive_test.c200 …ID http_response_callback(NX_WEB_HTTP_CLIENT *client_ptr, CHAR *field_name, UINT field_name_length, in http_response_callback() argument
203 if(memcmp(field_name, "Connection", field_name_length) == 0) in http_response_callback()
Dnetx_https_api_test.c1018 … response_header_callback(NX_WEB_HTTP_CLIENT *client_ptr, CHAR *field_name, UINT field_name_length, in response_header_callback() argument
/NetX-Duo-v6.2.1/samples/
Ddemo_netxduo_https.c522 …ID http_response_callback(NX_WEB_HTTP_CLIENT *client_ptr, CHAR *field_name, UINT field_name_length, in http_response_callback() argument
530 if (field_name_length >= sizeof(name) || in http_response_callback()
539 memcpy(name, field_name, field_name_length); /* Use case of memcpy is verified. */ in http_response_callback()
543 name, field_name_length, value, field_value_length); in http_response_callback()
/NetX-Duo-v6.2.1/addons/websocket/
Dnx_websocket_client.c1003 UINT field_name_length; in _nx_websocket_client_connect_response_process() local
1075 field_name_length = 0; in _nx_websocket_client_connect_response_process()
1081 field_name_length++; in _nx_websocket_client_connect_response_process()
1083 offset += field_name_length; in _nx_websocket_client_connect_response_process()
1113 …if (_nx_websocket_client_name_compare((UCHAR *)field_name, field_name_length, (UCHAR *)"Upgrade", … in _nx_websocket_client_connect_response_process()
1122 …else if (_nx_websocket_client_name_compare((UCHAR *)field_name, field_name_length, (UCHAR *)"Conne… in _nx_websocket_client_connect_response_process()
1131 …else if (_nx_websocket_client_name_compare((UCHAR *)field_name, field_name_length, (UCHAR *)"Sec-W… in _nx_websocket_client_connect_response_process()
1140 …else if (_nx_websocket_client_name_compare((UCHAR *)field_name, field_name_length, (UCHAR *)"Sec-W… in _nx_websocket_client_connect_response_process()
/NetX-Duo-v6.2.1/addons/rtsp/
Dnx_rtsp_server.c2873 UINT field_name_length = 0; in _nx_rtsp_server_request_header_parse() local
2911 field_name_length = (UINT)(request_buffer_ptr - field_name_ptr); in _nx_rtsp_server_request_header_parse()
2913 if (field_name_length) in _nx_rtsp_server_request_header_parse()
2936 …if (_nx_rtsp_server_memicmp(field_name_ptr, field_name_length, NX_RTSP_SERVER_STRING_WITH_SIZE("cs… in _nx_rtsp_server_request_header_parse()
2948 …else if (_nx_rtsp_server_memicmp(field_name_ptr, field_name_length, NX_RTSP_SERVER_STRING_WITH_SIZ… in _nx_rtsp_server_request_header_parse()
2957 …else if (_nx_rtsp_server_memicmp(field_name_ptr, field_name_length, NX_RTSP_SERVER_STRING_WITH_SIZ… in _nx_rtsp_server_request_header_parse()
2969 …else if (_nx_rtsp_server_memicmp(field_name_ptr, field_name_length, NX_RTSP_SERVER_STRING_WITH_SIZ… in _nx_rtsp_server_request_header_parse()
/NetX-Duo-v6.2.1/addons/web/
Dnx_web_http_client.c6405 UINT field_name_length; in _nx_web_http_client_process_header_fields() local
6471 field_name_length = 0; in _nx_web_http_client_process_header_fields()
6477 field_name_length++; in _nx_web_http_client_process_header_fields()
6479 offset += field_name_length; in _nx_web_http_client_process_header_fields()
6509 …if (_nx_web_http_client_memicmp((UCHAR *)field_name, field_name_length, (UCHAR *)"Transfer-Encodin… in _nx_web_http_client_process_header_fields()
6520 …http_client_memicmp((UCHAR *)"connection", 10, (UCHAR *)field_name, field_name_length) == NX_SUCCE… in _nx_web_http_client_process_header_fields()
6537 …ptr -> nx_web_http_client_response_callback(client_ptr, field_name, field_name_length, field_value… in _nx_web_http_client_process_header_fields()
8174 … UINT field_name_length, in _nxe_web_http_client_response_header_callback_set() argument
8240 … UINT field_name_length, in _nx_web_http_client_response_header_callback_set() argument
Dnx_web_http_client.h144 CHAR *field_name, UINT field_name_length,
278 UINT field_name_length,
454 UINT field_name_length,
460 UINT field_name_length,