Home
last modified time | relevance | path

Searched refs:collation (Results 1 – 14 of 14) sorted by relevance

/PHP-8.3/ext/pdo_sqlite/
H A Dsqlite_driver.c129 collation = H->collations; in pdo_sqlite_cleanup_callbacks()
135 collation->name, in pdo_sqlite_cleanup_callbacks()
137 collation, in pdo_sqlite_cleanup_callbacks()
145 efree(collation); in pdo_sqlite_cleanup_callbacks()
478 collation->fc.fci.size = sizeof(collation->fc.fci); in php_sqlite3_collation_callback()
479 ZVAL_COPY_VALUE(&collation->fc.fci.function_name, &collation->callback); in php_sqlite3_collation_callback()
489 if ((ret = zend_call_function(&collation->fc.fci, &collation->fc.fcc)) == FAILURE) { in php_sqlite3_collation_callback()
651 collation = (struct pdo_sqlite_collation*)ecalloc(1, sizeof(*collation)); in PHP_METHOD()
665 efree(collation); in PHP_METHOD()
704 while (collation) { in pdo_sqlite_get_gc()
[all …]
/PHP-8.3/ext/mysqli/tests/
H A Dmysqli_change_user_set_names.phpt36 $charsets[$row['Charset']] = $row['Default collation'];
56 foreach ($charsets as $charset => $collation) {
74 $collation != $not_changed['collation_connection'] &&
75 mysqli_query($link, sprintf("SET @@collation_connection = '%s'", $collation)))
79 $collation != $not_changed['collation_database'] &&
80 mysqli_query($link, sprintf("SET @@collation_database = '%s'", $collation)))
84 $collation != $not_changed['collation_server'] &&
85 mysqli_query($link, sprintf("SET @@collation_server = '%s'", $collation)))
148 if ($charset->collation != $defaults['collation_connection'])
149 printf("[015] Expecting collation to be %s got %s\n",
[all …]
H A Dmysqli_get_charset.phpt29 …_query($link, 'SELECT @@character_set_connection AS charset, @@collation_connection AS collation'))
33 …if (!($character_set_connection = $tmp['charset']) || !($collation_connection = $tmp['collation']))
34 printf("[008] Cannot determine current character set and collation\n");
66 if (!isset($charset->collation) ||
67 !in_array(gettype($charset->collation), array("string", "unicode")) ||
68 ($collation_connection !== $charset->collation))
69 …string/%s, got %s/%s\n", $collation_connection, gettype($charset->collation), $charset->collation);
H A Dmysqli_character_set_name.phpt29 …_query($link, 'SELECT @@character_set_connection AS charset, @@collation_connection AS collation'))
34 printf("[009] Cannot determine current character set and collation\n");
38 if ($tmp['collation'] === $charset) {
39 …"[010] Could be known server bug http://bugs.mysql.com/bug.php?id=7923, collation %s instead of ch…
40 $tmp['collation'], $tmp['charset'], gettype($charset), $charset);
H A Dmysqli_character_set_name_oo.phpt27 …mysqli->query('SELECT @@character_set_connection AS charset, @@collation_connection AS collation'))
32 printf("[009] Cannot determine current character set and collation\n");
36 if ($tmp['collation'] === $charset) {
37 …"[010] Could be known server bug http://bugs.mysql.com/bug.php?id=7923, collation %s instead of ch…
38 $tmp['collation'], $tmp['charset'], gettype($charset), $charset);
H A Dmysqli_set_charset.phpt46 …_query($link, 'SELECT @@character_set_connection AS charset, @@collation_connection AS collation'))
51 printf("[008] Cannot determine current character set and collation\n");
71 …_query($link, 'SELECT @@character_set_connection AS charset, @@collation_connection AS collation'))
/PHP-8.3/ext/intl/tests/
H A Dbug12887.phpt11 $keywords_arr = ut_loc_get_keywords( 'de_DE@currency=EUR;collation=PHONEBOOK;sort=PHONEBOOK' );
27 collation = PHONEBOOK
H A Dcollator_get_set_strength.phpt9 * Try to set/get collation strength.
13 * Set given collation strength, then get it back
H A Dlocale_get_keywords2.phpt18 "de_DE@currency=EUR;collation=PHONEBOOK",
23 'de_DE@currency=EUR;collation=PHONEBOOK',
101 de_DE@currency=EUR;collation=PHONEBOOK: Key is collation and Value is PHONEBOOK
H A Dcollator_get_set_attribute.phpt9 * Try to set/get a collation attribute.
/PHP-8.3/ext/sqlite3/
H A Dsqlite3.c1040 php_sqlite3_collation *collation; in PHP_METHOD() local
1057 collation = (php_sqlite3_collation *)ecalloc(1, sizeof(*collation)); in PHP_METHOD()
1069 collation->next = db_obj->collations; in PHP_METHOD()
1070 db_obj->collations = collation; in PHP_METHOD()
1074 efree(collation); in PHP_METHOD()
2194 php_sqlite3_collation *collation; in php_sqlite3_object_free_storage() local
2227 collation = intern->collations; in php_sqlite3_object_free_storage()
2228 intern->collations = collation->next; in php_sqlite3_object_free_storage()
2236 efree(collation); in php_sqlite3_object_free_storage()
2276 while (collation != NULL) { in php_sqlite3_get_gc()
[all …]
/PHP-8.3/ext/sqlite3/tests/
H A Dgh11878.phpt18 $this->sqlite->createCollation("collation", array($this, "SQLiteIndex"));
/PHP-8.3/ext/mysqli/
H A Dmysqli_nonapi.c967 const char *name = NULL, *collation = NULL, *dir = NULL, *comment = NULL; local
983 collation = cs->collation;
992 add_property_string(return_value, "collation",(collation) ? (char *)collation : "");
/PHP-8.3/ext/mysqlnd/
H A Dmysqlnd_structs.h182 const char *collation; member

Completed in 41 milliseconds