Home
last modified time | relevance | path

Searched refs:tbl (Results 1 – 11 of 11) sorted by relevance

/PHP-8.2/ext/pdo_mysql/tests/
H A Dbug75177.phpt16 $tbl = "test";
17 $pdo->query("DROP TABLE IF EXISTS $tbl");
18 $pdo->query("CREATE TABLE $tbl (`bit` bit(8)) ENGINE=InnoDB");
19 $pdo->query("INSERT INTO $tbl (`bit`) VALUES (1)");
20 $pdo->query("INSERT INTO $tbl (`bit`) VALUES (0b011)");
21 $pdo->query("INSERT INTO $tbl (`bit`) VALUES (0b01100)");
24 $ret = $pdo->query("SELECT * FROM $tbl")->fetchAll();
30 $ret = $pdo->query("SELECT * FROM $tbl")->fetchAll();
H A Dunsigned_bigint.phpt18 $tbl = "test";
19 $pdo->query("DROP TABLE IF EXISTS $tbl");
20 $pdo->query("CREATE TABLE $tbl (`ubigint` bigint unsigned NOT NULL) ENGINE=InnoDB");
21 $pdo->query("INSERT INTO $tbl (`ubigint`) VALUES (18446744073709551615)");
22 $pdo->query("INSERT INTO $tbl (`ubigint`) VALUES (9223372036854775808)");
23 $pdo->query("INSERT INTO $tbl (`ubigint`) VALUES (1)");
24 $result = $pdo->query("SELECT ubigint FROM $tbl")->fetchAll(PDO::FETCH_ASSOC);
/PHP-8.2/ext/mysqli/tests/
H A Dbug75018.phpt15 $tbl = "test";
16 $sql = "DROP TABLE IF EXISTS $tbl";
19 $sql = "CREATE TABLE $tbl (bit_column_1 bit(16) NOT NULL) DEFAULT CHARSET=utf8";
22 $sql = "INSERT INTO $tbl (bit_column_1) VALUES (0)";
24 $sql = "INSERT INTO $tbl (bit_column_1) VALUES (0b10101010101)";
27 $sql = "SELECT bit_column_1 FROM $tbl";
/PHP-8.2/ext/sqlite3/tests/
H A Dsqlite3_rename_column.phpt16 $db->exec('CREATE TABLE tbl (orig text)');
17 $db->exec('insert into tbl values ("one"), ("two")');
19 $res1 = $db->prepare('select * from tbl')->execute();
20 $res2 = $db->prepare('select * from tbl')->execute();
25 $db->exec('alter table tbl rename column orig to changed');
/PHP-8.2/ext/mbstring/libmbfl/filters/
H A Dmbfilter_singlebyte.c25 …_conv_singlebyte_table(int c, mbfl_convert_filter *filter, int tbl_min, const unsigned short tbl[]) in mbfl_conv_singlebyte_table() argument
32 CK((*filter->output_function)(coalesce(tbl[c - tbl_min], MBFL_BAD_INPUT), filter->data)); in mbfl_conv_singlebyte_table()
37 …nv_reverselookup_table(int c, mbfl_convert_filter *filter, int tbl_min, const unsigned short tbl[]) in mbfl_conv_reverselookup_table() argument
45 if (c == tbl[i]) { in mbfl_conv_reverselookup_table()
94 #define DEF_SB_TBL(id, name, mime_name, aliases, tbl_min, tbl) \ argument
96 return mbfl_conv_singlebyte_table(c, filter, tbl_min, tbl); \
99 return mbfl_conv_reverselookup_table(c, filter, tbl_min, tbl); \
107 *out++ = (c < tbl_min) ? c : coalesce(tbl[c - tbl_min], MBFL_BAD_INPUT); \
124 if (w == tbl[i]) { \
H A Dmbfilter_gb18030.c79 int mbfl_bisec_srch(int w, const unsigned short *tbl, int n) in mbfl_bisec_srch() argument
84 unsigned short lo = tbl[2 * probe], hi = tbl[(2 * probe) + 1]; in mbfl_bisec_srch()
97 int mbfl_bisec_srch2(int w, const unsigned short tbl[], int n) in mbfl_bisec_srch2() argument
102 unsigned short val = tbl[probe]; in mbfl_bisec_srch2()
H A Dmbfilter_iso2022jp_mobile.c46 extern int mbfl_bisec_srch2(int w, const unsigned short tbl[], int n);
H A Dmbfilter_sjis_2004.c54 extern int mbfl_bisec_srch(int w, const unsigned short *tbl, int n);
55 extern int mbfl_bisec_srch2(int w, const unsigned short tbl[], int n);
H A Dmbfilter_utf8_mobile.c37 extern int mbfl_bisec_srch2(int w, const unsigned short tbl[], int n);
H A Dmbfilter_sjis_mobile.c57 extern int mbfl_bisec_srch2(int w, const unsigned short tbl[], int n);
/PHP-8.2/ext/fileinfo/libmagic/
H A Dapprentice.c274 get_type(const struct type_tbl_s *tbl, const char *l, const char **t) in get_type() argument
278 for (p = tbl; p->len; p++) { in get_type()

Completed in 39 milliseconds