Home
last modified time | relevance | path

Searched refs:f (Results 176 – 200 of 2331) sorted by relevance

12345678910>>...94

/titanic_53/usr/src/cmd/units/
H A Dunits.c86 int pu(int u, int i, int f);
95 double f; in main() local
132 f = u1.factor/u2.factor; in main()
133 if(fperrc || f == 0.0) in main()
135 printf("\t* %e\n", f); in main()
136 printf("\t/ %e\n", 1./f); in main()
156 int f, i; in units() local
160 f = 0; in units()
162 f |= pu(p->dim[i], i, f); in units()
163 if(f&1) { in units()
[all …]
/titanic_53/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dipcp.c372 fsm *f = &ipcp_fsm[unit]; local
376 f->unit = unit;
377 f->protocol = PPP_IPCP;
378 f->callbacks = &ipcp_callbacks;
479 ipcp_resetci(f) in ipcp_resetci() argument
480 fsm *f; in ipcp_resetci()
482 ipcp_options *wo = &ipcp_wantoptions[f->unit];
483 ipcp_options *go = &ipcp_gotoptions[f->unit];
484 ipcp_options *ao = &ipcp_allowoptions[f->unit];
503 ipcp_cilen(f) in ipcp_cilen() argument
[all …]
/titanic_53/usr/src/common/ficl/
H A Dfileaccess.c30 FILE *f; in ficlFileOpen() local
56 f = fopen(filename, mode); in ficlFileOpen()
57 if (f == NULL) in ficlFileOpen()
62 ff->f = f; in ficlFileOpen()
65 fseek(f, 0, SEEK_SET); in ficlFileOpen()
67 pushIor(vm, f != NULL); in ficlFileOpen()
91 FILE *f = ff->f; in ficlFileClose() local
93 return (!fclose(f)); in ficlFileClose()
173 long ud = ftell(ff->f); in ficlPrimitiveFilePosition()
201 currentPosition = ftell(ff->f); in ficlPrimitiveIncludeFile()
[all …]
H A Dextras.c49 FILE *f; in ficlPrimitiveLoad() local
65 f = fopen(FICL_COUNTED_STRING_GET_POINTER(*counted), "r"); in ficlPrimitiveLoad()
66 if (!f) { in ficlPrimitiveLoad()
74 vm->sourceId.p = (void *)f; in ficlPrimitiveLoad()
77 while (fgets(buffer, BUFFER_SIZE, f)) { in ficlPrimitiveLoad()
98 fclose(f); in ficlPrimitiveLoad()
113 fclose(f); in ficlPrimitiveLoad()
129 FILE *f; in ficlPrimitiveSpewHash() local
136 f = fopen(vm->pad, "w"); in ficlPrimitiveSpewHash()
137 if (!f) { in ficlPrimitiveSpewHash()
[all …]
/titanic_53/usr/src/cmd/initpkg/
H A Drc2.sh77 for f in /etc/rc2.d/K*; do
78 if [ ! -s $f ]; then
82 case $f in
83 *.sh) /lib/svc/bin/lsvcrun -s $f \
85 *) /lib/svc/bin/lsvcrun $f stop ;;
92 for f in /etc/rc2.d/S*; do
93 if [ -s $f ]; then
94 case $f in
95 *.sh) /lib/svc/bin/lsvcrun -s $f \
97 *) /lib/svc/bin/lsvcrun $f start ;;
H A Drc3.sh73 for f in /etc/rc3.d/K*; do
74 if [ -s $f ]; then
75 case $f in
76 *.sh) /lib/svc/bin/lsvcrun -s $f stop ;;
77 *) /lib/svc/bin/lsvcrun $f stop ;;
82 for f in /etc/rc3.d/S*; do
83 if [ -s $f ]; then
84 case $f in
85 *.sh) /lib/svc/bin/lsvcrun -s $f start ;;
86 *) /lib/svc/bin/lsvcrun $f start ;;
H A Drc1.sh78 for f in /etc/rc1.d/K*; do
79 if [ ! -s $f ]; then
83 case $f in
84 *.sh) /lib/svc/bin/lsvcrun -s $f stop
86 *) /lib/svc/bin/lsvcrun $f stop ;;
95 for f in /etc/rc1.d/S*; do
96 if [ ! -s $f ]; then
100 case $f in
101 *.sh) /lib/svc/bin/lsvcrun -s $f start
103 *) /lib/svc/bin/lsvcrun $f start ;;
/titanic_53/usr/src/contrib/ast/src/lib/libast/stdio/
H A Dfflush.c31 fflush(Sfio_t* f) in fflush() argument
33 if (!f) in fflush()
36 STDIO_INT(f, "fflush", int, (Sfio_t*), (f)) in fflush()
38 if (f->extent > 0) in fflush()
39 sfseek(f, (Sfoff_t)0, SEEK_CUR|SF_PUBLIC); in fflush()
40 return (sfsync(f) < 0 || sfpurge(f) < 0) ? -1 : 0; in fflush()
H A Dftell.c31 ftell(Sfio_t* f) in ftell() argument
33 STDIO_INT(f, "ftell", long, (Sfio_t*), (f)) in ftell()
35 return (long)sfseek(f, (Sfoff_t)0, SEEK_CUR); in ftell()
41 ftell64(Sfio_t* f) in ftell64() argument
43 STDIO_INT(f, "ftell64", int64_t, (Sfio_t*), (f)) in ftell64()
45 return (int64_t)sfseek(f, (Sfoff_t)0, SEEK_CUR); in ftell64()
H A Dftello.c31 ftello(Sfio_t* f) in ftello() argument
33 STDIO_INT(f, "ftello", off_t, (Sfio_t*), (f)) in ftello()
35 return sfseek(f, (Sfoff_t)0, SEEK_CUR); in ftello()
41 ftello64(Sfio_t* f) in ftello64() argument
43 STDIO_INT(f, "ftello64", int64_t, (Sfio_t*), (f)) in ftello64()
45 return sfseek(f, (Sfoff_t)0, SEEK_CUR) >= 0 ? 0 : -1; in ftello64()
/titanic_53/usr/src/lib/libsqlite/test/
H A Dcopy.test24 set f [open data1.txt w]
25 puts $f "11\t22\t33"
26 puts $f "22\t33\t11"
27 close $f
28 set f [open data2.txt w]
29 puts $f "11\t22\t33"
30 puts $f "\\."
31 puts $f "22\t33\t11"
32 close $f
33 set f [open data3.txt w]
[all …]
/titanic_53/usr/src/cmd/dtrace/test/tst/common/translators/
H A Dtst.TransNonPointer.d57 struct myinput_struct f;
60 f.i = 10;
61 f.c = 'c';
63 realmyi = xlate < struct myoutput_struct > (f).myi;
64 realmyc = xlate < struct myoutput_struct > (f).myc;
68 /(10 != f.i) || ('c' != f.c)/
74 /(10 == f.i) && ('c' == f.c)/
/titanic_53/usr/src/boot/lib/libstand/
H A Dwrite.c75 struct open_file *f = &files[fd]; local
78 if ((unsigned)fd >= SOPEN_MAX || !(f->f_flags & F_WRITE)) {
82 if (f->f_flags & F_RAW) {
84 errno = (f->f_dev->dv_strategy)(f->f_devdata, F_WRITE,
85 btodb(f->f_offset), bcount, dest, &resid);
88 f->f_offset += resid;
92 if ((errno = (f->f_ops->fo_write)(f, dest, bcount, &resid)))
/titanic_53/usr/src/contrib/ast/src/lib/libsum/
H A Dsum-sha2.c461 #define ROUND256_0_TO_15(a,b,c,d,e,f,g,h) \ argument
463 T1 = (h) + Sigma1_256(e) + Ch((e), (f), (g)) + \
472 #define ROUND256_0_TO_15(a,b,c,d,e,f,g,h) \ argument
473 T1 = (h) + Sigma1_256(e) + Ch((e), (f), (g)) + \
481 #define ROUND256(a,b,c,d,e,f,g,h) \ argument
486 T1 = (h) + Sigma1_256(e) + Ch((e), (f), (g)) + K256[j] + \
493 sha2_word32 a, b, c, d, e, f, g, h, s0, s1; in SHA256_Transform() local
505 f = sha->state[5]; in SHA256_Transform()
512 ROUND256_0_TO_15(a,b,c,d,e,f,g,h); in SHA256_Transform()
513 ROUND256_0_TO_15(h,a,b,c,d,e,f,g); in SHA256_Transform()
[all …]
/titanic_53/usr/src/lib/libeti/form/common/
H A Dfield_pad.c39 set_field_pad(FIELD *f, int pad) in set_field_pad() argument
44 f = Field(f); in set_field_pad()
46 if (Pad(f) != pad) { in set_field_pad()
47 Pad(f) = pad; in set_field_pad()
48 return (_sync_attrs(f)); in set_field_pad()
54 field_pad(FIELD *f) in field_pad() argument
56 return (Pad(Field(f))); in field_pad()
H A Dfield_fore.c39 set_field_fore(FIELD *f, chtype fore) in set_field_fore() argument
41 f = Field(f); in set_field_fore()
46 if (Fore(f) != fore) { in set_field_fore()
47 Fore(f) = fore; in set_field_fore()
48 return (_sync_attrs(f)); in set_field_fore()
54 field_fore(FIELD *f) in field_fore() argument
56 return (Fore(Field(f))); in field_fore()
H A Dfield_back.c39 set_field_back(FIELD *f, chtype back) in set_field_back() argument
41 f = Field(f); in set_field_back()
46 if (Back(f) != back) { in set_field_back()
47 Back(f) = back; in set_field_back()
48 return (_sync_attrs(f)); in set_field_back()
54 field_back(FIELD *f) in field_back() argument
56 return (Back(Field(f))); in field_back()
H A Dfield_just.c39 set_field_just(FIELD *f, int just) in set_field_just() argument
45 f = Field(f); in set_field_just()
47 if (Just(f) != just) { in set_field_just()
48 Just(f) = just; in set_field_just()
49 return (_sync_attrs(f)); in set_field_just()
55 field_just(FIELD *f) in field_just() argument
57 return (Just(Field(f))); in field_just()
/titanic_53/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dscr_dump.c56 scr_dump(const char *f) in scr_dump() argument
63 if ((fp = fopen(f, "wF")) != NULL) { in scr_dump()
72 scr_replace(WINDOW *w, const char *f) in scr_replace() argument
78 if ((fp = fopen(f, "rF")) == NULL) in scr_replace()
137 scr_restore(const char *f) in scr_restore() argument
141 code = scr_replace(__m_screen->_newscr, f); in scr_restore()
152 scr_init(const char *f) in scr_init() argument
160 stat(f, &dump) != 0 || name == NULL || stat(name, &tty) != 0) in scr_init()
166 code = scr_replace(__m_screen->_curscr, f); in scr_init()
178 scr_set(const char *f) in scr_set() argument
[all …]
/titanic_53/usr/src/contrib/ast/src/lib/libast/disc/
H A Dsfdcprefix.c47 static ssize_t pfxwrite(Sfio_t* f, const Void_t* buf, register size_t n, Sfdisc_t* dp) in pfxwrite() argument
49 static ssize_t pfxwrite(f, buf, n, dp) in pfxwrite()
50 Sfio_t* f; in pfxwrite()
80 sfwr(f, pfx->prefix, n > 1 ? pfx->length : pfx->empty, dp);
81 w += sfwr(f, s, n, dp);
95 static int pfxexcept(Sfio_t* f, int type, Void_t* data, Sfdisc_t* dp) in pfxexcept() argument
97 static int pfxexcept(f, type, data, dp) in pfxexcept()
98 Sfio_t* f; in pfxexcept()
114 int sfdcprefix(Sfio_t* f, const char* prefix) in sfdcprefix() argument
116 int sfdcprefix(f, prefix) in sfdcprefix()
[all …]
H A Dsfdctee.c40 static ssize_t teewrite(Sfio_t* f, const Void_t* buf, size_t size, Sfdisc_t* disc) in teewrite() argument
42 static ssize_t teewrite(f,buf,size,disc) in teewrite()
43 Sfio_t* f; /* the stream being written to */ in teewrite()
56 return sfwr(f,buf,size,disc);
61 static int teeexcept(Sfio_t* f, int type, Void_t* data, Sfdisc_t* disc) in teeexcept() argument
63 static int teeexcept(f,type,data,disc) in teeexcept()
64 Sfio_t* f; in teeexcept()
77 int sfdctee(Sfio_t* f, Sfio_t* tee) in sfdctee() argument
79 int sfdctee(f, tee) in sfdctee()
80 Sfio_t* f; /* stream to tee from */ in sfdctee()
[all …]
/titanic_53/usr/src/cmd/diff/
H A Ddiffh.c57 static char *getl(int f, long n);
58 static void clrl(int f, long n);
72 getl(int f, long n) in getl() argument
78 delta = n - lineno[f]; in getl()
79 nt = ntext[f]; in getl()
83 return (text[f][delta]); in getl()
88 if (feof(file[f])) in getl()
90 t = text[f][nt]; in getl()
92 t = text[f][nt] = (char *)malloc(LEN+1); in getl()
99 t = fgets(t, LEN, file[f]); in getl()
[all …]
/titanic_53/usr/src/cmd/wall/
H A Dwall.c94 FILE *f; in main() local
182 f = stdin; in main()
184 f = fopen(infile, "r"); in main()
185 if (f == NULL) { in main()
196 if (fgets(ptr, &mesg[sizeof (mesg)] - ptr, f) == NULL) in main()
202 (void) fclose(f); in main()
344 FILE *f; in sendmes() local
408 f = fopen("wall.debug", "a"); in sendmes()
410 f = fdopen(fd, "w"); in sendmes()
412 if (f == NULL) { in sendmes()
[all …]
/titanic_53/usr/src/contrib/ast/src/lib/libast/misc/
H A Dreclen.c34 reclen(Recfmt_t f, const void* b, size_t n) in reclen() argument
41 switch (RECTYPE(f)) in reclen()
44 if (e = (unsigned char*)memchr(s, REC_D_DELIMITER(f), n)) in reclen()
48 return REC_F_SIZE(f); in reclen()
50 h = REC_V_HEADER(f); in reclen()
54 s += REC_V_OFFSET(f); in reclen()
55 e = s + REC_V_LENGTH(f); in reclen()
56 if (REC_V_LITTLE(f)) in reclen()
62 if (!REC_V_INCLUSIVE(f)) in reclen()
/titanic_53/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ether.c1068 struct fddi_header fhdr, *f = &fhdr; in interpret_fddi() local
1102 (void) memcpy(&f->fc, e, sizeof (f->fc)); in interpret_fddi()
1103 addr_copy_swap(&f->dhost, (struct ether_addr *)(e+1)); in interpret_fddi()
1104 addr_copy_swap(&f->shost, (struct ether_addr *)(e+7)); in interpret_fddi()
1106 if ((f->fc&0x50) == 0x50) { in interpret_fddi()
1108 (void) memcpy(&f->dsap, e+13, sizeof (f->dsap)); in interpret_fddi()
1109 (void) memcpy(&f->ssap, e+14, sizeof (f->ssap)); in interpret_fddi()
1110 (void) memcpy(&f->ctl, e+15, sizeof (f->ctl)); in interpret_fddi()
1111 if (f->dsap == 0xaa && f->ssap == 0xaa) { in interpret_fddi()
1113 (void) memcpy(&f->proto_id, e+16, sizeof (f->proto_id)); in interpret_fddi()
[all …]

12345678910>>...94