Searched refs:fsize (Results 1 – 3 of 3) sorted by relevance
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/ |
D | ml_stored_data.c | 48 size_t fsize; in inv_read_cal() local 58 fsize = ftell (fp); in inv_read_cal() 61 *calData = (unsigned char *)inv_malloc(fsize); in inv_read_cal() 64 "aborting\n", fsize); in inv_read_cal() 69 *bytesRead = fread(*calData, 1, fsize, fp); in inv_read_cal() 70 if (*bytesRead != fsize) { in inv_read_cal() 72 *bytesRead, fsize); in inv_read_cal()
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
D | ml_stored_data.c | 48 size_t fsize; in inv_read_cal() local 58 fsize = ftell (fp); in inv_read_cal() 61 *calData = (unsigned char *)inv_malloc(fsize); in inv_read_cal() 64 "aborting\n", fsize); in inv_read_cal() 69 *bytesRead = fread(*calData, 1, fsize, fp); in inv_read_cal() 70 if (*bytesRead != fsize) { in inv_read_cal() 72 *bytesRead, fsize); in inv_read_cal()
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
D | dhdu.c | 1551 dhd_load_file_bytes(void *dhd, cmd_t *cmd, FILE *fp, int fsize, int start, uint blk_sz, bool verify) in dhd_load_file_bytes() argument 1563 if (!fsize || !fp) in dhd_load_file_bytes() 1568 while (tot_len < fsize) { in dhd_load_file_bytes() 1569 read_len = fsize - tot_len; in dhd_load_file_bytes() 1710 int fsize; in dhd_download() 1791 if ((fsize = file_size(fname)) < 0) { in dhd_download() 1836 fsize = (int)(trx_hdr.offsets[0]); in dhd_download() 1871 fsize = (int)(trx_hdr.offsets[0] + sizeof(struct trx_header)); in dhd_download() 1878 if ((ret = dhd_load_file_bytes(dhd, cmd, fp, fsize, start, memblock_sz, verify))) { in dhd_download() 1961 int fsize; in dhd_dldn() [all …]
|