| /OK3568_Linux_fs/u-boot/board/samsung/smdkv310/tools/ |
| H A D | mksmdkv310spl.c | 37 int ifd, ofd; in main() local 45 ifd = open(argv[1], O_RDONLY); in main() 46 if (ifd < 0) { in main() 56 if (ifd) in main() 57 close(ifd); in main() 61 len = lseek(ifd, 0, SEEK_END); in main() 62 lseek(ifd, 0, SEEK_SET); in main() 66 if (read(ifd, buffer, count) != count) { in main() 70 if (ifd) in main() 71 close(ifd); in main() [all …]
|
| /OK3568_Linux_fs/u-boot/board/samsung/origen/tools/ |
| H A D | mkorigenspl.c | 39 int ifd, ofd; in main() local 47 ifd = open(argv[1], O_RDONLY); in main() 48 if (ifd < 0) { in main() 58 if (ifd) in main() 59 close(ifd); in main() 63 len = lseek(ifd, 0, SEEK_END); in main() 64 lseek(ifd, 0, SEEK_SET); in main() 71 if (read(ifd, buffer + SPL_HEADER_SIZE, count) != count) { in main() 75 if (ifd) in main() 76 close(ifd); in main() [all …]
|
| /OK3568_Linux_fs/u-boot/tools/ |
| H A D | mkimage.c | 323 int ifd = -1; in main() local 375 ifd = open (params.imagefile, O_RDONLY|O_BINARY); in main() 377 ifd = open (params.imagefile, in main() 381 if (ifd < 0) { in main() 392 if (fstat(ifd, &sbuf) < 0) { in main() 406 ptr = mmap(0, sbuf.st_size, PROT_READ, MAP_SHARED, ifd, 0); in main() 424 (void) close (ifd); in main() 461 if (write(ifd, tparams->hdr, tparams->header_size) in main() 492 if (write(ifd, (char *)&size, sizeof(size)) != sizeof(size)) { in main() 517 copy_file (ifd, file, 1); in main() [all …]
|
| H A D | ubsha1.c | 29 int ifd; in main() local 34 ifd = open (imagefile, O_RDWR|O_BINARY); in main() 35 if (ifd < 0) { in main() 40 if (fstat (ifd, &sbuf) < 0) { in main() 47 PROT_READ, MAP_SHARED, ifd, 0); in main() 71 lseek (ifd, SHA1_SUM_POS, SEEK_END); in main() 72 if (write (ifd, output, SHA1_SUM_LEN) != SHA1_SUM_LEN) { in main() 80 (void) close (ifd); in main()
|
| H A D | dumpimage.c | 61 int ifd = -1; in main() local 132 ifd = open(params.imagefile, O_RDONLY|O_BINARY); in main() 133 if (ifd < 0) { in main() 141 if (fstat(ifd, &sbuf) < 0) { in main() 155 ptr = mmap(0, sbuf.st_size, PROT_READ, MAP_SHARED, ifd, 0); in main() 185 (void)close(ifd); in main() 190 (void)close(ifd); in main()
|
| H A D | mkexynosspl.c | 79 int i, ifd, ofd; in main() local 105 ifd = open(argv[if_index], O_RDONLY); in main() 106 if (ifd < 0) { in main() 119 if (fstat(ifd, &stat)) { in main() 149 if (read(ifd, buffer, read_size) != read_size) { in main() 182 close(ifd); in main()
|
| H A D | rkcommon.c | 363 void rkcommon_set_header(void *buf, struct stat *sbuf, int ifd, in rkcommon_set_header() argument 595 static int pad_file(struct image_tool_params *params, int ifd, int pad) in pad_file() argument 606 if (write(ifd, (char *)&zeros, todo) != todo) { in pad_file() 618 static int copy_file(struct image_tool_params *params, int ifd, in copy_file() argument 654 if (write(ifd, ptr, size) != size) { in copy_file() 662 return pad_file(params, ifd, padded_size - size); in copy_file() 671 int rockchip_copy_image(int ifd, struct image_tool_params *params) in rockchip_copy_image() argument 675 ret = copy_file(params, ifd, spl_params.init_file, in rockchip_copy_image() 681 ret = copy_file(params, ifd, spl_params.boot_file, in rockchip_copy_image() 687 return pad_file(params, ifd, in rockchip_copy_image()
|
| H A D | pblimage.c | 188 void pbl_load_uboot(int ifd, struct image_tool_params *params) in pbl_load_uboot() argument 211 lseek(ifd, 0, SEEK_SET); in pbl_load_uboot() 214 if (write(ifd, (const void *)&mem_buf, size) != size) { in pbl_load_uboot() 256 static void pblimage_set_header(void *ptr, struct stat *sbuf, int ifd, in pblimage_set_header() argument
|
| H A D | rkspi.c | 20 static void rkspi_set_header(void *buf, struct stat *sbuf, int ifd, in rkspi_set_header() argument 28 rkcommon_set_header(buf, sbuf, ifd, params); in rkspi_set_header()
|
| H A D | rknand.c | 27 static void rknand_set_header(void *buf, struct stat *sbuf, int ifd, in rknand_set_header() argument 35 rkcommon_set_header(buf, sbuf, ifd, params); in rknand_set_header()
|
| H A D | imximage.c | 553 int ifd; in copy_plugin_code() local 558 ifd = open(plugin_file, O_RDONLY|O_BINARY); in copy_plugin_code() 559 if (ifd < 0) { in copy_plugin_code() 566 if (fstat(ifd, &sbuf) < 0) { in copy_plugin_code() 573 ptr = mmap(0, sbuf.st_size, PROT_READ, MAP_SHARED, ifd, 0); in copy_plugin_code() 590 (void) close(ifd); in copy_plugin_code() 826 static void imximage_set_header(void *ptr, struct stat *sbuf, int ifd, in imximage_set_header() argument
|
| H A D | rkimage.c | 16 static void rkimage_set_header(void *buf, struct stat *sbuf, int ifd, in rkimage_set_header() argument
|
| H A D | rkcommon.h | 52 void rkcommon_set_header(void *buf, struct stat *sbuf, int ifd,
|
| H A D | gpimage.c | 52 static void gpimage_set_header(void *ptr, struct stat *sbuf, int ifd, in gpimage_set_header() argument
|
| H A D | lpc32xximage.c | 140 static void lpc32xximage_set_header(void *ptr, struct stat *sbuf, int ifd, in lpc32xximage_set_header() argument
|
| H A D | vybridimage.c | 96 static void vybridimage_set_header(void *ptr, struct stat *sbuf, int ifd, in vybridimage_set_header() argument
|
| /OK3568_Linux_fs/buildroot/package/libexif/ |
| H A D | 0001-libexif-exif-gps-ifd.c-fix-build-with-gcc-4.8.patch | 4 Subject: [PATCH] libexif/exif-gps-ifd.c: fix build with gcc 4.8 9 exif-gps-ifd.c: In function 'exif_get_gps_tag_info': 10 exif-gps-ifd.c:62:3: error: 'for' loop initial declarations are only allowed in C99 mode 13 exif-gps-ifd.c:62:3: note: use option -std=c99 or -std=gnu99 to compile your code 21 libexif/exif-gps-ifd.c | 3 ++- 24 diff --git a/libexif/exif-gps-ifd.c b/libexif/exif-gps-ifd.c 26 --- a/libexif/exif-gps-ifd.c 27 +++ b/libexif/exif-gps-ifd.c
|
| /OK3568_Linux_fs/u-boot/tools/gdb/ |
| H A D | gdbsend.c | 27 int c, sfd, ifd; in main() local 80 if ((ifd = open(ifn, O_RDONLY)) < 0) in main() 83 if (fstat(ifd, &ist) < 0) in main() 89 if ((c = read(ifd, image, ist.st_size)) < 0) in main() 95 if (close(ifd) < 0) in main()
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/patch/patch/ |
| H A D | CVE-2019-13636.patch | 30 - int ifd = safe_open (filename, O_RDONLY|binary_transput, 0); 33 + int ifd; 37 + ifd = safe_open (filename, flags, 0); 38 if (ifd < 0) 46 int ifd; 53 - if ((ifd = safe_open (filename, O_RDONLY | binary_transput, 0)) < 0 56 + if ((ifd = safe_open (filename, flags, 0)) < 0 57 || ! (ifp = fdopen (ifd, binary_transput ? "rb" : "r")))
|
| /OK3568_Linux_fs/buildroot/package/patch/ |
| H A D | 0005-Don-t-follow-symlinks-unless--follow-symlinks-is-given.patch | 28 - int ifd = safe_open (filename, O_RDONLY|binary_transput, 0); 31 + int ifd; 35 + ifd = safe_open (filename, flags, 0); 36 if (ifd < 0) 44 int ifd; 51 - if ((ifd = safe_open (filename, O_RDONLY | binary_transput, 0)) < 0 54 + if ((ifd = safe_open (filename, flags, 0)) < 0 55 || ! (ifp = fdopen (ifd, binary_transput ? "rb" : "r")))
|
| /OK3568_Linux_fs/kernel/drivers/usb/class/ |
| H A D | usblp.c | 1265 struct usb_host_interface *ifd; in usblp_select_alts() local 1277 ifd = &if_alt->altsetting[i]; in usblp_select_alts() 1279 if (ifd->desc.bInterfaceClass != USB_CLASS_PRINTER || in usblp_select_alts() 1280 ifd->desc.bInterfaceSubClass != 1) in usblp_select_alts() 1284 if (ifd->desc.bInterfaceProtocol < USBLP_FIRST_PROTOCOL || in usblp_select_alts() 1285 ifd->desc.bInterfaceProtocol > USBLP_LAST_PROTOCOL) in usblp_select_alts() 1289 if (ifd->desc.bInterfaceProtocol > 1) { in usblp_select_alts() 1290 res = usb_find_common_endpoints(ifd, in usblp_select_alts() 1294 res = usb_find_bulk_out_endpoint(ifd, &epwrite); in usblp_select_alts() 1309 usblp->protocol[ifd->desc.bInterfaceProtocol].alt_setting = in usblp_select_alts() [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| H A D | copyfile.c | 45 int copyfile_offset(int ifd, loff_t off_in, int ofd, loff_t off_out, u64 size) in copyfile_offset() argument 53 ptr = mmap(NULL, off_in + size, PROT_READ, MAP_PRIVATE, ifd, pgoff); in copyfile_offset()
|
| H A D | copyfile.h | 14 int copyfile_offset(int ifd, loff_t off_in, int ofd, loff_t off_out, u64 size);
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/openct/ |
| H A D | openct_0.6.20.bb | 47 ${libdir}/openct-ifd.so \ 53 ${libdir}/pcsc/drivers/openct-ifd.bundle/Contents/Linux/.debug \
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-core/ifupdown/files/ |
| H A D | 0001-Define-FNM_EXTMATCH-for-musl.patch | 44 #define iface_is_link() (!_iface_has(ifd->real_iface, ":."))
|