Home
last modified time | relevance | path

Searched refs:xfread (Results 1 – 19 of 19) sorted by relevance

/dports/graphics/icoutils/icoutils-0.32.3/icotool/
H A Dextract.c63 xfread(void *ptr, size_t size, FILE *stream) in xfread() function
109 if (!xfread(&dir, sizeof(Win32CursorIconFileDir), in)) in extract_icons()
124 if (!xfread(&entries[c], sizeof(Win32CursorIconFileDirEntry), in)) in extract_icons()
152 if (!xfread(&bitmap, sizeof(Win32BitmapInfoHeader), in)) in extract_icons()
164 if (!xfread(image_data, image_size, in)) in extract_icons()
245 if (!xfread(palette, sizeof(Win32RGBQuad) * palette_count, in)) in extract_icons()
273 if (!xfread(image_data, image_size, in)) in extract_icons()
277 if (!xfread(mask_data, mask_size, in)) in extract_icons()
H A Dcreate.c56 xfread(void *ptr, size_t size, FILE *stream) in xfread() function
121 if (!xfread(header, 8, img[c].in)) in create_icon()
169 if (!xfread(img[c].image_data, img[c].image_size, img[c].in)) in create_icon()
/dports/devel/z88dk/z88dk/src/common/
H A Dfileutil.c383 void xfread(void *ptr, size_t size, size_t count, FILE *stream) in xfread() function
394 xfread(utstr_body(str), sizeof(char), size, stream); in xfread_str()
401 xfread(ptr, sizeof(byte_t), count, stream); in xfread_bytes()
419 xfread(&value, sizeof(byte_t), 1, stream); in xfread_byte()
426 xfread(word, sizeof(byte_t), sizeof(word), stream); in xfread_word()
439 xfread(dword, sizeof(byte_t), sizeof(dword), stream); in xfread_dword()
H A Dfileutil.h60 extern void xfread(void *ptr, size_t size, size_t count, FILE *stream);
H A Dobjfile.c364 xfread(utarray_front(section->data), sizeof(byte_t), code_size, fp); in objfile_read_sections()
383 xfread(utarray_front(section->data), sizeof(byte_t), code_size, fp); in objfile_read_sections()
/dports/cad/electric/electric-7.00/src/sim/
H A Dsimspicerun.cpp655 i = xfread((UCHAR1 *)(&num->time), sizeof(double), 1, sim_spice_streamfromsim); in sim_spice_parseoutput()
1479 if (xfread(&val, 1, 1, sim_spice_streamfromsim) != 1) return(TRUE); in sim_spice_readbtr0block()
1483 if (xfread(&val, 1, 1, sim_spice_streamfromsim) != 1) return(TRUE); in sim_spice_readbtr0block()
1489 if (xfread(&uval, 1, 1, sim_spice_streamfromsim) != 1) return(TRUE); in sim_spice_readbtr0block()
1495 if (xfread(&val, 1, 1, sim_spice_streamfromsim) != 1) return(TRUE); in sim_spice_readbtr0block()
1501 if (xfread(&uval, 1, 1, sim_spice_streamfromsim) != 1) return(TRUE); in sim_spice_readbtr0block()
1506 amtread = xfread(sim_spice_btr0buf, 1, bytes, sim_spice_streamfromsim); in sim_spice_readbtr0block()
1513 if (xfread(&uval, 1, 1, sim_spice_streamfromsim) != 1) return(TRUE); in sim_spice_readbtr0block()
1546 i = xfread(&val, 1, 1, sim_spice_streamfromsim); in sim_spice_getfromsimulator()
1574 n = xfread(buf, 1, SP_BUF_SZ, sim_spice_streamfromsim); in sim_spice_getfromsimulator()
[all …]
H A Dsimsilos.c275 count = xfread(buf, 1, 256, f); in sim_writesilcell()
/dports/graphics/xpaint/xpaint-2.9.10.3/rw/
H A DreadWriteICO.c1047 xfread(void *ptr, size_t size, FILE *stream) in xfread() function
1158 if (!xfread(header, 8, img[c].in)) in create_icon()
1494 if (!xfread(&dir, sizeof(Win32CursorIconFileDir), in)) in extract_icons()
1509 if (!xfread(&entries[c], sizeof(Win32CursorIconFileDirEntry), in)) in extract_icons()
1535 if (!xfread(&bitmap, sizeof(Win32BitmapInfoHeader), in)) in extract_icons()
1568 if (!xfread(palette, sizeof(Win32RGBQuad) * palette_count, in)) in extract_icons()
1587 if (!xfread(image_data, image_size, in)) in extract_icons()
1592 if (!xfread(mask_data, mask_size, in)) in extract_icons()
/dports/graphics/xpaint/xpaint-2.9.10.3/util/ico2png/
H A Dico2png.c1157 xfread(void *ptr, size_t size, FILE *stream) in xfread() function
1601 if (!xfread(header, 8, img[c].in)) in create_icon()
1912 if (!xfread(&dir, sizeof(Win32CursorIconFileDir), in)) in extract_icons()
1927 if (!xfread(&entries[c], sizeof(Win32CursorIconFileDirEntry), in)) in extract_icons()
1953 if (!xfread(&bitmap, sizeof(Win32BitmapInfoHeader), in)) in extract_icons()
1986 if (!xfread(palette, sizeof(Win32RGBQuad) * palette_count, in)) in extract_icons()
2005 if (!xfread(image_data, image_size, in)) in extract_icons()
2010 if (!xfread(mask_data, mask_size, in)) in extract_icons()
/dports/devel/z88dk/z88dk/src/common/t/
H A Dt_fileutil.c180 xfread(buffer, 1, 5, fp); in t_fileutil_xfopen()
700 xfread(buffer, sizeof(char), NUM_ELEMS(buffer), fp); // dies in run_fileutil_xfread()
/dports/devel/z88dk/z88dk/src/z80asm/
H A Dmodlink.c174 xfread(obj->data, 1, obj->size, fp); in obj_files_read_data()
/dports/cad/electric/electric-7.00/src/io/
H A Diobinaryo.c1105 total = xfread(buf, 1, FILECOPYBUFSIZE, srcf); in io_copyfile()
H A Diogdsi.c381 (void)xfread(io_gdsstream.buf, 1, BLOCKSIZE, io_gdsstream.fp); in io_gdsIgetrawbyte()
H A Diobinaryi.c3039 ret = xfread((UCHAR1*)data, 1, disksize, io_binindata.filein); in io_getin()
3044 ret = xfread(buf, 1, disksize, io_binindata.filein); in io_getin()
H A Dioedifo.c1523 count = xfread(buf, 1, 256, f); in io_edifwritelibext()
/dports/cad/electric/electric-7.00/src/graph/
H A DgraphmacX.c4296 (void)xfread((CHAR *)&gra_action, 1, sizeof (gra_action), us_logplay); in fileselect()
4299 (void)xfread(&leng, 1, 1, us_logplay); in fileselect()
4301 (void)xfread(gra_localstring, 1, len, us_logplay); in fileselect()
5024 err = xfread((CHAR *)&gra_action, 1, sizeof (gra_action), us_logplay); in gra_waitforaction()
5063 (void)xfread((CHAR *)&gra_action, 1, sizeof (gra_action), us_logplay); in gra_waitforaction()
5068 (void)xfread((CHAR *)&r, 1, sizeof (r), us_logplay); in gra_waitforaction()
H A Dgraphmac.c4425 (void)xfread((UCHAR1 *)&gra_action, 1, sizeof (gra_action), us_logplay); in fileselect()
4428 (void)xfread((UCHAR1 *)&leng, 1, 1, us_logplay); in fileselect()
4430 (void)xfread((UCHAR1 *)gra_localstring, 1, len, us_logplay); in fileselect()
5163 err = xfread((UCHAR1 *)&gra_action, 1, sizeof (gra_action), us_logplay); in gra_waitforaction()
5202 (void)xfread((UCHAR1 *)&gra_action, 1, sizeof (gra_action), us_logplay); in gra_waitforaction()
5207 (void)xfread((UCHAR1 *)&r, 1, sizeof (r), us_logplay); in gra_waitforaction()
/dports/cad/electric/electric-7.00/src/include/
H A Dglobal.h2362 INTBIG xfread(UCHAR1 *str, INTBIG size, INTBIG count, FILE *stream);
/dports/cad/electric/electric-7.00/src/db/
H A Ddbtext.c4315 INTBIG xfread(UCHAR1 *buf, INTBIG size, INTBIG count, FILE *f) in xfread() function