Lines Matching refs:UBaseType_t

77UBaseType_t uxRecursiveCallCount; /**< Maintains a count of the number of times a recursive mutex …
82 #define queueSEMAPHORE_QUEUE_ITEM_LENGTH ( ( UBaseType_t ) 0 )
117 volatile UBaseType_t uxMessagesWaiting; /**< The number of items currently in the queue. */
118UBaseType_t uxLength; /**< The length of the queue defined as the number of item…
119 UBaseType_t uxItemSize; /**< The size of each items that the queue will hold. */
133 UBaseType_t uxQueueNumber;
226 static void prvInitialiseNewQueue( const UBaseType_t uxQueueLength,
227 const UBaseType_t uxItemSize,
250 …static UBaseType_t prvGetDisinheritPriorityAfterTimeout( const Queue_t * const pxQueue ) PRIVILEGE…
279 const UBaseType_t uxNumberOfTasks = uxTaskGetNumberOfTasks(); \
280 if( ( UBaseType_t ) ( cTxLock ) < uxNumberOfTasks ) \
294 const UBaseType_t uxNumberOfTasks = uxTaskGetNumberOfTasks(); \
295 if( ( UBaseType_t ) ( cRxLock ) < uxNumberOfTasks ) \
321 pxQueue->uxMessagesWaiting = ( UBaseType_t ) 0U; in xQueueGenericReset()
376 QueueHandle_t xQueueGenericCreateStatic( const UBaseType_t uxQueueLength, in xQueueGenericCreateStatic()
377 const UBaseType_t uxItemSize, in xQueueGenericCreateStatic()
390 if( ( uxQueueLength > ( UBaseType_t ) 0 ) && in xQueueGenericCreateStatic()
502 QueueHandle_t xQueueGenericCreate( const UBaseType_t uxQueueLength, in xQueueGenericCreate()
503 const UBaseType_t uxItemSize, in xQueueGenericCreate()
512 if( ( uxQueueLength > ( UBaseType_t ) 0 ) && in xQueueGenericCreate()
516 ( ( UBaseType_t ) ( SIZE_MAX - sizeof( Queue_t ) ) >= ( uxQueueLength * uxItemSize ) ) ) in xQueueGenericCreate()
566 static void prvInitialiseNewQueue( const UBaseType_t uxQueueLength, in prvInitialiseNewQueue()
567 const UBaseType_t uxItemSize, in prvInitialiseNewQueue()
576 if( uxItemSize == ( UBaseType_t ) 0 ) in prvInitialiseNewQueue()
647 const UBaseType_t uxMutexLength = ( UBaseType_t ) 1, uxMutexSize = ( UBaseType_t ) 0; in xQueueCreateMutex()
668 const UBaseType_t uxMutexLength = ( UBaseType_t ) 1, uxMutexSize = ( UBaseType_t ) 0; in xQueueCreateMutexStatic()
783 if( pxMutex->u.xSemaphore.uxRecursiveCallCount == ( UBaseType_t ) 0 ) in xQueueGiveMutexRecursive()
862 QueueHandle_t xQueueCreateCountingSemaphoreStatic( const UBaseType_t uxMaxCount, in xQueueCreateCountingSemaphoreStatic()
863 const UBaseType_t uxInitialCount, in xQueueCreateCountingSemaphoreStatic()
902 QueueHandle_t xQueueCreateCountingSemaphore( const UBaseType_t uxMaxCount, in xQueueCreateCountingSemaphore()
903 const UBaseType_t uxInitialCount ) in xQueueCreateCountingSemaphore()
951 configASSERT( !( ( pvItemToQueue == NULL ) && ( pxQueue->uxItemSize != ( UBaseType_t ) 0U ) ) ); in xQueueGenericSend()
973 const UBaseType_t uxPreviousMessagesWaiting = pxQueue->uxMessagesWaiting; in xQueueGenericSend()
979 … if( ( xCopyPosition == queueOVERWRITE ) && ( uxPreviousMessagesWaiting != ( UBaseType_t ) 0 ) ) in xQueueGenericSend()
1163 UBaseType_t uxSavedInterruptStatus; in xQueueGenericSendFromISR()
1169 configASSERT( !( ( pvItemToQueue == NULL ) && ( pxQueue->uxItemSize != ( UBaseType_t ) 0U ) ) ); in xQueueGenericSendFromISR()
1196 uxSavedInterruptStatus = ( UBaseType_t ) taskENTER_CRITICAL_FROM_ISR(); in xQueueGenericSendFromISR()
1201 const UBaseType_t uxPreviousMessagesWaiting = pxQueue->uxMessagesWaiting; in xQueueGenericSendFromISR()
1220 … if( ( xCopyPosition == queueOVERWRITE ) && ( uxPreviousMessagesWaiting != ( UBaseType_t ) 0 ) ) in xQueueGenericSendFromISR()
1333 UBaseType_t uxSavedInterruptStatus; in xQueueGiveFromISR()
1374 uxSavedInterruptStatus = ( UBaseType_t ) taskENTER_CRITICAL_FROM_ISR(); in xQueueGiveFromISR()
1376 const UBaseType_t uxMessagesWaiting = pxQueue->uxMessagesWaiting; in xQueueGiveFromISR()
1393 pxQueue->uxMessagesWaiting = ( UBaseType_t ) ( uxMessagesWaiting + ( UBaseType_t ) 1 ); in xQueueGiveFromISR()
1517 …configASSERT( !( ( ( pvBuffer ) == NULL ) && ( ( pxQueue )->uxItemSize != ( UBaseType_t ) 0U ) ) ); in xQueueReceive()
1530 const UBaseType_t uxMessagesWaiting = pxQueue->uxMessagesWaiting; in xQueueReceive()
1534 if( uxMessagesWaiting > ( UBaseType_t ) 0 ) in xQueueReceive()
1539 … pxQueue->uxMessagesWaiting = ( UBaseType_t ) ( uxMessagesWaiting - ( UBaseType_t ) 1 ); in xQueueReceive()
1685 const UBaseType_t uxSemaphoreCount = pxQueue->uxMessagesWaiting; in xQueueSemaphoreTake()
1689 if( uxSemaphoreCount > ( UBaseType_t ) 0 ) in xQueueSemaphoreTake()
1695 … pxQueue->uxMessagesWaiting = ( UBaseType_t ) ( uxSemaphoreCount - ( UBaseType_t ) 1 ); in xQueueSemaphoreTake()
1840 UBaseType_t uxHighestWaitingPriority; in xQueueSemaphoreTake()
1893 …configASSERT( !( ( ( pvBuffer ) == NULL ) && ( ( pxQueue )->uxItemSize != ( UBaseType_t ) 0U ) ) ); in xQueuePeek()
1906 const UBaseType_t uxMessagesWaiting = pxQueue->uxMessagesWaiting; in xQueuePeek()
1910 if( uxMessagesWaiting > ( UBaseType_t ) 0 ) in xQueuePeek()
2040 UBaseType_t uxSavedInterruptStatus; in xQueueReceiveFromISR()
2046 configASSERT( !( ( pvBuffer == NULL ) && ( pxQueue->uxItemSize != ( UBaseType_t ) 0U ) ) ); in xQueueReceiveFromISR()
2067 uxSavedInterruptStatus = ( UBaseType_t ) taskENTER_CRITICAL_FROM_ISR(); in xQueueReceiveFromISR()
2069 const UBaseType_t uxMessagesWaiting = pxQueue->uxMessagesWaiting; in xQueueReceiveFromISR()
2072 if( uxMessagesWaiting > ( UBaseType_t ) 0 ) in xQueueReceiveFromISR()
2079 pxQueue->uxMessagesWaiting = ( UBaseType_t ) ( uxMessagesWaiting - ( UBaseType_t ) 1 ); in xQueueReceiveFromISR()
2139 UBaseType_t uxSavedInterruptStatus; in xQueuePeekFromISR()
2146 configASSERT( !( ( pvBuffer == NULL ) && ( pxQueue->uxItemSize != ( UBaseType_t ) 0U ) ) ); in xQueuePeekFromISR()
2168 uxSavedInterruptStatus = ( UBaseType_t ) taskENTER_CRITICAL_FROM_ISR(); in xQueuePeekFromISR()
2171 if( pxQueue->uxMessagesWaiting > ( UBaseType_t ) 0 ) in xQueuePeekFromISR()
2197 UBaseType_t uxQueueMessagesWaiting( const QueueHandle_t xQueue ) in uxQueueMessagesWaiting()
2199 UBaseType_t uxReturn; in uxQueueMessagesWaiting()
2217 UBaseType_t uxQueueSpacesAvailable( const QueueHandle_t xQueue ) in uxQueueSpacesAvailable()
2219 UBaseType_t uxReturn; in uxQueueSpacesAvailable()
2228 uxReturn = ( UBaseType_t ) ( pxQueue->uxLength - pxQueue->uxMessagesWaiting ); in uxQueueSpacesAvailable()
2238 UBaseType_t uxQueueMessagesWaitingFromISR( const QueueHandle_t xQueue ) in uxQueueMessagesWaitingFromISR()
2240 UBaseType_t uxReturn; in uxQueueMessagesWaitingFromISR()
2302 UBaseType_t uxQueueGetQueueNumber( QueueHandle_t xQueue ) in uxQueueGetQueueNumber()
2317 UBaseType_t uxQueueNumber ) in vQueueSetQueueNumber()
2343 UBaseType_t uxQueueGetQueueItemSize( QueueHandle_t xQueue ) /* PRIVILEGED_FUNCTION */ in uxQueueGetQueueItemSize()
2353 UBaseType_t uxQueueGetQueueLength( QueueHandle_t xQueue ) /* PRIVILEGED_FUNCTION */ in uxQueueGetQueueLength()
2365 static UBaseType_t prvGetDisinheritPriorityAfterTimeout( const Queue_t * const pxQueue ) in prvGetDisinheritPriorityAfterTimeout()
2367 UBaseType_t uxHighestPriorityOfWaitingTasks; in prvGetDisinheritPriorityAfterTimeout()
2377 …uxHighestPriorityOfWaitingTasks = ( UBaseType_t ) ( ( UBaseType_t ) configMAX_PRIORITIES - ( UBase… in prvGetDisinheritPriorityAfterTimeout()
2395 UBaseType_t uxMessagesWaiting; in prvCopyDataToQueue()
2401 if( pxQueue->uxItemSize == ( UBaseType_t ) 0 ) in prvCopyDataToQueue()
2448 if( uxMessagesWaiting > ( UBaseType_t ) 0 ) in prvCopyDataToQueue()
2467 pxQueue->uxMessagesWaiting = ( UBaseType_t ) ( uxMessagesWaiting + ( UBaseType_t ) 1 ); in prvCopyDataToQueue()
2476 if( pxQueue->uxItemSize != ( UBaseType_t ) 0 ) in prvCopyDataFromQueue()
2620 if( pxQueue->uxMessagesWaiting == ( UBaseType_t ) 0 ) in prvIsQueueEmpty()
2644 if( pxQueue->uxMessagesWaiting == ( UBaseType_t ) 0 ) in xQueueIsQueueEmptyFromISR()
2803 if( pxQueue->uxMessagesWaiting == ( UBaseType_t ) 0 ) in xQueueCRReceive()
2830 if( pxQueue->uxMessagesWaiting > ( UBaseType_t ) 0 ) in xQueueCRReceive()
2952 if( pxQueue->uxMessagesWaiting > ( UBaseType_t ) 0 ) in xQueueCRReceiveFromISR()
3012 UBaseType_t ux; in vQueueAddToRegistry()
3023 for( ux = ( UBaseType_t ) 0U; ux < ( UBaseType_t ) configQUEUE_REGISTRY_SIZE; ux++ ) in vQueueAddToRegistry()
3062 UBaseType_t ux; in pcQueueGetName()
3072 for( ux = ( UBaseType_t ) 0U; ux < ( UBaseType_t ) configQUEUE_REGISTRY_SIZE; ux++ ) in pcQueueGetName()
3097 UBaseType_t ux; in vQueueUnregisterQueue()
3105 for( ux = ( UBaseType_t ) 0U; ux < ( UBaseType_t ) configQUEUE_REGISTRY_SIZE; ux++ ) in vQueueUnregisterQueue()
3156 if( pxQueue->uxMessagesWaiting == ( UBaseType_t ) 0U ) in vQueueWaitForMessageRestricted()
3176 QueueSetHandle_t xQueueCreateSet( const UBaseType_t uxEventQueueLength ) in xQueueCreateSet()
3182 …pxQueue = xQueueGenericCreate( uxEventQueueLength, ( UBaseType_t ) sizeof( Queue_t * ), queueQUEUE… in xQueueCreateSet()
3208 else if( ( ( Queue_t * ) xQueueOrSemaphore )->uxMessagesWaiting != ( UBaseType_t ) 0 ) in xQueueAddToSet()
3245 else if( pxQueueOrSemaphore->uxMessagesWaiting != ( UBaseType_t ) 0 ) in xQueueRemoveFromSet()