Lines Matching refs:parameter

568 		zval *parameter;  in firebird_stmt_param_hook()  local
587 if (Z_ISREF(param->parameter)) { in firebird_stmt_param_hook()
588 parameter = Z_REFVAL(param->parameter); in firebird_stmt_param_hook()
590 parameter = &param->parameter; in firebird_stmt_param_hook()
593 if (Z_TYPE_P(parameter) == IS_RESOURCE) { in firebird_stmt_param_hook()
596 php_stream_from_zval_no_verify(stm, parameter); in firebird_stmt_param_hook()
599 zval_ptr_dtor(parameter); in firebird_stmt_param_hook()
600 ZVAL_STR(parameter, mem ? mem : ZSTR_EMPTY_ALLOC()); in firebird_stmt_param_hook()
614 if (Z_TYPE_P(parameter) == IS_NULL) { in firebird_stmt_param_hook()
624 return firebird_bind_blob(stmt, (ISC_QUAD*)var->sqldata, parameter); in firebird_stmt_param_hook()
631 switch (Z_TYPE_P(parameter)) { in firebird_stmt_param_hook()
636 *(FB_BOOLEAN*)var->sqldata = zend_is_true(parameter) ? FB_TRUE : FB_FALSE; in firebird_stmt_param_hook()
643 if ((Z_STRLEN_P(parameter) == 0)) { in firebird_stmt_param_hook()
648 switch (is_numeric_string(Z_STRVAL_P(parameter), Z_STRLEN_P(parameter), &lval, &dval, 0)) { in firebird_stmt_param_hook()
656 if (!zend_binary_strncasecmp(Z_STRVAL_P(parameter), Z_STRLEN_P(parameter), "true", 4, 4)) { in firebird_stmt_param_hook()
658 …} else if (!zend_binary_strncasecmp(Z_STRVAL_P(parameter), Z_STRLEN_P(parameter), "false", 5, 5)) { in firebird_stmt_param_hook()
683 switch (Z_TYPE_P(parameter)) { in firebird_stmt_param_hook()
689 var->sqldata = (void*)&Z_LVAL_P(parameter); in firebird_stmt_param_hook()
695 var->sqldata = (void*)&Z_DVAL_P(parameter); in firebird_stmt_param_hook()
711 force_null = (Z_STRLEN_P(parameter) == 0); in firebird_stmt_param_hook()
716 var->sqldata = Z_STRVAL_P(parameter); in firebird_stmt_param_hook()
717 var->sqllen = Z_STRLEN_P(parameter); in firebird_stmt_param_hook()
746 if (Z_ISREF(param->parameter)) { in firebird_stmt_param_hook()
747 parameter = Z_REFVAL(param->parameter); in firebird_stmt_param_hook()
749 parameter = &param->parameter; in firebird_stmt_param_hook()
751 zval_ptr_dtor(parameter); in firebird_stmt_param_hook()
752 ZVAL_NULL(parameter); in firebird_stmt_param_hook()
758 ZVAL_STRINGL(parameter, value, value_len); in firebird_stmt_param_hook()
763 ZVAL_LONG(parameter, *(zend_long*)value); in firebird_stmt_param_hook()
776 ZVAL_NULL(parameter); in firebird_stmt_param_hook()