Home
last modified time | relevance | path

Searched refs:f2 (Results 1 – 25 of 160) sorted by relevance

1234567

/titanic_41/usr/src/lib/libast/common/sfio/
H A Dsfstack.c30 #define STKMTXLOCK(f1,f2) \ argument
32 if(f2) SFMTXLOCK(f2); \
34 #define STKMTXRETURN(f1,f2,rv) \ argument
36 if(f2) SFMTXUNLOCK(f2); \
41 Sfio_t* sfstack(Sfio_t* f1, Sfio_t* f2) in sfstack() argument
43 Sfio_t* sfstack(f1,f2) in sfstack()
45 Sfio_t* f2; /* top of stack */
53 STKMTXLOCK(f1,f2);
56 STKMTXRETURN(f1,f2, NIL(Sfio_t*));
57 if(f2 && (f2->mode&SF_RDWR) != f2->mode && _sfmode(f2,0,0) < 0)
[all …]
H A Dsfswap.c33 Sfio_t* sfswap(reg Sfio_t* f1, reg Sfio_t* f2) in sfswap() argument
35 Sfio_t* sfswap(f1,f2) in sfswap()
37 reg Sfio_t* f2;
45 if(f2 && SFFROZEN(f2) && (f2->mode&SF_PUSH) )
47 if(f1 == f2)
48 return f2;
54 if(f2)
55 { f2mode = f2->mode;
56 SFLOCK(f2,0);
57 f2->mode |= SF_PUSH; /* make sure there is no recursion on f2 */
[all …]
/titanic_41/usr/src/lib/libsqlite/test/
H A Dupdate.test25 set v [catch {execsql {UPDATE test1 SET f2=5 WHERE f1<1}} msg]
40 execsql {CREATE TABLE test1(f1 int,f2 int)}
51 set v [catch {execsql {UPDATE test1 SET f1=f3*2 WHERE f2==32}} msg]
55 set v [catch {execsql {UPDATE test1 SET f1=test2.f1*2 WHERE f2==32}} msg]
59 set v [catch {execsql {UPDATE test1 SET f3=f1*2 WHERE f2==32}} msg]
66 execsql {UPDATE test1 SET f2=f2*3}
73 execsql {UPDATE test1 SET f2=f2/3 WHERE f1<=5}
79 execsql {UPDATE test1 SET f2=f2/3 WHERE f1>5}
85 # Swap the values of f1 and f2 for all elements
88 execsql {UPDATE test1 SET F2=f1, F1=f2}
[all …]
H A Dselect1.test29 execsql {CREATE TABLE test1(f1 int, f2 int)}
40 execsql {INSERT INTO test1(f1,f2) VALUES(11,22)}
49 execsql {SELECT f2 FROM test1}
52 execsql {SELECT f2, f1 FROM test1}
55 execsql {SELECT f1, f2 FROM test1}
64 execsql {SELECT *, min(f1,f2), max(f1,f2) FROM test1}
95 execsql {SELECT max(test1.f1,test2.r1), min(test1.f2,test2.r2)
99 execsql {SELECT min(test1.f1,test2.r1), max(test1.f2,test2.r2)
123 set v [catch {execsql {SELECT count(f1,f2) FROM test1}} msg]
160 set v [catch {execsql {SELECT MIN(f1,f2) FROM test1}} msg]
[all …]
H A Dselect2.test24 execsql {CREATE TABLE tbl1(f1 int, f2 int)}
42 set sql2 "SELECT f2 FROM tbl1 WHERE f1=$f1 ORDER BY f2"
44 lappend r $d2(f2)
56 set sql2 "SELECT f2 FROM tbl1 WHERE f1=$f1 ORDER BY f2"
58 lappend r $d2(f2)
67 execsql {CREATE TABLE tbl2(f1 int, f2 int, f3 int)}
82 execsql {SELECT count(*) FROM tbl2 WHERE f2>1000}
86 execsql {SELECT f1 FROM tbl2 WHERE 1000=f2}
90 execsql {CREATE INDEX idx1 ON tbl2(f2)}
94 execsql {SELECT f1 FROM tbl2 WHERE 1000=f2}
[all …]
/titanic_41/usr/src/cmd/bnu/
H A Dcpmv.c44 xcp(f1, f2) in xcp() argument
45 char *f1, *f2; in xcp()
55 if (DIRECTORY(f2)) {
56 (void) strcat(f2, "/");
57 (void) strcat(f2, BASENAME(f1, '/'));
59 DEBUG(4, "file name is %s\n", f2);
61 (void) strcpy(temp, f2);
73 temp_p = f2;
96 if (temp_p != f2) {
97 if (rename(temp_p, f2) != 0) {
[all …]
/titanic_41/usr/src/lib/libmvec/common/
H A D__vatan.c52 double f2, ans2, ansu2, ansl2, tmp2, poly2, conup2, conlo2; in __vatan() local
133 f2 = 0.0; in __vatan()
175 f2 = 0.0; in __vatan()
203 f2 = 0.0; /* put dummy value in arg 2 */ in __vatan()
214 f2 = fabs(*x); /* fetch argument */ in __vatan()
224 ans = f2 - f2; /* return NaN if x=NaN*/ in __vatan()
228 dummy = 1.0e37 + f2; in __vatan()
230 ans = f2; in __vatan()
243 f2 = 0.0; /* put dummy value in arg 2 */ in __vatan()
252 { f2 = -1.0/f2; in __vatan()
[all …]
H A D__vatanf.c42 float f0, f1, f2; in __vatanf() local
204 f2 = *x; in __vatanf()
208 f2 = -f2; in __vatanf()
216 ansf = f2 - f2; /* return NaN if x=NaN*/ in __vatanf()
220 dummy = 1.0e37 + f2; in __vatanf()
222 ansf = f2; in __vatanf()
242 f2 = -pone/f2; in __vatanf()
249 f2 = (f2 - z)/(pone + f2*z); in __vatanf()
362 poly2 = p1*f2*f2*f2 + f2; in __vatanf()
380 poly2 = p1*f2*f2*f2 + f2; in __vatanf()
/titanic_41/usr/src/lib/libm/common/m9x/
H A Dfenv_inlines.h216 sse_cmpeqss(float *f1, float *f2, int *i1) in sse_cmpeqss() argument
222 : "x" (*f2) in sse_cmpeqss()
227 sse_cmpltss(float *f1, float *f2, int *i1) in sse_cmpltss() argument
233 : "x" (*f2) in sse_cmpltss()
238 sse_cmpless(float *f1, float *f2, int *i1) in sse_cmpless() argument
244 : "x" (*f2) in sse_cmpless()
249 sse_cmpunordss(float *f1, float *f2, int *i1) in sse_cmpunordss() argument
255 : "x" (*f2) in sse_cmpunordss()
260 sse_minss(float *f1, float *f2, float *f3) in sse_minss() argument
266 : "x" (*f2)); in sse_minss()
[all …]
/titanic_41/usr/src/common/bignum/sun4u/
H A Dmont_mulf_v8plus.s214 /* 0x0090 79 */ ldd [%g2+8],%f2
218 /* 0x00a0 79 */ fdtox %f2,%f0
272 /* 0x0168 79 */ ldd [%g2+24],%f2
277 /* 0x017c 79 */ fdtox %f2,%f0
382 /* 0x0090 */ fmovs %f8,%f2
385 /* 0x009c */ fsubd %f2,%f8,%f12
401 /* 0x00d8 */ fmovs %f8,%f2
407 /* 0x00f0 */ fsubd %f2,%f8,%f2
408 /* 0x00f4 */ std %f2,[%g5-16]
495 /* 0x007c */ fmovs %f0,%f2
[all …]
H A Dmont_mulf_v9.s183 /* 0x007c */ fdtox %f8,%f2
185 /* 0x0084 */ fmovs %f4,%f2
188 /* 0x0090 */ fxtod %f2,%f2
192 /* 0x00a0 67 */ faddd %f2,%f12,%f0
237 /* 0x0010 85 */ ldd [%i1+8],%f2
246 /* 0x0028 85 */ fdtox %f2,%f0
281 /* 0x0084 */ ldd [%i1+24],%f2
288 /* 0x00a0 90 */ fdtox %f2,%f0
290 /* 0x00a8 */ ldd [%i1+%g4],%f2
297 /* 0x00c4 90 */ fdtox %f2,%f2
[all …]
/titanic_41/usr/src/lib/libcmd/common/
H A Dcmp.c99 cmp(const char* file1, Sfio_t* f1, const char* file2, Sfio_t* f2, int flags) in cmp() argument
118 if ((e2 - p2) > 0 || sfreserve(f2, SF_UNBOUND, 0) && sfvalue(f2) > 0) in cmp()
130 if (!(p2 = (unsigned char*)sfreserve(f2, SF_UNBOUND, 0)) || (c2 = sfvalue(f2)) <= 0) in cmp()
186 Sfio_t* f2 = 0; in b_cmp() local
233 f2 = sfstdin; in b_cmp()
234 else if (!(f2 = sfopen(NiL, file2, "r"))) in b_cmp()
270 if (o2 && sfseek(f2, o2, SEEK_SET) != o2) in b_cmp()
279 else if (fstat(sffileno(f2), &s2)) in b_cmp()
284 …SREG(s2.st_mode) && (s1.st_size - o1) != (s2.st_size - o2)) ? 1 : cmp(file1, f1, file2, f2, flags); in b_cmp()
287 if (f2 && f2 != sfstdin) sfclose(f2); in b_cmp()
/titanic_41/usr/src/lib/libmvec/common/vis/
H A D__vatan2f.S291 lda [%o4]0x82,%f2 ! (0_0) fx0 = *(float*)((char*)px - addrc0);
306 fstod %f2,%f2 ! (0_0) x0 = (double)fx0;
314 fdivd %f40,%f2,%f12 ! (0_0) x0 = y0 / x0;
345 lda [%o4]0x82,%f2 ! (1_0) fx0 = *(float*)((char*)px - addrc0);
360 fstod %f2,%f2 ! (1_0) x0 = (double)fx0;
368 fdivd %f40,%f2,%f10 ! (1_0) x0 = y0 / x0;
402 lda [%o4]0x82,%f2 ! (2_0) fx0 = *(float*)((char*)px - addrc0);
416 fstod %f2,%f2 ! (2_0) x0 = (double)fx0;
426 fdivd %f40,%f2,%f8 ! (2_0) x0 = y0 / x0;
476 faddd %f16,K5,%f2 ! (0_0) dtmp0 += K5;
[all …]
H A D__vsin.S153 ! f2
313 fand %f8,%f44,%f2
324 fsubd %f0,%f2,%f0
334 fmuld %f0,%f0,%f2
343 fmuld %f2,%f58,%f6
353 fmuld %f2,%f62,%f4
364 fmuld %f2,%f6,%f6
374 fmuld %f2,%f4,%f4
383 ldd [%l4+%l0],%f2
413 faddd %f6,%f2,%f6
[all …]
H A D__vexpf.S326 ld [%o5],%f2 ! (1) X = px[0]
365 fstod %f2,%f42 ! (1) y = (double) X
401 fdtoi %f42,%f2 ! (1) k = (int) y
402 st %f2,[%fp+tmp1]
432 fitod %f2,%f18 ! (1) dtmp = (double) k
433 fpackfix %f2,%f2 ! (1) ((float*)&drez)[0] = vis_fpackfix(drez)
541 fpadd32 %f2,%f18,%f18 ! (1) drez = vis_fpadd32(drez,dtmp)
578 lda [%o5]%asi,%f2 ! (9) X = px[0]
650 ld [%i1],%f2
659 fstod %f2,%f40
[all …]
/titanic_41/usr/src/common/crypto/sha1/sparc/sun4u/
H A Dsha1_asm.s67 fzero %f2 ;\
68 faddd %f0, %f2, %f4 ;\
69 fmuld %f0, %f2, %f6 ;\
70 faddd %f0, %f2, %f8 ;\
71 fmuld %f0, %f2, %f10 ;\
72 faddd %f0, %f2, %f12 ;\
73 fmuld %f0, %f2, %f14 ;\
74 faddd %f0, %f2, %f16 ;\
75 fmuld %f0, %f2, %f18 ;\
76 faddd %f0, %f2, %f20 ;\
[all …]
/titanic_41/usr/src/lib/libc/sparc/fp/
H A D__quad.s57 ldd [%o0+8],%f2
68 ldd [%o0+8],%f2
79 ldd [%o0+8],%f2
90 ldd [%o0+8],%f2
101 ldd [%o0+8],%f2
110 ldd [%o0+8],%f2
120 ldd [%o0+8],%f2
146 ldd [%o0+8],%f2
154 ldd [%o0+8],%f2
162 ldd [%o0+8],%f2
[all …]
H A D__quad.il47 ldd [%o0+8],%f2
57 ldd [%o0+8],%f2
67 ldd [%o0+8],%f2
77 ldd [%o0+8],%f2
87 ldd [%o0+8],%f2
95 ldd [%o0+8],%f2
106 ldd [%o0+8],%f2
131 ldd [%o0+8],%f2
138 ldd [%o0+8],%f2
145 ldd [%o0+8],%f2
[all …]
/titanic_41/usr/src/lib/libm/sparc/src/
H A Dlocallibm.il69 fsmuld %f3,%f3,%f2
70 faddd %f2,%f0,%f0
116 fsmuld %f3,%f3,%f2
117 faddd %f2,%f0,%f0
132 ld [%o1],%f2 ! f2 = a->real
135 fsmuld %f2,%f1,%f6 ! f6 = a->real * b->imag
136 fsmuld %f2,%f3,%f8 ! f8 = a->real * b->real
139 faddd %f6,%f10,%f2 ! f2 = ai*br + ar*bi
141 fdtos %f2,%f6
179 fsmuld %f19,%f6,%f2 ! f2/3 gets rea*reb
[all …]
/titanic_41/usr/src/lib/libbc/libc/gen/common/
H A Dexportent.c125 FILE *f2; in remexportent() local
147 f2 = fdopen(fd, "r+"); in remexportent()
148 if (f2 == NULL) { in remexportent()
157 if (fputs(buf, f2) <= 0) { in remexportent()
158 (void)fclose(f2); in remexportent()
168 (void)fclose(f2); in remexportent()
171 rewind(f2); in remexportent()
172 while (fgets(buf, sizeof(buf), f2)) { in remexportent()
174 (void)fclose(f2); in remexportent()
178 (void)fclose(f2); in remexportent()
/titanic_41/usr/src/cmd/mail/
H A Dcopymt.c43 void copymt(f1, f2) in copymt() argument
44 register FILE *f1, *f2; in copymt()
85 if (fwrite(line,1,(int)clen,f2) != clen) {
86 fclose(f1); fclose(f2);
111 if (fwrite(line,1,n,f2) != n) {
112 fclose(f1); fclose(f2);
172 fclose(f2);
182 if (fwrite(line,1,n,f2) != n) {
184 fclose(f2);
/titanic_41/usr/src/lib/libm/sparcv9/src/
H A Dlocallibm.il54 ldd [%sp+0x87f],%f2
56 fsubd %f2,%f2,%f6
57 fcmpd %fcc0,%f4,%f2
73 fnegd %f2,%f2
75 faddd %f0,%f2,%f4
76 fsubd %f4,%f2,%f4
82 ldd [%sp+0x87f],%f2
83 faddd %f4,%f2,%f4
96 ldd [%sp+0x87f],%f2
98 fsubd %f2,%f2,%f6
[all …]
/titanic_41/usr/src/cmd/diff3/
H A Ddiff3.sh62 f1=$1 f2=$2 f3=$3
68 if [ -c $f2 ]
70 /usr/bin/cat $f2 > $tmpdir/d3d$$
71 f2=$tmpdir/d3d$$
104 /usr/bin/diff $f2 $f3 > $tmpdir/d3b$$ 2> $tmpdir/d3b$$.err
129 /usr/lib/diff3prog $e $tmpdir/d3[ab]$$ $f1 $f2 $f3
/titanic_41/usr/src/lib/libshell/common/tests/
H A Dvariables.sh347 f2=$1
348 case $f2 in
349 '-') f2='' ;;
358 $f1$d1|$d1$f2) continue ;;
362 case $f2$d2 in
363 '') split "$d0$f1$d1$f2$d2" "[1]($f1)" "($f1)()" ;;
365 *) split "$d0$f1$d1$f2$d2" "[2]($f1)($f2)" "($f1)($f2)" ;;
384 $f1$d1|$d1$f2) continue ;;
388 case $f2$d2 in
392 $f2$d2|$d2$f3) continue ;;
[all …]
/titanic_41/usr/src/cmd/dtrace/test/tst/common/translators/
H A Dtst.CircularTransDecl.d62 struct output_struct f2;
69 f2.myi = 100;
70 f2.myc = 'd';
75 backwardi = xlate < struct input_struct > (f2).i;
76 backwardc = xlate < struct input_struct > (f2).c;

1234567