Lines Matching refs:retval

37 		ZVAL_NULL(retval); \
38 return retval; \
45 ZVAL_NULL(retval);\
46 return retval; \
56 ZVAL_NULL(retval);\
57 return retval; \
68 ZVAL_NULL(retval);\
69 return retval; \
76 static zval *__func(mysqli_object *obj, zval *retval) \
81 ZVAL_NULL(retval);\
85 ZVAL_LONG(retval, (zend_long) l);\
87 ZVAL_NEW_STR(retval, strpprintf(0, __ret_type_sprint_mod, l)); \
90 return retval;\
94 static zval *__func(mysqli_object *obj, zval *retval)\
99 ZVAL_NULL(retval);\
103 ZVAL_NULL(retval);\
105 ZVAL_STRING(retval, c);\
108 return retval; \
112 static zval *link_client_version_read(mysqli_object *obj, zval *retval) in link_client_version_read() argument
114 ZVAL_LONG(retval, MYSQL_VERSION_ID); in link_client_version_read()
115 return retval; in link_client_version_read()
120 static zval *link_client_info_read(mysqli_object *obj, zval *retval) in link_client_info_read() argument
123 ZVAL_STRING(retval, MYSQL_SERVER_VERSION); in link_client_info_read()
124 return retval; in link_client_info_read()
129 static zval *link_connect_errno_read(mysqli_object *obj, zval *retval) in link_connect_errno_read() argument
131 ZVAL_LONG(retval, (zend_long)MyG(error_no)); in link_connect_errno_read()
132 return retval; in link_connect_errno_read()
137 static zval *link_connect_error_read(mysqli_object *obj, zval *retval) in link_connect_error_read() argument
140 ZVAL_STRING(retval, MyG(error_msg)); in link_connect_error_read()
142 ZVAL_NULL(retval); in link_connect_error_read()
144 return retval; in link_connect_error_read()
149 static zval *link_affected_rows_read(mysqli_object *obj, zval *retval) in link_affected_rows_read() argument
159 ZVAL_NULL(retval); in link_affected_rows_read()
166 ZVAL_LONG(retval, -1); in link_affected_rows_read()
167 return retval; in link_affected_rows_read()
171 ZVAL_LONG(retval, (zend_long) rc); in link_affected_rows_read()
173 ZVAL_NEW_STR(retval, strpprintf(0, MYSQLI_LLU_SPEC, rc)); in link_affected_rows_read()
176 return retval; in link_affected_rows_read()
181 static zval *link_error_list_read(mysqli_object *obj, zval *retval) in link_error_list_read() argument
189 array_init(retval); in link_error_list_read()
204 add_next_index_zval(retval, &single_error); in link_error_list_read()
214 add_next_index_zval(retval, &single_error); in link_error_list_read()
219 return retval; in link_error_list_read()
238 static zval *link_stat_read(mysqli_object *obj, zval *retval) in MYSQLI_MAP_PROPERTY_FUNC_LONG()
242 ZVAL_NULL(retval); in MYSQLI_MAP_PROPERTY_FUNC_LONG()
256 ZVAL_STR(retval, stat_msg); in MYSQLI_MAP_PROPERTY_FUNC_LONG()
261 ZVAL_STRING(retval, stat_msg); in MYSQLI_MAP_PROPERTY_FUNC_LONG()
265 return retval; in MYSQLI_MAP_PROPERTY_FUNC_LONG()
272 static zval *result_type_read(mysqli_object *obj, zval *retval) in result_type_read() argument
280 ZVAL_NULL(retval); in result_type_read()
282 ZVAL_LONG(retval, mysqli_result_is_unbuffered(p) ? MYSQLI_USE_RESULT:MYSQLI_STORE_RESULT); in result_type_read()
284 return retval; in result_type_read()
289 static zval *result_lengths_read(mysqli_object *obj, zval *retval) in result_lengths_read() argument
299 ZVAL_NULL(retval); in result_lengths_read()
303 array_init(retval); in result_lengths_read()
306 add_index_long(retval, i, ret[i]); in result_lengths_read()
309 return retval; in result_lengths_read()
320 static zval *stmt_id_read(mysqli_object *obj, zval *retval) in MYSQLI_MAP_PROPERTY_FUNC_LONG()
329 ZVAL_NULL(retval); in MYSQLI_MAP_PROPERTY_FUNC_LONG()
331 ZVAL_LONG(retval, mysqli_stmt_get_id(p->stmt)); in MYSQLI_MAP_PROPERTY_FUNC_LONG()
333 return retval; in MYSQLI_MAP_PROPERTY_FUNC_LONG()
338 static zval *stmt_affected_rows_read(mysqli_object *obj, zval *retval) in stmt_affected_rows_read() argument
348 ZVAL_NULL(retval); in stmt_affected_rows_read()
353 ZVAL_LONG(retval, -1); in stmt_affected_rows_read()
354 return retval; in stmt_affected_rows_read()
358 ZVAL_LONG(retval, (zend_long) rc); in stmt_affected_rows_read()
360 ZVAL_NEW_STR(retval, strpprintf(0, MYSQLI_LLU_SPEC, rc)); in stmt_affected_rows_read()
363 return retval; in stmt_affected_rows_read()
368 static zval *stmt_error_list_read(mysqli_object *obj, zval *retval) in stmt_error_list_read() argument
375 array_init(retval); in stmt_error_list_read()
390 add_next_index_zval(retval, &single_error); in stmt_error_list_read()
400 add_next_index_zval(retval, &single_error); in stmt_error_list_read()
404 return retval; in stmt_error_list_read()