Home
last modified time | relevance | path

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

/php-src/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-src/ext/pdo_mysql/tests/
H A Dunsigned_bigint.phpt17 $tbl = "unsigned_bigint_pdo_mysql";
18 $pdo->query("CREATE TABLE $tbl (`ubigint` bigint unsigned NOT NULL) ENGINE=InnoDB");
19 $pdo->query("INSERT INTO $tbl (`ubigint`) VALUES (18446744073709551615)");
20 $pdo->query("INSERT INTO $tbl (`ubigint`) VALUES (9223372036854775808)");
21 $pdo->query("INSERT INTO $tbl (`ubigint`) VALUES (1)");
22 $result = $pdo->query("SELECT ubigint FROM $tbl")->fetchAll(PDO::FETCH_ASSOC);
/php-src/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-src/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()
95 #define DEF_SB_TBL(id, name, mime_name, aliases, tbl_min, tbl) \ argument
97 return mbfl_conv_singlebyte_table(c, filter, tbl_min, tbl); \
100 return mbfl_conv_reverselookup_table(c, filter, tbl_min, tbl); \
108 *out++ = (c < tbl_min) ? c : coalesce(tbl[c - tbl_min], MBFL_BAD_INPUT); \
125 if (w == tbl[i]) { \
H A Dmbfilter_utf8.c54 extern int mbfl_bisec_srch2(int w, const unsigned short tbl[], int n);
H A Dmbfilter_cjk.c39 static int mbfl_bisec_srch(int w, const unsigned short *tbl, int n) in mbfl_bisec_srch() argument
44 unsigned short lo = tbl[2 * probe], hi = tbl[(2 * probe) + 1]; in mbfl_bisec_srch()
57 int mbfl_bisec_srch2(int w, const unsigned short tbl[], int n) in mbfl_bisec_srch2() argument
62 unsigned short val = tbl[probe]; in mbfl_bisec_srch2()
74 …ned short *mbfl_binary_search_paired_sorted_table(uint32_t w, const unsigned short tbl[][2], int n) in mbfl_binary_search_paired_sorted_table()
80 if (w < tbl[probe][0]) { in mbfl_binary_search_paired_sorted_table()
82 } else if (w > tbl[probe][0]) { in mbfl_binary_search_paired_sorted_table()
85 return &tbl[probe][1]; in mbfl_binary_search_paired_sorted_table()
/php-src/ext/fileinfo/libmagic/
H A Dapprentice.c317 get_type(const struct type_tbl_s *tbl, const char *l, const char **t) in get_type() argument
321 for (p = tbl; p->len; p++) { in get_type()

Completed in 51 milliseconds