Lines Matching refs:column

686 	php_oci_out_column *column = (php_oci_out_column *) Z_PTR_P(data);  in php_oci_column_hash_dtor()  local
688 if (column->stmtid) { in php_oci_column_hash_dtor()
689 zend_list_close(column->stmtid); in php_oci_column_hash_dtor()
692 if (column->descid) { in php_oci_column_hash_dtor()
693 if (GC_REFCOUNT(column->descid) == 1) in php_oci_column_hash_dtor()
694 zend_list_close(column->descid); in php_oci_column_hash_dtor()
696 GC_DELREF(column->descid); in php_oci_column_hash_dtor()
700 if (column->data) { in php_oci_column_hash_dtor()
701 efree(column->data); in php_oci_column_hash_dtor()
704 if (column->name) { in php_oci_column_hash_dtor()
705 efree(column->name); in php_oci_column_hash_dtor()
708 efree(column); in php_oci_column_hash_dtor()
1679 int php_oci_column_to_zval(php_oci_out_column *column, zval *value, int mode) in php_oci_column_to_zval() argument
1687 if (column->indicator == -1) { /* column is NULL */ in php_oci_column_to_zval()
1692 if (column->is_cursor) { /* REFCURSOR -> simply return the statement id */ in php_oci_column_to_zval()
1693 ZVAL_RES(value, column->stmtid); in php_oci_column_to_zval()
1694 GC_ADDREF(column->stmtid); in php_oci_column_to_zval()
1695 } else if (column->is_descr) { in php_oci_column_to_zval()
1697 if (column->data_type != SQLT_RDD) { in php_oci_column_to_zval()
1700 descriptor = (php_oci_descriptor *) column->descid->ptr; in php_oci_column_to_zval()
1703 php_error_docref(NULL, E_WARNING, "Unable to find LOB descriptor #%d", column->descid->handle); in php_oci_column_to_zval()
1712 if (column->data_type != SQLT_RDD && (mode & PHP_OCI_RETURN_LOBS)) { in php_oci_column_to_zval()
1715 if (column->chunk_size) in php_oci_column_to_zval()
1716 descriptor->chunk_size = column->chunk_size; in php_oci_column_to_zval()
1719 column->chunk_size = descriptor->chunk_size; in php_oci_column_to_zval()
1737 add_property_resource(value, "descriptor", column->descid); in php_oci_column_to_zval()
1738 GC_ADDREF(column->descid); in php_oci_column_to_zval()
1741 switch (column->retcode) { in php_oci_column_to_zval()
1744 if (column->piecewise) { in php_oci_column_to_zval()
1745 column_size = column->retlen4; in php_oci_column_to_zval()
1747 column_size = column->retlen; in php_oci_column_to_zval()
1756 ZVAL_STRINGL(value, column->data, column_size); in php_oci_column_to_zval()
1777 php_oci_out_column *column; in php_oci_fetch_row() local
1902 column = php_oci_statement_get_column(statement, i + 1, NULL, 0); in php_oci_fetch_row()
1904 if (column == NULL) { in php_oci_fetch_row()
1907 if ((column->indicator == -1) && ((fetch_mode & PHP_OCI_RETURN_NULLS) == 0)) { in php_oci_fetch_row()
1911 if (!(column->indicator == -1)) { in php_oci_fetch_row()
1914 php_oci_column_to_zval(column, &element, (int) fetch_mode); in php_oci_fetch_row()
1923 add_assoc_zval(placeholder, column->name, &element); in php_oci_fetch_row()
1931 add_assoc_null(placeholder, column->name); in php_oci_fetch_row()