/hal_espressif-3.6.0/components/esp_ringbuf/ |
D | ringbuf.c | 305 return (pxRingbuffer->uxRingbufferFlags & rbBUFFER_FULL_FLAG) ? pdFALSE : pdTRUE; in prvCheckItemFitsDefault() 309 … return (xTotalItemSize <= pxRingbuffer->pucFree - pxRingbuffer->pucAcquire) ? pdTRUE : pdFALSE; in prvCheckItemFitsDefault() 313 return pdTRUE; //Item fits without wrapping around in prvCheckItemFitsDefault() 318 …ZE <= pxRingbuffer->xSize - (pxRingbuffer->pucAcquire - pxRingbuffer->pucFree)) ? pdTRUE : pdFALSE; in prvCheckItemFitsDefault() 320 return (xTotalItemSize <= pxRingbuffer->pucFree - pxRingbuffer->pucHead) ? pdTRUE : pdFALSE; in prvCheckItemFitsDefault() 331 return (pxRingbuffer->uxRingbufferFlags & rbBUFFER_FULL_FLAG) ? pdFALSE : pdTRUE; in prvCheckItemFitsByteBuffer() 335 return (xItemSize <= pxRingbuffer->pucFree - pxRingbuffer->pucAcquire) ? pdTRUE : pdFALSE; in prvCheckItemFitsByteBuffer() 338 …ze <= pxRingbuffer->xSize - (pxRingbuffer->pucAcquire - pxRingbuffer->pucFree)) ? pdTRUE : pdFALSE; in prvCheckItemFitsByteBuffer() 526 return pdTRUE; //Items/data available for retrieval in prvCheckItemAvail() 563 *pxIsSplit = (pxHeader->uxItemFlags & rbITEM_SPLIT_FLAG) ? pdTRUE : pdFALSE; in prvGetItemDefault() [all …]
|
/hal_espressif-3.6.0/components/freertos/test/ |
D | test_freertos_backported_functions.c | 61 TEST_ASSERT_EQUAL(pdTRUE, xTimerStart(tmr_handle, 1)); //Start Timer 98 TEST_ASSERT_EQUAL(pdTRUE, xQueueSendToBack(handle, &queue_item_to_send, DELAY_TICKS)); 100 TEST_ASSERT_EQUAL(pdTRUE, xQueueReceive(handle, queue_item_received, DELAY_TICKS)); 109 TEST_ASSERT_EQUAL(pdTRUE, xSemaphoreGive(handle)); 111 TEST_ASSERT_EQUAL(pdTRUE, xSemaphoreTake(handle, DELAY_TICKS)); 118 TEST_ASSERT_EQUAL(pdTRUE, xSemaphoreGive(handle)); 123 TEST_ASSERT_EQUAL(pdTRUE, xSemaphoreTake(handle, DELAY_TICKS)); 131 TEST_ASSERT_EQUAL(pdTRUE, xSemaphoreTake(handle, DELAY_TICKS)); 134 TEST_ASSERT_EQUAL(pdTRUE, xSemaphoreGive(handle)); 142 TEST_ASSERT_EQUAL(pdTRUE, xSemaphoreTakeRecursive(handle, DELAY_TICKS)); [all …]
|
D | test_timers.c | 29 TEST_ASSERT_EQUAL(pdTRUE, xTimerIsTimerActive(oneshot)); 44 TimerHandle_t recurring = xTimerCreate("oneshot", 100 / portTICK_PERIOD_MS, pdTRUE, 53 TEST_ASSERT_EQUAL(pdTRUE, xTimerIsTimerActive(recurring)); 59 TEST_ASSERT_EQUAL(pdTRUE, xTimerIsTimerActive(recurring)); 79 pdTRUE,
|
D | test_freertos_task_utilities.c | 31 …TEST_ASSERT_EQUAL(pdTRUE, xTaskCreatePinnedToCore(test_task_get_handle, "test0", 1024, NULL, UNITY… 71 … EventBits_t uxBits = xEventGroupWaitBits(test_objs->evt_grp, 0xFF, pdTRUE, pdTRUE, portMAX_DELAY); in test_task_abort_delay() 89 TEST_ASSERT_EQUAL(pdTRUE, xSemaphoreTake(test_objs.mux, 0)); 99 TEST_ASSERT_EQUAL(pdTRUE, xSemaphoreGive(test_objs.mux));
|
D | test_stream_buffers.c | 89 TEST_ASSERT(result == pdTRUE); 91 TEST_ASSERT(result == pdTRUE); 94 TEST_ASSERT(result == pdTRUE);
|
D | test_freertos_scheduling_round_robin.c | 62 ulTaskNotifyTake(pdTRUE, portMAX_DELAY); in spin_task() 150 TEST_ASSERT_EQUAL(pdTRUE, xQueueReceive(core0_run_order_queue, &core0_entry, 0)); 151 TEST_ASSERT_EQUAL(pdTRUE, xQueueReceive(core1_run_order_queue, &core1_entry, 0));
|
D | test_freertos_task_delete.c | 57 …TEST_ASSERT_EQUAL(pdTRUE, xTaskCreatePinnedToCore(tsk_self_del, "tsk_self", 1024, NULL, configMAX_… 69 …TEST_ASSERT_EQUAL(pdTRUE, xTaskCreatePinnedToCore(tsk_extern_del, "tsk_extern", 4096, NULL, config… 134 TEST_ASSERT_EQUAL(pdTRUE,
|
/hal_espressif-3.6.0/components/lwip/port/esp32/freertos/ |
D | sys_arch.c | 84 LWIP_ASSERT("failed to take the mutex", ret == pdTRUE); in sys_mutex_lock() 98 LWIP_ASSERT("failed to give the mutex", ret == pdTRUE); in sys_mutex_unlock() 138 LWIP_ASSERT("sys_sem_new: initial give failed", ret == pdTRUE); in sys_sem_new() 156 (ret == pdTRUE) || (ret == errQUEUE_FULL)); in sys_sem_signal() 167 return woken == pdTRUE; in sys_sem_signal_isr() 185 LWIP_ASSERT("taking semaphore failed", ret == pdTRUE); in sys_arch_sem_wait() 193 LWIP_ASSERT("taking semaphore failed", ret == pdTRUE); in sys_arch_sem_wait() 253 LWIP_ASSERT("mbox post failed", ret == pdTRUE); in sys_mbox_post() 269 if (xQueueSend((*mbox)->os_mbox, &msg, 0) == pdTRUE) { in sys_mbox_trypost() 295 if (ret == pdTRUE) { in sys_mbox_trypost_fromisr() [all …]
|
/hal_espressif-3.6.0/components/vfs/test/ |
D | test_vfs_fd.c | 200 TEST_ASSERT_EQUAL(xSemaphoreTake(param1.done, CONCURRENT_TEST_MAX_WAIT), pdTRUE); 201 TEST_ASSERT_EQUAL(xSemaphoreTake(param2.done, CONCURRENT_TEST_MAX_WAIT), pdTRUE); 202 TEST_ASSERT_EQUAL(xSemaphoreTake(param3.done, CONCURRENT_TEST_MAX_WAIT), pdTRUE); 203 TEST_ASSERT_EQUAL(xSemaphoreTake(param4.done, CONCURRENT_TEST_MAX_WAIT), pdTRUE); 204 TEST_ASSERT_EQUAL(xSemaphoreTake(param5.done, CONCURRENT_TEST_MAX_WAIT), pdTRUE); 205 TEST_ASSERT_EQUAL(xSemaphoreTake(param6.done, CONCURRENT_TEST_MAX_WAIT), pdTRUE); 206 TEST_ASSERT_EQUAL(xSemaphoreTake(param7.done, CONCURRENT_TEST_MAX_WAIT), pdTRUE); 207 TEST_ASSERT_EQUAL(xSemaphoreTake(param8.done, CONCURRENT_TEST_MAX_WAIT), pdTRUE);
|
D | test_vfs_select.c | 186 TEST_ASSERT_EQUAL(xSemaphoreTake(test_task_param.sem, 1000 / portTICK_PERIOD_MS), pdTRUE); 203 TEST_ASSERT_EQUAL(xSemaphoreTake(test_task_param.sem, 1000 / portTICK_PERIOD_MS), pdTRUE); 246 TEST_ASSERT_EQUAL(xSemaphoreTake(test_task_param.sem, 1000 / portTICK_PERIOD_MS), pdTRUE); 264 TEST_ASSERT_EQUAL(xSemaphoreTake(test_task_param.sem, 1000 / portTICK_PERIOD_MS), pdTRUE); 307 TEST_ASSERT_EQUAL(xSemaphoreTake(test_task_param.sem, 1000 / portTICK_PERIOD_MS), pdTRUE); 359 TEST_ASSERT_EQUAL(xSemaphoreTake(test_task_param.sem, 1000 / portTICK_PERIOD_MS), pdTRUE); 494 TEST_ASSERT_EQUAL(pdTRUE, xSemaphoreTake(param.sem, 1000 / portTICK_PERIOD_MS)); 544 TEST_ASSERT_EQUAL(pdTRUE, xSemaphoreTake(param.sem, 1000 / portTICK_PERIOD_MS)); 547 TEST_ASSERT_EQUAL(pdTRUE, xSemaphoreTake(send_param.sem, 1000 / portTICK_PERIOD_MS)); 596 TEST_ASSERT_EQUAL(pdTRUE, xSemaphoreTake(param.sem, 1500 / portTICK_PERIOD_MS)); [all …]
|
/hal_espressif-3.6.0/tools/test_apps/protocols/pppos/main/ |
D | pppos_client_main.c | 239 xEventGroupWaitBits(event_group, CONNECT_BIT, pdTRUE, pdTRUE, portMAX_DELAY); in app_main() 242 xEventGroupWaitBits(event_group, TCP_SERVER_DONE, pdTRUE, pdTRUE, portMAX_DELAY); in app_main() 260 xEventGroupWaitBits(event_group, DISCONNECT_BIT, pdTRUE, pdTRUE, portMAX_DELAY); in app_main() 266 xEventGroupWaitBits(event_group, STOP_BIT, pdTRUE, pdTRUE, portMAX_DELAY); in app_main()
|
/hal_espressif-3.6.0/components/freertos/ |
D | event_groups.c | 140 pxEventBits->ucStaticallyAllocated = pdTRUE; in xEventGroupCreateStatic() 278 xTimeoutOccurred = pdTRUE; in xEventGroupSync() 331 xTimeoutOccurred = pdTRUE; in xEventGroupSync() 411 xTimeoutOccurred = pdTRUE; in xEventGroupWaitBits() 502 xTimeoutOccurred = pdTRUE; in xEventGroupWaitBits() 630 xMatchFound = pdTRUE; in xEventGroupSetBits() 640 xMatchFound = pdTRUE; in xEventGroupSetBits() 760 xWaitConditionMet = pdTRUE; in prvTestWaitCondition() 773 xWaitConditionMet = pdTRUE; in prvTestWaitCondition()
|
D | tasks.c | 937 xRunPrivileged = pdTRUE; in prvInitialiseNewTask() 1409 xFreeNow = pdTRUE; in vTaskDelete() 1420 if(xFreeNow == pdTRUE) { in vTaskDelete() 1494 xShouldDelay = pdTRUE; in xTaskDelayUntil() 1508 xShouldDelay = pdTRUE; in xTaskDelayUntil() 1817 xYieldRequired = pdTRUE; in vTaskPrioritySet() 1840 xYieldRequired = pdTRUE; in vTaskPrioritySet() 1849 xYieldRequired = pdTRUE; in vTaskPrioritySet() 2106 xReturn = pdTRUE; in prvTaskIsTaskSuspended() 2229 xYieldRequired = pdTRUE; in xTaskResumeFromISR() [all …]
|
D | queue.c | 290 if( xNewQueue == pdTRUE ) in xQueueGenericReset() 389 pxNewQueue->ucStaticallyAllocated = pdTRUE; in xQueueGenericCreateStatic() 507 ( void ) xQueueGenericReset( pxNewQueue, pdTRUE ); in prvInitialiseNewQueue() 967 xEntryTimeSet = pdTRUE; in xQueueGenericSend() 1112 *pxHigherPriorityTaskWoken = pdTRUE; in xQueueGenericSendFromISR() 1134 *pxHigherPriorityTaskWoken = pdTRUE; in xQueueGenericSendFromISR() 1162 *pxHigherPriorityTaskWoken = pdTRUE; in xQueueGenericSendFromISR() 1282 *pxHigherPriorityTaskWoken = pdTRUE; in xQueueGiveFromISR() 1304 *pxHigherPriorityTaskWoken = pdTRUE; in xQueueGiveFromISR() 1332 *pxHigherPriorityTaskWoken = pdTRUE; in xQueueGiveFromISR() [all …]
|
/hal_espressif-3.6.0/components/lwip/port/esp32/include/arch/ |
D | sys_arch.h | 67 #define sys_mutex_valid( x ) ( ( ( *x ) == NULL) ? pdFALSE : pdTRUE ) 71 #define sys_mbox_valid( x ) ( ( ( *x ) == NULL) ? pdFALSE : pdTRUE ) 92 #define sys_sem_valid( x ) ( ( ( *x ) == NULL) ? pdFALSE : pdTRUE )
|
/hal_espressif-3.6.0/components/pthread/ |
D | pthread.c | 298 if (xSemaphoreTake(s_threads_mux, portMAX_DELAY) != pdTRUE) { in pthread_create() 324 if (xSemaphoreTake(s_threads_mux, portMAX_DELAY) != pdTRUE) { in pthread_join() 360 if (xSemaphoreTake(s_threads_mux, portMAX_DELAY) != pdTRUE) { in pthread_join() 383 if (xSemaphoreTake(s_threads_mux, portMAX_DELAY) != pdTRUE) { in pthread_detach() 415 if (xSemaphoreTake(s_threads_mux, portMAX_DELAY) != pdTRUE) { in pthread_exit() 472 if (xSemaphoreTake(s_threads_mux, portMAX_DELAY) != pdTRUE) { in pthread_self() 595 if (res != pdTRUE) { in pthread_mutex_destroy() 616 if (xSemaphoreTakeRecursive(mux->sem, tmo) != pdTRUE) { in pthread_mutex_lock_internal() 620 if (xSemaphoreTake(mux->sem, tmo) != pdTRUE) { in pthread_mutex_lock_internal() 711 if (ret != pdTRUE) { in pthread_mutex_unlock()
|
/hal_espressif-3.6.0/components/freemodbus/port/ |
D | portevent.c | 98 if (xStatus != pdTRUE) { in xMBPortEventPost() 106 MB_PORT_CHECK((xStatus == pdTRUE), FALSE, "%s: Post message failure.", __func__); in xMBPortEventPost() 117 if (xQueueReceive(xQueueHdl, peEvent, portMAX_DELAY) == pdTRUE) { in xMBPortEventGet()
|
/hal_espressif-3.6.0/examples/protocols/https_server/wss_server/main/ |
D | keep_alive.c | 114 get_max_delay(keep_alive_storage) / portTICK_PERIOD_MS) == pdTRUE) { in keep_alive_task() 178 keep_alive_storage, config->task_prio, NULL) != pdTRUE) { in wss_keep_alive_start() 195 if (xQueueSendToBack(h->q, &client_fd_action, 0) == pdTRUE) { in wss_keep_alive_add_client() 204 if (xQueueSendToBack(h->q, &client_fd_action, 0) == pdTRUE) { in wss_keep_alive_remove_client() 214 if (xQueueSendToBack(h->q, &client_fd_action, 0) == pdTRUE) { in wss_keep_alive_client_is_active()
|
/hal_espressif-3.6.0/components/esp_ipc/src/ |
D | esp_ipc.c | 54 if (xSemaphoreTake(s_ipc_sem[cpuid], portMAX_DELAY) != pdTRUE) { in ipc_task() 112 assert(res == pdTRUE); in esp_ipc_init() 182 if (ret != pdTRUE) { in esp_ipc_start_gcov_from_isr() 196 return ret == pdTRUE ? ESP_OK : ESP_FAIL; in esp_ipc_start_gcov_from_isr()
|
/hal_espressif-3.6.0/examples/protocols/pppos_client/main/ |
D | pppos_client_main.c | 292 xEventGroupWaitBits(event_group, CONNECT_BIT, pdTRUE, pdTRUE, portMAX_DELAY); in app_main() 301 xEventGroupWaitBits(event_group, GOT_DATA_BIT, pdTRUE, pdTRUE, portMAX_DELAY); in app_main() 307 xEventGroupWaitBits(event_group, STOP_BIT, pdTRUE, pdTRUE, portMAX_DELAY); in app_main()
|
/hal_espressif-3.6.0/components/driver/ |
D | spi_slave_hd.c | 314 assert(ret == pdTRUE); in spi_slave_hd_intr_segment() 333 assert(ret == pdTRUE); in spi_slave_hd_intr_segment() 342 if (ret == pdTRUE) { in spi_slave_hd_intr_segment() 358 if (ret == pdTRUE) { in spi_slave_hd_intr_segment() 382 if (awoken==pdTRUE) portYIELD_FROM_ISR(); in spi_slave_hd_intr_segment() 428 assert(ret == pdTRUE); in spi_slave_hd_intr_append() 431 assert(ret == pdTRUE); in spi_slave_hd_intr_append() 460 assert(ret == pdTRUE); in spi_slave_hd_intr_append() 463 assert(ret == pdTRUE); in spi_slave_hd_intr_append() 468 if (awoken==pdTRUE) portYIELD_FROM_ISR(); in spi_slave_hd_intr_append()
|
D | twai.c | 131 if (xQueueSendFromISR(p_twai_obj->rx_queue, &frame, task_woken) == pdTRUE) { in twai_handle_rx_buffer_frames() 151 if (xQueueSendFromISR(p_twai_obj->rx_queue, &frame, task_woken) == pdTRUE) { in twai_handle_rx_buffer_frames() 189 if (res == pdTRUE) { in twai_handle_tx_buffer_frame() 273 if (task_woken == pdTRUE) { in twai_intr_handler_main() 556 } else if (xQueueSend(p_twai_obj->tx_queue, &tx_frame, ticks_to_wait) == pdTRUE) { in twai_transmit() 567 assert(res == pdTRUE); in twai_transmit() 595 if (xQueueReceive(p_twai_obj->rx_queue, &rx_frame, ticks_to_wait) != pdTRUE) { in twai_receive() 615 if (xSemaphoreTake(p_twai_obj->alert_semphr, ticks_to_wait) == pdTRUE) { in twai_read_alerts()
|
/hal_espressif-3.6.0/components/mdns/host_test/components/freertos_linux/include/freertos/ |
D | FreeRTOS.h | 37 #define pdTRUE ( ( BaseType_t ) 1 ) macro 39 #define pdPASS ( pdTRUE )
|
/hal_espressif-3.6.0/components/bt/common/osi/ |
D | semaphore.c | 60 if (xSemaphoreTake(*sem, portMAX_DELAY) != pdTRUE) { in osi_sem_take() 64 if (xSemaphoreTake(*sem, timeout / portTICK_PERIOD_MS) != pdTRUE) { in osi_sem_take()
|
D | mutex.c | 49 if (xSemaphoreTake(*mutex, portMAX_DELAY) != pdTRUE) { in osi_mutex_lock() 53 if (xSemaphoreTake(*mutex, timeout / portTICK_PERIOD_MS) != pdTRUE) { in osi_mutex_lock()
|