Searched refs:retval_ptr (Results 1 - 25 of 28) sorted by relevance

12

/PHP_TRUNK/ext/standard/
H A Dvar_unserializer.re412 zval *retval_ptr = NULL;
424 call_user_function_ex(CG(function_table), rval, &fname, &retval_ptr, 0, 0, 1, NULL TSRMLS_CC);
428 if (retval_ptr) {
429 zval_ptr_dtor(&retval_ptr);
671 zval *retval_ptr;
742 if (call_user_function_ex(CG(function_table), NULL, user_func, &retval_ptr, 1, args, 0, NULL TSRMLS_CC) != SUCCESS) {
758 if (retval_ptr) {
759 zval_ptr_dtor(&retval_ptr);
H A Dvar.c618 static void php_var_serialize_class(smart_str *buf, zval *struc, zval *retval_ptr, HashTable *var_hash TSRMLS_DC) /* {{{ */ argument
626 count = zend_hash_num_elements(HASH_OF(retval_ptr));
645 zend_hash_internal_pointer_reset_ex(HASH_OF(retval_ptr), &pos);
647 for (;; zend_hash_move_forward_ex(HASH_OF(retval_ptr), &pos)) {
648 i = zend_hash_get_current_key_ex(HASH_OF(retval_ptr), &key, NULL, &index, 0, &pos);
657 zend_hash_get_current_data_ex(HASH_OF(retval_ptr), (void **) &name, &pos);
765 zval *retval_ptr = NULL; local
803 res = call_user_function_ex(CG(function_table), &struc, &fname, &retval_ptr, 0, 0, 1, NULL TSRMLS_CC);
807 if (retval_ptr) {
808 zval_ptr_dtor(&retval_ptr);
[all...]
H A Dvar_unserializer.c408 zval *retval_ptr = NULL; local
420 call_user_function_ex(CG(function_table), rval, &fname, &retval_ptr, 0, 0, 1, NULL TSRMLS_CC); local
424 if (retval_ptr) {
425 zval_ptr_dtor(&retval_ptr);
613 zval *retval_ptr; local
684 if (call_user_function_ex(CG(function_table), NULL, user_func, &retval_ptr, 1, args, 0, NULL TSRMLS_CC) != SUCCESS) {
700 if (retval_ptr) {
701 zval_ptr_dtor(&retval_ptr);
H A Dbasic_functions.c4727 zval *retval_ptr = NULL; local
4735 fci.retval_ptr_ptr = &retval_ptr;
4751 zval *params, *retval_ptr = NULL; local
4760 fci.retval_ptr_ptr = &retval_ptr;
4774 zval *retval_ptr = NULL; local
4786 fci.retval_ptr_ptr = &retval_ptr;
4807 zval *params, *retval_ptr = NULL; local
4816 fci.retval_ptr_ptr = &retval_ptr;
H A Darray.c584 zval *retval_ptr = NULL; local
594 BG(user_compare_fci).retval_ptr_ptr = &retval_ptr;
596 if (zend_call_function(&BG(user_compare_fci), &BG(user_compare_fci_cache) TSRMLS_CC) == SUCCESS && retval_ptr) {
599 convert_to_long_ex(&retval_ptr);
600 retval = Z_LVAL_P(retval_ptr);
601 zval_ptr_dtor(&retval_ptr);
730 zval *retval_ptr = NULL; local
760 BG(user_compare_fci).retval_ptr_ptr = &retval_ptr;
762 if (zend_call_function(&BG(user_compare_fci), &BG(user_compare_fci_cache) TSRMLS_CC) == SUCCESS && retval_ptr) {
763 convert_to_long_ex(&retval_ptr);
1050 *retval_ptr = NULL, /* Return value - unused */ local
2799 zval *retval_ptr = NULL; local
[all...]
/PHP_TRUNK/ext/filter/
H A Dcallback_filter.c25 zval *retval_ptr; local
39 status = call_user_function_ex(EG(function_table), NULL, option_array, &retval_ptr, 1, args, 0, NULL TSRMLS_CC);
41 if (status == SUCCESS && retval_ptr != NULL) {
42 if (retval_ptr != value) {
44 COPY_PZVAL_TO_ZVAL(*value, retval_ptr);
46 zval_ptr_dtor(&retval_ptr);
/PHP_TRUNK/ext/mbstring/
H A Dphp_mbregex.c956 zval *retval_ptr; local
974 arg_replace_fci.retval_ptr_ptr = &retval_ptr;
976 convert_to_string_ex(&retval_ptr);
977 smart_str_appendl(&out_buf, Z_STRVAL_P(retval_ptr), Z_STRLEN_P(retval_ptr));
979 zval_ptr_dtor(&retval_ptr);
/PHP_TRUNK/ext/pdo/
H A Dphp_pdo_driver.h611 zval *retval_ptr; member in struct:_pdo_stmt_t::__anon154::__anon155
H A Dpdo_stmt.c759 fci->retval_ptr_ptr = &stmt->fetch.cls.retval_ptr;
972 if (stmt->fetch.cls.retval_ptr) {
973 zval_ptr_dtor(&stmt->fetch.cls.retval_ptr);
1172 if (stmt->fetch.cls.retval_ptr) {
1173 zval_ptr_dtor(&stmt->fetch.cls.retval_ptr);
/PHP_TRUNK/ext/phar/
H A Dutil.c1406 zval *zdata, *zsig, *zkey, *retval_ptr, **zp[3], *openssl; local
1457 fci.retval_ptr_ptr = &retval_ptr;
1487 switch (Z_TYPE_P(retval_ptr)) {
1492 if (1 == Z_LVAL_P(retval_ptr)) {
1493 efree(retval_ptr);
1496 efree(retval_ptr);
1499 efree(retval_ptr);
1500 if (Z_BVAL_P(retval_ptr)) {
H A Dphar_object.c682 zval *params, *retval_ptr, **zp[1]; local
701 fci.retval_ptr_ptr = &retval_ptr;
715 if (!fci.retval_ptr_ptr || !retval_ptr) {
723 switch (Z_TYPE_P(retval_ptr)) {
727 if (fci.retval_ptr_ptr != &retval_ptr) {
731 entry = Z_STRVAL_P(retval_ptr);
732 entry_len = Z_STRLEN_P(retval_ptr);
746 efree(retval_ptr);
/PHP_TRUNK/main/streams/
H A Duserspace.c303 zval *retval_ptr; local
310 fci.retval_ptr_ptr = &retval_ptr;
327 if (retval_ptr) {
328 zval_ptr_dtor(&retval_ptr);
/PHP_TRUNK/ext/libxml/
H A Dlibxml.c563 *retval_ptr = NULL; local
601 fci->retval_ptr_ptr = &retval_ptr;
612 retval_ptr = *fci->retval_ptr_ptr;
613 if (retval_ptr == NULL) {
618 } else if (Z_TYPE_P(retval_ptr) == IS_STRING) {
620 resource = Z_STRVAL_P(retval_ptr);
621 } else if (Z_TYPE_P(retval_ptr) == IS_RESOURCE) {
623 php_stream_from_zval_no_verify(stream, &retval_ptr);
649 } else if (Z_TYPE_P(retval_ptr) != IS_NULL) {
651 SEPARATE_ZVAL(&retval_ptr);
[all...]
/PHP_TRUNK/ext/spl/
H A Dspl_directory.c1890 zval *retval_ptr = &retval; local
1892 ZVAL_STRINGL(retval_ptr, intern->file_name, intern->file_name_len, 1);
1894 ZVAL_ZVAL(writeobj, retval_ptr, 0, 0);
1902 zval *retval_ptr = &retval; local
1904 ZVAL_STRING(retval_ptr, intern->u.dir.entry.d_name, 1);
1906 ZVAL_ZVAL(writeobj, retval_ptr, 0, 0);
H A Dspl_array.c1454 zval *retval_ptr = NULL; local
1462 zend_call_method(NULL, NULL, NULL, fname, fname_len, &retval_ptr, 1, tmp, NULL TSRMLS_CC);
1472 zend_call_method(NULL, NULL, NULL, fname, fname_len, &retval_ptr, arg? 2 : 1, tmp, arg TSRMLS_CC);
1482 zend_call_method(NULL, NULL, NULL, fname, fname_len, &retval_ptr, 2, tmp, arg TSRMLS_CC);
1487 if (retval_ptr) {
1488 COPY_PZVAL_TO_ZVAL(*return_value, retval_ptr);
/PHP_TRUNK/ext/curl/
H A Dinterface.c1295 zval *retval_ptr = NULL; local
1314 fci.retval_ptr_ptr = &retval_ptr;
1326 } else if (retval_ptr) {
1327 if (Z_TYPE_P(retval_ptr) != IS_LONG) {
1328 convert_to_long_ex(&retval_ptr);
1330 length = Z_LVAL_P(retval_ptr);
1331 zval_ptr_dtor(&retval_ptr);
1358 zval *retval_ptr; local
1380 fci.retval_ptr_ptr = &retval_ptr;
1391 } else if (retval_ptr) {
1430 zval *retval_ptr; local
1509 zval *retval_ptr; local
1590 zval *retval_ptr; local
[all...]
/PHP_TRUNK/ext/pcre/
H A Dphp_pcre.c886 zval *retval_ptr; /* Function return value */ local
905 if (call_user_function_ex(EG(function_table), NULL, function, &retval_ptr, 1, args, 0, NULL TSRMLS_CC) == SUCCESS && retval_ptr) {
906 convert_to_string_ex(&retval_ptr);
907 *result = estrndup(Z_STRVAL_P(retval_ptr), Z_STRLEN_P(retval_ptr));
908 result_len = Z_STRLEN_P(retval_ptr);
909 zval_ptr_dtor(&retval_ptr);
/PHP_TRUNK/ext/mysql/
H A Dphp_mysql.c2164 zval *retval_ptr; local
2175 fci.retval_ptr_ptr = &retval_ptr;
2202 if (retval_ptr) {
2203 zval_ptr_dtor(&retval_ptr);
/PHP_TRUNK/ext/mysqli/
H A Dmysqli.c1288 zval *retval_ptr; local
1299 fci.retval_ptr_ptr = &retval_ptr;
1326 if (retval_ptr) {
1327 zval_ptr_dtor(&retval_ptr);
/PHP_TRUNK/Zend/
H A Dzend_execute.h66 ZEND_API int zend_eval_string(char *str, zval *retval_ptr, char *string_name TSRMLS_DC);
67 ZEND_API int zend_eval_stringl(char *str, int str_len, zval *retval_ptr, char *string_name TSRMLS_DC);
68 ZEND_API int zend_eval_string_ex(char *str, zval *retval_ptr, char *string_name, int handle_exceptions TSRMLS_DC);
69 ZEND_API int zend_eval_stringl_ex(char *str, int str_len, zval *retval_ptr, char *string_name, int handle_exceptions TSRMLS_DC);
H A Dzend_execute_API.c580 int call_user_function(HashTable *function_table, zval **object_pp, zval *function_name, zval *retval_ptr, zend_uint param_count, zval *params[] TSRMLS_DC) /* {{{ */ argument
597 COPY_PZVAL_TO_ZVAL(*retval_ptr, local_retval_ptr);
599 INIT_ZVAL(*retval_ptr);
913 zval *retval_ptr = NULL; local
997 fcall_info.retval_ptr_ptr = &retval_ptr;
1019 if (retval_ptr) {
1020 zval_ptr_dtor(&retval_ptr);
1039 ZEND_API int zend_eval_stringl(char *str, int str_len, zval *retval_ptr, char *string_name TSRMLS_DC) /* {{{ */ argument
1047 if (retval_ptr) {
1091 if (retval_ptr) {
1119 zend_eval_string(char *str, zval *retval_ptr, char *string_name TSRMLS_DC) argument
1125 zend_eval_stringl_ex(char *str, int str_len, zval *retval_ptr, char *string_name, int handle_exceptions TSRMLS_DC) argument
1138 zend_eval_string_ex(char *str, zval *retval_ptr, char *string_name, int handle_exceptions TSRMLS_DC) argument
[all...]
H A Dzend_vm_def.h1197 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; variable
1199 if (retval_ptr) {
1200 Z_DELREF_PP(retval_ptr); variable
1201 SEPARATE_ZVAL_TO_MAKE_IS_REF(retval_ptr); variable
1202 Z_ADDREF_PP(retval_ptr); variable
1308 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; variable
1310 PZVAL_UNLOCK(*retval_ptr, &free_res);
1311 if (retval_ptr != &EG(uninitialized_zval_ptr)) {
1312 SEPARATE_ZVAL_IF_NOT_REF(retval_ptr); variable
1314 PZVAL_LOCK(*retval_ptr); variable
1400 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; variable
1402 Z_DELREF_PP(retval_ptr); variable
1403 SEPARATE_ZVAL_TO_MAKE_IS_REF(retval_ptr); variable
1404 Z_ADDREF_PP(retval_ptr); variable
2845 zval *retval_ptr; variable
2871 Z_DELREF_P(retval_ptr); variable
2878 Z_ADDREF_P(retval_ptr); variable
2888 zval *retval_ptr; variable
[all...]
H A Dzend_vm_execute.h2591 zval *retval_ptr; local
2595 retval_ptr = opline->op1.zv;
2602 PZVAL_IS_REF(retval_ptr)) {
2606 INIT_PZVAL_COPY(ret, retval_ptr);
2613 retval_ptr == &EG(uninitialized_zval)) {
2617 Z_DELREF_P(retval_ptr);
2622 *EG(return_value_ptr_ptr) = retval_ptr;
2624 Z_ADDREF_P(retval_ptr);
2634 zval *retval_ptr; local
2646 retval_ptr
7944 zval *retval_ptr; local
7987 zval *retval_ptr; local
13201 zval *retval_ptr; local
13244 zval *retval_ptr; local
15135 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
15246 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
15338 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
17480 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
17591 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
17683 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
19732 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
19843 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
19935 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
21703 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
23192 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
23303 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
23395 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
25181 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
26590 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
27904 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
29647 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
30811 zval *retval_ptr; local
30854 zval *retval_ptr; local
32596 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
32707 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
32797 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
34707 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
34818 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
34908 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
36820 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
36931 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
37021 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
38651 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
39991 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
40102 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
40192 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
[all...]
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c1368 zval *retval_ptr, **params[2]; local
1402 fci.retval_ptr_ptr = &retval_ptr;
1415 if (retval_ptr) {
1416 zval_ptr_dtor(&retval_ptr);
1437 fci.retval_ptr_ptr = &retval_ptr;
1446 zval_ptr_dtor(&retval_ptr);
1451 COPY_PZVAL_TO_ZVAL(*return_value, retval_ptr);
1453 zval_ptr_dtor(&retval_ptr);
1516 zval *object, fname, *retval_ptr; local
1526 result= call_user_function_ex(NULL, &object, &fname, &retval_ptr,
1898 zval *retval_ptr; local
1957 zval *retval_ptr; local
2835 zval *retval_ptr; local
2938 zval *retval_ptr; local
4217 zval *retval_ptr = NULL; local
4314 zval *retval_ptr = NULL; local
[all...]
/PHP_TRUNK/main/
H A DSAPI.c158 zval *retval_ptr = NULL; local
161 fci.retval_ptr_ptr = &retval_ptr;
166 } else if (retval_ptr) {
167 zval_ptr_dtor(&retval_ptr);

Completed in 98 milliseconds

12