Lines Matching refs:column
254 php_oci_out_column *column; in php_oci_statement_fetch() local
292 column = php_oci_statement_get_column(statement, i + 1, NULL, 0); in php_oci_statement_fetch()
293 if (column && column->piecewise) { in php_oci_statement_fetch()
294 column->retlen4 = 0; in php_oci_statement_fetch()
317 column = php_oci_statement_get_column(statement, i + 1, NULL, 0); in php_oci_statement_fetch()
318 if (column && column->piecewise && handlepp == column->oci_define) { in php_oci_statement_fetch()
319 if (!column->data) { in php_oci_statement_fetch()
320 column->data = (text *) ecalloc(1, PHP_OCI_PIECE_SIZE + 1); in php_oci_statement_fetch()
322 column->data = erealloc(column->data, column->retlen4 + PHP_OCI_PIECE_SIZE + 1); in php_oci_statement_fetch()
324 column->cb_retlen = PHP_OCI_PIECE_SIZE; in php_oci_statement_fetch()
329 (void *) column->oci_define, in php_oci_statement_fetch()
332 ((char*)column->data) + column->retlen4, in php_oci_statement_fetch()
333 &(column->cb_retlen), in php_oci_statement_fetch()
335 &column->indicator, in php_oci_statement_fetch()
336 &column->retcode in php_oci_statement_fetch()
351 column = php_oci_statement_get_column(statement, i + 1, NULL, 0); in php_oci_statement_fetch()
352 if (column && column->piecewise && handlepp == column->oci_define) { in php_oci_statement_fetch()
353 column->retlen4 += column->cb_retlen; in php_oci_statement_fetch()
364 column = php_oci_statement_get_column(statement, i + 1, NULL, 0); in php_oci_statement_fetch()
365 if (column == NULL) { in php_oci_statement_fetch()
369 if (!column->define) { in php_oci_statement_fetch()
373 ZEND_ASSERT(Z_ISREF(column->define->val)); in php_oci_statement_fetch()
374 zval_ptr_dtor(Z_REFVAL(column->define->val)); in php_oci_statement_fetch()
375 ZVAL_NULL(Z_REFVAL(column->define->val)); in php_oci_statement_fetch()
376 php_oci_column_to_zval(column, Z_REFVAL(column->define->val), 0); in php_oci_statement_fetch()
395 php_oci_out_column *column = NULL; in php_oci_statement_get_column() local
404 column = php_oci_statement_get_column(statement, i + 1, NULL, 0); in php_oci_statement_get_column()
405 if (column == NULL) { in php_oci_statement_get_column()
407 …} else if (((int) column->name_len == column_name_len) && (!strncmp(column->name, column_name, col… in php_oci_statement_get_column()
408 return column; in php_oci_statement_get_column()
412 if ((column = zend_hash_index_find_ptr(statement->columns, column_index)) == NULL) { in php_oci_statement_get_column()
415 return column; in php_oci_statement_get_column()
1515 php_oci_out_column *column; in php_oci_statement_get_column_helper() local
1533 …column = php_oci_statement_get_column(statement, -1, ZSTR_VAL(column_index_string), (int) ZSTR_LEN… in php_oci_statement_get_column_helper()
1534 if (!column) { in php_oci_statement_get_column_helper()
1539 column = php_oci_statement_get_column(statement, column_index_int, NULL, 0); in php_oci_statement_get_column_helper()
1541 if (!column) { in php_oci_statement_get_column_helper()
1546 return column; in php_oci_statement_get_column_helper()