Lines Matching refs:collation
868 php_sqlite3_collation *collation = (php_sqlite3_collation*)coll; local
873 collation->fci.fci.size = (sizeof(collation->fci.fci));
874 collation->fci.fci.function_table = EG(function_table);
875 ZVAL_COPY_VALUE(&collation->fci.fci.function_name, &collation->cmp_func);
876 collation->fci.fci.symbol_table = NULL;
877 collation->fci.fci.object = NULL;
878 collation->fci.fci.retval = &retval;
879 collation->fci.fci.param_count = 2;
885 collation->fci.fci.params = zargs;
889 if ((ret = zend_call_function(&collation->fci.fci, &collation->fci.fcc)) == FAILURE) {
1031 php_sqlite3_collation *collation; local
1055 collation = (php_sqlite3_collation *)ecalloc(1, sizeof(*collation));
1056 …if (sqlite3_create_collation(db_obj->db, collation_name, SQLITE_UTF8, collation, php_sqlite3_callb…
1057 collation->collation_name = estrdup(collation_name);
1059 ZVAL_COPY(&collation->cmp_func, callback_func);
1061 collation->next = db_obj->collations;
1062 db_obj->collations = collation;
1066 efree(collation);
2092 php_sqlite3_collation *collation; local
2120 collation = intern->collations;
2121 intern->collations = collation->next;
2123 sqlite3_create_collation(intern->db, collation->collation_name, SQLITE_UTF8, NULL, NULL);
2125 efree((char*)collation->collation_name);
2126 if (!Z_ISUNDEF(collation->cmp_func)) {
2127 zval_ptr_dtor(&collation->cmp_func);
2129 efree(collation);