Lines Matching refs:retval
73 static zend_result __func(mysqli_object *obj, zval *retval, bool quiet) \
80 ZVAL_LONG(retval, (zend_long) l);\
82 ZVAL_NEW_STR(retval, strpprintf(0, __ret_type_sprint_mod, l)); \
88 static zend_result __func(mysqli_object *obj, zval *retval, bool quiet) \
95 ZVAL_LONG(retval, (zend_long) l);\
100 static zend_result __func(mysqli_object *obj, zval *retval, bool quiet)\
107 ZVAL_STRING(retval, c);\
109 ZVAL_NULL(retval);\
115 static zend_result __func(mysqli_object *obj, zval *retval, bool quiet)\
122 ZVAL_STRING(retval, c);\
127 static zend_result link_client_version_read(mysqli_object *obj, zval *retval, bool quiet) in link_client_version_read() argument
129 ZVAL_LONG(retval, MYSQL_VERSION_ID); in link_client_version_read()
136 static zend_result link_client_info_read(mysqli_object *obj, zval *retval, bool quiet) in link_client_info_read() argument
138 ZVAL_STRING(retval, MYSQL_SERVER_VERSION); in link_client_info_read()
145 static zend_result link_connect_errno_read(mysqli_object *obj, zval *retval, bool quiet) in link_connect_errno_read() argument
147 ZVAL_LONG(retval, (zend_long)MyG(error_no)); in link_connect_errno_read()
154 static zend_result link_connect_error_read(mysqli_object *obj, zval *retval, bool quiet) in link_connect_error_read() argument
157 ZVAL_STRING(retval, MyG(error_msg)); in link_connect_error_read()
159 ZVAL_NULL(retval); in link_connect_error_read()
167 static zend_result link_affected_rows_read(mysqli_object *obj, zval *retval, bool quiet) in link_affected_rows_read() argument
180 ZVAL_LONG(retval, -1); in link_affected_rows_read()
185 ZVAL_LONG(retval, (zend_long) rc); in link_affected_rows_read()
187 ZVAL_NEW_STR(retval, strpprintf(0, MYSQLI_LLU_SPEC, rc)); in link_affected_rows_read()
195 static zend_result link_error_list_read(mysqli_object *obj, zval *retval, bool quiet) in link_error_list_read() argument
204 array_init(retval); in link_error_list_read()
216 add_next_index_zval(retval, &single_error); in link_error_list_read()
219 ZVAL_EMPTY_ARRAY(retval); in link_error_list_read()
243 static zend_result result_type_read(mysqli_object *obj, zval *retval, bool quiet) in MYSQLI_MAP_PROPERTY_FUNC_LONG()
251 ZVAL_LONG(retval, mysqli_result_is_unbuffered(p) ? MYSQLI_USE_RESULT:MYSQLI_STORE_RESULT); in MYSQLI_MAP_PROPERTY_FUNC_LONG()
258 static zend_result result_lengths_read(mysqli_object *obj, zval *retval, bool quiet) in result_lengths_read() argument
268 ZVAL_NULL(retval); in result_lengths_read()
272 array_init(retval); in result_lengths_read()
275 add_index_long(retval, i, ret[i]); in result_lengths_read()
290 static zend_result stmt_id_read(mysqli_object *obj, zval *retval, bool quiet) in MYSQLI_MAP_PROPERTY_FUNC_LONG()
299 ZVAL_LONG(retval, mysqli_stmt_get_id(p->stmt)); in MYSQLI_MAP_PROPERTY_FUNC_LONG()
306 static zend_result stmt_affected_rows_read(mysqli_object *obj, zval *retval, bool quiet) in stmt_affected_rows_read() argument
319 ZVAL_LONG(retval, -1); in stmt_affected_rows_read()
324 ZVAL_LONG(retval, (zend_long) rc); in stmt_affected_rows_read()
326 ZVAL_NEW_STR(retval, strpprintf(0, MYSQLI_LLU_SPEC, rc)); in stmt_affected_rows_read()
334 static zend_result stmt_error_list_read(mysqli_object *obj, zval *retval, bool quiet) in stmt_error_list_read() argument
342 array_init(retval); in stmt_error_list_read()
355 add_next_index_zval(retval, &single_error); in stmt_error_list_read()
359 ZVAL_EMPTY_ARRAY(retval); in stmt_error_list_read()