stmt_obj           99 ext/sqlite3/php_sqlite3_structs.h 	php_sqlite3_stmt *stmt_obj;
stmt_obj          106 ext/sqlite3/php_sqlite3_structs.h 	php_sqlite3_stmt *stmt_obj;
stmt_obj          468 ext/sqlite3/sqlite3.c 	php_sqlite3_stmt *stmt_obj;
stmt_obj          487 ext/sqlite3/sqlite3.c 	stmt_obj = (php_sqlite3_stmt *)zend_object_store_get_object(return_value TSRMLS_CC);
stmt_obj          488 ext/sqlite3/sqlite3.c 	stmt_obj->db_obj = db_obj;
stmt_obj          489 ext/sqlite3/sqlite3.c 	stmt_obj->db_obj_zval = getThis();
stmt_obj          493 ext/sqlite3/sqlite3.c 	errcode = sqlite3_prepare_v2(db_obj->db, sql, sql_len, &(stmt_obj->stmt), NULL);
stmt_obj          500 ext/sqlite3/sqlite3.c 	stmt_obj->initialised = 1;
stmt_obj          503 ext/sqlite3/sqlite3.c 	free_item->stmt_obj = stmt_obj;
stmt_obj          516 ext/sqlite3/sqlite3.c 	php_sqlite3_stmt *stmt_obj;
stmt_obj          545 ext/sqlite3/sqlite3.c 	stmt_obj = (php_sqlite3_stmt *)zend_object_store_get_object(stmt TSRMLS_CC);
stmt_obj          546 ext/sqlite3/sqlite3.c 	stmt_obj->db_obj = db_obj;
stmt_obj          547 ext/sqlite3/sqlite3.c 	stmt_obj->db_obj_zval = getThis();
stmt_obj          551 ext/sqlite3/sqlite3.c 	return_code = sqlite3_prepare_v2(db_obj->db, sql, sql_len, &(stmt_obj->stmt), NULL);
stmt_obj          558 ext/sqlite3/sqlite3.c 	stmt_obj->initialised = 1;
stmt_obj          563 ext/sqlite3/sqlite3.c 	result->stmt_obj = stmt_obj;
stmt_obj          566 ext/sqlite3/sqlite3.c 	return_code = sqlite3_step(result->stmt_obj->stmt);
stmt_obj          574 ext/sqlite3/sqlite3.c 			free_item->stmt_obj = stmt_obj;
stmt_obj          577 ext/sqlite3/sqlite3.c 			sqlite3_reset(result->stmt_obj->stmt);
stmt_obj          582 ext/sqlite3/sqlite3.c 			sqlite3_finalize(stmt_obj->stmt);
stmt_obj          583 ext/sqlite3/sqlite3.c 			stmt_obj->initialised = 0;
stmt_obj         1296 ext/sqlite3/sqlite3.c 	php_sqlite3_stmt *stmt_obj;
stmt_obj         1298 ext/sqlite3/sqlite3.c 	stmt_obj = (php_sqlite3_stmt *)zend_object_store_get_object(object TSRMLS_CC);
stmt_obj         1300 ext/sqlite3/sqlite3.c 	SQLITE3_CHECK_INITIALIZED(stmt_obj->db_obj, stmt_obj->initialised, SQLite3)
stmt_obj         1306 ext/sqlite3/sqlite3.c 	SQLITE3_CHECK_INITIALIZED_STMT(stmt_obj->stmt, SQLite3Stmt);
stmt_obj         1308 ext/sqlite3/sqlite3.c 	RETURN_LONG(sqlite3_bind_parameter_count(stmt_obj->stmt));
stmt_obj         1316 ext/sqlite3/sqlite3.c 	php_sqlite3_stmt *stmt_obj;
stmt_obj         1318 ext/sqlite3/sqlite3.c 	stmt_obj = (php_sqlite3_stmt *)zend_object_store_get_object(object TSRMLS_CC);
stmt_obj         1320 ext/sqlite3/sqlite3.c 	SQLITE3_CHECK_INITIALIZED(stmt_obj->db_obj, stmt_obj->initialised, SQLite3)
stmt_obj         1326 ext/sqlite3/sqlite3.c 	if(stmt_obj->db_obj) {
stmt_obj         1327 ext/sqlite3/sqlite3.c         	zend_llist_del_element(&(stmt_obj->db_obj->free_list), object, (int (*)(void *, void *)) php_sqlite3_compare_stmt_zval_free);
stmt_obj         1338 ext/sqlite3/sqlite3.c 	php_sqlite3_stmt *stmt_obj;
stmt_obj         1340 ext/sqlite3/sqlite3.c 	stmt_obj = (php_sqlite3_stmt *)zend_object_store_get_object(object TSRMLS_CC);
stmt_obj         1342 ext/sqlite3/sqlite3.c 	SQLITE3_CHECK_INITIALIZED(stmt_obj->db_obj, stmt_obj->initialised, SQLite3)
stmt_obj         1348 ext/sqlite3/sqlite3.c 	SQLITE3_CHECK_INITIALIZED_STMT(stmt_obj->stmt, SQLite3Stmt);
stmt_obj         1350 ext/sqlite3/sqlite3.c 	if (sqlite3_reset(stmt_obj->stmt) != SQLITE_OK) {
stmt_obj         1351 ext/sqlite3/sqlite3.c 		php_sqlite3_error(stmt_obj->db_obj, "Unable to reset statement: %s", sqlite3_errmsg(sqlite3_db_handle(stmt_obj->stmt)));
stmt_obj         1362 ext/sqlite3/sqlite3.c 	php_sqlite3_stmt *stmt_obj;
stmt_obj         1364 ext/sqlite3/sqlite3.c 	stmt_obj = (php_sqlite3_stmt *)zend_object_store_get_object(object TSRMLS_CC);
stmt_obj         1366 ext/sqlite3/sqlite3.c 	SQLITE3_CHECK_INITIALIZED(stmt_obj->db_obj, stmt_obj->initialised, SQLite3)
stmt_obj         1372 ext/sqlite3/sqlite3.c 	SQLITE3_CHECK_INITIALIZED_STMT(stmt_obj->stmt, SQLite3Stmt);
stmt_obj         1374 ext/sqlite3/sqlite3.c 	if (sqlite3_clear_bindings(stmt_obj->stmt) != SQLITE_OK) {
stmt_obj         1375 ext/sqlite3/sqlite3.c 		php_sqlite3_error(stmt_obj->db_obj, "Unable to clear statement: %s", sqlite3_errmsg(sqlite3_db_handle(stmt_obj->stmt)));
stmt_obj         1387 ext/sqlite3/sqlite3.c 	php_sqlite3_stmt *stmt_obj;
stmt_obj         1389 ext/sqlite3/sqlite3.c 	stmt_obj = (php_sqlite3_stmt *)zend_object_store_get_object(object TSRMLS_CC);
stmt_obj         1391 ext/sqlite3/sqlite3.c 	SQLITE3_CHECK_INITIALIZED(stmt_obj->db_obj, stmt_obj->initialised, SQLite3)
stmt_obj         1397 ext/sqlite3/sqlite3.c 	SQLITE3_CHECK_INITIALIZED_STMT(stmt_obj->stmt, SQLite3Stmt);
stmt_obj         1400 ext/sqlite3/sqlite3.c 	if (sqlite3_stmt_readonly(stmt_obj->stmt)) {
stmt_obj         1457 ext/sqlite3/sqlite3.c 	php_sqlite3_stmt *stmt_obj;
stmt_obj         1460 ext/sqlite3/sqlite3.c 	stmt_obj = (php_sqlite3_stmt *)zend_object_store_get_object(object TSRMLS_CC);
stmt_obj         1462 ext/sqlite3/sqlite3.c 	SQLITE3_CHECK_INITIALIZED(stmt_obj->db_obj, stmt_obj->initialised, SQLite3)
stmt_obj         1473 ext/sqlite3/sqlite3.c 	SQLITE3_CHECK_INITIALIZED_STMT(stmt_obj->stmt, SQLite3Stmt);
stmt_obj         1477 ext/sqlite3/sqlite3.c 	if (!register_bound_parameter_to_sqlite(&param, stmt_obj TSRMLS_CC)) {
stmt_obj         1492 ext/sqlite3/sqlite3.c 	php_sqlite3_stmt *stmt_obj;
stmt_obj         1495 ext/sqlite3/sqlite3.c 	stmt_obj = (php_sqlite3_stmt *)zend_object_store_get_object(object TSRMLS_CC);
stmt_obj         1497 ext/sqlite3/sqlite3.c 	SQLITE3_CHECK_INITIALIZED(stmt_obj->db_obj, stmt_obj->initialised, SQLite3)
stmt_obj         1508 ext/sqlite3/sqlite3.c 	SQLITE3_CHECK_INITIALIZED_STMT(stmt_obj->stmt, SQLite3Stmt);
stmt_obj         1512 ext/sqlite3/sqlite3.c 	if (!register_bound_parameter_to_sqlite(&param, stmt_obj TSRMLS_CC)) {
stmt_obj         1527 ext/sqlite3/sqlite3.c 	php_sqlite3_stmt *stmt_obj;
stmt_obj         1533 ext/sqlite3/sqlite3.c 	stmt_obj = (php_sqlite3_stmt *)zend_object_store_get_object(object TSRMLS_CC);
stmt_obj         1535 ext/sqlite3/sqlite3.c 	SQLITE3_CHECK_INITIALIZED(stmt_obj->db_obj, stmt_obj->initialised, SQLite3)
stmt_obj         1541 ext/sqlite3/sqlite3.c 	SQLITE3_CHECK_INITIALIZED(stmt_obj->db_obj, stmt_obj->initialised, SQLite3)
stmt_obj         1543 ext/sqlite3/sqlite3.c 	if (stmt_obj->bound_params) {
stmt_obj         1544 ext/sqlite3/sqlite3.c 		zend_hash_internal_pointer_reset(stmt_obj->bound_params);
stmt_obj         1545 ext/sqlite3/sqlite3.c 		while (zend_hash_get_current_data(stmt_obj->bound_params, (void **)&param) == SUCCESS) {
stmt_obj         1548 ext/sqlite3/sqlite3.c 				sqlite3_bind_null(stmt_obj->stmt, param->param_number);
stmt_obj         1549 ext/sqlite3/sqlite3.c 				zend_hash_move_forward(stmt_obj->bound_params);
stmt_obj         1557 ext/sqlite3/sqlite3.c 					sqlite3_bind_int64(stmt_obj->stmt, param->param_number, Z_LVAL_P(param->parameter));
stmt_obj         1559 ext/sqlite3/sqlite3.c 					sqlite3_bind_int(stmt_obj->stmt, param->param_number, Z_LVAL_P(param->parameter));
stmt_obj         1565 ext/sqlite3/sqlite3.c 					sqlite3_bind_double(stmt_obj->stmt, param->param_number, Z_DVAL_P(param->parameter));
stmt_obj         1576 ext/sqlite3/sqlite3.c 							php_sqlite3_error(stmt_obj->db_obj, "Unable to read stream for parameter %ld", param->param_number);
stmt_obj         1586 ext/sqlite3/sqlite3.c 					sqlite3_bind_blob(stmt_obj->stmt, param->param_number, buffer, blength, SQLITE_TRANSIENT);
stmt_obj         1596 ext/sqlite3/sqlite3.c 					sqlite3_bind_text(stmt_obj->stmt, param->param_number, Z_STRVAL_P(param->parameter), Z_STRLEN_P(param->parameter), SQLITE_STATIC);
stmt_obj         1600 ext/sqlite3/sqlite3.c 					sqlite3_bind_null(stmt_obj->stmt, param->param_number);
stmt_obj         1604 ext/sqlite3/sqlite3.c 					php_sqlite3_error(stmt_obj->db_obj, "Unknown parameter type: %ld for parameter %ld", param->type, param->param_number);
stmt_obj         1607 ext/sqlite3/sqlite3.c 			zend_hash_move_forward(stmt_obj->bound_params);
stmt_obj         1611 ext/sqlite3/sqlite3.c 	return_code = sqlite3_step(stmt_obj->stmt);
stmt_obj         1617 ext/sqlite3/sqlite3.c 			sqlite3_reset(stmt_obj->stmt);
stmt_obj         1624 ext/sqlite3/sqlite3.c 			result->db_obj = stmt_obj->db_obj;
stmt_obj         1625 ext/sqlite3/sqlite3.c 			result->stmt_obj = stmt_obj;
stmt_obj         1631 ext/sqlite3/sqlite3.c 			sqlite3_reset(stmt_obj->stmt);
stmt_obj         1634 ext/sqlite3/sqlite3.c 			php_sqlite3_error(stmt_obj->db_obj, "Unable to execute statement: %s", sqlite3_errmsg(sqlite3_db_handle(stmt_obj->stmt)));
stmt_obj         1647 ext/sqlite3/sqlite3.c 	php_sqlite3_stmt *stmt_obj;
stmt_obj         1656 ext/sqlite3/sqlite3.c 	stmt_obj = (php_sqlite3_stmt *)zend_object_store_get_object(object TSRMLS_CC);
stmt_obj         1674 ext/sqlite3/sqlite3.c 	stmt_obj->db_obj = db_obj;
stmt_obj         1675 ext/sqlite3/sqlite3.c 	stmt_obj->db_obj_zval = db_zval;
stmt_obj         1679 ext/sqlite3/sqlite3.c 	errcode = sqlite3_prepare_v2(db_obj->db, sql, sql_len, &(stmt_obj->stmt), NULL);
stmt_obj         1685 ext/sqlite3/sqlite3.c 	stmt_obj->initialised = 1;
stmt_obj         1688 ext/sqlite3/sqlite3.c 	free_item->stmt_obj = stmt_obj;
stmt_obj         1703 ext/sqlite3/sqlite3.c 	SQLITE3_CHECK_INITIALIZED(result_obj->db_obj, result_obj->stmt_obj->initialised, SQLite3Result)
stmt_obj         1709 ext/sqlite3/sqlite3.c 	RETURN_LONG(sqlite3_column_count(result_obj->stmt_obj->stmt));
stmt_obj         1723 ext/sqlite3/sqlite3.c 	SQLITE3_CHECK_INITIALIZED(result_obj->db_obj, result_obj->stmt_obj->initialised, SQLite3Result)
stmt_obj         1728 ext/sqlite3/sqlite3.c 	column_name = (char*) sqlite3_column_name(result_obj->stmt_obj->stmt, column);
stmt_obj         1747 ext/sqlite3/sqlite3.c 	SQLITE3_CHECK_INITIALIZED(result_obj->db_obj, result_obj->stmt_obj->initialised, SQLite3Result)
stmt_obj         1757 ext/sqlite3/sqlite3.c 	RETURN_LONG(sqlite3_column_type(result_obj->stmt_obj->stmt, column));
stmt_obj         1771 ext/sqlite3/sqlite3.c 	SQLITE3_CHECK_INITIALIZED(result_obj->db_obj, result_obj->stmt_obj->initialised, SQLite3Result)
stmt_obj         1777 ext/sqlite3/sqlite3.c 	ret = sqlite3_step(result_obj->stmt_obj->stmt);
stmt_obj         1787 ext/sqlite3/sqlite3.c 			for (i = 0; i < sqlite3_data_count(result_obj->stmt_obj->stmt); i++) {
stmt_obj         1790 ext/sqlite3/sqlite3.c 				data = sqlite_value_to_zval(result_obj->stmt_obj->stmt, i);
stmt_obj         1800 ext/sqlite3/sqlite3.c 					add_assoc_zval(return_value, (char*)sqlite3_column_name(result_obj->stmt_obj->stmt, i), data);
stmt_obj         1811 ext/sqlite3/sqlite3.c 			php_sqlite3_error(result_obj->db_obj, "Unable to execute statement: %s", sqlite3_errmsg(sqlite3_db_handle(result_obj->stmt_obj->stmt)));
stmt_obj         1824 ext/sqlite3/sqlite3.c 	SQLITE3_CHECK_INITIALIZED(result_obj->db_obj, result_obj->stmt_obj->initialised, SQLite3Result)
stmt_obj         1830 ext/sqlite3/sqlite3.c 	if (sqlite3_reset(result_obj->stmt_obj->stmt) != SQLITE_OK) {
stmt_obj         1848 ext/sqlite3/sqlite3.c 	SQLITE3_CHECK_INITIALIZED(result_obj->db_obj, result_obj->stmt_obj->initialised, SQLite3Result)
stmt_obj         1859 ext/sqlite3/sqlite3.c 		sqlite3_reset(result_obj->stmt_obj->stmt);
stmt_obj         2058 ext/sqlite3/sqlite3.c 	if (free_item->stmt_obj && free_item->stmt_obj->initialised) {
stmt_obj         2059 ext/sqlite3/sqlite3.c 		sqlite3_finalize(free_item->stmt_obj->stmt);
stmt_obj         2060 ext/sqlite3/sqlite3.c 		free_item->stmt_obj->initialised = 0;
stmt_obj         2068 ext/sqlite3/sqlite3.c 	return ((*free_list)->stmt_obj->initialised && statement == (*free_list)->stmt_obj_zval);
stmt_obj         2074 ext/sqlite3/sqlite3.c 	return ((*free_list)->stmt_obj->initialised && statement == (*free_list)->stmt_obj->stmt);
stmt_obj         2169 ext/sqlite3/sqlite3.c 		if (intern->stmt_obj->initialised) {
stmt_obj         2170 ext/sqlite3/sqlite3.c 			sqlite3_reset(intern->stmt_obj->stmt);