Lines Matching refs:parameter
79 zval *parameter; in pdo_sqlite_stmt_param_hook() local
107 if (Z_ISREF(param->parameter)) { in pdo_sqlite_stmt_param_hook()
108 parameter = Z_REFVAL(param->parameter); in pdo_sqlite_stmt_param_hook()
110 parameter = ¶m->parameter; in pdo_sqlite_stmt_param_hook()
112 if (Z_TYPE_P(parameter) == IS_NULL) { in pdo_sqlite_stmt_param_hook()
117 convert_to_long(parameter); in pdo_sqlite_stmt_param_hook()
119 if (SQLITE_OK == sqlite3_bind_int64(S->stmt, param->paramno + 1, Z_LVAL_P(parameter))) { in pdo_sqlite_stmt_param_hook()
123 if (SQLITE_OK == sqlite3_bind_int(S->stmt, param->paramno + 1, Z_LVAL_P(parameter))) { in pdo_sqlite_stmt_param_hook()
132 if (Z_ISREF(param->parameter)) { in pdo_sqlite_stmt_param_hook()
133 parameter = Z_REFVAL(param->parameter); in pdo_sqlite_stmt_param_hook()
135 parameter = ¶m->parameter; in pdo_sqlite_stmt_param_hook()
137 if (Z_TYPE_P(parameter) == IS_RESOURCE) { in pdo_sqlite_stmt_param_hook()
139 php_stream_from_zval_no_verify(stm, parameter); in pdo_sqlite_stmt_param_hook()
142 zval_ptr_dtor(parameter); in pdo_sqlite_stmt_param_hook()
143 ZVAL_STR(parameter, mem ? mem : ZSTR_EMPTY_ALLOC()); in pdo_sqlite_stmt_param_hook()
148 } else if (Z_TYPE_P(parameter) == IS_NULL) { in pdo_sqlite_stmt_param_hook()
155 if (!try_convert_to_string(parameter)) { in pdo_sqlite_stmt_param_hook()
161 Z_STRVAL_P(parameter), in pdo_sqlite_stmt_param_hook()
162 Z_STRLEN_P(parameter), in pdo_sqlite_stmt_param_hook()
170 if (Z_ISREF(param->parameter)) { in pdo_sqlite_stmt_param_hook()
171 parameter = Z_REFVAL(param->parameter); in pdo_sqlite_stmt_param_hook()
173 parameter = ¶m->parameter; in pdo_sqlite_stmt_param_hook()
175 if (Z_TYPE_P(parameter) == IS_NULL) { in pdo_sqlite_stmt_param_hook()
180 if (!try_convert_to_string(parameter)) { in pdo_sqlite_stmt_param_hook()
184 Z_STRVAL_P(parameter), in pdo_sqlite_stmt_param_hook()
185 Z_STRLEN_P(parameter), in pdo_sqlite_stmt_param_hook()