Searched refs:bytes_read (Results 1 - 4 of 4) sorted by relevance
/openwrt/tools/firmware-utils/src/ |
H A D | mksenaofw.c | 107 size_t bytes_read; local 116 bytes_read = fread(&buf, 1, BUF_SIZE, fp_src); 117 MD5_Update(&ctx, &buf, bytes_read); 130 size_t bytes_read; local 189 bytes_read = fread(&buf, 1, BUF_SIZE, fp_input); 191 bytes_read = 0; 196 if (bytes_read < BUF_SIZE && pad_len > 0) { 197 bytes_avail = BUF_SIZE - bytes_read; 198 memset( &buf[bytes_read], 0, bytes_avail); 199 bytes_read 222 size_t bytes_read; local [all...] |
H A D | seama.c | 145 size_t bytes_left, bytes_read, i; local 149 bytes_read = 0; 159 bytes_read += i; 164 return bytes_read;
|
H A D | mktitanimg.c | 545 size_t bytes_read; local 549 while((bytes_read = fread(buf, 1, BUFLEN, fp)) > 0) 553 if(length + bytes_read < length) 556 if(bytes_read != BUFLEN && tagged) 557 bytes_read -= 8; 559 length += bytes_read; 560 while(bytes_read--)
|
/openwrt/target/linux/bcm53xx/files-4.1/drivers/firmware/broadcom/ |
H A D | bcm47xx_nvram.c | 149 size_t bytes_read; local 156 err = mtd_read(mtd, 0, sizeof(header), &bytes_read, (uint8_t *)&header);
|
Completed in 33 milliseconds