Searched refs:CHPP_ASSERT (Results 1 – 15 of 15) sorted by relevance
50 #ifndef CHPP_ASSERT51 #define CHPP_ASSERT(var) assert(var) macro59 CHPP_ASSERT(false); \65 #define CHPP_NOT_NULL(var) CHPP_ASSERT((var) != NULL)73 #define CHPP_DEBUG_ASSERT(var) CHPP_ASSERT(var)
615 CHPP_ASSERT((signal & ~(CHPP_TRANSPORT_SIGNAL_PLATFORM_MASK)) == 0); in chppWorkThreadSignalFromLink()
789 CHPP_ASSERT(len >= sizeof(struct ChppAppHeader)); in chppAppShortResponseErrorHandler()802 CHPP_ASSERT(len >= sizeof(struct ChppAppHeader)); in chppAllocNotification()803 CHPP_ASSERT(type == CHPP_MESSAGE_TYPE_CLIENT_NOTIFICATION || in chppAllocNotification()822 CHPP_ASSERT(len >= sizeof(struct ChppAppHeader)); in chppAllocRequest()823 CHPP_ASSERT(type == CHPP_MESSAGE_TYPE_CLIENT_REQUEST || in chppAllocRequest()844 CHPP_ASSERT(len >= sizeof(struct ChppAppHeader)); in chppAllocResponse()847 CHPP_ASSERT(type == CHPP_MESSAGE_TYPE_CLIENT_REQUEST || in chppAllocResponse()889 CHPP_ASSERT(msgType == CHPP_MESSAGE_TYPE_CLIENT_REQUEST || in chppTimestampOutgoingRequest()943 CHPP_ASSERT(type == CHPP_MESSAGE_TYPE_CLIENT_RESPONSE || in chppTimestampIncomingResponse()1060 CHPP_ASSERT(len >= sizeof(struct ChppAppHeader)); in chppSendTimestampedRequestOrFail()
200 CHPP_ASSERT(context->rxStatus.locInState < in chppConsumeHeader()266 CHPP_ASSERT(context->rxStatus.locInState < context->rxHeader.length); in chppConsumePayload()295 CHPP_ASSERT(context->rxStatus.locInState < in chppConsumeFooter()416 CHPP_ASSERT(context->rxDatagram.length >= undoLen); in chppAbortRxPacket()417 CHPP_ASSERT(context->rxStatus.locInDatagram >= undoLoc); in chppAbortRxPacket()1114 CHPP_ASSERT(bufferSize + len <= in chppAppendToPendingTxPacket()
54 // Enable assert (i.e. CHPP_ASSERT, ...)
413 CHPP_ASSERT(len >= sizeof(struct ChppAppHeader)); in chppClientProcessOpenResponse()
84 CHPP_ASSERT(len >= CHPP_LOOPBACK_HEADER_LEN); in chppDispatchLoopbackServiceResponse()91 CHPP_ASSERT(chppTimestampIncomingResponse( in chppDispatchLoopbackServiceResponse()
399 CHPP_ASSERT((result->capabilities & CHPP_GNSS_DEFAULT_CAPABILITIES) == in chppGnssGetCapabilitiesResult()
467 CHPP_ASSERT((result->capabilities & CHPP_WIFI_DEFAULT_CAPABILITIES) == in chppWifiGetCapabilitiesResult()
60 CHPP_ASSERT(false); in chppDiscoveryDiscoverAll()
503 CHPP_ASSERT(false); in chppGnssServiceRequestStateResyncCallback()535 CHPP_ASSERT(false); in chppGnssServiceLocationStatusChangeCallback()607 CHPP_ASSERT(false); in chppGnssServiceMeasurementStatusChangeCallback()
688 CHPP_ASSERT(false); in chppWifiServiceScanMonitorStatusChangeCallback()721 CHPP_ASSERT(false); in chppWifiServiceScanResponseCallback()
140 CHPP_ASSERT((size_t)(*vlaOffset + out->scannedFreqList.length) <= in chppWifiConvertScanEventFromChre()156 CHPP_ASSERT((size_t)(*vlaOffset + out->results.length) <= payloadSize); in chppWifiConvertScanEventFromChre()184 CHPP_ASSERT((size_t)(*vlaOffset + out->frequencyList.length) <= payloadSize); in chppWifiConvertScanParamsFromChre()200 CHPP_ASSERT((size_t)(*vlaOffset + out->ssidList.length) <= payloadSize); in chppWifiConvertScanParamsFromChre()250 CHPP_ASSERT((size_t)(*vlaOffset + out->results.length) <= payloadSize); in chppWifiConvertRangingEventFromChre()282 CHPP_ASSERT((size_t)(*vlaOffset + out->targetList.length) <= payloadSize); in chppWifiConvertRangingParamsFromChre()313 CHPP_ASSERT((size_t)(*vlaOffset + out->serviceSpecificInfo.length) <= in chppWifiConvertNanSubscribeConfigFromChre()326 CHPP_ASSERT((size_t)(*vlaOffset + out->matchFilter.length) <= payloadSize); in chppWifiConvertNanSubscribeConfigFromChre()349 CHPP_ASSERT((size_t)(*vlaOffset + out->serviceSpecificInfo.length) <= in chppWifiConvertNanDiscoveryEventFromChre()
253 CHPP_ASSERT(false); in chppWwanConvertCellInfoFromChre()270 CHPP_ASSERT((size_t)(*vlaOffset + out->cells.length) <= payloadSize); in chppWwanConvertCellInfoResultFromChre()590 CHPP_ASSERT(false); in chppWwanConvertCellInfoToChre()
95 CHPP_ASSERT((size_t)(*vlaOffset + out->measurements.length) <= payloadSize); in chppGnssConvertDataEventFromChre()