| /NetX-Duo-v6.2.1/crypto_libraries/src/ |
| D | nx_crypto_ecjpake.c | 175 UINT total_length = 0; in _nx_crypto_ecjpake_hello_generate() local 209 &output[total_length + 1], in _nx_crypto_ecjpake_hello_generate() 210 output_length - (total_length + 1), in _nx_crypto_ecjpake_hello_generate() 212 output[total_length] = (UCHAR)length; in _nx_crypto_ecjpake_hello_generate() 213 total_length += (length + 1); in _nx_crypto_ecjpake_hello_generate() 216 &output[total_length + 1], in _nx_crypto_ecjpake_hello_generate() 217 output_length - (total_length + 1), in _nx_crypto_ecjpake_hello_generate() 219 output[total_length] = (UCHAR)length; in _nx_crypto_ecjpake_hello_generate() 220 total_length += (length + 1); in _nx_crypto_ecjpake_hello_generate() 223 &output[total_length + 1], in _nx_crypto_ecjpake_hello_generate() [all …]
|
| /NetX-Duo-v6.2.1/nx_secure/src/ |
| D | nx_secure_tls_send_certificate.c | 95 UINT total_length; in _nx_secure_tls_send_certificate() local 183 total_length = 0; in _nx_secure_tls_send_certificate() 193 total_length += (length + 3); in _nx_secure_tls_send_certificate() 242 total_length += 2; in _nx_secure_tls_send_certificate() 275 record_start[0] = (UCHAR)((total_length & 0xFF0000) >> 16); in _nx_secure_tls_send_certificate() 276 record_start[1] = (UCHAR)((total_length & 0xFF00) >> 8); in _nx_secure_tls_send_certificate() 277 record_start[2] = (UCHAR)(total_length & 0xFF); in _nx_secure_tls_send_certificate()
|
| D | nx_secure_tls_process_remote_certificate.c | 103 UINT total_length; in _nx_secure_tls_process_remote_certificate() local 172 total_length = (UINT)((packet_buffer[0] << 16) + (packet_buffer[1] << 8) + packet_buffer[2]); in _nx_secure_tls_process_remote_certificate() 176 if (total_length > message_length) in _nx_secure_tls_process_remote_certificate() 182 if (total_length == 0) in _nx_secure_tls_process_remote_certificate() 189 while (total_length > 0) in _nx_secure_tls_process_remote_certificate() 196 if ((cert_length + 3) > total_length) in _nx_secure_tls_process_remote_certificate() 278 total_length -= (2 + extensions_length); in _nx_secure_tls_process_remote_certificate() 283 total_length -= (3 + cert_length); in _nx_secure_tls_process_remote_certificate()
|
| /NetX-Duo-v6.2.1/test/regression/http_test/ |
| D | netx_http_multipart_fragment_test.c | 525 ULONG offset, total_length; in my_get_notify() local 541 total_length = 0; in my_get_notify() 549 total_length += length; in my_get_notify() 553 if((count == 1) && (total_length != 196)) in my_get_notify() 555 else if((count == 2) && (total_length != 175)) in my_get_notify() 557 else if((count == 3) && (total_length != 195)) in my_get_notify() 559 else if((count == 4) && (total_length != 205)) in my_get_notify() 561 else if((count == 5) && (total_length != 220)) in my_get_notify()
|
| D | netx_http_multipart_underflow_test.c | 527 ULONG offset, total_length; in my_get_notify() local 556 total_length = 0; in my_get_notify() 564 total_length += length; in my_get_notify() 570 if((count == 2) && (total_length != 175)) in my_get_notify() 572 else if((count == 3) && (total_length != 195)) in my_get_notify() 574 else if((count == 4) && (total_length != 205)) in my_get_notify() 576 else if((count == 5) && (total_length != 220)) in my_get_notify()
|
| /NetX-Duo-v6.2.1/test/regression/netxduo_test/ |
| D | netx_tcp_overlapping_packet_test_18.c | 224 ULONG total_length = 0; in thread_1_entry() local 270 status = nx_packet_data_retrieve(packet_ptr, &rcv_buffer[total_length], &recv_length); in thread_1_entry() 271 total_length += recv_length; in thread_1_entry() 278 if(total_length != strlen(MSG)) in thread_1_entry() 281 if(memcmp(rcv_buffer, (void*)MSG, total_length)) in thread_1_entry()
|
| D | netx_tcp_overlapping_packet_test_16.c | 231 ULONG total_length = 0; in thread_1_entry() local 277 status = nx_packet_data_retrieve(packet_ptr, &rcv_buffer[total_length], &recv_length); in thread_1_entry() 278 total_length += recv_length; in thread_1_entry() 285 if(total_length != MSG_LENGTH) in thread_1_entry() 288 if(memcmp(rcv_buffer, (void*)long_msg, total_length)) in thread_1_entry()
|
| D | netx_tcp_overlapping_packet_test_17.c | 231 ULONG total_length = 0; in thread_1_entry() local 277 status = nx_packet_data_retrieve(packet_ptr, &rcv_buffer[total_length], &recv_length); in thread_1_entry() 278 total_length += recv_length; in thread_1_entry() 285 if(total_length != MSG_LENGTH) in thread_1_entry() 288 if(memcmp(rcv_buffer, (void*)long_msg, total_length)) in thread_1_entry()
|
| D | netx_tcp_overlapping_packet_test_15.c | 245 ULONG total_length = 0; in thread_1_entry() local 291 status = nx_packet_data_retrieve(packet_ptr, &rcv_buffer[total_length], &recv_length); in thread_1_entry() 292 total_length += recv_length; in thread_1_entry() 301 if(total_length != strlen(MSG)) in thread_1_entry() 304 if(memcmp(rcv_buffer, (void*)MSG, total_length)) in thread_1_entry()
|
| D | netx_tcp_retransmit_test.c | 237 ULONG total_length = 0; in ntest_1_entry() local 265 nx_packet_data_retrieve(packet_ptr, &recv_buffer[total_length], &length); in ntest_1_entry() 266 total_length += length; in ntest_1_entry() 271 if ((total_length != client_socket.nx_tcp_socket_connect_mss * 2) || in ntest_1_entry() 272 (memcmp(send_buffer, recv_buffer, total_length))) in ntest_1_entry()
|
| D | netx_tcp_large_data_transfer_test.c | 215 ULONG total_length = 0; in thread_1_entry() local 246 nx_packet_data_retrieve(packet_ptr, recv_buff + total_length, &bytes_copied); in thread_1_entry() 247 total_length += bytes_copied; in thread_1_entry() 254 if (total_length != sizeof(send_buff)) in thread_1_entry()
|
| D | netx_tcp_chained_packet_test.c | 215 ULONG total_length = 0; in thread_1_entry() local 246 nx_packet_data_retrieve(packet_ptr, recv_buff + total_length, &bytes_copied); in thread_1_entry() 247 total_length += bytes_copied; in thread_1_entry() 254 if (total_length != sizeof(send_buff)) in thread_1_entry()
|
| D | netx_tcp_odd_window_test.c | 234 ULONG total_length = 0; in thread_1_entry() local 265 nx_packet_data_retrieve(packet_ptr, recv_buff + total_length, &bytes_copied); in thread_1_entry() 266 total_length += bytes_copied; in thread_1_entry() 273 if (total_length != sizeof(send_buff)) in thread_1_entry()
|
| /NetX-Duo-v6.2.1/test/regression/web_test/ |
| D | netx_web_post_long_message_test.c | 334 ULONG offset, total_length; in server_request_callback() local 350 total_length = 0; in server_request_callback() 352 while (total_length < MESSAGE_LENGTH) in server_request_callback() 357 …tus = nx_web_http_server_content_get_extended(server_ptr, packet_ptr, total_length + offset, &buff… in server_request_callback() 361 total_length += offset; in server_request_callback() 369 if (total_length != MESSAGE_LENGTH) in server_request_callback()
|
| D | netx_web_multipart_fragment_test.c | 748 ULONG offset, total_length; in server_request_callback() local 765 total_length = 0; in server_request_callback() 773 total_length += length; in server_request_callback() 777 if((count == 1) && (total_length != 196)) in server_request_callback() 779 else if((count == 2) && (total_length != 175)) in server_request_callback() 781 else if((count == 3) && (total_length != 195)) in server_request_callback() 783 else if((count == 4) && (total_length != 205)) in server_request_callback() 785 else if((count == 5) && (total_length != 220)) in server_request_callback()
|
| D | netx_web_multipart_underflow_test.c | 748 ULONG offset, total_length; in server_request_callback() local 777 total_length = 0; in server_request_callback() 785 total_length += length; in server_request_callback() 791 if((count == 2) && (total_length != 175)) in server_request_callback() 793 else if((count == 3) && (total_length != 195)) in server_request_callback() 795 else if((count == 4) && (total_length != 205)) in server_request_callback() 797 else if((count == 5) && (total_length != 220)) in server_request_callback()
|
| D | netx_web_server_chunked_content_process_test.c | 559 UINT total_length = 0; in server_request_callback() local 569 total_length += test_chunk[i]; in server_request_callback() 573 total_length += 0x19; in server_request_callback() 602 if (content_length != total_length) in server_request_callback()
|
| D | netx_web_chunked_response_test.c | 247 UINT total_length = 0; in thread_client_entry() local 251 total_length += test_chunk[i]; in thread_client_entry() 353 if ((status != NX_WEB_HTTP_GET_DONE) || (content_length != total_length)) in thread_client_entry()
|
| D | netx_web_chunked_request_test.c | 629 UINT total_length = 0; in server_request_callback() local 637 total_length += test_chunk[i]; in server_request_callback() 664 if (content_length != total_length) in server_request_callback()
|
| D | netx_web_chunked_request_additional_test.c | 658 UINT total_length = 0; in server_request_callback() local 666 total_length += test_chunk[i]; in server_request_callback() 693 if (content_length != total_length) in server_request_callback()
|
| /NetX-Duo-v6.2.1/test/regression/azure_iot/ |
| D | c2d_property_unit_test.c | 145 ULONG total_length; in construct_c2d_packet() local 161 …total_length = topic_length + 2 + 2 + message_payload_length; /* Two bytes for fixed topic_length … in construct_c2d_packet() 167 total_length, NX_NO_WAIT), in construct_c2d_packet()
|
| D | c2d_unit_test.c | 179 ULONG total_length; in construct_c2d_packet() local 195 …total_length = topic_length + 2 + 2 + message_payload_length; /* Two bytes for fixed topic_length … in construct_c2d_packet() 201 total_length, NX_NO_WAIT), in construct_c2d_packet()
|
| D | direct_method_unit_test.c | 252 ULONG total_length; in construct_direct_method_response() local 259 …total_length = topic_length + 2 + 2 + message_payload_length; /* Two bytes for fixed topic_length … in construct_direct_method_response() 265 total_length, NX_NO_WAIT), in construct_direct_method_response()
|
| D | nx_azure_iot_pnp_client_command_unit_test.c | 263 ULONG total_length; in construct_command_message() local 270 …total_length = topic_length + 2 + 2 + message_payload_length; /* Two bytes for fixed topic_length … in construct_command_message() 276 total_length, NX_NO_WAIT), in construct_command_message()
|
| D | device_twin_unit_test.c | 275 ULONG total_length; in construct_device_twin_response() local 282 …total_length = topic_length + 2 + 2 + message_payload_length; /* Two bytes for fixed topic_length … in construct_device_twin_response() 288 total_length, NX_NO_WAIT), in construct_device_twin_response()
|