/haiku-fatelf/src/bin/findutils/gnulib/lib/ |
H A D | stdio.in.h | 71 extern int fprintf (FILE *fp, const char *format, ...) 86 extern int vfprintf (FILE *fp, const char *format, va_list args) 246 extern int fseeko (FILE *fp, off_t offset, int whence); 247 # define fseek(fp, offset, whence) fseeko (fp, (off_t)(offset), whence) 258 extern int rpl_fseek (FILE *fp, long offset, int whence); 282 extern off_t ftello (FILE *fp); 283 # define ftell(fp) ftello (fp) 294 extern long rpl_ftell (FILE *fp); [all...] |
/haiku-fatelf/src/bin/fwcontrol/ |
H A D | eui64.c | 231 FILE *fp; local 241 if ((fp = fopen(_PATH_EUI64, "r")) == NULL) 244 while (fgets(buf,BUFSIZ,fp)) { 267 fclose(fp); 272 fclose(fp); 282 FILE *fp; local 291 if ((fp = fopen(_PATH_EUI64, "r")) == NULL) 294 while (fgets(buf,BUFSIZ,fp)) { 315 fclose(fp); 320 fclose(fp); [all...] |
/haiku-fatelf/src/bin/network/atftpd/ |
H A D | tftp_io.c | 344 int tftp_file_read(FILE *fp, char *data_buffer, int data_buffer_size, int block_number, argument 358 fseek(fp, block_number * data_buffer_size, SEEK_SET); 359 data_size = fread(data_buffer, 1, data_buffer_size, fp); 387 fseek(fp, *prev_file_pos, SEEK_SET); 390 *prev_file_pos = ftell(fp); 408 c = fgetc(fp); 430 int tftp_file_write(FILE *fp, char *data_buffer, int data_buffer_size, int block_number, int data_size, argument 440 fseek(fp, (block_number - 1) * data_buffer_size, SEEK_SET); 441 data_size = fwrite(data_buffer, 1, data_size, fp); 469 fseek(fp, [all...] |
H A D | tftp_io.h | 55 int tftp_file_read(FILE *fp, char *buffer, int buffer_size, int block_number, int convert, 57 int tftp_file_write(FILE *fp, char *data_buffer, int data_buffer_size, int block_number,
|
H A D | tftpd_file.c | 116 FILE *fp; local 147 if ((fp = fopen(filename, "w")) == NULL) 174 fclose(fp); 191 fclose(fp); 201 fclose(fp); 212 fclose(fp); 351 if (tftp_file_write(fp, tftphdr->th_data, data->data_buffer_size - 4, block_number, 372 fclose(fp); 375 fclose(fp); 378 fclose(fp); 412 FILE *fp; local [all...] |
H A D | tftpd_mtftp.c | 68 FILE *fp; local 80 if ((fp = fopen(filename, "r")) == NULL) 92 fclose(fp); 129 while (fgets(string, MAXLEN, fp) != NULL) 140 fclose(fp); 185 if ((thread->fp = fopen(thread->file_name, "r")) == NULL) 193 fstat(fileno(thread->fp), &file_stat); 198 fclose(thread->fp); 207 fclose(thread->fp); 221 fclose(thread->fp); [all...] |
/haiku-fatelf/src/libs/pdflib/libs/pdflib/ |
H A D | p_image.h | 126 pdc_file *fp; /* image file pointer */ member in struct:pdf_image_s 206 pdc_bool pdf_is_BMP_file(PDF *p, pdc_file *fp); 214 pdc_bool pdf_is_GIF_file(PDF *p, pdc_file *fp); 218 pdc_bool pdf_is_JPEG_file(PDF *p, pdc_file *fp, pdf_jpeg_info *jpeg); 222 pdc_bool pdf_is_PNG_file(PDF *p, pdc_file *fp); 226 pdc_bool pdf_is_TIFF_file(PDF *p, pdc_file *fp, pdf_tiff_info *tiff,
|
H A D | p_filter.c | 60 pdc_file *fp; local 66 fp = pdf_fopen(p, (const char *) src->private_data, "embedded ", 69 if (fp == NULL) 73 pdc_fseek(fp, src->offset, SEEK_SET); 75 src->private_data = (void *) fp;
|
/haiku-fatelf/src/bin/bc/dc/ |
H A D | misc.c | 82 * fp is the output stream to place the output on 87 dc_show_id DC_DECLARG((fp, id, suffix)) 88 FILE *fp DC_DECLSEP 93 fprintf(fp, "'%c' (%#o)%s", id, id, suffix); 95 fprintf(fp, "%#o%s", id, suffix);
|
/haiku-fatelf/src/bin/network/wget/src/ |
H A D | convert.c | 206 FILE *fp; local 255 fp = fopen (file, "wb"); 256 if (!fp) 285 fwrite (p, 1, url_start - p, fp); 297 p = replace_plain (p, link->size, fp, quoted_newname); 299 p = replace_attr (p, link->size, fp, quoted_newname); 301 p = replace_attr_refresh_hack (p, link->size, fp, quoted_newname, 318 p = replace_plain (p, link->size, fp, quoted_newlink); 320 p = replace_attr (p, link->size, fp, quoted_newlink); 322 p = replace_attr_refresh_hack (p, link->size, fp, quoted_newlin 492 replace_plain(const char *p, int size, FILE *fp, const char *new_text) argument 502 replace_attr(const char *p, int size, FILE *fp, const char *new_text) argument 543 replace_attr_refresh_hack(const char *p, int size, FILE *fp, const char *new_text, int timeout) argument [all...] |
/haiku-fatelf/src/bin/bash/lib/intl/ |
H A D | relocatable.c | 309 FILE *fp; local 312 fp = fopen ("/proc/self/maps", "r"); 313 if (fp) 321 if (fscanf (fp, "%lx-%lx", &start, &end) != 2) 326 while (c = getc (fp), c != EOF && c != '\n' && c != '/') 333 ungetc (c, fp); 335 len = getline (&shared_library_fullname, &size, fp); 345 while (c = getc (fp), c != EOF && c != '\n') 348 fclose (fp);
|
/haiku-fatelf/src/bin/gawk/intl/ |
H A D | relocatable.c | 308 FILE *fp; local 311 fp = fopen ("/proc/self/maps", "r"); 312 if (fp) 320 if (fscanf (fp, "%lx-%lx", &start, &end) != 2) 325 while (c = getc (fp), c != EOF && c != '\n' && c != '/') 332 ungetc (c, fp); 334 len = getline (&shared_library_fullname, &size, fp); 344 while (c = getc (fp), c != EOF && c != '\n') 347 fclose (fp);
|
/haiku-fatelf/src/libs/print/libgutenprint/src/gutenprintui2/ |
H A D | plist.c | 700 stpui_printrc_load_v0(FILE *fp) argument 711 while (fgets(line, sizeof(line), fp) != NULL) 785 stpui_printrc_load_v1(FILE *fp) argument 794 while (fgets(line, sizeof(line), fp) != NULL) 967 stpui_printrc_load_v2(FILE *fp) argument 971 yyin = fp; 1005 FILE *fp; /* Printrc file */ local 1019 if ((fp = fopen(filename, "r")) != NULL) 1022 if (fgets(line, sizeof(line), fp) != NULL) 1042 rewind(fp); 1069 FILE *fp; /* Printrc file */ local [all...] |
/haiku-fatelf/src/bin/network/tcpdump/libpcap/ |
H A D | savefile.c | 731 sf_write_header(FILE *fp, int linktype, int thiszone, int snaplen) argument 744 if (fwrite((char *)&hdr, sizeof(hdr), 1, fp) != 1) 821 FILE *fp; local 826 fp = stdin; 832 SET_BINMODE(fp); 837 fp = fopen(fname, "r"); 839 fp = fopen(fname, "rb"); 841 if (fp == NULL) { 847 p = pcap_fopen_offline(fp, errbuf); 849 if (fp ! 856 pcap_fopen_offline(FILE *fp, char *errbuf) argument 1032 FILE *fp = p->sf.rfile; local [all...] |
/haiku-fatelf/src/libs/print/libgutenprint/src/main/ |
H A D | xml.c | 252 FILE *fp; local 256 fp = fopen(file, "r"); 257 if (!fp) 266 doc = stp_mxmlLoadFile(NULL, fp, STP_MXML_NO_CALLBACK); 267 fclose(fp); 444 stp_prtraw(const stp_raw_t *raw, FILE *fp) argument 454 fputc(data[i], fp); 457 fputc('\\', fp); 458 fputc('0' + ((data[i] & '\300') >> 6), fp); 459 fputc('0' + ((data[i] & '\070') >> 3), fp); [all...] |
H A D | mxml-file.c | 83 FILE *fp, /* I - File to read from */ 87 return (mxml_load_data(top, fp, cb, mxml_file_getc)); 107 FILE *fp = fopen(file, "r"); local 109 if (! fp) 111 doc = stp_mxmlLoadFile(top, fp, cb); 112 fclose(fp); 207 FILE *fp, /* I - File to write to */ 218 if ((col = mxml_write_node(node, fp, cb, 0, mxml_file_putc)) < 0) 222 if (putc('\n', fp) < 0) 238 FILE *fp local 82 stp_mxmlLoadFile(stp_mxml_node_t *top, FILE *fp, stp_mxml_type_t (*cb)(stp_mxml_node_t *)) argument 206 stp_mxmlSaveFile(stp_mxml_node_t *node, FILE *fp, int (*cb)(stp_mxml_node_t *, int)) argument [all...] |
/haiku-fatelf/src/add-ons/accelerants/radeon/ |
H A D | monitor_detection.c | 693 Radeon_FindFPTiming_DetailedMonitorDesc(const edid1_info *edid, fp_info *fp, argument 710 fp->panel_xres = timing->h_active; 711 fp->h_blank = timing->h_blank; 712 fp->h_over_plus = timing->h_sync_off; 713 fp->h_sync_width = timing->h_sync_width; 715 fp->panel_yres = timing->v_active; 716 fp->v_blank = timing->v_blank; 717 fp->v_over_plus = timing->v_sync_off; 718 fp->v_sync_width = timing->v_sync_width; 721 fp 733 Radeon_FindFPTiming_StandardTiming(const edid1_info *edid, fp_info *fp, uint32 *max_hsize, uint32 *max_vsize) argument 814 fp_info *fp = &ai->si->flatpanels[port]; local [all...] |
/haiku-fatelf/src/add-ons/media/plugins/ape_reader/MAClib/ |
H A D | NoWindows.h | 58 #define _FPOSOFF(fp) ((long)(fp).__pos)
|
/haiku-fatelf/src/bin/coreutils/lib/ |
H A D | localcharset.c | 176 FILE *fp; local 178 fp = fdopen (fd, "r"); 179 if (fp == NULL) 199 c = getc (fp); 208 c = getc (fp); 214 ungetc (c, fp); 215 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2) 241 fclose (fp);
|
/haiku-fatelf/src/bin/gawk/ |
H A D | main.c | 47 static void usage P((int exitval, FILE *fp)) ATTRIBUTE_NORETURN; 616 usage(int exitval, FILE *fp) argument 620 fprintf(fp, _("Usage: %s [POSIX or GNU style options] -f progfile [--] file ...\n"), 622 fprintf(fp, _("Usage: %s [POSIX or GNU style options] [--] %cprogram%c file ...\n"), 627 fputs(_("POSIX options:\t\tGNU long options:\n"), fp); 628 fputs(_("\t-f progfile\t\t--file=progfile\n"), fp); 629 fputs(_("\t-F fs\t\t\t--field-separator=fs\n"), fp); 630 fputs(_("\t-v var=val\t\t--assign=var=val\n"), fp); 631 fputs(_("\t-m[fr] val\n"), fp); 632 fputs(_("\t-W compat\t\t--compat\n"), fp); [all...] |
/haiku-fatelf/src/add-ons/accelerants/radeon_hd/ |
H A D | bios.cpp | 196 FILE* fp; local 201 fp = fopen(filename, "wb"); 202 if (fp == NULL) { 207 fwrite(gInfo->rom, info.rom_size, 1, fp); 209 fclose(fp);
|
/haiku-fatelf/src/bin/coreutils/src/ |
H A D | uptime.c | 63 FILE *fp; local 65 fp = fopen ("/proc/uptime", "r"); 66 if (fp != NULL) 69 char *b = fgets (buf, BUFSIZ, fp); 79 fclose (fp);
|
/haiku-fatelf/src/bin/findutils/locate/ |
H A D | code.c | 143 FILE *fp; /* Most common bigrams file. */ local 169 fp = fopen (argv[1], "r"); 170 if (fp == NULL) 187 fgets (bigrams, 257, fp); 189 fclose (fp);
|
/haiku-fatelf/src/kits/network/libbind/irs/ |
H A D | lcl_ho.c | 105 FILE * fp; member in struct:pvt 192 if (pvt->fp) 193 (void) fclose(pvt->fp); 334 if (!pvt->fp) 336 if (!pvt->fp) { 357 if (!(p = fgets(bufp + offset, bufsiz - offset, pvt->fp))) { 363 if (!strchr(p, '\n') && !feof(pvt->fp)) { 378 while ((c = getc(pvt->fp)) != EOF) 382 ungetc(c, pvt->fp); 446 if (pvt->fp) { [all...] |
/haiku-fatelf/src/bin/gdb/opcodes/ |
H A D | i960-dis.c | 27 /* 24 */ "g8", "g9", "g10", "g11", "g12", "g13", "g14", "fp", 466 int fp; 711 fp = 1; 716 fp = 0; 737 regop (m1, s1, src, fp); 740 dstop (m3, dst, fp); 743 regop (m1, s1, src, fp); 745 regop (m2, s2, src2, fp); 748 regop (m1, s1, src, fp); 750 dstop (m3, dst, fp); 465 int fp; local 825 regop(int mode, int spec, int reg, int fp) argument 879 dstop(int mode, int reg, int fp) argument [all...] |