Lines Matching refs:pdTRUE

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()
776 if (xSemaphoreTake(rbGET_RX_SEM_HANDLE(pxRingbuffer), xTicksRemaining) != pdTRUE) { in prvReceiveGeneric()
783 if (prvCheckItemAvail(pxRingbuffer) == pdTRUE) { in prvReceiveGeneric()
795 if (xIsSplit == pdTRUE) { in prvReceiveGeneric()
803 xReturn = pdTRUE; in prvReceiveGeneric()
805 xReturnSemaphore = pdTRUE; in prvReceiveGeneric()
821 if (xReturnSemaphore == pdTRUE) { in prvReceiveGeneric()
838 if(prvCheckItemAvail(pxRingbuffer) == pdTRUE) { in prvReceiveGenericFromISR()
849 if (xIsSplit == pdTRUE) { in prvReceiveGenericFromISR()
857 xReturn = pdTRUE; in prvReceiveGenericFromISR()
859 xReturnSemaphore = pdTRUE; in prvReceiveGenericFromISR()
864 if (xReturnSemaphore == pdTRUE) { in prvReceiveGenericFromISR()
959 return pdTRUE; //Sending 0 bytes to byte buffer has no effect in xRingbufferSendAcquire()
969 if (xSemaphoreTake(rbGET_TX_SEM_HANDLE(pxRingbuffer), xTicksRemaining) != pdTRUE) { in xRingbufferSendAcquire()
976 if(pxRingbuffer->xCheckItemFits(pxRingbuffer, xItemSize) == pdTRUE) { in xRingbufferSendAcquire()
979 xReturn = pdTRUE; in xRingbufferSendAcquire()
982 xReturnSemaphore = pdTRUE; in xRingbufferSendAcquire()
998 if (xReturnSemaphore == pdTRUE) { in xRingbufferSendAcquire()
1017 return pdTRUE; in xRingbufferSendComplete()
1033 return pdTRUE; //Sending 0 bytes to byte buffer has no effect in xRingbufferSend()
1043 if (xSemaphoreTake(rbGET_TX_SEM_HANDLE(pxRingbuffer), xTicksRemaining) != pdTRUE) { in xRingbufferSend()
1049 if(pxRingbuffer->xCheckItemFits(pxRingbuffer, xItemSize) == pdTRUE) { in xRingbufferSend()
1052 xReturn = pdTRUE; in xRingbufferSend()
1055 xReturnSemaphore = pdTRUE; in xRingbufferSend()
1071 if (xReturnSemaphore == pdTRUE) { in xRingbufferSend()
1074 if (xReturn == pdTRUE) { in xRingbufferSend()
1094 return pdTRUE; //Sending 0 bytes to byte buffer has no effect in xRingbufferSendFromISR()
1101 if (pxRingbuffer->xCheckItemFits(xRingbuffer, xItemSize) == pdTRUE) { in xRingbufferSendFromISR()
1103 xReturn = pdTRUE; in xRingbufferSendFromISR()
1106 xReturnSemaphore = pdTRUE; in xRingbufferSendFromISR()
1113 if (xReturnSemaphore == pdTRUE) { in xRingbufferSendFromISR()
1116 if (xReturn == pdTRUE) { in xRingbufferSendFromISR()
1132 …(prvReceiveGeneric(pxRingbuffer, &pvTempItem, NULL, &xTempSize, NULL, 0, xTicksToWait) == pdTRUE) { in xRingbufferReceive()
1151 if (prvReceiveGenericFromISR(pxRingbuffer, &pvTempItem, NULL, &xTempSize, NULL, 0) == pdTRUE) { in xRingbufferReceiveFromISR()
1177 …er, &pvTempHeadItem, &pvTempTailItem, &xTempHeadSize, &xTempTailSize, 0, xTicksToWait) == pdTRUE) { in xRingbufferReceiveSplit()
1192 return pdTRUE; in xRingbufferReceiveSplit()
1216 …ISR(pxRingbuffer, &pvTempHeadItem, &pvTempTailItem, &xTempHeadSize, &xTempTailSize, 0) == pdTRUE) { in xRingbufferReceiveSplitFromISR()
1231 return pdTRUE; in xRingbufferReceiveSplitFromISR()
1255 …eiveGeneric(pxRingbuffer, &pvTempItem, NULL, &xTempSize, NULL, xMaxSize, xTicksToWait) == pdTRUE) { in xRingbufferReceiveUpTo()
1278 …(prvReceiveGenericFromISR(pxRingbuffer, &pvTempItem, NULL, &xTempSize, NULL, xMaxSize) == pdTRUE) { in xRingbufferReceiveUpToFromISR()
1359 if (xHoldSemaphore == pdTRUE) { in xRingbufferAddToQueueSetRead()
1361 configASSERT(xSemaphoreGive(rbGET_RX_SEM_HANDLE(pxRingbuffer)) == pdTRUE); in xRingbufferAddToQueueSetRead()
1372 return (rbGET_RX_SEM_HANDLE(pxRingbuffer) == xMember) ? pdTRUE : pdFALSE; in xRingbufferCanRead()
1385 if (xHoldSemaphore == pdTRUE) { in xRingbufferRemoveFromQueueSetRead()
1387 configASSERT(xSemaphoreGive(rbGET_RX_SEM_HANDLE(pxRingbuffer)) == pdTRUE); in xRingbufferRemoveFromQueueSetRead()