Home
last modified time | relevance | path

Searched refs:NULL (Results 1 – 25 of 344) sorted by relevance

12345678910>>...14

/ThreadX-v6.3.0/utility/rtos_compatibility_layers/FreeRTOS/
Dtx_freertos.c83 return NULL; in txfr_malloc()
86 return NULL; in txfr_malloc()
123 if(p_task != NULL) { in txfr_idle_task_entry()
129 if(p_task != NULL) { in txfr_idle_task_entry()
230 vTaskDelete(NULL); in txfr_thread_wrapper()
333 configASSERT(pxTaskCode != NULL); in xTaskCreateStatic()
336 configASSERT(puxStackBuffer != NULL); in xTaskCreateStatic()
337 configASSERT(pxTaskBuffer != NULL); in xTaskCreateStatic()
348 return NULL; in xTaskCreateStatic()
359 return NULL; in xTaskCreateStatic()
[all …]
/ThreadX-v6.3.0/ports/win32/vs_2019/src/
Dtx_thread_stack_build.c87 CreateThread(NULL, 0, _tx_win32_thread_entry, (LPVOID) thread_ptr, CREATE_SUSPENDED, in _tx_thread_stack_build()
107 thread_ptr -> tx_thread_win32_thread_run_semaphore = CreateSemaphore(NULL, 0, 1, NULL); in _tx_thread_stack_build()
Dtx_initialize_low_level.c236 …tx_win32_critical_section.tx_win32_critical_section_mutex_handle = CreateMutex(NULL, FALSE, NULL); in _tx_initialize_low_level()
241 _tx_win32_scheduler_semaphore = CreateSemaphore(NULL, 0, 1, NULL); in _tx_initialize_low_level()
/ThreadX-v6.3.0/ports/xtensa/xcc/src/
Dtx_clib_lock.c225 char * _tx_clib_heap_start = NULL;
226 char * _tx_clib_heap_end = NULL;
236 if (heap_ptr == NULL) { in _sbrk_r()
241 if ((heap_ptr == NULL) || /* no heap */ in _sbrk_r()
289 if (thread_ptr == NULL) { in _tx_clib_reent_init()
327 fp->_close = NULL; in _tx_clib_reent_cleanup()
Dxtensa_intr.c69 if (f != NULL) { in xt_set_exception_handler()
141 if (f != NULL) { in xt_set_interrupt_handler()
/ThreadX-v6.3.0/utility/rtos_compatibility_layers/posix/
Dtx_posix.h219 #define PTHREAD_ONCE_INIT {0, 0, {0,NULL,0,0,NULL,0,NULL,NULL}}
261 #ifndef NULL
262 #define NULL 0 macro
564 #define PTHREAD_MUTEX_INITIALIZER {{TX_MUTEX_ID, "PMTX", 0, NULL, 0, 0, 0, NULL, 0 , NULL, NULL},…
567 #define PTHREAD_COND_INITIALIZER {{TX_SEMAPHORE_ID, "CSEM", 0, NULL, 0, NULL, NULL}, TX_TRUE}
Dpx_mq_reset_queue.c74 q_ptr -> name = NULL; in posix_reset_queue()
80 q_ptr -> storage = NULL; in posix_reset_queue()
Dposix_demo.c123 pthread_create (&pthread_0, &ptattr0,pthread_0_entry,NULL); in tx_application_define()
130 pthread_create (&pthread_1, &ptattr1,pthread_1_entry,NULL); in tx_application_define()
137 pthread_create (&pthread_2, &ptattr2,pthread_2_entry,NULL); in tx_application_define()
144 pthread_create (&pthread_3, &ptattr3,pthread_3_entry,NULL); in tx_application_define()
151 pthread_create (&pthread_4, &ptattr4,pthread_4_entry,NULL); in tx_application_define()
158 pthread_create (&pthread_5, &ptattr5,pthread_5_entry,NULL); in tx_application_define()
167 pthread_mutex_init(&mutex1, NULL); in tx_application_define()
Dposix_signal_self_send_test.c147 pthread_create (&pthread_0, &ptattr0,pthread_0_entry,NULL); in tx_application_define()
155 pthread_create (&pthread_1, &ptattr1,pthread_1_entry,NULL); in tx_application_define()
162 pthread_create (&pthread_2, &ptattr2,pthread_2_entry,NULL); in tx_application_define()
169 pthread_create (&pthread_3, &ptattr3,pthread_3_entry,NULL); in tx_application_define()
176 pthread_create (&pthread_4, &ptattr4,pthread_4_entry,NULL); in tx_application_define()
183 pthread_create (&pthread_5, &ptattr5,pthread_5_entry,NULL); in tx_application_define()
192 pthread_mutex_init(&mutex1, NULL); in tx_application_define()
Dpx_mq_find_queue.c77 q_ptr = (POSIX_MSG_QUEUE*)NULL; in posix_find_queue()
111 q_ptr = (POSIX_MSG_QUEUE*)NULL; in posix_find_queue()
Dpx_pth_once.c82 if (once_control == NULL || init_routine == NULL) in pthread_once()
Dpx_mq_open.c120 if((posix_queue = posix_find_queue(mqName)) != NULL) in mq_open()
140 if(q_attr == NULL) in mq_open()
177 if((posix_queue = posix_find_queue(mqName)) != NULL) in mq_open()
Dpx_pth_create.c174 … pthread_ptr->stack_address = NULL; /* will allocate our own stack */ in pthread_create()
207 pthread_ptr->value_ptr = NULL; in pthread_create()
211 if((attr->stack_address)==NULL) in pthread_create()
Dpx_mq_queue_delete.c88 q_ptr = NULL; in posix_queue_delete()
Dpx_pth_getschedparam.c82 if(thread_tcb==NULL) in pthread_getschedparam()
Dpx_pth_detach.c93 if(pthread_ptr==NULL) in pthread_detach()
Dpx_mq_get_queue_desc.c72 struct mq_des *q_des = NULL; in posix_get_queue_des()
Dpx_pth_sigmask.c101 if ((newmask == NULL) || (oldmask == NULL)) in pthread_sigmask()
Dpx_mq_queue_init.c82 queue_ptr->storage = NULL; in posix_queue_init()
Dpx_sem_destroy.c75 if((sem==NULL)|| ( sem->in_use == TX_FALSE)) in sem_destroy()
/ThreadX-v6.3.0/ports_smp/arc_hs_smp/metaware/example_build/sample_threadx/
Darc.h39 #ifndef NULL
40 #define NULL 0 macro
/ThreadX-v6.3.0/common_modules/module_manager/utilities/
Dmodule_binary_to_c_array.c39 if (source_file == NULL) in main()
67 if (array_file == NULL) in main()
/ThreadX-v6.3.0/ports/cortex_r4/iar/src/
Dtx_thread_schedule.s103 CMP r0, #0 ; Is it NULL?
194 CMP r1, #0 ; Check for NULL thread pointer
195 BEQ __tx_no_thread_to_enable ; If NULL, skip VFP enable
210 CMP r1, #0 ; Check for NULL thread pointer
211 BEQ __tx_no_thread_to_disable ; If NULL, skip VFP disable
/ThreadX-v6.3.0/ports/cortex_r5/iar/src/
Dtx_thread_schedule.s103 CMP r0, #0 ; Is it NULL?
194 CMP r1, #0 ; Check for NULL thread pointer
195 BEQ __tx_no_thread_to_enable ; If NULL, skip VFP enable
210 CMP r1, #0 ; Check for NULL thread pointer
211 BEQ __tx_no_thread_to_disable ; If NULL, skip VFP disable
/ThreadX-v6.3.0/ports/linux/gnu/src/
Dtx_initialize_low_level.c285 if(pthread_create(&_tx_linux_timer_id, NULL, _tx_linux_timer_interrupt, NULL)) in _tx_initialize_low_level()
445 sigaction(RESUME_SIG, &sa, NULL); in _tx_linux_thread_init()
448 sigaction(SUSPEND_SIG, &sa, NULL); in _tx_linux_thread_init()

12345678910>>...14