Home
last modified time | relevance | path

Searched refs:unix_time (Results 1 – 25 of 31) sorted by relevance

12

/NetX-Duo-v6.2.1/test/regression/nx_secure_test/
Dnx_secure_expiration_time_test.c19 …1_time_to_unix_convert(const UCHAR *asn1_time, USHORT asn1_length, USHORT format, ULONG *unix_time) in _nx_secure_x509_asn1_time_to_unix_convert() argument
106 *unix_time = second; in _nx_secure_x509_asn1_time_to_unix_convert()
114 ULONG unix_time; in main() local
121 ULONG unix_time; in main() member
134 …509_asn1_time_to_unix_convert(test_data[i].asn_time, strlen(test_data[i].asn_time), 1, &unix_time); in main()
135 …IX time, expected UNIX time of: %ld.\n", test_data[i].asn_time, unix_time, test_data[i].unix_time); in main()
/NetX-Duo-v6.2.1/samples/
Dmain.c35 …IP *ip_ptr, NX_PACKET_POOL *pool_ptr, VOID *dns_ptr, UINT (*unix_time_callback)(ULONG *unix_time));
182 static UINT unix_time_get(ULONG *unix_time);
315 UINT unix_time; in sample_helper_thread_entry() local
407 unix_time_get((ULONG *)&unix_time); in sample_helper_thread_entry()
408 srand(unix_time); in sample_helper_thread_entry()
684 static UINT unix_time_get(ULONG *unix_time) in unix_time_get() argument
688 *unix_time = unix_time_base + (tx_time_get() / TX_TIMER_TICKS_PER_SECOND); in unix_time_get()
Ddemo_rtsp_over_rtp.c207 …_IP *ip_ptr, NX_PACKET_POOL *pool_ptr, VOID *dns_ptr, UINT (*unix_time_callback)(ULONG *unix_time)) in sample_entry() argument
/NetX-Duo-v6.2.1/nx_secure/src/
Dnx_secure_x509_expiration_check.c28 USHORT format, ULONG *unix_time);
175 USHORT format, ULONG *unix_time) in _nx_secure_x509_asn1_time_to_unix_convert() argument
263 *unix_time = second; in _nx_secure_x509_asn1_time_to_unix_convert()
/NetX-Duo-v6.2.1/test/regression/azure_iot/
Dmain.c22 …* ip_ptr, NX_PACKET_POOL* pool_ptr, NX_DNS* dns_ptr, UINT (*unix_time_callback)(ULONG *unix_time));
117 static UINT unix_time_get(ULONG *unix_time);
375 static UINT unix_time_get(ULONG *unix_time) in unix_time_get() argument
378 *unix_time = (ULONG)time(NULL); in unix_time_get()
Dconnection_sas_expiry_ram_test.c336 static UINT time_callback(ULONG *unix_time);
338 …P* ip_ptr, NX_PACKET_POOL* pool_ptr, NX_DNS* dns_ptr, UINT (*unix_time_callback)(ULONG *unix_time)) in demo_entry() argument
418 static UINT time_callback(ULONG *unix_time) in time_callback() argument
420 *unix_time = 1612174237 + tx_time_get() / NX_IP_PERIODIC_RATE; in time_callback()
Dtrusted_cert_unit_test.c62 …P* ip_ptr, NX_PACKET_POOL* pool_ptr, NX_DNS* dns_ptr, UINT (*unix_time_callback)(ULONG *unix_time)) in demo_entry() argument
Ddevice_cert_unit_test.c59 …P* ip_ptr, NX_PACKET_POOL* pool_ptr, NX_DNS* dns_ptr, UINT (*unix_time_callback)(ULONG *unix_time)) in demo_entry() argument
Dconnection_non_block_ram_test.c336 …P* ip_ptr, NX_PACKET_POOL* pool_ptr, NX_DNS* dns_ptr, UINT (*unix_time_callback)(ULONG *unix_time)) in demo_entry() argument
Dconnection_unit_test.c50 …P* ip_ptr, NX_PACKET_POOL* pool_ptr, NX_DNS* dns_ptr, UINT (*unix_time_callback)(ULONG *unix_time)) in demo_entry() argument
Dnx_azure_iot_unit_test.c285 …P* ip_ptr, NX_PACKET_POOL* pool_ptr, NX_DNS* dns_ptr, UINT (*unix_time_callback)(ULONG *unix_time)) in demo_entry() argument
Dc2d_property_unit_test.c76 …P* ip_ptr, NX_PACKET_POOL* pool_ptr, NX_DNS* dns_ptr, UINT (*unix_time_callback)(ULONG *unix_time)) in demo_entry() argument
Dnx_azure_iot_json_writer_unit_test.c433 UINT (*unix_time_callback)(ULONG *unix_time)) in demo_entry() argument
Duser_agent_string_unit_test.c60 …P* ip_ptr, NX_PACKET_POOL* pool_ptr, NX_DNS* dns_ptr, UINT (*unix_time_callback)(ULONG *unix_time)) in demo_entry() argument
Dinitialization_unit_test.c55 …P* ip_ptr, NX_PACKET_POOL* pool_ptr, NX_DNS* dns_ptr, UINT (*unix_time_callback)(ULONG *unix_time)) in demo_entry() argument
Dnx_azure_iot_json_reader_unit_test.c445 UINT (*unix_time_callback)(ULONG *unix_time)) in demo_entry() argument
Dd2c_unit_test.c60 …P* ip_ptr, NX_PACKET_POOL* pool_ptr, NX_DNS* dns_ptr, UINT (*unix_time_callback)(ULONG *unix_time)) in demo_entry() argument
Dapi_unit_test.c73 …P* ip_ptr, NX_PACKET_POOL* pool_ptr, NX_DNS* dns_ptr, UINT (*unix_time_callback)(ULONG *unix_time)) in demo_entry() argument
Dc2d_unit_test.c92 …P* ip_ptr, NX_PACKET_POOL* pool_ptr, NX_DNS* dns_ptr, UINT (*unix_time_callback)(ULONG *unix_time)) in demo_entry() argument
Ddirect_method_unit_test.c661 …P* ip_ptr, NX_PACKET_POOL* pool_ptr, NX_DNS* dns_ptr, UINT (*unix_time_callback)(ULONG *unix_time)) in demo_entry() argument
/NetX-Duo-v6.2.1/addons/azure_iot/
Dnx_azure_iot.c231 UINT priority, UINT (*unix_time_callback)(ULONG *unix_time)) in nx_azure_iot_create() argument
560 ULONG unix_time = 0; in nx_azure_iot_tls_time_function() local
566 if (nx_azure_iot_unix_time_get(_nx_azure_iot_created_ptr, &unix_time)) in nx_azure_iot_tls_time_function()
571 unix_time = 0; in nx_azure_iot_tls_time_function()
576 return(unix_time); in nx_azure_iot_tls_time_function()
672 UINT nx_azure_iot_unix_time_get(NX_AZURE_IOT *nx_azure_iot_ptr, ULONG *unix_time) in nx_azure_iot_unix_time_get() argument
677 (unix_time == NX_NULL)) in nx_azure_iot_unix_time_get()
683 return(nx_azure_iot_ptr -> nx_azure_iot_unix_time_get(unix_time)); in nx_azure_iot_unix_time_get()
Dnx_azure_iot.h214 UINT (*nx_azure_iot_unix_time_get)(ULONG *unix_time);
253 UINT priority, UINT (*unix_time_callback)(ULONG *unix_time));
277 UINT nx_azure_iot_unix_time_get(NX_AZURE_IOT *nx_azure_iot_ptr, ULONG *unix_time);
/NetX-Duo-v6.2.1/addons/azure_iot/samples/
Dsample_azure_iot_embedded_sdk.c101 …IP *ip_ptr, NX_PACKET_POOL *pool_ptr, VOID *dns_ptr, UINT (*unix_time_callback)(ULONG *unix_time));
285 …_IP *ip_ptr, NX_PACKET_POOL *pool_ptr, VOID *dns_ptr, UINT (*unix_time_callback)(ULONG *unix_time)) in sample_entry() argument
Dsample_azure_iot_embedded_sdk_pnp.c69 …IP *ip_ptr, NX_PACKET_POOL *pool_ptr, VOID *dns_ptr, UINT (*unix_time_callback)(ULONG *unix_time));
1000 …_IP *ip_ptr, NX_PACKET_POOL *pool_ptr, VOID *dns_ptr, UINT (*unix_time_callback)(ULONG *unix_time)) in sample_entry() argument
/NetX-Duo-v6.2.1/addons/azure_iot/docs/
Dazure_rtos_iot.md12 UINT priority, UINT (*unix_time_callback)(ULONG *unix_time));

12