Home
last modified time | relevance | path

Searched refs:count (Results 1 – 25 of 56) sorted by relevance

123

/NetX-Duo-v6.2.1/test/regression/nx_secure_test/
Dnx_secure_rsa_error_checking_test.c44 static UINT count = 0; variable
47 if (!count) in test_nx_crypto_init_failed()
50 count--; in test_nx_crypto_init_failed()
61 if (!count) in test_nx_crypto_operation_failed()
64 count--; in test_nx_crypto_operation_failed()
70 if (!count) in test_nx_crypto_operation_succeed()
73 count--; in test_nx_crypto_operation_succeed()
295 count = 1; in thread_0_entry()
302 count = 1; in thread_0_entry()
309 count = 1; in thread_0_entry()
[all …]
Dnx_secure_ecdh_error_checking_test.c44 static UINT count = 0; variable
47 if (!count) in test_nx_crypto_init_failed()
50 count--; in test_nx_crypto_init_failed()
56 if (!count) in test_nx_crypto_operation_failed()
59 count--; in test_nx_crypto_operation_failed()
65 if (!count) in test_nx_crypto_operation_succeed()
68 count--; in test_nx_crypto_operation_succeed()
74 if (!count) in test_nx_crypto_operation_succeed_0()
80 count--; in test_nx_crypto_operation_succeed_0()
380 count = 1; in thread_0_entry()
[all …]
Dnx_secure_dtls_ciphersuites_test.c29 UINT count; member
193 UINT count; in ciphersuites_setup() local
197 if (ciphersuite -> count > 0) in ciphersuites_setup()
199 for (count = 0; count < ciphersuite -> count; count++) in ciphersuites_setup()
201 if (ciphersuite -> list[count] == TLS_ECJPAKE_WITH_AES_128_CCM_8) in ciphersuites_setup()
203 memcpy(&ciphersuite_table[count], in ciphersuites_setup()
210 while (ciphersuite -> list[count] != in ciphersuites_setup()
215 memcpy(&ciphersuite_table[count], in ciphersuites_setup()
220 tls_ciphers.nx_secure_tls_ciphersuite_lookup_table_size = count; in ciphersuites_setup()
Dnx_secure_tls_send_plaintext_alert_after_key_generation_test.c34 UINT count; member
169 UINT count; in ciphersuites_setup() local
173 if (ciphersuite -> count > 0) in ciphersuites_setup()
175 for (count = 0; count < ciphersuite -> count; count++) in ciphersuites_setup()
178 while (ciphersuite -> list[count] != in ciphersuites_setup()
183 memcpy(&ciphersuite_table[count], in ciphersuites_setup()
188 tls_ciphers.nx_secure_tls_ciphersuite_lookup_table_size = count; in ciphersuites_setup()
Dnx_secure_3des_error_checking_test.c45 static UINT count = 0; variable
49 if (!count) in test_nx_crypto_init_failed()
52 count--; in test_nx_crypto_init_failed()
58 if (!count) in test_nx_crypto_operation_failed()
61 count--; in test_nx_crypto_operation_failed()
67 if (!count) in test_nx_crypto_operation_succeed()
70 count--; in test_nx_crypto_operation_succeed()
342 count = 1; in thread_0_entry()
349 count = 1; in thread_0_entry()
356 count = 1; in thread_0_entry()
Dnx_secure_tls_ciphersuites_test.c37 UINT count; member
204 UINT count; in ciphersuites_setup() local
208 if (ciphersuite -> count > 0) in ciphersuites_setup()
210 for (count = 0; count < ciphersuite -> count; count++) in ciphersuites_setup()
213 while (ciphersuite -> list[count] != in ciphersuites_setup()
218 memcpy(&ciphersuite_table[count], in ciphersuites_setup()
223 tls_ciphers.nx_secure_tls_ciphersuite_lookup_table_size = count; in ciphersuites_setup()
Dnx_secure_tls_1_3_ciphersuites_test.c38 UINT count; member
207 UINT count; in ciphersuites_setup() local
211 if (ciphersuite -> count > 0) in ciphersuites_setup()
213 for (count = 0; count < ciphersuite -> count; count++) in ciphersuites_setup()
216 while (ciphersuite -> list[count] != in ciphersuites_setup()
221 memcpy(&ciphersuite_table[count], in ciphersuites_setup()
226 tls_ciphers -> nx_secure_tls_ciphersuite_lookup_table_size = count; in ciphersuites_setup()
Dnx_secure_hmac_sha1_test.c45 static UINT count = 0; variable
48 if (!count) in test_nx_crypto_operation_failed()
51 count--; in test_nx_crypto_operation_failed()
57 if (!count) in test_nx_crypto_operation_succeed()
60 count--; in test_nx_crypto_operation_succeed()
329 count = 1; in thread_0_entry()
336 count = 2; in thread_0_entry()
343 count = 3; in thread_0_entry()
350 count = 3; in thread_0_entry()
Dnx_secure_des_error_checking_test.c44 static UINT count = 0; variable
53 if (!count) in test_nx_crypto_operation_failed()
56 count--; in test_nx_crypto_operation_failed()
62 if (!count) in test_nx_crypto_operation_succeed()
65 count--; in test_nx_crypto_operation_succeed()
231 count = 1; in thread_0_entry()
238 count = 1; in thread_0_entry()
Dnx_secure_dtls_ecc_ciphersuites_test.c39 UINT count; member
283 UINT count; in ciphersuites_setup() local
289 if (ciphersuite -> count > 0) in ciphersuites_setup()
292 for (count = 0; count < ciphersuite -> count; count++) in ciphersuites_setup()
295 while (ciphersuite -> list[count] != in ciphersuites_setup()
302 memcpy(&ciphersuite_table[count], in ciphersuites_setup()
310 tls_ciphers -> nx_secure_tls_ciphersuite_lookup_table_size = count; in ciphersuites_setup()
Dnx_secure_tls_receive_test.c382 UINT count; member
812 UINT count; in ciphersuites_setup() local
816 if (ciphersuite -> count > 0) in ciphersuites_setup()
818 for (count = 0; count < ciphersuite -> count; count++) in ciphersuites_setup()
821 while (ciphersuite -> list[count] != in ciphersuites_setup()
826 memcpy(&ciphersuite_table[count], in ciphersuites_setup()
831 tls_ciphers -> nx_secure_tls_ciphersuite_lookup_table_size = count; in ciphersuites_setup()
Dnx_secure_tls_ecc_ciphersuites_test.c40 UINT count; member
294 UINT count; in ciphersuites_setup() local
298 if (ciphersuite -> count > 0) in ciphersuites_setup()
300 for (count = 0; count < ciphersuite -> count; count++) in ciphersuites_setup()
303 while (ciphersuite -> list[count] != in ciphersuites_setup()
308 memcpy(&ciphersuite_table[count], in ciphersuites_setup()
313 tls_ciphers -> nx_secure_tls_ciphersuite_lookup_table_size = count; in ciphersuites_setup()
/NetX-Duo-v6.2.1/common/src/
Dnx_udp_socket_bytes_available.c78 INT count; in _nx_udp_socket_bytes_available() local
101 for (count = 0; count < (INT)(socket_ptr -> nx_udp_socket_receive_count); count++) in _nx_udp_socket_bytes_available()
Dnx_arp_ip_address_find.c81 ULONG count; in _nx_arp_ip_address_find() local
150 count = 1; in _nx_arp_ip_address_find()
166 if (count >= ip_ptr -> nx_ip_arp_dynamic_active_count) in _nx_arp_ip_address_find()
181 count++; in _nx_arp_ip_address_find()
Dnx_arp_hardware_address_find.c81 ULONG count; in _nx_arp_hardware_address_find() local
151 count = 1; in _nx_arp_hardware_address_find()
167 if (count >= ip_ptr -> nx_ip_arp_dynamic_active_count) in _nx_arp_hardware_address_find()
182 count++; in _nx_arp_hardware_address_find()
/NetX-Duo-v6.2.1/nx_secure/src/
Dnx_secure_tls_remote_certificate_buffer_allocate.c101 UINT count; in _nx_secure_tls_remote_certificate_buffer_allocate() local
126 for(count = 0; count < certs_number; count++) in _nx_secure_tls_remote_certificate_buffer_allocate()
/NetX-Duo-v6.2.1/test/regression/interoperability_test/nx_secure_test/
Dsignature_algorithm_test_nx_secure_echo_server_entry.c35 UINT count; member
168 UINT count; in sigalgs_setup() local
172 if (siglags -> count > 0) in sigalgs_setup()
174 for (count = 0; count < siglags -> count; count++) in sigalgs_setup()
177 while (siglags -> list[count] != in sigalgs_setup()
182 memcpy(&x509_cipher_table[count], in sigalgs_setup()
187 tls_ciphers -> nx_secure_tls_x509_cipher_table_size = count; in sigalgs_setup()
Dnx_secure_ecc_server_ciphersuites_entry.c35 UINT count; member
254 UINT count; in ciphersuites_setup() local
258 if (ciphersuite -> count > 0) in ciphersuites_setup()
260 for (count = 0; count < ciphersuite -> count; count++) in ciphersuites_setup()
263 while (ciphersuite -> list[count] != in ciphersuites_setup()
268 memcpy(&ciphersuite_table[count], in ciphersuites_setup()
273 tls_ciphers -> nx_secure_tls_ciphersuite_lookup_table_size = count; in ciphersuites_setup()
Dsignature_algorithm_test_nx_secure_echo_client_entry.c39 UINT count; member
126 UINT count; in sigalgs_setup() local
130 if (sigalgs -> count > 0) in sigalgs_setup()
132 for (count = 0; count < sigalgs -> count; count++) in sigalgs_setup()
135 while (sigalgs -> list[count] != in sigalgs_setup()
140 memcpy(&x509_cipher_table[count], in sigalgs_setup()
145 tls_ciphers -> nx_secure_tls_x509_cipher_table_size = count; in sigalgs_setup()
Dnx_secure_ecc_1_0_1_1_server_entry.c35 UINT count; member
353 UINT count; in ciphersuites_setup() local
357 if (ciphersuite -> count > 0) in ciphersuites_setup()
359 for (count = 0; count < ciphersuite -> count; count++) in ciphersuites_setup()
362 while (ciphersuite -> list[count] != in ciphersuites_setup()
367 memcpy(&ciphersuite_table[count], in ciphersuites_setup()
372 tls_ciphers -> nx_secure_tls_ciphersuite_lookup_table_size = count; in ciphersuites_setup()
/NetX-Duo-v6.2.1/test/regression/azure_iot/
Dd2c_unit_test.c43 static VOID release_packets(NX_PACKET_POOL *pool_ptr, UINT count);
69 UINT count; in demo_entry() local
150 count = deplete_packets(pool_ptr, 0); in demo_entry()
153 release_packets(pool_ptr, count); in demo_entry()
191 count = deplete_packets(pool_ptr, 0); in demo_entry()
232 release_packets(pool_ptr, count); in demo_entry()
284 UINT count = 0; in deplete_packets() local
288 nx_packet_allocate(pool_ptr, &allocated_packets[count++], 0, NX_WAIT_FOREVER); in deplete_packets()
290 return(count); in deplete_packets()
293 static VOID release_packets(NX_PACKET_POOL *pool_ptr, UINT count) in release_packets() argument
[all …]
Duser_agent_string_unit_test.c44 static VOID release_packets(NX_PACKET_POOL *pool_ptr, UINT count);
69 UINT count; in demo_entry() local
217 UINT count = 0; in deplete_packets() local
221 nx_packet_allocate(pool_ptr, &allocated_packets[count++], 0, NX_WAIT_FOREVER); in deplete_packets()
223 return(count); in deplete_packets()
226 static VOID release_packets(NX_PACKET_POOL *pool_ptr, UINT count) in release_packets() argument
228 while (count != 0) in release_packets()
230 nx_packet_release(allocated_packets[--count]); in release_packets()
/NetX-Duo-v6.2.1/test/regression/http_test/
Dnetx_http_multipart_fragment_test.c528 UINT count = 0; in my_get_notify() local
542 count++; 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()
Dnetx_http_multipart_underflow_test.c530 UINT count = 0; in my_get_notify() local
557 count++; 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/addons/azure_iot/
Dnx_azure_iot_json_reader.c71 UINT count = 0; in nx_azure_iot_json_reader_init() local
95 if (count >= NX_AZURE_IOT_READER_MAX_LIST) in nx_azure_iot_json_reader_init()
100 reader_ptr -> span_list[count] = az_span_create(packet_ptr -> nx_packet_prepend_ptr, in nx_azure_iot_json_reader_init()
105 count++; in nx_azure_iot_json_reader_init()
110 (INT)count, NX_NULL))) in nx_azure_iot_json_reader_init()

123