Searched refs:zfile (Results 1 – 4 of 4) sorted by relevance
/external/u-boot/cmd/ |
D | zfs.c | 45 struct zfs_file zfile; in do_zfs_load() local 94 memset(&zfile, 0, sizeof(zfile)); in do_zfs_load() 95 zfile.device = &vdev; in do_zfs_load() 96 if (zfs_open(&zfile, filename)) { in do_zfs_load() 101 if ((count < zfile.size) && (count != 0)) in do_zfs_load() 102 zfile.size = (uint64_t)count; in do_zfs_load() 104 if (zfs_read(&zfile, (char *)addr, zfile.size) != zfile.size) { in do_zfs_load() 107 zfs_close(&zfile); in do_zfs_load() 111 zfs_close(&zfile); in do_zfs_load() 116 printf("%llu bytes read\n", zfile.size); in do_zfs_load() [all …]
|
/external/zlib/src/contrib/pascal/ |
D | example.pas | 87 zfile: gzFile; 92 zfile := gzopen(fname, 'wb'); 93 if zfile = NIL then 98 gzputc(zfile, 'h'); 99 if gzputs(zfile, 'ello') <> 4 then 101 WriteLn('gzputs err: ', gzerror(zfile, err)); 105 if gzprintf(zfile, ', %s!', 'hello') <> 8 then 107 WriteLn('gzprintf err: ', gzerror(zfile, err)); 111 if gzputs(zfile, ', hello!') <> 8 then 113 WriteLn('gzputs err: ', gzerror(zfile, err)); [all …]
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/deflate64/ |
D | Deflate64BugsTest.java | 33 … try (ZipFile zfile = new ZipFile(getFile("COMPRESS-380/COMPRESS-380-readbeyondmemory.zip"))) { in readBeyondMemoryException() argument 34 Enumeration<ZipArchiveEntry> entries = zfile.getEntries(); in readBeyondMemoryException() 38 try (InputStream is = zfile.getInputStream(e)) { in readBeyondMemoryException()
|
/external/python/setuptools/pkg_resources/ |
D | __init__.py | 1564 with zipfile.ZipFile(path) as zfile: 1568 zfile.getinfo(name), 1570 for name in zfile.namelist()
|