Lines Matching refs:results
127 struct ChppWifiScanResult *results = in chppWifiConvertScanEventFromChre() local
129 out->results.length = in->resultCount * sizeof(struct ChppWifiScanResult); in chppWifiConvertScanEventFromChre()
130 CHPP_ASSERT((size_t)(*vlaOffset + out->results.length) <= payloadSize); in chppWifiConvertScanEventFromChre()
131 if (out->results.length > 0 && in chppWifiConvertScanEventFromChre()
132 *vlaOffset + out->results.length <= payloadSize) { in chppWifiConvertScanEventFromChre()
134 chppWifiConvertScanResultFromChre(&in->results[i], &results[i]); in chppWifiConvertScanEventFromChre()
136 out->results.offset = *vlaOffset; in chppWifiConvertScanEventFromChre()
137 *vlaOffset += out->results.length; in chppWifiConvertScanEventFromChre()
139 out->results.offset = 0; in chppWifiConvertScanEventFromChre()
218 struct ChppWifiRangingResult *results = in chppWifiConvertRangingEventFromChre() local
220 out->results.length = in->resultCount * sizeof(struct ChppWifiRangingResult); in chppWifiConvertRangingEventFromChre()
221 CHPP_ASSERT((size_t)(*vlaOffset + out->results.length) <= payloadSize); in chppWifiConvertRangingEventFromChre()
222 if (out->results.length > 0 && in chppWifiConvertRangingEventFromChre()
223 *vlaOffset + out->results.length <= payloadSize) { in chppWifiConvertRangingEventFromChre()
225 chppWifiConvertRangingResultFromChre(&in->results[i], &results[i]); in chppWifiConvertRangingEventFromChre()
227 out->results.offset = *vlaOffset; in chppWifiConvertRangingEventFromChre()
228 *vlaOffset += out->results.length; in chppWifiConvertRangingEventFromChre()
230 out->results.offset = 0; in chppWifiConvertRangingEventFromChre()
402 if (in->results.length == 0) { in chppWifiConvertScanEventToChre()
403 out->results = NULL; in chppWifiConvertScanEventToChre()
405 if (in->results.offset + in->results.length > inSize || in chppWifiConvertScanEventToChre()
406 in->results.length != in chppWifiConvertScanEventToChre()
413 (const uint8_t *)in)[in->results.offset]; in chppWifiConvertScanEventToChre()
426 out->results = resultsOut; in chppWifiConvertScanEventToChre()
540 if (in->results.length == 0) { in chppWifiConvertRangingEventToChre()
541 out->results = NULL; in chppWifiConvertRangingEventToChre()
543 if (in->results.offset + in->results.length > inSize || in chppWifiConvertRangingEventToChre()
544 in->results.length != in chppWifiConvertRangingEventToChre()
551 (const uint8_t *)in)[in->results.offset]; in chppWifiConvertRangingEventToChre()
564 out->results = resultsOut; in chppWifiConvertRangingEventToChre()