/titanic_41/usr/src/lib/libsqlite/test/ |
H A D | expr.test | 24 execsql {CREATE TABLE test1(i1 int, i2 int, r1 real, r2 real, t1 text, t2 text)} 163 test_expr expr-3.1 {t1='abc', t2='xyz'} {t1<t2} 1 164 test_expr expr-3.2 {t1='xyz', t2='abc'} {t1<t2} 0 165 test_expr expr-3.3 {t1='abc', t2='abc'} {t1<t2} 0 166 test_expr expr-3.4 {t1='abc', t2='xyz'} {t1<=t2} 1 167 test_expr expr-3.5 {t1='xyz', t2='abc'} {t1<=t2} 0 168 test_expr expr-3.6 {t1='abc', t2='abc'} {t1<=t2} 1 169 test_expr expr-3.7 {t1='abc', t2='xyz'} {t1>t2} 0 170 test_expr expr-3.8 {t1='xyz', t2='abc'} {t1>t2} 1 171 test_expr expr-3.9 {t1='abc', t2='abc'} {t1>t2} 0 [all …]
|
H A D | temptable.test | 53 CREATE TEMP TABLE t2(x,y,z); 54 INSERT INTO t2 VALUES(4,5,6); 56 db2 eval {SELECT * FROM t2} 60 catchsql {SELECT * FROM t2} 61 } {1 {no such table: t2}} 63 catchsql {INSERT INTO t2 VALUES(8,9,0);} 64 } {1 {no such table: t2}} 66 db2 eval {INSERT INTO t2 VALUES(8,9,0);} 67 db2 eval {SELECT * FROM t2 ORDER BY x} 70 db2 eval {DELETE FROM t2 WHERE x==8} [all …]
|
H A D | join4_28.test | 32 create temp table t2(x integer, y varchar(10), z varchar(10)); 33 insert into t2 values(2,'niban','ok'); 34 insert into t2 values(4,'yonban','err'); 37 select * from t1 left outer join t2 on t1.a=t2.x where t2.z='ok' 42 select * from t1 left outer join t2 on t1.a=t2.x and t2.z='ok' 47 create index i2 on t2(z); 50 select * from t1 left outer join t2 on t1.a=t2.x where t2.z='ok' 55 select * from t1 left outer join t2 on t1.a=t2.x and t2.z='ok' 60 select * from t1 left outer join t2 on t1.a=t2.x where t2.z>='ok' 65 select * from t1 left outer join t2 on t1.a=t2.x and t2.z>='ok' [all …]
|
H A D | conflict.test | 29 CREATE TABLE t2(x); 41 # t2 Content of "x" column of t2 43 foreach {i conf cmd t0 t1 t2} { 67 DELETE FROM t2; 70 INSERT INTO t2 VALUES(1); 75 set r2 [execsql {SELECT x FROM t2}] 77 } [list $t0 $t1 $t2] 85 DROP TABLE t2; 87 CREATE TABLE t2(x); 99 # t2 Content of "x" column of t2 [all …]
|
H A D | join.test | 34 CREATE TABLE t2(b,c,d); 35 INSERT INTO t2 VALUES(1,2,3); 36 INSERT INTO t2 VALUES(2,3,4); 37 INSERT INTO t2 VALUES(3,4,5); 38 SELECT * FROM t2; 44 SELECT * FROM t1 NATURAL JOIN t2; 46 } {t1.a 1 t1.b 2 t1.c 3 t2.d 4 t1.a 2 t1.b 3 t1.c 4 t2.d 5} 49 SELECT * FROM t2 NATURAL JOIN t1; 51 } {t2.b 2 t2.c 3 t2.d 4 t1.a 1 t2.b 3 t2.c 4 t2.d 5 t1.a 2} 54 SELECT * FROM t1 INNER JOIN t2 USING(b,c); [all …]
|
H A D | rowid.test | 172 CREATE TABLE t2(rowid int, x int, y int); 173 INSERT INTO t2 VALUES(0,2,3); 174 INSERT INTO t2 VALUES(4,5,6); 175 INSERT INTO t2 VALUES(7,8,9); 176 SELECT * FROM t2 ORDER BY x; 180 execsql {SELECT * FROM t2 ORDER BY rowid} 183 execsql {SELECT rowid, x, y FROM t2 ORDER BY rowid} 186 set r1 [execsql {SELECT _rowid_, rowid FROM t2 ORDER BY rowid}] 188 set r2 [execsql {SELECT _rowid_, rowid FROM t2 ORDER BY x DESC}] 193 set r1 [execsql {SELECT _rowid_, rowid FROM t2 ORDER BY rowid}] [all …]
|
H A D | lastinsert.test | 61 create table t2 (k integer primary key, val1, val2, val3); 73 delete from t2; 75 insert into t2 values (NEW.k*2, last_insert_rowid(), NULL, NULL); 76 update t2 set k=k+10, val2=100+last_insert_rowid(); 77 update t2 set val3=1000+last_insert_rowid(); 87 select val1 from t2; 94 select val2 from t2; 101 select val3 from t2; 111 delete from t2; 114 insert into t2 values (NEW.k*2, last_insert_rowid(), NULL, NULL); [all …]
|
H A D | auth.test | 167 catchsql {CREATE TABLE t2(a,b,c)} 174 } {t2} 184 catchsql {DROP TABLE t2} 188 } {t2 {} main {}} 191 } {t2} 200 catchsql {DROP TABLE t2} 204 } {t2 {} main {}} 207 } {t2} 238 if {$code=="SQLITE_INSERT" && $arg1=="t2"} { 243 catchsql {INSERT INTO t2 VALUES(1,2,3)} [all …]
|
H A D | hook.test | 45 CREATE TABLE t2(a,b); 51 INSERT INTO t2 VALUES(1,2); 52 INSERT INTO t2 SELECT a+1, b+1 FROM t2; 53 INSERT INTO t2 SELECT a+2, b+2 FROM t2; 60 set ::commit_cnt [execsql {SELECT * FROM t2}] 64 INSERT INTO t2 VALUES(5,6); 71 set ::commit_cnt [execsql {SELECT * FROM t2}] 75 INSERT INTO t2 VALUES(6,7); 82 execsql {SELECT * FROM t2}
|
H A D | trigger1.test | 215 CREATE TEMP TABLE t2(x,y); 219 INSERT INTO t2 VALUES(NEW.a,NEW.b); 226 SELECT * FROM t2; 228 } {1 {no such table: main.t2}} 238 SELECT * FROM t2; 240 } {1 {no such table: main.t2}} 243 CREATE TEMP TABLE t2(x,y); 245 SELECT * FROM t2; 247 } {1 {no such table: main.t2}} 252 INSERT INTO t2 VALUES(NEW.a,NEW.b); [all …]
|
H A D | attach.test | 40 CREATE TABLE t2(x,y); 41 INSERT INTO t2 VALUES(1,'x'); 42 INSERT INTO t2 VALUES(2,'y'); 43 SELECT * FROM t2; 49 SELECT * FROM two.t2; 54 SELECT * FROM t2; 65 SELECT * FROM t2; 67 } {1 {no such table: t2}} 70 SELECT * FROM two.t2; 72 } {1 {no such table: two.t2}} [all …]
|
/titanic_41/usr/src/lib/libmvec/common/ |
H A D | __vcos.c | 203 double t0, t1, t2, z0, z1, z2; in __vcos() local 212 HI(&t2) = j2; in __vcos() 215 LO(&t2) = 0; in __vcos() 218 x2 -= t2; in __vcos() 224 t2 = z2 * (qq1 + z2 * qq2); in __vcos() 240 t2 = __vlibm_TBL_sincos_lo[j2+1] - (__vlibm_TBL_sincos_hi[j2+xsb2]*w2 - a2*t2); in __vcos() 244 *py2 = a2 + t2; in __vcos() 251 HI(&t2) = j2; in __vcos() 253 LO(&t2) = 0; in __vcos() 255 x2 -= t2; in __vcos() [all …]
|
H A D | __vsin.c | 177 double t0, t1, t2, z0, z1, z2; in __vsin() local 186 HI(&t2) = j2; in __vsin() 189 LO(&t2) = 0; in __vsin() 192 x2 -= t2; in __vsin() 198 t2 = z2 * (qq1 + z2 * qq2); in __vsin() 213 t2 = (__vlibm_TBL_sincos_hi[j2+1] * w2 + a2 * t2) + __vlibm_TBL_sincos_lo[j2+xsb2]; in __vsin() 216 *py2 = a2 + t2; in __vsin() 223 HI(&t2) = j2; in __vsin() 225 LO(&t2) = 0; in __vsin() 227 x2 -= t2; in __vsin() [all …]
|
H A D | __vsincos.c | 233 double t0, t1, t2, t1_0, t1_1, t1_2, t2_0, t2_1, t2_2; in __vsincos() local 244 HI(&t2) = j2; in __vsincos() 247 LO(&t2) = 0; in __vsincos() 251 x2 -= t2; in __vsincos() 259 t2 = z2 * (qq1 + z2 * qq2); in __vsincos() 283 t2_2 = __vlibm_TBL_sincos_lo[j2+1] - (a1_2*w2 - a2_2*t2); in __vsincos() 291 t1_2 = a2_2*w2 + a1_2*t2; in __vsincos() 317 t2 = z2 * (poly3[1] + z2 * poly4[1]); in __vsincos() 320 t2 = z2 * (poly1[1] + z2 * (poly2[1] + t2)); in __vsincos() 337 *pc2 = one + t2; in __vsincos() [all …]
|
H A D | __vsinbig_ultra3.c | 226 double t0, t1, t2, z0, z1, z2; in __vlibm_vsin_big_ultra3() local 235 HI(&t2) = j2; in __vlibm_vsin_big_ultra3() 238 LO(&t2) = 0; in __vlibm_vsin_big_ultra3() 241 x2 = (x2 - t2) + y2; in __vlibm_vsin_big_ultra3() 247 t2 = z2 * (qq1 + z2 * qq2); in __vlibm_vsin_big_ultra3() 268 t2 = (__vlibm_TBL_sincos_hi[j2+((n2+xsb2)&3)] * w2 + a2 * t2) + __vlibm_TBL_sincos_lo[j2+n2]; in __vlibm_vsin_big_ultra3() 271 *py2 = ( a2 + t2 ); in __vlibm_vsin_big_ultra3() 279 HI(&t2) = j2; in __vlibm_vsin_big_ultra3() 281 LO(&t2) = 0; in __vlibm_vsin_big_ultra3() 287 x2 = (x2 - t2) + y2; in __vlibm_vsin_big_ultra3() [all …]
|
H A D | __vcosbig_ultra3.c | 226 double t0, t1, t2, z0, z1, z2; in __vlibm_vcos_big_ultra3() local 235 HI(&t2) = j2; in __vlibm_vcos_big_ultra3() 238 LO(&t2) = 0; in __vlibm_vcos_big_ultra3() 241 x2 = (x2 - t2) + y2; in __vlibm_vcos_big_ultra3() 247 t2 = z2 * (qq1 + z2 * qq2); in __vlibm_vcos_big_ultra3() 268 t2 = (__vlibm_TBL_sincos_hi[j2+((n2+xsb2)&3)] * w2 + a2 * t2) + __vlibm_TBL_sincos_lo[j2+n2]; in __vlibm_vcos_big_ultra3() 271 *py2 = ( a2 + t2 ); in __vlibm_vcos_big_ultra3() 279 HI(&t2) = j2; in __vlibm_vcos_big_ultra3() 281 LO(&t2) = 0; in __vlibm_vcos_big_ultra3() 287 x2 = (x2 - t2) + y2; in __vlibm_vcos_big_ultra3() [all …]
|
/titanic_41/usr/src/lib/libm/common/complex/ |
H A D | cpow.c | 115 double t1, t2, t3, t4, w1, w2, t; in sum4fp() local 116 t1 = ta[0]; t2 = ta[1]; t3 = ta[2]; t4 = ta[3]; in sum4fp() 122 t = t2; t2 = t4; t4 = t; in sum4fp() 125 if (fabs(t4) > fabs(t2)) { in sum4fp() 126 t3 = t4; t4 = t2; t2 = t; in sum4fp() 128 t3 = t2; t2 = t; in sum4fp() 130 } else if (fabs(t3) > fabs(t2)) { in sum4fp() 131 t = t2; t2 = t3; in sum4fp() 132 if (fabs(t4) > fabs(t2)) { in sum4fp() 140 t = t2 + w1; in sum4fp() [all …]
|
H A D | cpowl.c | 70 long double t1, t2, t3, t4, w1, w2, t; in sum4fpl() local 71 t1 = ta[0]; t2 = ta[1]; t3 = ta[2]; t4 = ta[3]; in sum4fpl() 77 t = t2; t2 = t4; t4 = t; in sum4fpl() 80 if (fabsl(t4) > fabsl(t2)) { in sum4fpl() 81 t3 = t4; t4 = t2; t2 = t; in sum4fpl() 83 t3 = t2; t2 = t; in sum4fpl() 85 } else if (fabsl(t3) > fabsl(t2)) { in sum4fpl() 86 t = t2; t2 = t3; in sum4fpl() 87 if (fabsl(t4) > fabsl(t2)) { in sum4fpl() 95 t = t2 + w1; in sum4fpl() [all …]
|
H A D | k_clog_r.c | 250 double t1, t2, t3, t4, tk, z, wh, w, zh, zk; in __k_clog_r() local 279 t2 = y * y; in __k_clog_r() 283 *er = half * ((y - wh) * (y + wh) - (t2 - wh * wh)); in __k_clog_r() 285 return (half * t2); in __k_clog_r() 342 t1 = x * x; t2 = y * y; in __k_clog_r() 346 z = t1+t2; in __k_clog_r() 356 t4 = tk * tk - (two * wh * tk - (wh * wh - t2)); in __k_clog_r() 369 if (t2 >= fabs(t3)) { in __k_clog_r() 374 wh = t2; t2 = t3; t3 = wh; in __k_clog_r() 381 zh = ((tk + t2) + t3) + t4; in __k_clog_r() [all …]
|
/titanic_41/usr/src/lib/libm/common/m9x/ |
H A D | tgammal.c | 627 long double z, t1, t2, t3, z2, t5, w, y, u, r, v; in large_gam() local 666 t2 = y - z; in large_gam() 668 u = r * t2; /* u = (y-z)/(y+z) */ in large_gam() 677 t2 = t4 + u * (two + z2 * t5); in large_gam() 682 t2 = t5 + r * ((two * t2 - v * t1) - v * (y - (t1 - z))); in large_gam() 685 ss_h = CHOPPED((t2 + t3)); in large_gam() 686 ss_l = t2 - (ss_h - t3); in large_gam() 714 t2 = t3 * ln2_32lo; in large_gam() 715 w = t2 - w_l; in large_gam() 757 long double z, t1, t2; in kpsin() local [all …]
|
H A D | tgamma.c | 1211 double z, t1, t2, t3, z2, t5, w, y, u, r, z4, v, t24 = 16777216.0, in large_gam() local 1254 t2 = y - z; in large_gam() 1257 u = r * t2; /* u = (y-z)/(y+z) */ in large_gam() 1263 t2 = t4 + u * ((two + z2 * A1) + (z2 * z2) * (A2 + z2 * A3)); in large_gam() 1268 t2 = t5 + r * ((two * t2 - v * t1) - v * (y - (t1 - z))); in large_gam() 1271 ss_h = (double) ((float) (t2 + t3)); in large_gam() 1272 ss_l = t2 - (ss_h - t3); in large_gam() 1286 t2 = z4 * (GP2 + z4 * (GP4 + z4 * GP6)); in large_gam() 1287 t1 += t2; in large_gam() 1299 t2 = t3 * ln2_32lo; in large_gam() [all …]
|
/titanic_41/usr/src/cmd/acct/lib/ |
H A D | tmless.c | 37 tmless(t1, t2) in tmless() argument 38 register struct tm *t1, *t2; in tmless() 40 if (t1->tm_hour != t2->tm_hour) 41 return(t1->tm_hour < t2->tm_hour); 42 if (t1->tm_min != t2->tm_min) 43 return(t1->tm_min < t2->tm_min); 44 return(t1->tm_sec < t2->tm_sec);
|
/titanic_41/usr/src/lib/librstp/common/ |
H A D | times.c | 28 STP_compare_times (IN TIMEVALUES_T *t1, IN TIMEVALUES_T *t2) in STP_compare_times() argument 30 if (t1->MessageAge < t2->MessageAge) return -1; in STP_compare_times() 31 if (t1->MessageAge > t2->MessageAge) return 1; in STP_compare_times() 33 if (t1->MaxAge < t2->MaxAge) return -2; in STP_compare_times() 34 if (t1->MaxAge > t2->MaxAge) return 2; in STP_compare_times() 36 if (t1->ForwardDelay < t2->ForwardDelay) return -3; in STP_compare_times() 37 if (t1->ForwardDelay > t2->ForwardDelay) return 3; in STP_compare_times() 39 if (t1->HelloTime < t2->HelloTime) return -4; in STP_compare_times() 40 if (t1->HelloTime > t2->HelloTime) return 4; in STP_compare_times()
|
/titanic_41/usr/src/lib/libtnfctl/ |
H A D | dbg.h | 57 #define DBG_TNF_PROBE_2(a, b, c, t1, n1, v1, t2, n2, v2) \ argument 58 TNF_PROBE_2(a, b, c, t1, n1, v1, t2, n2, v2) 59 #define DBG_TNF_PROBE_3(a, b, c, t1, n1, v1, t2, n2, v2, t3, n3, v3) \ argument 60 TNF_PROBE_3(a, b, c, t1, n1, v1, t2, n2, v2, t3, n3, v3) 62 #define DBG_TNF_PROBE_4(a, b, c, t1, n1, v1, t2, n2, v2, t3, n3, v3, t4, n4, v4) \ argument 63 TNF_PROBE_4(a, b, c, t1, n1, v1, t2, n2, v2, t3, n3, v3, t4, n4, v4) 71 #define DBG_TNF_PROBE_2(a, b, c, t1, n1, v1, t2, n2, v2) \ 73 #define DBG_TNF_PROBE_3(a, b, c, t1, n1, v1, t2, n2, v2, t3, n3, v3) \ 76 #define DBG_TNF_PROBE_4(a, b, c, t1, n1, v1, t2, n2, v2, t3, n3, v3, t4, n4, v4) \
|
/titanic_41/usr/src/common/net/wanboot/crypt/ |
H A D | aes.c | 759 uint32_t s0, s1, s2, s3, t0, t1, t2, t3; in aes_encrypt() local 814 ^ Te2[(t2 >> 8) & 0xff] ^ Te3[t3 & 0xff]) in aes_encrypt() 815 #define ssr1 (Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] \ in aes_encrypt() 817 #define ssr2 (Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] \ in aes_encrypt() 820 ^ Te2[(t1 >> 8) & 0xff] ^ Te3[t2 & 0xff]) in aes_encrypt() 825 t2 = tsr2 ^ rk[6]; in aes_encrypt() 835 t2 = tsr2 ^ rk[14]; in aes_encrypt() 845 t2 = tsr2 ^ rk[22]; in aes_encrypt() 855 t2 = tsr2 ^ rk[30]; in aes_encrypt() 865 t2 = tsr2 ^ rk[38]; in aes_encrypt() [all …]
|