Home
last modified time | relevance | path

Searched refs:CAST (Results 1 – 25 of 54) sorted by relevance

123

/external/chromium_org/third_party/sqlite/src/test/
Dcast.test12 # focus of this file is testing the CAST operator.
19 # Only run these tests if the build includes the CAST operator
25 # Tests for the CAST( AS blob), CAST( AS text) and CAST( AS numeric) built-ins
35 execsql {SELECT CAST(x'616263' AS text)}
38 execsql {SELECT typeof(CAST(x'616263' AS text))}
41 execsql {SELECT CAST(x'616263' AS numeric)}
44 execsql {SELECT typeof(CAST(x'616263' AS numeric))}
47 execsql {SELECT CAST(x'616263' AS blob)}
50 execsql {SELECT typeof(CAST(x'616263' AS blob))}
53 execsql {SELECT CAST(x'616263' AS integer)}
[all …]
De_expr.test727 49 "CAST ( EXPR AS integer )"
728 50 "CAST ( EXPR AS 'abcd' )"
729 51 "CAST ( EXPR AS 'ab$ $cd' )"
1404 # Test statements related to CAST expressions.
1406 # EVIDENCE-OF: R-65079-31758 Application of a CAST expression is
1407 # different to application of a column affinity, as with a CAST
1418 typeof(CAST(X'555655' as TEXT)), CAST(X'555655' as TEXT),
1419 typeof(CAST('1.23abc' as REAL)), CAST('1.23abc' as REAL),
1420 typeof(CAST(4.5 as INTEGER)), CAST(4.5 as INTEGER)
1424 # the result of the CAST expression is also NULL.
[all …]
Dboundary3.test308 SELECT t1.a FROM t1 JOIN t2 ON t1.rowid > CAST(t2.r AS real)
315 SELECT t1.a FROM t1 JOIN t2 ON t1.rowid > CAST(t2.r AS real)
355 SELECT t1.a FROM t1 JOIN t2 ON t1.rowid >= CAST(t2.r AS real)
362 SELECT t1.a FROM t1 JOIN t2 ON t1.rowid >= CAST(t2.r AS real)
402 SELECT t1.a FROM t1 JOIN t2 ON t1.rowid < CAST(t2.r AS real)
409 SELECT t1.a FROM t1 JOIN t2 ON t1.rowid < CAST(t2.r AS real)
449 SELECT t1.a FROM t1 JOIN t2 ON t1.rowid <= CAST(t2.r AS real)
456 SELECT t1.a FROM t1 JOIN t2 ON t1.rowid <= CAST(t2.r AS real)
511 SELECT t1.a FROM t1 JOIN t2 ON t1.rowid > CAST(t2.r AS real)
518 SELECT t1.a FROM t1 JOIN t2 ON t1.rowid > CAST(t2.r AS real)
[all …]
Dbadutf2.test71 set sql "SELECT '$hstr'=CAST(x'$uval' AS text) AS x;"
76 set sql "SELECT CAST('$hstr' AS blob)=x'$uval' AS x;"
82 set sql "SELECT hex(CAST(x'$uval' AS text)) AS x;"
87 set sql "SELECT hex(CAST(x'$uval' AS text)) AS x;"
Dlike2.test24 INSERT INTO t1(x,y) VALUES(1,CAST(x'01' AS TEXT));
25 INSERT INTO t1(x,y) VALUES(2,CAST(x'02' AS TEXT));
26 INSERT INTO t1(x,y) VALUES(3,CAST(x'03' AS TEXT));
27 INSERT INTO t1(x,y) VALUES(4,CAST(x'04' AS TEXT));
28 INSERT INTO t1(x,y) VALUES(5,CAST(x'05' AS TEXT));
29 INSERT INTO t1(x,y) VALUES(6,CAST(x'06' AS TEXT));
30 INSERT INTO t1(x,y) VALUES(7,CAST(x'07' AS TEXT));
31 INSERT INTO t1(x,y) VALUES(8,CAST(x'08' AS TEXT));
32 INSERT INTO t1(x,y) VALUES(9,CAST(x'09' AS TEXT));
33 INSERT INTO t1(x,y) VALUES(10,CAST(x'0a' AS TEXT));
[all …]
Dnan.test97 db eval {SELECT CAST(x AS text), typeof(x) FROM t1}
103 db eval {SELECT CAST(x AS text), typeof(x) FROM t1}
109 db eval {SELECT CAST(x AS text), typeof(x) FROM t1}
115 db eval {SELECT CAST(x AS text), typeof(x) FROM t1}
121 db eval {SELECT CAST(x AS text), typeof(x) FROM t1}
127 db eval {SELECT CAST(x AS text), typeof(x) FROM t1}
132 SELECT CAST(x AS text), typeof(x) FROM t1;
248 db eval {SELECT CAST(x AS text), typeof(x) FROM t1}
253 db eval {SELECT CAST(x AS text), typeof(x) FROM t1}
306 db eval {SELECT CAST(x AS text), typeof(x) FROM t1}
[all …]
Dzeroblob.test142 # Check various CAST(...) operations on zeroblob.
146 SELECT CAST (zeroblob(100) AS REAL);
151 SELECT CAST (zeroblob(100) AS INTEGER);
156 SELECT CAST (zeroblob(100) AS TEXT);
161 SELECT CAST(zeroblob(100) AS BLOB);
Dfuzz.test86 SELECT CAST(zeroblob(1000) AS text);
181 SELECT hex(CAST(zeroblob(1000) AS integer))
241 ORDER BY CAST(-56.1 AS blob) ASC
256 )), CAST(456 AS integer), -2147483647
258 SELECT DISTINCT -456, CAST(1 AS integer) ISNULL
262 GROUP BY CAST(CAST('experiments' AS blob) AS blob)
Dfuzz_common.tcl78 {CAST([Expr $c] AS blob)} \
79 {CAST([Expr $c] AS text)} \
80 {CAST([Expr $c] AS integer)} \
81 {CAST([Expr $c] AS real)} \
Dtkt2822.test89 SELECT a, CAST (b AS TEXT), c FROM t1
106 SELECT a, CAST (b AS TEXT) AS x, c FROM t1
122 SELECT a, CAST (b AS TEXT) AS x, c FROM t1
125 ORDER BY CAST (b AS TEXT);
145 SELECT a AS b, CAST (b AS TEXT) AS a, c FROM t1
155 SELECT a AS b, CAST (b AS TEXT) AS a, c FROM t1
169 SELECT a, CAST (b AS TEXT) AS x, c FROM t1
172 ORDER BY CAST (b AS INTEGER);
Dfuzz2.test93CAST ( "AAAAAA" . "AAAAAA" . "AAAAAA" AS AAAAAA ) ORDER BY , , IS NULL ASC , ~ AND DESC LIMIT ( ( …
96CAST ( "AAAAAA" . "AAAAAA" . "AAAAAA" AS AAAAAA ) ORDER BY , , IS NULL ASC , ~ AND DESC LIMIT ( ( …
Denc3.test65 SELECT CAST(a AS text) FROM t2 WHERE a LIKE 'abc%';
70 SELECT CAST(x'61006200630064006500' AS text);
Dtkt3527.test55 CAST(Element.Code AS VARCHAR(50)) AS ElemId,
68 CAST(ElemOr.CodeOr AS VARCHAR(50)) AS ElemId,
Dbadutf.test85 sqlite3_exec db {SELECT '%80'=CAST(x'80' AS text) AS x}
88 sqlite3_exec db {SELECT CAST('%80' AS blob)=x'80' AS x}
Dcse.test94 SELECT CAST(b AS integer), typeof(b), CAST(b AS text), typeof(b) FROM t1
Denc.test160 INSERT INTO ab VALUES(CAST (X'C388' AS TEXT), X'888800');
161 …INSERT INTO ab VALUES(CAST (X'C0808080808080808080808080808080808080808080808080808080808080808080…
DtriggerA.test65 SELECT CAST(x AS TEXT) AS c1 FROM t1 UNION SELECT y FROM t1;
72 SELECT CAST(x AS TEXT) AS c1 FROM t1
/external/mesa3d/src/mesa/main/
Dmacros.h382 #define COPY_3V_CAST( DST, SRC, CAST ) \ argument
384 (DST)[0] = (CAST)(SRC)[0]; \
385 (DST)[1] = (CAST)(SRC)[1]; \
386 (DST)[2] = (CAST)(SRC)[2]; \
504 #define COPY_2V_CAST( DST, SRC, CAST ) \ argument
506 (DST)[0] = (CAST)(SRC)[0]; \
507 (DST)[1] = (CAST)(SRC)[1]; \
/external/chromium_org/third_party/mesa/src/src/mesa/main/
Dmacros.h382 #define COPY_3V_CAST( DST, SRC, CAST ) \ argument
384 (DST)[0] = (CAST)(SRC)[0]; \
385 (DST)[1] = (CAST)(SRC)[1]; \
386 (DST)[2] = (CAST)(SRC)[2]; \
504 #define COPY_2V_CAST( DST, SRC, CAST ) \ argument
506 (DST)[0] = (CAST)(SRC)[0]; \
507 (DST)[1] = (CAST)(SRC)[1]; \
/external/openssl/crypto/evp/
De_cast.c78 IMPLEMENT_BLOCK_CIPHER(cast5, ks, CAST, EVP_CAST_KEY,
/external/chromium_org/third_party/openssl/openssl/crypto/evp/
De_cast.c78 IMPLEMENT_BLOCK_CIPHER(cast5, ks, CAST, EVP_CAST_KEY,
/external/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/
Dglsl_parser.h204 CAST = 422, enumerator
405 #define CAST 422 macro
/external/chromium_org/third_party/sqlite/src/tool/
Dmkkeywordhash.c76 # define CAST 0 macro
78 # define CAST 0x00000020 macro
164 { "CAST", "TK_CAST", CAST },
/external/dropbear/libtomcrypt/notes/
Dtech0003.txt46 … perhaps a "runner-up" choice. CAST5 has been around longer (it is also known as CAST-128) and is
/external/libvpx/libvpx/vpx/internal/
Dvpx_codec_internal.h398 #define CAST(id, arg) id##__value(arg) macro

123