Home
last modified time | relevance | path

Searched refs:f (Results 126 – 150 of 2331) sorted by relevance

12345678910>>...94

/titanic_53/usr/src/contrib/ast/src/lib/libast/sfio/
H A D_sfputu.c30 int _sfputu(Sfio_t* f, Sfulong_t v) in _sfputu() argument
32 int _sfputu(f,v) in _sfputu()
33 Sfio_t* f; /* write a portable ulong to this stream */ in _sfputu()
41 SFMTXDECL(f);
43 SFMTXENTER(f, -1);
45 if(f->mode != SF_WRITE && _sfmode(f,SF_WRITE,0) < 0)
46 SFMTXRETURN(f, -1);
47 SFLOCK(f,0);
56 if(n > 8 || SFWPEEK(f,ps,p) < n)
57 n = SFWRITE(f,(Void_t*)s,n); /* write the hard way */
[all …]
H A D_sfputm.c30 int _sfputm(Sfio_t* f, Sfulong_t v, Sfulong_t m) in _sfputm() argument
32 int _sfputm(f,v,m) in _sfputm()
33 Sfio_t* f; /* write a portable ulong to this stream */ in _sfputm()
42 SFMTXDECL(f);
44 SFMTXENTER(f, -1);
46 if(v > m || (f->mode != SF_WRITE && _sfmode(f,SF_WRITE,0) < 0) )
47 SFMTXRETURN(f, -1);
48 SFLOCK(f,0);
59 if(n > 8 || SFWPEEK(f,ps,p) < n)
60 n = SFWRITE(f,(Void_t*)s,n); /* write the hard way */
[all …]
H A Dsfvprintf.c96 int sfvprintf(Sfio_t* f, const char* form, va_list args) in sfvprintf() argument
98 int sfvprintf(f,form,args) in sfvprintf()
99 Sfio_t* f; /* file to print to */ in sfvprintf()
143 #define SMputc(f,c) { if((o = SFFLSBUF(f,c)) >= 0 ) n_output += 1; \ argument
144 else { SFBUF(f); goto done; } \
146 #define SMnputc(f,c,n) { if((o = SFNPUTC(f,c,n)) > 0 ) n_output += 1; \ argument
147 if(o != n) { SFBUF(f); goto done; } \
149 #define SMwrite(f,s,n) { if((o = SFWRITE(f,(Void_t*)s,n)) > 0 ) n_output += o; \ argument
150 if(o != n) { SFBUF(f); goto done; } \
153 #define SFBUF(f) argument
[all …]
H A D_sfputl.c30 int _sfputl(Sfio_t* f, Sflong_t v) in _sfputl() argument
32 int _sfputl(f,v) in _sfputl()
33 Sfio_t* f; /* write a portable long to this stream */ in _sfputl()
41 SFMTXDECL(f);
43 SFMTXENTER(f,-1);
44 if(f->mode != SF_WRITE && _sfmode(f,SF_WRITE,0) < 0)
45 SFMTXRETURN(f, -1);
46 SFLOCK(f,0);
63 if(n > 8 || SFWPEEK(f,ps,p) < n)
64 n = SFWRITE(f,(Void_t*)s,n); /* write the hard way */
[all …]
/titanic_53/usr/src/boot/sys/boot/userboot/userboot/
H A Dhost.c48 host_open(const char *upath, struct open_file *f) in host_open() argument
51 if (f->f_dev != &host_dev) in host_open()
54 return (CALLBACK(open, upath, &f->f_fsdata)); in host_open()
58 host_close(struct open_file *f) in host_close() argument
61 CALLBACK(close, f->f_fsdata); in host_close()
62 f->f_fsdata = (void *)0; in host_close()
71 host_read(struct open_file *f, void *start, size_t size, size_t *resid) in host_read() argument
74 return (CALLBACK(read, f->f_fsdata, start, size, resid)); in host_read()
81 host_write(struct open_file *f, void *start, size_t size, size_t *resid) in host_write() argument
88 host_seek(struct open_file *f, off_t offset, int where) in host_seek() argument
[all …]
/titanic_53/usr/src/cmd/make/bin/
H A Dsvr4.make.rules.file25 .SUFFIXES: .o .c .c~ .y .y~ .l .l~ .s .s~ .sh .sh~ .h .h~ .f .f~ \
55 -rm -f $*.c
56 .f:
58 .f~:
60 $(F77) $(FFLAGS) $*.f -o $@ $(LDFLAGS)
61 -rm -f $*.f
67 -rm -f $*.s
73 -rm -f $*.sh
79 -rm -f $*.C
84 -rm -f $*.o
[all …]
/titanic_53/usr/src/lib/libc/port/fp/
H A Ddouble_decim.c456 pf->bexponent = x->f.msw.exponent - DOUBLE_BIAS - 52; in __double_to_bigfloat()
458 pf->bsignificand[0] = x->f.significand2 & 0xffff; in __double_to_bigfloat()
459 pf->bsignificand[1] = x->f.significand2 >> 16; in __double_to_bigfloat()
460 pf->bsignificand[2] = x->f.msw.significand & 0xffff; in __double_to_bigfloat()
461 pf->bsignificand[3] = x->f.msw.significand >> 16; in __double_to_bigfloat()
462 if (x->f.msw.exponent == 0) { in __double_to_bigfloat()
482 pf->bexponent = x->f.msw.exponent - EXTENDED_BIAS - 63; in __extended_to_bigfloat()
484 pf->bsignificand[0] = x->f.significand2 & 0xffff; in __extended_to_bigfloat()
485 pf->bsignificand[1] = x->f.significand2 >> 16; in __extended_to_bigfloat()
486 pf->bsignificand[2] = x->f.significand & 0xffff; in __extended_to_bigfloat()
[all …]
/titanic_53/usr/src/lib/libbc/libc/gen/common/
H A Ddecimal_bin.c418 kluge.f.msw.sign = pd->sign ? 1 : 0;
421 kluge.f.msw.exponent = 0;
422 kluge.f.msw.significand = 0;
425 kluge.f.msw.exponent = 0xff;
426 kluge.f.msw.significand = 0;
429 kluge.f.msw.exponent = 0xff;
430 kluge.f.msw.significand = 0x7fffff;
433 kluge.f.msw.exponent = 0xff;
434 kluge.f.msw.significand = 0x3fffff;
483 kluge.f.msw.sign = pd->sign ? 1 : 0;
[all …]
/titanic_53/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rlogind.c142 static int removemod(int f, char *modname);
356 getstr(int f, char *buf, int cnt, char *err) in getstr() argument
360 if (read(f, &c, 1) != 1 || (--cnt < 0)) { in getstr()
369 recvauth(int f, in recvauth() argument
391 if ((status = krb5_auth_con_genaddrs(krb_context, auth_context, f, in recvauth()
421 &f, in recvauth()
432 getstr(f, rusername, sizeof (rusername), "remuser"); in recvauth()
433 getstr(f, lusername, sizeof (lusername), "locuser"); in recvauth()
434 getstr(f, term, sizeof (term), "Terminal type"); in recvauth()
439 getstr(f, lusername, sizeof (lusername), "locuser"); in recvauth()
[all …]
/titanic_53/usr/src/cmd/asa/
H A Dasa.c45 static void disp_file(FILE *f, char *filename);
59 FILE *f; in main() local
82 f = stdin; in main()
84 f = get_next_file(need_a_newline, filename, argv, argc); in main()
91 c = getc(f); in main()
94 disp_file(f, filename); in main()
99 f = get_next_file(need_a_newline, filename, argv, argc); in main()
144 c = getc(f); in main()
149 disp_file(f, filename); in main()
154 f = get_next_file(need_a_newline, filename, in main()
[all …]
/titanic_53/usr/src/contrib/ast/src/lib/libast/astsa/
H A Dast.h115 #define strton(s,t,b,f) strtol(s,t,0) argument
116 #define strtonll(s,t,b,f) strtoll(s,t,0) argument
124 #define sfclose(f) fclose(f) argument
125 #define sffileno(f) fileno(f) argument
126 #define sfgetc(f) fgetc(f) argument
127 #define sfopen(f,n,m) fopen(n,m) argument
128 #define sfputc(f,c) fputc(c,f) argument
129 #define sfread(f,b,n) fread(b,n,1,f) argument
130 #define sfseek(f,p,w) fseek(f,p,w) argument
131 #define sfset(f,v,n) argument
[all …]
/titanic_53/usr/src/common/crypto/sha2/
H A Dsha2.c107 #define SHA256ROUND(a, b, c, d, e, f, g, h, i, w) \ argument
108 T1 = h + BIGSIGMA1_256(e) + Ch(e, f, g) + SHA256_CONST(i) + w; \
118 #define SHA512ROUND(a, b, c, d, e, f, g, h, i, w) \ argument
119 T1 = h + BIGSIGMA1(e) + Ch(e, f, g) + SHA512_CONST(i) + w; \
164 uint32_t f = ctx->state.s32[5]; in SHA256Transform() local
206 SHA256ROUND(a, b, c, d, e, f, g, h, 0, w0); in SHA256Transform()
209 SHA256ROUND(h, a, b, c, d, e, f, g, 1, w1); in SHA256Transform()
212 SHA256ROUND(g, h, a, b, c, d, e, f, 2, w2); in SHA256Transform()
215 SHA256ROUND(f, g, h, a, b, c, d, e, 3, w3); in SHA256Transform()
218 SHA256ROUND(e, f, g, h, a, b, c, d, 4, w4); in SHA256Transform()
[all …]
/titanic_53/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp.c185 static fn_t f = "sbdp_get_bd_and_wnode_num"; in sbdp_get_bd_and_wnode_num() local
188 SBDP_DBG_FUNC("%s\n", f); in sbdp_get_bd_and_wnode_num()
212 static fn_t f = "sbdp_get_board_num"; in sbdp_get_board_num() local
214 SBDP_DBG_FUNC("%s\n", f); in sbdp_get_board_num()
257 static fn_t f = "sbdp_get_unit_num"; in sbdp_get_unit_num() local
259 SBDP_DBG_FUNC("%s\n", f); in sbdp_get_unit_num()
270 SBDP_DBG_MISC("%s: couldn't get device_type\n", f); in sbdp_get_unit_num()
305 SBDP_DBG_MISC("%s: couldn't get portid\n", f); in sbdp_get_unit_num()
311 SBDP_DBG_MISC("%s: couldn't get length\n", f); in sbdp_get_unit_num()
316 SBDP_DBG_MISC("%s: couldn't get registers\n", f); in sbdp_get_unit_num()
[all …]
/titanic_53/usr/src/boot/lib/libstand/
H A Dcd9660.c63 static int buf_read_file(struct open_file *f, char **buf_p,
65 static int cd9660_open(const char *path, struct open_file *f);
66 static int cd9660_close(struct open_file *f);
67 static int cd9660_read(struct open_file *f, void *buf, size_t size,
69 static int cd9660_write(struct open_file *f, void *buf, size_t size,
71 static off_t cd9660_seek(struct open_file *f, off_t offset, int where);
72 static int cd9660_stat(struct open_file *f, struct stat *sb);
73 static int cd9660_readdir(struct open_file *f, struct dirent *d);
74 static int dirmatch(struct open_file *f, const char *path,
76 static int rrip_check(struct open_file *f, struct iso_directory_record *dp,
[all …]
H A Dbzipfs.c64 static int bzf_open(const char *path, struct open_file *f);
65 static int bzf_close(struct open_file *f);
66 static int bzf_read(struct open_file *f, void *buf, size_t size, size_t *resid);
67 static off_t bzf_seek(struct open_file *f, off_t offset, int where);
68 static int bzf_stat(struct open_file *f, struct stat *sb);
149 bzf_open(const char *fname, struct open_file *f) in bzf_open() argument
159 if (f->f_flags != F_READ) in bzf_open()
213 f->f_fsdata = bzf; in bzf_open()
218 bzf_close(struct open_file *f) in bzf_close() argument
220 struct bz_file *bzf = (struct bz_file *)f->f_fsdata; in bzf_close()
[all …]
/titanic_53/usr/src/test/libc-tests/tests/stdio/
H A Dmemstream_reopen.c43 check_reopen(FILE *f, const char *variant) in check_reopen() argument
45 FILE *new = freopen(NULL, "r", f); in check_reopen()
62 FILE *f; in main() local
67 f = fmemopen(NULL, 16, "a+"); in main()
68 if (f == NULL) { in main()
71 check_reopen(f, "fmemopen()"); in main()
73 f = open_memstream(&c, &sz); in main()
74 if (f == NULL) { in main()
77 check_reopen(f, "open_memstream()"); in main()
80 f = open_wmemstream(&wc, &sz); in main()
[all …]
/titanic_53/usr/src/cmd/eeprom/sparc/
H A Dloadlogo.c46 FILE *f; in loadlogo() local
52 if (!(f = fopen(name, "r"))) in loadlogo()
59 if ((c = fscanf(f, "%*[^DFHVW*]")) == EOF) in loadlogo()
62 switch (c = getc(f)) { in loadlogo()
64 if ((c = fscanf(f, "epth=%d", &nval)) == 1 && in loadlogo()
69 if ((c = fscanf(f, "ormat_version=%d", &nval)) == 1 && in loadlogo()
74 c = fscanf(f, "eight=%d", &ich); in loadlogo()
77 c = fscanf(f, "alid_bits_per_item=%d", &bits); in loadlogo()
80 c = fscanf(f, "idth=%d", &icw); in loadlogo()
83 c = fscanf(f, "%c", &slash); in loadlogo()
[all …]
/titanic_53/usr/src/contrib/ast/src/cmd/ksh93/tests/
H A Dheredoc.sh34 f=$tmp/here1
36 cat > $f <<!
39 if [[ $(<$f) != 'hello world' ]]
45 cmp $f $g 2> /dev/null || err_exit "'hello world' quoted here doc not working"
49 cmp $f $g 2> /dev/null || err_exit "'hello world' tabbed here doc not working"
53 cmp $f $g 2> /dev/null || err_exit "'hello world' quoted tabbed here doc not working"
58 cmp $f $g 2> /dev/null || err_exit "'$x world' here doc not working"
62 cmp $f $g 2> /dev/null || err_exit "'$(print hello) world' here doc not working"
63 cat > $f <<\!!
66 if [[ $(<$f) != '!@#$%%^^&*()_+~"::~;'\''`<>?/.,{}[]' ]]
[all …]
/titanic_53/usr/src/lib/print/libpapi-dynamic/common/
H A Dprinter.c43 void (*f)(); in papiPrinterFree() local
45 f = (void (*)())psm_sym(tmp->svc, "papiPrinterFree"); in papiPrinterFree()
46 if (f != NULL) in papiPrinterFree()
47 f(tmp->printer); in papiPrinterFree()
75 papi_status_t (*f)(); in printers_from_service() local
84 f = (papi_status_t (*)())psm_sym(svc, "papiPrintersList"); in printers_from_service()
85 if (f != NULL) in printers_from_service()
86 result = f(svc->svc_handle, requested_attrs, filter, in printers_from_service()
217 papi_status_t (*f)(); in papiPrintersList() local
239 papi_status_t (*f)(); in papiPrinterQuery() local
[all …]
/titanic_53/usr/src/lib/fm/topo/modules/i86pc/x86pi/
H A Dx86pi_bay.c69 char *f = "bay_bdf"; in bay_bdf() local
74 topo_mod_dprintf(mod, "%s: failed to load SMBIOS\n", f); in bay_bdf()
96 f, devt); in bay_bdf()
99 topo_mod_dprintf(mod, "%s: %s: bus(0x%02x) dev/func(0x%02x)\n", f, in bay_bdf()
117 char *f = "bay_pgoups"; in bay_pgroups() local
126 f, topo_strerror(err)); in bay_pgroups()
138 topo_mod_dprintf(mod, "%s: ap_path(%s)\n", f, ap_path); in bay_pgroups()
145 f, topo_strerror(err)); in bay_pgroups()
159 f, topo_strerror(err)); in bay_pgroups()
166 topo_mod_dprintf(mod, "%s: no occupant path\n", f); in bay_pgroups()
[all …]
/titanic_53/usr/src/cmd/picl/plugins/sun4u/seattle/frudata/
H A Dlibpiclfrudata.conf35 name:/platform/i2c@1f,530000/pdb-fru-prom@0,32
38 name:/platform/i2c@1f,530000/motherboard-fru-prom@0,a2
41 name:/platform/i2c@1f,530000/dimm-spd?UnitAddress=0,e0
44 name:/platform/i2c@1f,530000/dimm-spd?UnitAddress=0,e2
47 name:/platform/i2c@1f,530000/dimm-spd?UnitAddress=0,e4
50 name:/platform/i2c@1f,530000/dimm-spd?UnitAddress=0,e6
53 name:/platform/i2c@1f,530000/dimm-spd?UnitAddress=0,e8
56 name:/platform/i2c@1f,530000/dimm-spd?UnitAddress=0,ea
59 name:/platform/i2c@1f,530000/dimm-spd?UnitAddress=0,ec
62 name:/platform/i2c@1f,530000/dimm-spd?UnitAddress=0,ee
[all …]
/titanic_53/usr/src/cmd/troff/
H A Dn4.c65 int f; in setn() local
67 f = nform = 0; in setn()
69 f = 1; in setn()
71 f = -1; in setn()
75 f = 0; in setn()
184 i = numtab[j].val = (numtab[j].val+numtab[j].inc*f); in setn()
315 fnumb(i, f)
316 int i, (*f)(); variable
322 j = (*f)('-' | nrbits);
329 return decml(i, f) + j;
[all …]
/titanic_53/usr/src/uts/common/io/usb/
H A Dusbdevs2h.awk106 i = 3; f = 4;
110 if (f <= NF) {
115 while (f <= NF) {
116 if ($f == "#") {
120 f++
125 printf("%s", $f) > hfile
126 if (f < NF && hfile)
128 f++
131 vendors[nvendors, i] = $f
134 if (f < NF && hfile)
[all …]
/titanic_53/usr/src/lib/libmvec/common/vis/
H A D__vatan.S40 ! double f, z, ans, ansu, ansl, tmp, poly, conup, conlo, dummy;
43 ! long *pf = (long *) &f, *pz = (long *) &z;
62 ! f = *x; /* fetch argument */
75 ! dummy = 1.0e37 + f;
82 ! f = __vlibm_TBL_atan1[index] + __vlibm_TBL_atan1[index+1];/* pi/2 up + pi/2 low */
83 ! f = parray[soffset + sign] * f; /* put sign bit on ans */
84 ! return (f);
90 ! { f = -1.0/f;
98 ! f = (f - z)/(1.0 + f*z); /* get reduced argument */
104 ! tmp = f*f;
[all …]
/titanic_53/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dipv6cp.c358 fsm *f = &ipv6cp_fsm[unit]; local
362 f->unit = unit;
363 f->protocol = PPP_IPV6CP;
364 f->callbacks = &ipv6cp_callbacks;
455 ipv6cp_resetci(f) in ipv6cp_resetci() argument
456 fsm *f; in ipv6cp_resetci()
458 ipv6cp_options *wo = &ipv6cp_wantoptions[f->unit];
459 ipv6cp_options *go = &ipv6cp_gotoptions[f->unit];
461 wo->req_ifaceid = wo->neg_ifaceid && ipv6cp_allowoptions[f->unit].neg_ifaceid;
476 ipv6cp_cilen(f) in ipv6cp_cilen() argument
[all …]

12345678910>>...94