Lines Matching refs:cells
266 struct ChppWwanCellInfo *cells = in chppWwanConvertCellInfoResultFromChre() local
268 out->cells.length = in->cellInfoCount * sizeof(struct ChppWwanCellInfo); in chppWwanConvertCellInfoResultFromChre()
269 CHPP_ASSERT((size_t)(*vlaOffset + out->cells.length) <= payloadSize); in chppWwanConvertCellInfoResultFromChre()
270 if (out->cells.length > 0 && *vlaOffset + out->cells.length <= payloadSize) { in chppWwanConvertCellInfoResultFromChre()
272 chppWwanConvertCellInfoFromChre(&in->cells[i], &cells[i]); in chppWwanConvertCellInfoResultFromChre()
274 out->cells.offset = *vlaOffset; in chppWwanConvertCellInfoResultFromChre()
275 *vlaOffset += out->cells.length; in chppWwanConvertCellInfoResultFromChre()
277 out->cells.offset = 0; in chppWwanConvertCellInfoResultFromChre()
604 if (in->cells.length == 0) { in chppWwanConvertCellInfoResultToChre()
605 out->cells = NULL; in chppWwanConvertCellInfoResultToChre()
607 if (in->cells.offset + in->cells.length > inSize || in chppWwanConvertCellInfoResultToChre()
608 in->cells.length != in chppWwanConvertCellInfoResultToChre()
614 (const uint8_t *)in)[in->cells.offset]; in chppWwanConvertCellInfoResultToChre()
627 out->cells = cellsOut; in chppWwanConvertCellInfoResultToChre()