Searched refs:fp (Results 1 - 25 of 171) sorted by path

1234567

/haiku/src/add-ons/accelerants/radeon/
H A Dmonitor_detection.c693 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/src/add-ons/kernel/bus_managers/firewire/
H A Dfwmem.cpp91 struct fw_pkt *fp; local
98 fp = &xfer->send.hdr;
99 fp->mode.rreqq.tcode = FWTCODE_RREQQ;
100 fp->mode.rreqq.dest_hi = dst_hi;
101 fp->mode.rreqq.dest_lo = dst_lo;
128 struct fw_pkt *fp; local
134 fp = &xfer->send.hdr;
135 fp->mode.wreqq.tcode = FWTCODE_WREQQ;
136 fp->mode.wreqq.dest_hi = dst_hi;
137 fp
165 struct fw_pkt *fp; local
203 struct fw_pkt *fp; local
[all...]
/haiku/src/add-ons/kernel/drivers/bus/firewire/
H A Dfw_raw.c291 struct fw_pkt *fp; local
318 fp = &xfer->recv.hdr;
321 fc->irx_post(fc, fp->mode.ld);
323 tinfo = &xfer->fc->tcode[fp->mode.hdr.tcode];
324 // err = uiomove((void *)fp, tinfo->hdr_len, uio);
327 err = user_memcpy(buf, fp, len);
367 struct fw_pkt *fp; local
415 fp = (struct fw_pkt *)fwdma_v_addr(ir->buf,
418 fc->irx_post(fc, fp->mode.ld);
419 if (fp
546 struct fw_pkt *fp; local
665 struct fw_pkt *fp; local
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi2100/dev/ipw/
H A Dif_ipw.c409 const struct firmware *fp; local
446 fp = sc->sc_firmware;
447 if (fp->datasize < sizeof *hdr) {
449 "firmware image too short %zu\n", fp->datasize);
454 hdr = (const struct ipw_firmware_hdr *)fp->data;
455 if (fp->datasize < sizeof *hdr + le32toh(hdr->mainsz) +
458 "firmware image too short %zu\n", fp->datasize);
2316 const struct firmware *fp; local
2346 fp = sc->sc_firmware;
2347 hdr = (const struct ipw_firmware_hdr *)fp
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi3945/dev/wpi/
H A Dif_wpi.c5019 const struct firmware *fp; local
5030 fp = firmware_get(WPI_FW_NAME);
5033 if (fp == NULL) {
5039 sc->fw_fp = fp;
5041 if (fp->datasize < sizeof (struct wpi_firmware_hdr)) {
5043 "firmware file too short: %zu bytes\n", fp->datasize);
5048 fw->size = fp->datasize;
5049 fw->data = (const uint8_t *)fp->data;
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8335/dev/malo/
H A Dif_malohal.c440 const uint8_t *fp; local
461 fp = (const uint8_t *)fw->data + count;
463 error = malo_hal_send_main(mh, fp, blocksize, seqnum++,
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8363/dev/mwl/
H A Dmwlhal.c947 FIXED_RATE_ENTRY *fp; local
962 fp = pCmd->FixedRateTable;
963 fp->FixedRate =
965 fp->FixRateTypeFlags.FixRateType =
972 fp = pCmd->FixedRateTable;
976 fp->FixRateTypeFlags.FixRateType =
978 fp->FixedRate =
980 fp->FixRateTypeFlags.RetryCountValid =
982 fp->RetryCount =
2537 const uint8_t *fp, *e local
[all...]
/haiku/src/bin/
H A Dcomm.c173 show(FILE *fp, const char *offset, char *buf) argument
178 } while (fgets(buf, MAXLINELEN, fp));
184 FILE *fp; local
188 if ((fp = fopen(name, "r")) == NULL) {
191 return (fp);
/haiku/src/bin/fwcontrol/
H A Deui64.c231 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/src/libs/compat/freebsd_iflib/compat/sys/
H A Dnv.h97 void nvlist_fdump(const nvlist_t *nvl, FILE *fp);
/haiku/src/libs/iconv/
H A Dlocalcharset.c115 FILE *fp; local
141 if (file_name == NULL || (fp = fopen (file_name, "r")) == NULL)
158 c = getc (fp);
167 c = getc (fp);
173 ungetc (c, fp);
174 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2)
200 fclose (fp);
/haiku/src/libs/libtelnet/
H A Dkerberos.c135 FILE *fp; local
139 if ((fp = fopen(KEYFILE, "r")) == NULL)
141 fclose(fp);
H A Drsaencpwd.c150 FILE *fp; local
160 if ((fp=fopen(key_file, "r"))==NULL) return(0);
161 fclose(fp);
199 FILE *fp; local
208 if ((fp=fopen(key_file, "r"))==NULL) {
216 fscanf(fp, "%x;", &len);
218 j = getc(fp); key[i]=j;
220 fclose(fp);
263 if ((fp=fopen(key_file, "r"))==NULL) {
271 fscanf(fp, "
[all...]
/haiku/src/libs/stdc++/legacy/
H A Deditbuf.cc62 inline void disconnect_gap_from_file(edit_buffer* buffer, FILE* fp) argument
64 if (buffer->gap_start_ptr != &fp->__bufp)
66 buffer->gap_start_normal = fp->__bufp;
362 // fp->__offset += fp->__bufp - fp->__buffer;
438 // Called by fseek(fp, pos, whence) if fp is bound to a edit_buffer.
568 // Called by fclose(fp) if fp i
[all...]
H A Dstreambuf.cc138 static int _IO_sb_overflow(_IO_FILE *fp, int c) argument
139 { return ((streambuf*)fp)->overflow(c); }
140 static int _IO_sb_underflow(_IO_FILE *fp) argument
141 { return ((streambuf*)fp)->underflow(); }
142 static _IO_size_t _IO_sb_xsputn(_IO_FILE *fp, const void *s, _IO_size_t n) argument
143 { return ((streambuf*)fp)->xsputn((const char*)s, n); }
144 static _IO_size_t _IO_sb_xsgetn(_IO_FILE *fp, void *s, _IO_size_t n) argument
145 { return ((streambuf*)fp)->xsgetn((char*)s, n); }
146 static int _IO_sb_close(_IO_FILE *fp) argument
147 { return ((streambuf*)fp)
148 _IO_sb_stat(_IO_FILE *fp, void *b) argument
150 _IO_sb_doallocate(_IO_FILE *fp) argument
153 _IO_sb_seekoff(_IO_FILE *fp, _IO_off_t pos, int dir, int mode) argument
158 _IO_sb_seekpos(_IO_FILE *fp, _IO_pos_t pos, int mode) argument
163 _IO_sb_pbackfail(_IO_FILE *fp, int ch) argument
165 _IO_sb_finish(_IO_FILE *fp, int) argument
167 _IO_sb_read(_IO_FILE *fp, void *buf, _IO_ssize_t n) argument
169 _IO_sb_write(_IO_FILE *fp, const void *buf, _IO_ssize_t n) argument
171 _IO_sb_sync(_IO_FILE *fp) argument
173 _IO_sb_seek(_IO_FILE *fp, _IO_off_t off, int dir) argument
175 _IO_sb_setbuf(_IO_FILE *fp, char *buf, _IO_ssize_t n) argument
[all...]
/haiku/src/libs/util/
H A Dfparseln.c79 fparseln(FILE *fp, size_t *size, size_t *lineno, const char str[3], int flags) argument
90 _DIAGASSERT(fp != NULL);
115 if ((ptr = fgetln(fp, &s)) == NULL)
/haiku/src/system/glue/
H A Dcrtbegin.c32 typedef void (*fp)(void); typedef
33 static const fp __CTOR_LIST__[]
34 __attribute__((section(".ctors"), aligned(sizeof(fp)), visibility("hidden"), used)) = { (fp)-1 };
35 extern const fp __CTOR_END__[] __attribute__((visibility("hidden")));
62 static const fp __DTOR_LIST__[]
63 __attribute__((section(".dtors"), aligned(sizeof(fp)), visibility("hidden"), used)) = { (fp)-1 };
64 extern const fp __DTOR_END__[] __attribute__((visibility("hidden")));
H A Dcrtend.c17 typedef void (*fp)(void); typedef
18 const fp __CTOR_END__[]
20 const fp __DTOR_END__[]
/haiku/src/system/kernel/arch/m68k/
H A Darch_exceptions.S97 /* save fp */
110 move.l %sp,%fp /* have stack_trace() find the iframe */
115 /* restore fp */
124 /* restore fp */
H A Dasm_offsets.cpp41 DEFINE_OFFSET_MACRO(IFRAME, iframe, fp);
/haiku/src/system/libroot/os/arch/sparc/
H A Dfpu_emu.h111 #define ISNAN(fp) ((fp)->fp_class < 0)
112 #define ISZERO(fp) ((fp)->fp_class == 0)
113 #define ISINF(fp) ((fp)->fp_class == FPC_INF)
H A Dfpu_explode.c93 __fpu_itof(fp, i)
94 struct fpn *fp;
106 fp->fp_exp = FP_LG;
111 if (fp->fp_sign && (int)i < 0)
112 fp->fp_mant[0] = -i;
114 fp->fp_mant[0] = i;
115 fp->fp_mant[1] = 0;
116 fp->fp_mant[2] = 0;
117 fp->fp_mant[3] = 0;
118 __fpu_norm(fp);
[all...]
H A Dfpu_implode.c79 * 2 bits (a la fpu_shr(), but we do not bother with fp->fp_sticky).
82 * Note that we may leave the value 2.0 in fp->fp_mant; it is the caller's
86 fpround(struct fpemu *fe, struct fpn *fp) argument
91 m0 = fp->fp_mant[0];
92 m1 = fp->fp_mant[1];
93 m2 = fp->fp_mant[2];
94 m3 = fp->fp_mant[3];
96 s = fp->fp_sticky;
120 if ((gr & 1) || fp->fp_sticky || (m3 & 1))
130 if (fp
[all...]
H A Dfpu_subr.c64 __fpu_shr(struct fpn *fp, int rsh) argument
70 if (rsh <= 0 || (fp->fp_class != FPC_NUM && !ISNAN(fp)))
74 m0 = fp->fp_mant[0];
75 m1 = fp->fp_mant[1];
76 m2 = fp->fp_mant[2];
77 m3 = fp->fp_mant[3];
85 fp->fp_mant[0] = 0;
86 fp->fp_mant[1] = 0;
87 fp
138 __fpu_norm(struct fpn *fp) argument
208 struct fpn *fp; local
[all...]
/haiku/src/system/libroot/posix/glibc/include/arch/m68k/
H A Dsysdep.h64 move.l %fp, -(%sp); move.l %sp, %fp; \
66 move.l (%sp)+, %fp;

Completed in 172 milliseconds

1234567