Searched refs:fp (Results 176 - 200 of 481) sorted by relevance

1234567891011>>

/haiku-fatelf/src/system/libroot/posix/glibc/libio/
H A Diofopncook.c34 static _IO_ssize_t _IO_cookie_read (register _IO_FILE* fp, void* buf,
36 static _IO_ssize_t _IO_cookie_write (register _IO_FILE* fp,
38 static _IO_off64_t _IO_cookie_seek (_IO_FILE *fp, _IO_off64_t offset, int dir);
39 static int _IO_cookie_close (_IO_FILE* fp);
42 _IO_cookie_read (fp, buf, size)
43 _IO_FILE *fp;
47 struct _IO_cookie_file *cfile = (struct _IO_cookie_file *) fp;
56 _IO_cookie_write (fp, buf, size)
57 _IO_FILE *fp;
61 struct _IO_cookie_file *cfile = (struct _IO_cookie_file *) fp;
[all...]
H A Diopopen.c80 _IO_new_proc_open (fp, command, mode)
81 _IO_FILE *fp;
90 if (_IO_file_is_open (fp))
113 ((_IO_proc_file *) fp)->pid = child_pid = fork();
140 _IO_fileno (fp) = parent_end;
147 ((_IO_proc_file *) fp)->next = proc_file_chain;
148 proc_file_chain = (_IO_proc_file *) fp;
154 _IO_mask_flags (fp, read_or_write, _IO_NO_READS|_IO_NO_WRITES);
155 return fp;
174 _IO_FILE *fp; local
[all...]
H A Diowpadn.c43 _IO_wpadn (fp, pad, count)
44 _IO_FILE *fp;
66 w = _IO_sputn (fp, (char *) padptr, PADSIZE);
74 w = _IO_sputn (fp, (char *) padptr, i);
/haiku-fatelf/src/add-ons/translators/jpeg2000/libjasper/
H A Djpc_t1dec.c390 #define jpc_sigpass_step(fp, frowstep, dp, bitpos, oneplushalf, orient, mqdec, vcausalflag) \
394 f = *(fp); \
402 JPC_UPDATEFLAGS4((fp), (frowstep), v, (vcausalflag)); \
403 *(fp) |= JPC_SIG; \
406 *(fp) |= JPC_VISIT; \
421 jpc_fix_t *fp; local
452 fp = fvscanstart;
457 jpc_sigpass_step(fp, frowstep, dp, bitpos, oneplushalf,
462 fp += frowstep;
466 jpc_sigpass_step(fp, frowste
525 jpc_fix_t *fp; local
623 jpc_fix_t *fp; local
718 jpc_fix_t *fp; local
826 jpc_fix_t *fp; local
[all...]
H A Djpc_t1enc.c457 #define sigpass_step(fp, frowstep, dp, bitpos, one, nmsedec, orient, mqenc, vcausalflag) \
461 f = *(fp); \
471 JPC_UPDATEFLAGS4(fp, frowstep, v, vcausalflag); \
472 *(fp) |= JPC_SIG; \
474 *(fp) |= JPC_VISIT; \
493 jpc_fix_t *fp; local
517 fp = fvscanstart;
521 sigpass_step(fp, frowstep, dp, bitpos, one,
526 fp += frowstep;
528 sigpass_step(fp, frowste
593 jpc_fix_t *fp; local
698 jpc_fix_t *fp; local
791 jpc_fix_t *fp; local
887 jpc_fix_t *fp; local
[all...]
H A Djpc_t1cod.h289 #define JPC_UPDATEFLAGS4(fp, rowstep, s, vcausalflag) \
291 register jpc_fix_t *np = (fp) - (rowstep); \
292 register jpc_fix_t *sp = (fp) + (rowstep); \
298 (fp)[-1] |= JPC_ESIG | JPC_ESGN; \
299 (fp)[1] |= JPC_WSIG | JPC_WSGN; \
302 (fp)[-1] |= JPC_ESIG; \
303 (fp)[1] |= JPC_WSIG; \
313 (fp)[-1] |= JPC_ESIG | JPC_ESGN; \
314 (fp)[1] |= JPC_WSIG | JPC_WSGN; \
318 (fp)[
[all...]
/haiku-fatelf/src/bin/bash/lib/sh/
H A Dclock.c66 print_clock_t (fp, t)
67 FILE *fp;
79 fprintf (fp, "%ldm%d.%03ds", minutes, seconds, seconds_fraction);
/haiku-fatelf/src/bin/findutils/lib/
H A Dprintquoted.c45 print_quoted (FILE *fp, argument
71 fprintf(fp, format, buf); /* Print the quoted version */
81 fprintf(fp, format, s);
/haiku-fatelf/src/libs/ncurses/ncurses/base/
H A Dlib_screen.c140 FILE *fp = 0; local
145 || (fp = fopen(file, "rb")) == 0) {
149 SP->_newscr = newscr = getwin(fp);
150 (void) fclose(fp);
158 FILE *fp = 0; local
163 || (fp = fopen(file, "wb")) == 0) {
166 (void) putwin(newscr, fp);
167 (void) fclose(fp);
175 FILE *fp = 0; local
183 || (fp
[all...]
/haiku-fatelf/src/tools/docbook/libxml2/
H A Dxmlmemory.c571 * @fp: a FILE descriptor used as the output file
578 xmlMemContentShow(FILE *fp, MEMHDR *p) argument
584 fprintf(fp, " NULL");
606 fprintf(fp, " pointer to #%lu at index %d",
613 fprintf(fp," null");
615 if (buf[i] == 0) fprintf(fp," \"%.25s\"", buf);
617 fprintf(fp," [");
619 fprintf(fp,"%c", buf[j]);
620 fprintf(fp,"]");
628 * @fp
635 xmlMemDisplay(FILE *fp) argument
765 xmlMemShow(FILE *fp, int nr ATTRIBUTE_UNUSED) argument
[all...]
/haiku-fatelf/src/bin/gdb/gdb/
H A Darm-linux-nat.c230 FPA11 fp; local
236 ret = ptrace (PT_GETFPREGS, tid, 0, &fp);
245 regcache_raw_supply (current_regcache, ARM_FPS_REGNUM, (char *) &fp.fpsr);
252 switch (fp.fType[fn])
255 fetch_nwfpe_single (fn, &fp);
259 fetch_nwfpe_double (fn, &fp);
263 fetch_nwfpe_extended (fn, &fp);
279 FPA11 fp; local
285 ret = ptrace (PT_GETFPREGS, tid, 0, &fp);
293 regcache_raw_supply (current_regcache, ARM_FPS_REGNUM, (char *) &fp
327 FPA11 fp; local
365 FPA11 fp; local
639 FPA11 *fp = (FPA11 *) fpregsetp; local
666 FPA11 *fp = (FPA11 *) fpregsetp; local
[all...]
/haiku-fatelf/src/bin/bash/lib/intl/
H A Dlocalealias.c99 # define FEOF(fp) feof_unlocked (fp)
100 # define FGETS(buf, n, fp) fgets_unlocked (buf, n, fp)
102 # define FEOF(fp) feof (fp)
103 # define FGETS(buf, n, fp) fgets (buf, n, fp)
224 FILE *fp; local
238 fp
[all...]
/haiku-fatelf/src/bin/coreutils/lib/
H A Dargv-iter.h36 struct argv_iterator *argv_iter_init_stream (FILE *fp)
H A Dfopen.c73 FILE *fp; local
92 fp = fdopen (fd, mode);
93 if (fp == NULL)
99 return fp;
/haiku-fatelf/src/bin/gawk/intl/
H A Dlocalealias.c97 # define FEOF(fp) feof_unlocked (fp)
98 # define FGETS(buf, n, fp) fgets_unlocked (buf, n, fp)
100 # define FEOF(fp) feof (fp)
101 # define FGETS(buf, n, fp) fgets (buf, n, fp)
222 FILE *fp; local
236 fp
[all...]
/haiku-fatelf/src/bin/rmd160/
H A Dmain.c107 byte *rmdfp(char *fname, FILE *fp) { argument
125 while ((bytesread = fread(buf, 1, BUFLEN, fp)) == BUFLEN) {
137 if (ferror(fp)) {
187 FILE *fp; local
189 fp = fopen(fname, binary_mode ? "rb" : "r");
190 if (fp == NULL) {
197 byte *code = rmdfp(fname, fp);
198 fclose(fp);
226 void checkfp(char *fname, FILE *fp) { argument
240 while (fgets(line, BUFLEN, fp)) {
305 FILE *fp; local
[all...]
/haiku-fatelf/src/libs/ncurses/ncurses/tinfo/
H A Dmake_keys.c131 FILE *fp = fopen(argv[n], "r"); local
132 if (fp != 0) {
133 make_keys(fp, stdout);
134 fclose(fp);
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/beserved/FileSharing-Windows/
H A DPrinterSharingDlg.cpp232 void CPrinterSharingDlg::WritePrinters(FILE *fp) argument
237 if (fp)
242 fprintf(fp, "printer ");
243 PrintString(fp, sharedPrinters[i].printerName);
244 fprintf(fp, " is type ");
245 PrintString(fp, sharedPrinters[i].deviceType);
246 fprintf(fp, " device ");
247 PrintString(fp, sharedPrinters[i].deviceName);
248 fprintf(fp, " spooled to ");
249 PrintString(fp, sharedPrinter
[all...]
/haiku-fatelf/src/bin/gdb/libiberty/
H A Dpartition.c147 partition_print (part, fp)
149 FILE *fp;
164 fputc ('[', fp);
182 fputc ('(', fp);
184 fprintf (fp, i == 0 ? "%d" : " %d", class_elements[i]);
185 fputc (')', fp);
187 fputc (']', fp);
/haiku-fatelf/src/kits/network/libbind/irs/
H A Dlcl_ng.c79 FILE *fp; member in struct:pvt
138 if (pvt->fp != NULL)
139 fclose(pvt->fp);
154 if (pvt->fp != NULL && fseek(pvt->fp, SEEK_CUR, 0L) == -1) {
155 fclose(pvt->fp);
156 pvt->fp = NULL;
159 if (pvt->fp == NULL || pvt->grouphead.gr == NULL ||
162 if (pvt->fp != NULL)
163 fclose(pvt->fp);
[all...]
H A Dlcl_nw.c88 FILE * fp; member in struct:pvt
159 if (pvt->fp)
160 (void)fclose(pvt->fp);
206 if (pvt->fp) {
207 if (fseek(pvt->fp, 0L, SEEK_SET) == 0)
209 (void)fclose(pvt->fp);
211 if (!(pvt->fp = fopen(_PATH_NETWORKS, "r")))
213 if (fcntl(fileno(pvt->fp), F_SETFD, 1) < 0) {
214 (void)fclose(pvt->fp);
215 pvt->fp
[all...]
H A Dlcl_gr.c92 FILE * fp; member in struct:pvt
164 if (pvt->fp)
165 (void)fclose(pvt->fp);
178 if (!pvt->fp && !grstart(pvt))
206 if (pvt->fp != NULL) {
207 (void)fclose(pvt->fp);
208 pvt->fp = NULL;
216 if (pvt->fp) {
217 if (fseek(pvt->fp, 0L, SEEK_SET) == 0)
219 (void)fclose(pvt->fp);
[all...]
/haiku-fatelf/src/libs/pdflib/libs/pdflib/
H A Dp_gif.c25 pdf_is_GIF_file(PDF *p, pdc_file *fp) argument
28 (void) fp;
49 static int ReadColorMap(pdc_core *pdc, pdc_file *fp,
85 pdc_file * fp = image->fp; local
86 int n_bytes = pdc_fgetc(fp);
117 i_buff |= pdc_fgetc(fp) << i_bits;
191 pdf_is_GIF_file(PDF *p, pdc_file *fp) argument
197 if (!PDC_OK_FREAD(fp, buf, 3) ||
199 pdc_fseek(fp,
436 ReadColorMap(pdc_core *pdc, pdc_file *fp, int number, pdf_colormap *buffer) argument
501 pdc_file *fp = image->fp; local
[all...]
H A Dp_png.c59 spng_getint(pdc_file *fp) argument
63 if (!PDC_OK_FREAD(fp, buf, 4))
72 pdc_file *fp = image->fp; local
79 if (!PDC_OK_FREAD(fp, buf, 8) ||
85 if (spng_getint(fp) != 13 ||
86 spng_getint(fp) != SPNG_CHUNK_IHDR)
89 spi->width = spng_getint(fp);
90 spi->height = spng_getint(fp);
92 if (!PDC_OK_FREAD(fp, bu
152 pdc_file *fp = (pdc_file *) png_ptr->io_ptr; local
211 pdc_file * fp = image->fp; local
329 pdf_is_PNG_file(PDF *p, pdc_file *fp) argument
667 pdf_is_PNG_file(PDF *p, pdc_file *fp) argument
[all...]
/haiku-fatelf/src/bin/
H A Dhd.c108 FILE *fp = fopen(fname, "rb"); local
109 if (fp) {
110 dump_file(fp);
111 fclose(fp);
120 dump_file(FILE *fp) argument
126 while ((got = fread(data, 1, 16, fp)) == 16) {

Completed in 170 milliseconds

1234567891011>>