Lines Matching refs:results
152 struct ChppWifiScanResult *results = in chppWifiConvertScanEventFromChre() local
154 out->results.length = in chppWifiConvertScanEventFromChre()
156 CHPP_ASSERT((size_t)(*vlaOffset + out->results.length) <= payloadSize); in chppWifiConvertScanEventFromChre()
157 if (out->results.length > 0 && in chppWifiConvertScanEventFromChre()
158 *vlaOffset + out->results.length <= payloadSize) { in chppWifiConvertScanEventFromChre()
160 chppWifiConvertScanResultFromChre(&in->results[i], &results[i]); in chppWifiConvertScanEventFromChre()
162 out->results.offset = *vlaOffset; in chppWifiConvertScanEventFromChre()
163 *vlaOffset += out->results.length; in chppWifiConvertScanEventFromChre()
165 out->results.offset = 0; in chppWifiConvertScanEventFromChre()
246 struct ChppWifiRangingResult *results = in chppWifiConvertRangingEventFromChre() local
248 out->results.length = in chppWifiConvertRangingEventFromChre()
250 CHPP_ASSERT((size_t)(*vlaOffset + out->results.length) <= payloadSize); in chppWifiConvertRangingEventFromChre()
251 if (out->results.length > 0 && in chppWifiConvertRangingEventFromChre()
252 *vlaOffset + out->results.length <= payloadSize) { in chppWifiConvertRangingEventFromChre()
254 chppWifiConvertRangingResultFromChre(&in->results[i], &results[i]); in chppWifiConvertRangingEventFromChre()
256 out->results.offset = *vlaOffset; in chppWifiConvertRangingEventFromChre()
257 *vlaOffset += out->results.length; in chppWifiConvertRangingEventFromChre()
259 out->results.offset = 0; in chppWifiConvertRangingEventFromChre()
607 if (in->results.length == 0) { in chppWifiConvertScanEventToChre()
608 out->results = NULL; in chppWifiConvertScanEventToChre()
610 if (in->results.offset + in->results.length > inSize || in chppWifiConvertScanEventToChre()
611 in->results.length != in chppWifiConvertScanEventToChre()
618 (const uint8_t *)in)[in->results.offset]; in chppWifiConvertScanEventToChre()
631 out->results = resultsOut; in chppWifiConvertScanEventToChre()
745 if (in->results.length == 0) { in chppWifiConvertRangingEventToChre()
746 out->results = NULL; in chppWifiConvertRangingEventToChre()
748 if (in->results.offset + in->results.length > inSize || in chppWifiConvertRangingEventToChre()
749 in->results.length != in chppWifiConvertRangingEventToChre()
756 (const uint8_t *)in)[in->results.offset]; in chppWifiConvertRangingEventToChre()
769 out->results = resultsOut; in chppWifiConvertRangingEventToChre()