/PHP-7.3/ext/mbstring/oniguruma/src/ |
H A D | st.c | 57 #define EQUAL(table,x,y) ((x)==(y) || (*table->type->compare)((x),(y)) == 0) argument 59 #define do_hash(key,table) (unsigned int)(*(table)->type->hash)((key)) argument 60 #define do_hash_bin(key,table) (do_hash(key, table)%(table)->num_bins) argument 207 st_free_table(table) in st_free_table() argument 208 st_table *table; in st_free_table() 221 free(table->bins); 222 free(table); 270 if (table->num_entries/(table->num_bins) > ST_DEFAULT_MAX_DENSITY) {\ 271 rehash(table);\ 320 rehash(table) in rehash() argument [all …]
|
/PHP-7.3/ext/standard/tests/strings/ |
H A D | get_html_translation_table_basic8.phpt | 7 echo "-- with table = HTML_ENTITIES, ENT_QUOTES --\n"; 8 $table = HTML_ENTITIES; 15 $table = HTML_ENTITIES; 20 $table = HTML_ENTITIES; 25 $table = HTML_SPECIALCHARS; 32 $table = HTML_SPECIALCHARS; 38 $table = HTML_SPECIALCHARS; 48 -- with table = HTML_ENTITIES, ENT_QUOTES -- 58 -- with table = HTML_ENTITIES, ENT_COMPAT -- 60 -- with table = HTML_ENTITIES, ENT_NOQUOTES -- [all …]
|
H A D | get_html_translation_table_basic9.phpt | 8 echo "-- with table = HTML_ENTITIES, ENT_QUOTES --\n"; 9 $table = HTML_ENTITIES; 16 $table = HTML_ENTITIES; 21 $table = HTML_ENTITIES; 26 $table = HTML_SPECIALCHARS; 33 $table = HTML_SPECIALCHARS; 39 $table = HTML_SPECIALCHARS; 50 -- with table = HTML_ENTITIES, ENT_QUOTES -- 60 -- with table = HTML_ENTITIES, ENT_COMPAT -- 62 -- with table = HTML_ENTITIES, ENT_NOQUOTES -- [all …]
|
H A D | get_html_translation_table_basic3.phpt | 14 // $table as HTML_SEPCIALCHARS and different quote style 15 echo "-- with table = HTML_SPECIALCHARS & quote_style = ENT_COMPAT --\n"; 16 $table = HTML_SPECIALCHARS; 18 $tt = get_html_translation_table($table, $quote_style, "UTF-8"); 22 echo "-- with table = HTML_SPECIALCHARS & quote_style = ENT_QUOTES --\n"; 24 $tt = get_html_translation_table($table, $quote_style, "UTF-8"); 28 echo "-- with table = HTML_SPECIALCHARS & quote_style = ENT_NOQUOTES --\n"; 30 $tt = get_html_translation_table($table, $quote_style, "UTF-8"); 38 -- with table = HTML_SPECIALCHARS & quote_style = ENT_COMPAT -- 49 -- with table = HTML_SPECIALCHARS & quote_style = ENT_QUOTES -- [all …]
|
H A D | get_html_translation_table_basic6.phpt | 10 echo "-- with table = HTML_ENTITIES, ENT_COMPAT --\n"; 11 $table = HTML_ENTITIES; 17 echo "-- with table = HTML_ENTITIES, ENT_QUOTES --\n"; 18 $table = HTML_ENTITIES; 23 $table = HTML_ENTITIES; 28 $table = HTML_SPECIALCHARS; 35 $table = HTML_SPECIALCHARS; 41 $table = HTML_SPECIALCHARS; 51 -- with table = HTML_ENTITIES, ENT_COMPAT -- 214 -- with table = HTML_ENTITIES, ENT_QUOTES -- [all …]
|
H A D | get_html_translation_table_basic7.phpt | 7 echo "-- with table = HTML_ENTITIES, ENT_QUOTES --\n"; 8 $table = HTML_ENTITIES; 15 echo "-- with table = HTML_ENTITIES, ENT_COMPAT --\n"; 16 $table = HTML_ENTITIES; 21 $table = HTML_ENTITIES; 26 $table = HTML_SPECIALCHARS; 33 $table = HTML_SPECIALCHARS; 39 $table = HTML_SPECIALCHARS; 49 -- with table = HTML_ENTITIES, ENT_QUOTES -- 307 -- with table = HTML_ENTITIES, ENT_COMPAT -- [all …]
|
H A D | get_html_translation_table_basic4.phpt | 5 /* Prototype : array get_html_translation_table ( [int $table [, int $quote_style [, string charse… 6 * Description: Returns the internal translation table used by htmlspecialchars and htmlentities 13 echo "-- with table = HTML_ENTITIES --\n"; 14 $table = HTML_ENTITIES; 15 $tt = get_html_translation_table($table, ENT_COMPAT, "WINDOWS-1252"); 19 echo "-- with table = HTML_SPECIALCHARS --\n"; 20 $table = HTML_SPECIALCHARS; 21 $tt = get_html_translation_table($table, ENT_COMPAT, "WINDOWS-1252"); 29 -- with table = HTML_ENTITIES -- 282 -- with table = HTML_SPECIALCHARS --
|
H A D | get_html_translation_table_error.phpt | 5 /* Prototype : array get_html_translation_table ( [int $table [, int $quote_style [, string charse… 6 * Description: Returns the internal translation table used by htmlspecialchars and htmlentities 14 $table = HTML_ENTITIES; 18 var_dump( get_html_translation_table($table, $quote_style, "UTF-8", $extra_arg) );
|
/PHP-7.3/ext/pgsql/tests/ |
H A D | bug68638.phpt | 12 $table='test_68638'; 14 pg_query("CREATE TABLE $table (id INT, value FLOAT)"); 16 pg_insert($conn,$table, array('id' => 1, 'value' => 1.2)); 17 pg_insert($conn,$table, array('id' => 2, 'value' => 10)); 18 pg_insert($conn,$table, array('id' => 3, 'value' => 15)); 20 var_dump(pg_update($conn,$table, array('value' => 'inf'), array('id' => 1), PGSQL_DML_STRING)); 22 pg_update($conn,$table, array('value' => 'inf'), array('id' => 1)); 23 pg_update($conn,$table, array('value' => '-inf'), array('id' => 2)); 24 pg_update($conn,$table, array('value' => '+inf'), array('id' => 3)); 26 $rs = pg_query("SELECT * FROM $table"); [all …]
|
H A D | pg_insert_002.phpt | 12 foreach (array('', '.', '..') as $table) { 13 var_dump(pg_insert($conn, $table, array('id' => 1, 'id2' => 1))); 18 Warning: pg_insert(): The table name must be specified in %s on line %d 21 Warning: pg_insert(): The table name must be specified in %s on line %d 24 Warning: pg_insert(): The table name must be specified in %s on line %d
|
H A D | bug72028.phpt | 7 // create test table 13 $table = "bug72028_" . md5(uniqid(time())); 15 pg_query("CREATE TABLE $table (value TEXT, details TEXT);"); 17 $sql = "INSERT INTO $table (value, details) VALUES ($1, $2)"; 30 $r = pg_query("SELECT * FROM $table"); 35 pg_query("DROP TABLE $table");
|
H A D | bug71062.phpt | 12 $table = "public.test_table_bug71062_bug71062"; 14 pg_query($db, "CREATE TABLE $table ( test_field TIMESTAMPTZ )"); 24 pg_convert($db, $table, ['test_field' => $date_string_php_iso8601]); 27 pg_convert($db, $table, ['test_field' => $date_string_modified_iso8601]); 31 pg_query($db, "DROP TABLE $table");
|
H A D | config.inc | 3 // These vars are used to connect db and create test table. 10 $table_name = "php_pgsql_test"; // test table that will be created 11 $table_name_92 = "php_pgsql_test_92"; // test table that will be created 18 // Test table
|
/PHP-7.3/ext/oci8/tests/ |
H A D | statement_type.phpt | 11 "SELECT * FROM table", 12 "DELETE FROM table WHERE id = 1", 13 "INSERT INTO table VALUES(1)", 14 "UPDATE table SET id = 1", 15 "DROP TABLE table", 17 "CREATE TABLE table (id NUMBER)", 18 "ALTER TABLE table ADD (col1 NUMBER)",
|
H A D | statement_type_old.phpt | 18 "SELECT * FROM table", 19 "DELETE FROM table WHERE id = 1", 20 "INSERT INTO table VALUES(1)", 21 "UPDATE table SET id = 1", 22 "DROP TABLE table", 24 "CREATE TABLE table (id NUMBER)", 25 "ALTER TABLE table ADD (col1 NUMBER)",
|
H A D | dupcolnames.phpt | 13 "drop table dupcolnames_tab1", 14 "drop table dupcolnames_tab2", 16 "create table dupcolnames_tab1 (c1 number, dupnamecol varchar2(20))", 17 "create table dupcolnames_tab2 (c2 number, dupnamecol varchar2(20))", 53 "drop table dupcolnames_tab1", 54 "drop table dupcolnames_tab2",
|
/PHP-7.3/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_attr_multi_statements.phpt | 20 $table = sprintf("test_%s", md5(mt_rand(0, PHP_INT_MAX))); 22 $db->exec(sprintf('DROP TABLE IF EXISTS %s', $table)); 23 $create = sprintf('CREATE TABLE %s(id INT)', $table); 25 $db->exec(sprintf('INSERT INTO %s(id) VALUES (1)', $table)); 26 $stmt = $db->query(sprintf('SELECT * FROM %s; INSERT INTO %s(id) VALUES (2)', $table, $table)); 30 $stmt = $db->query(sprintf('SELECT id FROM %s', $table)); 38 $stmt = $db->query(sprintf('SELECT * FROM %s; INSERT INTO %s(id) VALUES (3)', $table, $table)); 43 $stmt = $db->query(sprintf('SELECT id FROM %s', $table)); 49 $db->exec(sprintf('DROP TABLE IF EXISTS %s', $table));
|
H A D | pdo_mysql_attr_init_command.phpt | 20 $table = sprintf("test_%s", md5(mt_rand(0, PHP_INT_MAX))); 22 $db->exec(sprintf('DROP TABLE IF EXISTS %s', $table)); 24 $create = sprintf('CREATE TABLE %s(id INT)', $table); 31 $db->exec(sprintf('INSERT INTO %s(id) VALUES (1)', $table)); 32 $stmt = $db->query(sprintf('SELECT id FROM %s', $table)); 35 $db->exec(sprintf('DROP TABLE IF EXISTS %s', $table));
|
/PHP-7.3/ext/zip/lib/ |
H A D | zip_hash.c | 48 zip_hash_entry_t **table; member 96 if (hash->table[i] != NULL) { in _zip_hash_free() 97 _free_list(hash->table[i]); in _zip_hash_free() 100 free(hash->table); in _zip_hash_free() 134 for (entry = hash->table[hash_value]; entry != NULL; entry = entry->next) { in _zip_hash_add() 152 entry->next = hash->table[hash_value]; in _zip_hash_add() 153 hash->table[hash_value] = entry; in _zip_hash_add() 179 entry = hash->table[hash_value]; in _zip_hash_delete() 187 hash->table[hash_value] = entry->next; in _zip_hash_delete() 245 entry = hash->table[i]; in _zip_hash_revert() [all …]
|
/PHP-7.3/ext/pdo_sqlite/tests/ |
H A D | bug_42589.phpt | 2 PDO SQLite Feature Request #42589 (getColumnMeta() should also return table name) 18 var_dump(!empty($meta1['table']) && $meta1['table'] == 'test'); 19 var_dump(!empty($meta2['table']) && $meta2['table'] == 'test');
|
/PHP-7.3/ext/sqlite3/tests/ |
H A D | sqlite3_20_error.phpt | 10 echo "SELECTING from invalid table\n"; 21 SELECTING from invalid table 23 Warning: SQLite3::query(): Unable to prepare statement: 1, no such table: non_existent_table in %s … 25 Error Msg: no such table: non_existent_table
|
/PHP-7.3/ext/pdo_pgsql/tests/ |
H A D | bug62498-32bit.phpt | 19 // create the table 55 ["table"]=> 74 ["table"]=> 93 ["table"]=> 112 ["table"]=> 131 ["table"]=> 150 ["table"]=> 169 ["table"]=> 188 ["table"]=> 207 ["table"]=>
|
H A D | bug62498.phpt | 19 // create the table 55 ["table"]=> 74 ["table"]=> 93 ["table"]=> 112 ["table"]=> 131 ["table"]=> 150 ["table"]=> 169 ["table"]=> 188 ["table"]=> 207 ["table"]=>
|
/PHP-7.3/ext/phar/tests/ |
H A D | phpinfo_004.phpt | 28 <table> 37 </table> 38 <table> 41 </table> 42 <table> 47 </table> 50 <table> 59 </table> 60 <table> 63 </table> [all …]
|
/PHP-7.3/ext/interbase/tests/ |
H A D | bug45373.phpt | 16 $r = ibase_execute($q, 1, 'test table not created with isql'); 20 $r = ibase_execute($q, 1, 'test table not created with isql', 1); 33 string(32) "test table not created with isql" 41 string(32) "test table not created with isql"
|