Lines Matching refs:column
260 php_oci_out_column *column; in php_oci_statement_fetch() local
294 column = php_oci_statement_get_column(statement, i + 1, NULL, 0); in php_oci_statement_fetch()
295 if (column && column->piecewise) { in php_oci_statement_fetch()
296 column->retlen4 = 0; in php_oci_statement_fetch()
319 column = php_oci_statement_get_column(statement, i + 1, NULL, 0); in php_oci_statement_fetch()
320 if (column && column->piecewise && handlepp == column->oci_define) { in php_oci_statement_fetch()
321 if (!column->data) { in php_oci_statement_fetch()
322 column->data = (text *) ecalloc(1, PHP_OCI_PIECE_SIZE + 1); in php_oci_statement_fetch()
324 column->data = erealloc(column->data, column->retlen4 + PHP_OCI_PIECE_SIZE + 1); in php_oci_statement_fetch()
326 column->cb_retlen = PHP_OCI_PIECE_SIZE; in php_oci_statement_fetch()
331 (void *) column->oci_define, in php_oci_statement_fetch()
334 ((char*)column->data) + column->retlen4, in php_oci_statement_fetch()
335 &(column->cb_retlen), in php_oci_statement_fetch()
337 &column->indicator, in php_oci_statement_fetch()
338 &column->retcode in php_oci_statement_fetch()
349 column = php_oci_statement_get_column(statement, i + 1, NULL, 0); in php_oci_statement_fetch()
350 if (column && column->piecewise && handlepp == column->oci_define) { in php_oci_statement_fetch()
351 column->retlen4 += column->cb_retlen; in php_oci_statement_fetch()
362 column = php_oci_statement_get_column(statement, i + 1, NULL, 0); in php_oci_statement_fetch()
363 if (column == NULL) { in php_oci_statement_fetch()
367 if (!column->define) { in php_oci_statement_fetch()
371 ZEND_ASSERT(Z_ISREF(column->define->val)); in php_oci_statement_fetch()
372 zval_ptr_dtor(Z_REFVAL(column->define->val)); in php_oci_statement_fetch()
373 ZVAL_NULL(Z_REFVAL(column->define->val)); in php_oci_statement_fetch()
374 php_oci_column_to_zval(column, Z_REFVAL(column->define->val), 0); in php_oci_statement_fetch()
393 php_oci_out_column *column = NULL; in php_oci_statement_get_column() local
402 column = php_oci_statement_get_column(statement, i + 1, NULL, 0); in php_oci_statement_get_column()
403 if (column == NULL) { in php_oci_statement_get_column()
405 …} else if (((int) column->name_len == column_name_len) && (!strncmp(column->name, column_name, col… in php_oci_statement_get_column()
406 return column; in php_oci_statement_get_column()
410 if ((column = zend_hash_index_find_ptr(statement->columns, column_index)) == NULL) { in php_oci_statement_get_column()
413 return column; in php_oci_statement_get_column()
1527 php_oci_out_column *column; in php_oci_statement_get_column_helper() local
1545 …column = php_oci_statement_get_column(statement, -1, ZSTR_VAL(column_index_string), (int) ZSTR_LEN… in php_oci_statement_get_column_helper()
1546 if (!column) { in php_oci_statement_get_column_helper()
1551 column = php_oci_statement_get_column(statement, column_index_int, NULL, 0); in php_oci_statement_get_column_helper()
1553 if (!column) { in php_oci_statement_get_column_helper()
1558 return column; in php_oci_statement_get_column_helper()