Home
last modified time | relevance | path

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

12

/PHP-5.4/ext/filter/
H A Dcallback_filter.c25 zval *retval_ptr; in php_filter_callback() local
39 …status = call_user_function_ex(EG(function_table), NULL, option_array, &retval_ptr, 1, args, 0, NU… in php_filter_callback()
41 if (status == SUCCESS && retval_ptr != NULL) { in php_filter_callback()
42 if (retval_ptr != value) { in php_filter_callback()
44 COPY_PZVAL_TO_ZVAL(*value, retval_ptr); in php_filter_callback()
46 zval_ptr_dtor(&retval_ptr); in php_filter_callback()
/PHP-5.4/ext/standard/
H A Dvar.c626 count = zend_hash_num_elements(HASH_OF(retval_ptr)); in php_var_serialize_class()
645 zend_hash_internal_pointer_reset_ex(HASH_OF(retval_ptr), &pos); in php_var_serialize_class()
647 for (;; zend_hash_move_forward_ex(HASH_OF(retval_ptr), &pos)) { in php_var_serialize_class()
765 zval *retval_ptr = NULL; in php_var_serialize_intern() local
807 if (retval_ptr) { in php_var_serialize_intern()
808 zval_ptr_dtor(&retval_ptr); in php_var_serialize_intern()
814 if (retval_ptr) { in php_var_serialize_intern()
815 if (HASH_OF(retval_ptr)) { in php_var_serialize_intern()
823 zval_ptr_dtor(&retval_ptr); in php_var_serialize_intern()
829 if (retval_ptr) { in php_var_serialize_intern()
[all …]
H A Dvar_unserializer.c434 zval *retval_ptr = NULL; in object_common2() local
450 call_user_function_ex(CG(function_table), rval, &fname, &retval_ptr, 0, 0, 1, NULL TSRMLS_CC); in object_common2()
454 if (retval_ptr) { in object_common2()
455 zval_ptr_dtor(&retval_ptr); in object_common2()
644 zval *retval_ptr; in php_var_unserialize() local
716 …if (call_user_function_ex(CG(function_table), NULL, user_func, &retval_ptr, 1, args, 0, NULL TSRML… in php_var_unserialize()
732 if (retval_ptr) { in php_var_unserialize()
733 zval_ptr_dtor(&retval_ptr); in php_var_unserialize()
H A Dvar_unserializer.re438 zval *retval_ptr = NULL;
454 call_user_function_ex(CG(function_table), rval, &fname, &retval_ptr, 0, 0, 1, NULL TSRMLS_CC);
458 if (retval_ptr) {
459 zval_ptr_dtor(&retval_ptr);
703 zval *retval_ptr;
775 …if (call_user_function_ex(CG(function_table), NULL, user_func, &retval_ptr, 1, args, 0, NULL TSRML…
791 if (retval_ptr) {
792 zval_ptr_dtor(&retval_ptr);
H A Darray.c579 zval *retval_ptr = NULL; in php_array_user_compare() local
594 convert_to_long_ex(&retval_ptr); in php_array_user_compare()
595 retval = Z_LVAL_P(retval_ptr); in php_array_user_compare()
596 zval_ptr_dtor(&retval_ptr); in php_array_user_compare()
725 zval *retval_ptr = NULL; in php_array_user_key_compare() local
759 result = Z_LVAL_P(retval_ptr); in php_array_user_key_compare()
760 zval_ptr_dtor(&retval_ptr); in php_array_user_key_compare()
1120 if (retval_ptr) { in php_array_walk()
1121 zval_ptr_dtor(&retval_ptr); in php_array_walk()
2880 zval *retval_ptr = NULL; in zval_user_compare() local
[all …]
H A Dbasic_functions.c4719 zval *retval_ptr = NULL; local
4727 fci.retval_ptr_ptr = &retval_ptr;
4743 zval *params, *retval_ptr = NULL; local
4752 fci.retval_ptr_ptr = &retval_ptr;
4768 zval *retval_ptr; local
4788 if (retval_ptr) {
4834 if (retval_ptr) {
4849 zval *retval_ptr = NULL; local
4861 fci.retval_ptr_ptr = &retval_ptr;
4882 zval *params, *retval_ptr = NULL; local
[all …]
/PHP-5.4/ext/libxml/
H A Dlibxml.c561 *retval_ptr = NULL; in _php_libxml_external_entity_loader() local
599 fci->retval_ptr_ptr = &retval_ptr; in _php_libxml_external_entity_loader()
610 retval_ptr = *fci->retval_ptr_ptr; in _php_libxml_external_entity_loader()
611 if (retval_ptr == NULL) { in _php_libxml_external_entity_loader()
616 } else if (Z_TYPE_P(retval_ptr) == IS_STRING) { in _php_libxml_external_entity_loader()
618 resource = Z_STRVAL_P(retval_ptr); in _php_libxml_external_entity_loader()
647 } else if (Z_TYPE_P(retval_ptr) != IS_NULL) { in _php_libxml_external_entity_loader()
649 SEPARATE_ZVAL(&retval_ptr); in _php_libxml_external_entity_loader()
650 convert_to_string(retval_ptr); in _php_libxml_external_entity_loader()
671 if (retval_ptr != NULL) { in _php_libxml_external_entity_loader()
[all …]
/PHP-5.4/Zend/
H A Dzend_execute_API.c723 COPY_PZVAL_TO_ZVAL(*retval_ptr, local_retval_ptr); in call_user_function()
725 INIT_ZVAL(*retval_ptr); in call_user_function()
1036 zval *retval_ptr = NULL; in zend_lookup_class_ex() local
1120 fcall_info.retval_ptr_ptr = &retval_ptr; in zend_lookup_class_ex()
1142 if (retval_ptr) { in zend_lookup_class_ex()
1143 zval_ptr_dtor(&retval_ptr); in zend_lookup_class_ex()
1170 if (retval_ptr) { in zend_eval_stringl()
1214 if (retval_ptr) { in zend_eval_stringl()
1220 if (retval_ptr) { in zend_eval_stringl()
1221 INIT_ZVAL(*retval_ptr); in zend_eval_stringl()
[all …]
H A Dzend_execute.h72 ZEND_API int zend_eval_string(char *str, zval *retval_ptr, char *string_name TSRMLS_DC);
73 ZEND_API int zend_eval_stringl(char *str, int str_len, zval *retval_ptr, char *string_name TSRMLS_D…
74 ZEND_API int zend_eval_string_ex(char *str, zval *retval_ptr, char *string_name, int handle_excepti…
75 ZEND_API int zend_eval_stringl_ex(char *str, int str_len, zval *retval_ptr, char *string_name, int …
H A Dzend_vm_def.h1207 if (retval_ptr) {
1208 Z_DELREF_PP(retval_ptr);
1210 Z_ADDREF_PP(retval_ptr);
1322 PZVAL_LOCK(*retval_ptr);
1415 Z_DELREF_PP(retval_ptr);
1417 Z_ADDREF_PP(retval_ptr);
2827 zval *retval_ptr; variable
2839 (PZVAL_IS_REF(retval_ptr) && Z_REFCOUNT_P(retval_ptr) > 0)) {
2854 Z_ADDREF_P(retval_ptr);
2860 INIT_PZVAL_COPY(ret, retval_ptr);
[all …]
H A Dzend_vm_execute.h2239 zval *retval_ptr; in ZEND_RETURN_SPEC_CONST_HANDLER() local
2251 (PZVAL_IS_REF(retval_ptr) && Z_REFCOUNT_P(retval_ptr) > 0)) { in ZEND_RETURN_SPEC_CONST_HANDLER()
2282 zval *retval_ptr; in ZEND_RETURN_BY_REF_SPEC_CONST_HANDLER() local
6668 zval *retval_ptr; in ZEND_RETURN_SPEC_TMP_HANDLER() local
6680 (PZVAL_IS_REF(retval_ptr) && Z_REFCOUNT_P(retval_ptr) > 0)) { in ZEND_RETURN_SPEC_TMP_HANDLER()
6711 zval *retval_ptr; in ZEND_RETURN_BY_REF_SPEC_TMP_HANDLER() local
10983 zval *retval_ptr; in ZEND_RETURN_SPEC_VAR_HANDLER() local
10995 (PZVAL_IS_REF(retval_ptr) && Z_REFCOUNT_P(retval_ptr) > 0)) { in ZEND_RETURN_SPEC_VAR_HANDLER()
11026 zval *retval_ptr; in ZEND_RETURN_BY_REF_SPEC_VAR_HANDLER() local
26973 zval *retval_ptr; in ZEND_RETURN_SPEC_CV_HANDLER() local
[all …]
/PHP-5.4/ext/curl/
H A Dinterface.c1022 zval *retval_ptr = NULL; in curl_write() local
1053 } else if (retval_ptr) { in curl_write()
1059 zval_ptr_dtor(&retval_ptr); in curl_write()
1092 zval *retval_ptr; in curl_progress() local
1127 } else if (retval_ptr) { in curl_progress()
1135 zval_ptr_dtor(&retval_ptr); in curl_progress()
1167 zval *retval_ptr; in curl_read() local
1204 } else if (retval_ptr) { in curl_read()
1210 zval_ptr_dtor(&retval_ptr); in curl_read()
1249 zval *retval_ptr; in curl_write_header() local
[all …]
/PHP-5.4/ext/reflection/
H A Dphp_reflection.c1412 if (retval_ptr) { in _reflection_export()
1531 if (!retval_ptr) { in ZEND_METHOD()
1895 zval *retval_ptr; in ZEND_METHOD() local
1938 if (retval_ptr) { in ZEND_METHOD()
1954 zval *retval_ptr; in ZEND_METHOD() local
2003 if (retval_ptr) { in ZEND_METHOD()
2817 zval *retval_ptr; in ZEND_METHOD() local
2910 if (retval_ptr) { in ZEND_METHOD()
2920 zval *retval_ptr; in ZEND_METHOD() local
3025 if (retval_ptr) { in ZEND_METHOD()
[all …]
/PHP-5.4/ext/mbstring/
H A Dphp_mbregex.c956 zval *retval_ptr; in _php_mb_regex_ereg_replace_exec() local
974 arg_replace_fci.retval_ptr_ptr = &retval_ptr; in _php_mb_regex_ereg_replace_exec()
976 convert_to_string_ex(&retval_ptr); in _php_mb_regex_ereg_replace_exec()
977 smart_str_appendl(&out_buf, Z_STRVAL_P(retval_ptr), Z_STRLEN_P(retval_ptr)); in _php_mb_regex_ereg_replace_exec()
979 zval_ptr_dtor(&retval_ptr); in _php_mb_regex_ereg_replace_exec()
/PHP-5.4/ext/pcre/
H A Dphp_pcre.c860 zval *retval_ptr; /* Function return value */ in preg_do_repl_func() local
876 …ion_ex(EG(function_table), NULL, function, &retval_ptr, 1, args, 0, NULL TSRMLS_CC) == SUCCESS && in preg_do_repl_func()
877 convert_to_string_ex(&retval_ptr); in preg_do_repl_func()
878 *result = estrndup(Z_STRVAL_P(retval_ptr), Z_STRLEN_P(retval_ptr)); in preg_do_repl_func()
879 result_len = Z_STRLEN_P(retval_ptr); in preg_do_repl_func()
880 zval_ptr_dtor(&retval_ptr); in preg_do_repl_func()
/PHP-5.4/main/
H A DSAPI.c162 zval *retval_ptr = NULL; in sapi_run_header_callback() local
165 fci.retval_ptr_ptr = &retval_ptr; in sapi_run_header_callback()
170 } else if (retval_ptr) { in sapi_run_header_callback()
171 zval_ptr_dtor(&retval_ptr); in sapi_run_header_callback()
/PHP-5.4/ext/phar/
H A Dutil.c1663 zval *zdata, *zsig, *zkey, *retval_ptr, **zp[3], *openssl; local
1729 fci.retval_ptr_ptr = &retval_ptr;
1765 switch (Z_TYPE_P(retval_ptr)) {
1770 if (1 == Z_LVAL_P(retval_ptr)) {
1771 efree(retval_ptr);
1774 efree(retval_ptr);
1777 efree(retval_ptr);
1778 if (Z_BVAL_P(retval_ptr)) {
H A Dphar_object.c683 zval *params, *retval_ptr, **zp[1]; local
710 fci.retval_ptr_ptr = &retval_ptr;
724 if (!fci.retval_ptr_ptr || !retval_ptr) {
732 switch (Z_TYPE_P(retval_ptr)) {
735 zval_unicode_to_string(retval_ptr TSRMLS_CC);
741 if (fci.retval_ptr_ptr != &retval_ptr) {
745 entry = Z_STRVAL_P(retval_ptr);
746 entry_len = Z_STRLEN_P(retval_ptr);
760 efree(retval_ptr);
/PHP-5.4/ext/spl/
H A Dspl_array.c1445 zval *retval_ptr = NULL; in spl_array_method() local
1453 zend_call_method(NULL, NULL, NULL, fname, fname_len, &retval_ptr, 1, tmp, NULL TSRMLS_CC); in spl_array_method()
1463 zend_call_method(NULL, NULL, NULL, fname, fname_len, &retval_ptr, arg? 2 : 1, tmp, arg TSRMLS_CC); in spl_array_method()
1473 zend_call_method(NULL, NULL, NULL, fname, fname_len, &retval_ptr, 2, tmp, arg TSRMLS_CC); in spl_array_method()
1478 if (retval_ptr) { in spl_array_method()
1479 COPY_PZVAL_TO_ZVAL(*return_value, retval_ptr); in spl_array_method()
H A Dspl_directory.c1896 zval *retval_ptr = &retval; in spl_filesystem_object_cast() local
1898 ZVAL_STRINGL(retval_ptr, intern->file_name, intern->file_name_len, 1); in spl_filesystem_object_cast()
1900 ZVAL_ZVAL(writeobj, retval_ptr, 0, 0); in spl_filesystem_object_cast()
1908 zval *retval_ptr = &retval; in spl_filesystem_object_cast() local
1910 ZVAL_STRING(retval_ptr, intern->u.dir.entry.d_name, 1); in spl_filesystem_object_cast()
1912 ZVAL_ZVAL(writeobj, retval_ptr, 0, 0); in spl_filesystem_object_cast()
/PHP-5.4/ext/pdo/
H A Dphp_pdo_driver.h611 zval *retval_ptr; member
H A Dpdo_stmt.c759 fci->retval_ptr_ptr = &stmt->fetch.cls.retval_ptr; in do_fetch_class_prepare()
984 if (stmt->fetch.cls.retval_ptr) { in do_fetch()
985 zval_ptr_dtor(&stmt->fetch.cls.retval_ptr); in do_fetch()
1184 if (stmt->fetch.cls.retval_ptr) { in do_fetch()
1185 zval_ptr_dtor(&stmt->fetch.cls.retval_ptr); in do_fetch()
/PHP-5.4/ext/mysqli/
H A Dmysqli.c1271 zval *retval_ptr; in php_mysqli_fetch_into_hash() local
1282 fci.retval_ptr_ptr = &retval_ptr; in php_mysqli_fetch_into_hash()
1320 if (retval_ptr) { in php_mysqli_fetch_into_hash()
1321 zval_ptr_dtor(&retval_ptr); in php_mysqli_fetch_into_hash()
/PHP-5.4/main/streams/
H A Duserspace.c303 zval *retval_ptr; in user_stream_create_object() local
310 fci.retval_ptr_ptr = &retval_ptr; in user_stream_create_object()
327 if (retval_ptr) { in user_stream_create_object()
328 zval_ptr_dtor(&retval_ptr); in user_stream_create_object()
/PHP-5.4/ext/mysql/
H A Dphp_mysql.c2160 zval *retval_ptr; local
2171 fci.retval_ptr_ptr = &retval_ptr;
2209 if (retval_ptr) {
2210 zval_ptr_dtor(&retval_ptr);

Completed in 235 milliseconds

12