Lines Matching full:if

53     #if ( configUSE_TRACE_FACILITY == 1 )
57 #if ( ( configSUPPORT_STATIC_ALLOCATION == 1 ) && ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) )
58 …uint8_t ucStaticallyAllocated; /**< Set to pdTRUE if the event group is statically allocated to en…
65 * Test the bits set in uxCurrentEventBits to see if the wait condition is met.
66 * The wait condition is defined by xWaitForAllBits. If xWaitForAllBits is
67 * pdTRUE then the wait condition is met if all the bits set in uxBitsToWaitFor
68 * are also set in uxCurrentEventBits. If xWaitForAllBits is pdFALSE then the
69 * wait condition is met if any of the bits set in uxBitsToWait for are also set
78 #if ( configSUPPORT_STATIC_ALLOCATION == 1 )
89 #if ( configASSERT_DEFINED == 1 ) in xEventGroupCreateStatic()
105 if( pxEventBits != NULL ) in xEventGroupCreateStatic()
110 #if ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) in xEventGroupCreateStatic()
137 #if ( configSUPPORT_DYNAMIC_ALLOCATION == 1 )
150 if( pxEventBits != NULL ) in xEventGroupCreate()
155 #if ( configSUPPORT_STATIC_ALLOCATION == 1 ) in xEventGroupCreate()
193 #if ( ( INCLUDE_xTaskGetSchedulerState == 1 ) || ( configUSE_TIMERS == 1 ) ) in xEventGroupSync()
205 if( ( ( uxOriginalBitValue | uxBitsToSet ) & uxBitsToWaitFor ) == uxBitsToWaitFor ) in xEventGroupSync()
218 if( xTicksToWait != ( TickType_t ) 0 ) in xEventGroupSync()
229 * warning about uxReturn being returned without being set if the in xEventGroupSync()
244 if( xTicksToWait != ( TickType_t ) 0 ) in xEventGroupSync()
246 if( xAlreadyYielded == pdFALSE ) in xEventGroupSync()
256 * point either the required bits were set or the block time expired. If in xEventGroupSync()
261 if( ( uxReturn & eventUNBLOCKED_DUE_TO_BIT_SET ) == ( EventBits_t ) 0 ) in xEventGroupSync()
270 * unblocked another task has set the bits. If this is the case in xEventGroupSync()
272 if( ( uxReturn & uxBitsToWaitFor ) == uxBitsToWaitFor ) in xEventGroupSync()
324 #if ( ( INCLUDE_xTaskGetSchedulerState == 1 ) || ( configUSE_TIMERS == 1 ) ) in xEventGroupWaitBits()
334 /* Check to see if the wait condition is already met or not. */ in xEventGroupWaitBits()
337 if( xWaitConditionMet != pdFALSE ) in xEventGroupWaitBits()
344 /* Clear the wait bits if requested to do so. */ in xEventGroupWaitBits()
345 if( xClearOnExit != pdFALSE ) in xEventGroupWaitBits()
354 else if( xTicksToWait == ( TickType_t ) 0 ) in xEventGroupWaitBits()
367 if( xClearOnExit != pdFALSE ) in xEventGroupWaitBits()
376 if( xWaitForAllBits != pdFALSE ) in xEventGroupWaitBits()
392 * being returned without being set if it is not done. */ in xEventGroupWaitBits()
400 if( xTicksToWait != ( TickType_t ) 0 ) in xEventGroupWaitBits()
402 if( xAlreadyYielded == pdFALSE ) in xEventGroupWaitBits()
412 * point either the required bits were set or the block time expired. If in xEventGroupWaitBits()
417 if( ( uxReturn & eventUNBLOCKED_DUE_TO_BIT_SET ) == ( EventBits_t ) 0 ) in xEventGroupWaitBits()
426 if( prvTestWaitCondition( uxReturn, uxBitsToWaitFor, xWaitForAllBits ) != pdFALSE ) in xEventGroupWaitBits()
428 if( xClearOnExit != pdFALSE ) in xEventGroupWaitBits()
498 #if ( ( configUSE_TRACE_FACILITY == 1 ) && ( INCLUDE_xTimerPendFunctionCall == 1 ) && ( configUSE_T…
515 #endif /* if ( ( configUSE_TRACE_FACILITY == 1 ) && ( INCLUDE_xTimerPendFunctionCall == 1 ) && ( co…
567 /* See if the new bit value should unblock any tasks. */ in xEventGroupSetBits()
578 if( ( uxControlBits & eventWAIT_FOR_ALL_BITS ) == ( EventBits_t ) 0 ) in xEventGroupSetBits()
581 if( ( uxBitsWaitedFor & pxEventBits->uxEventBits ) != ( EventBits_t ) 0 ) in xEventGroupSetBits()
590 else if( ( uxBitsWaitedFor & pxEventBits->uxEventBits ) == uxBitsWaitedFor ) in xEventGroupSetBits()
600 if( xMatchFound != pdFALSE ) in xEventGroupSetBits()
603 if( ( uxControlBits & eventCLEAR_EVENTS_ON_EXIT_BIT ) != ( EventBits_t ) 0 ) in xEventGroupSetBits()
663 #if ( ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) && ( configSUPPORT_STATIC_ALLOCATION == 0 ) ) in vEventGroupDelete()
673 if( pxEventBits->ucStaticallyAllocated == ( uint8_t ) pdFALSE ) in vEventGroupDelete()
688 #if ( configSUPPORT_STATIC_ALLOCATION == 1 )
700 #if ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) in xEventGroupGetStaticBuffer()
702 /* Check if the event group was statically allocated. */ in xEventGroupGetStaticBuffer()
703 if( pxEventBits->ucStaticallyAllocated == ( uint8_t ) pdTRUE ) in xEventGroupGetStaticBuffer()
772 if( xWaitForAllBits == pdFALSE ) in prvTestWaitCondition()
776 if( ( uxCurrentEventBits & uxBitsToWaitFor ) != ( EventBits_t ) 0 ) in prvTestWaitCondition()
789 if( ( uxCurrentEventBits & uxBitsToWaitFor ) == uxBitsToWaitFor ) in prvTestWaitCondition()
803 #if ( ( configUSE_TRACE_FACILITY == 1 ) && ( INCLUDE_xTimerPendFunctionCall == 1 ) && ( configUSE_T…
821 #endif /* if ( ( configUSE_TRACE_FACILITY == 1 ) && ( INCLUDE_xTimerPendFunctionCall == 1 ) && ( co…
824 #if ( configUSE_TRACE_FACILITY == 1 )
837 if( xEventGroup == NULL ) in uxEventGroupGetNumber()
854 #if ( configUSE_TRACE_FACILITY == 1 )