Lines Matching refs:parameter

590 		zval *parameter;  in firebird_stmt_param_hook()  local
609 if (Z_ISREF(param->parameter)) { in firebird_stmt_param_hook()
610 parameter = Z_REFVAL(param->parameter); in firebird_stmt_param_hook()
612 parameter = &param->parameter; in firebird_stmt_param_hook()
615 if (Z_TYPE_P(parameter) == IS_RESOURCE) { in firebird_stmt_param_hook()
618 php_stream_from_zval_no_verify(stm, parameter); in firebird_stmt_param_hook()
621 zval_ptr_dtor(parameter); in firebird_stmt_param_hook()
622 ZVAL_STR(parameter, mem ? mem : ZSTR_EMPTY_ALLOC()); in firebird_stmt_param_hook()
636 if (Z_TYPE_P(parameter) == IS_NULL) { in firebird_stmt_param_hook()
647 if (firebird_bind_blob(stmt, &quad, parameter) != 0) { in firebird_stmt_param_hook()
658 switch (Z_TYPE_P(parameter)) { in firebird_stmt_param_hook()
663 *(FB_BOOLEAN*)var->sqldata = zend_is_true(parameter) ? FB_TRUE : FB_FALSE; in firebird_stmt_param_hook()
670 if ((Z_STRLEN_P(parameter) == 0)) { in firebird_stmt_param_hook()
675 switch (is_numeric_string(Z_STRVAL_P(parameter), Z_STRLEN_P(parameter), &lval, &dval, 0)) { in firebird_stmt_param_hook()
683 if (!zend_binary_strncasecmp(Z_STRVAL_P(parameter), Z_STRLEN_P(parameter), "true", 4, 4)) { in firebird_stmt_param_hook()
685 …} else if (!zend_binary_strncasecmp(Z_STRVAL_P(parameter), Z_STRLEN_P(parameter), "false", 5, 5)) { in firebird_stmt_param_hook()
710 switch (Z_TYPE_P(parameter)) { in firebird_stmt_param_hook()
716 var->sqldata = (void*)&Z_LVAL_P(parameter); in firebird_stmt_param_hook()
722 var->sqldata = (void*)&Z_DVAL_P(parameter); in firebird_stmt_param_hook()
738 force_null = (Z_STRLEN_P(parameter) == 0); in firebird_stmt_param_hook()
743 var->sqldata = Z_STRVAL_P(parameter); in firebird_stmt_param_hook()
744 var->sqllen = Z_STRLEN_P(parameter); in firebird_stmt_param_hook()
771 if (Z_ISREF(param->parameter)) { in firebird_stmt_param_hook()
772 parameter = Z_REFVAL(param->parameter); in firebird_stmt_param_hook()
774 parameter = &param->parameter; in firebird_stmt_param_hook()
776 zval_ptr_dtor(parameter); in firebird_stmt_param_hook()
777 ZVAL_NULL(parameter); in firebird_stmt_param_hook()
778 return firebird_stmt_get_col(stmt, param->paramno, parameter, NULL); in firebird_stmt_param_hook()