Home
last modified time | relevance | path

Searched refs:fpin (Results 1 – 5 of 5) sorted by relevance

/external/libaom/libaom/examples/
Dresize_util.c50 FILE *fpin, *fpout; in main() local
78 fpin = fopen(fin, "rb"); in main()
79 if (fpin == NULL) { in main()
86 fclose(fpin); in main()
111 if (fread(inbuf, width * height * 3 / 2, 1, fpin) != 1) break; in main()
119 fclose(fpin); in main()
/external/libvpx/libvpx/examples/
Dresize_util.c49 FILE *fpin, *fpout; in main() local
77 fpin = fopen(fin, "rb"); in main()
78 if (fpin == NULL) { in main()
109 if (fread(inbuf, width * height * 3 / 2, 1, fpin) != 1) break; in main()
117 fclose(fpin); in main()
/external/libpng/
Dpngtest.c855 static png_FILE_p fpin; in test_one_file() local
882 if ((fpin = fopen(inname, "rb")) == NULL) in test_one_file()
891 FCLOSE(fpin); in test_one_file()
949 FCLOSE(fpin); in test_one_file()
969 FCLOSE(fpin); in test_one_file()
1015 png_init_io(read_ptr, fpin); in test_one_file()
1020 png_set_read_fn(read_ptr, (png_voidp)fpin, pngtest_read_data); in test_one_file()
1673 FCLOSE(fpin); in test_one_file()
1711 if ((fpin = fopen(inname, "rb")) == NULL) in test_one_file()
1720 FCLOSE(fpin); in test_one_file()
[all …]
/external/python/cpython2/Lib/
Dzipfile.py158 def _EndRecData64(fpin, offset, endrec): argument
163 fpin.seek(offset - sizeEndCentDir64Locator, 2)
169 data = fpin.read(sizeEndCentDir64Locator)
180 fpin.seek(offset - sizeEndCentDir64Locator - sizeEndCentDir64, 2)
181 data = fpin.read(sizeEndCentDir64)
201 def _EndRecData(fpin): argument
208 fpin.seek(0, 2)
209 filesize = fpin.tell()
215 fpin.seek(-sizeEndCentDir, 2)
218 data = fpin.read()
[all …]
/external/python/cpython3/Lib/
Dzipfile.py213 def _EndRecData64(fpin, offset, endrec): argument
218 fpin.seek(offset - sizeEndCentDir64Locator, 2)
224 data = fpin.read(sizeEndCentDir64Locator)
235 fpin.seek(offset - sizeEndCentDir64Locator - sizeEndCentDir64, 2)
236 data = fpin.read(sizeEndCentDir64)
256 def _EndRecData(fpin): argument
263 fpin.seek(0, 2)
264 filesize = fpin.tell()
270 fpin.seek(-sizeEndCentDir, 2)
273 data = fpin.read()
[all …]