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

12

/PHP_5_4/ext/pcre/
H A Dphp_pcre.c860 zval *retval_ptr; /* Function return value */ local
876 if (call_user_function_ex(EG(function_table), NULL, function, &retval_ptr, 1, args, 0, NULL TSRMLS_CC) == SUCCESS && retval_ptr) {
877 convert_to_string_ex(&retval_ptr);
878 *result = estrndup(Z_STRVAL_P(retval_ptr), Z_STRLEN_P(retval_ptr));
879 result_len = Z_STRLEN_P(retval_ptr);
880 zval_ptr_dtor(&retval_ptr);
/PHP_5_4/ext/pdo/
H A Dpdo_stmt.c759 fci->retval_ptr_ptr = &stmt->fetch.cls.retval_ptr;
984 if (stmt->fetch.cls.retval_ptr) {
985 zval_ptr_dtor(&stmt->fetch.cls.retval_ptr);
1184 if (stmt->fetch.cls.retval_ptr) {
1185 zval_ptr_dtor(&stmt->fetch.cls.retval_ptr);
H A Dphp_pdo_driver.h611 zval *retval_ptr; member in struct:_pdo_stmt_t::__anon151::__anon152
/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/reflection/
H A Dphp_reflection.c1365 zval *retval_ptr, **params[2]; local
1399 fci.retval_ptr_ptr = &retval_ptr;
1412 if (retval_ptr) {
1413 zval_ptr_dtor(&retval_ptr);
1434 fci.retval_ptr_ptr = &retval_ptr;
1443 zval_ptr_dtor(&retval_ptr);
1448 COPY_PZVAL_TO_ZVAL(*return_value, retval_ptr);
1450 zval_ptr_dtor(&retval_ptr);
1513 zval *object, fname, *retval_ptr; local
1523 result= call_user_function_ex(NULL, &object, &fname, &retval_ptr,
1895 zval *retval_ptr; local
1954 zval *retval_ptr; local
2817 zval *retval_ptr; local
2920 zval *retval_ptr; local
4183 zval *retval_ptr = NULL; local
4273 zval *retval_ptr = NULL; local
[all...]
/PHP_5_4/ext/standard/
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 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
4787 if (call_user_function_ex(EG(function_table), &object, callback, &retval_ptr, n_params, params, 0, NULL TSRMLS_CC) == SUCCESS) {
4788 if (retval_ptr) {
4789 COPY_PZVAL_TO_ZVAL(*return_value, retval_ptr);
4804 zval *params, ***method_args = NULL, *retval_ptr; local
4833 if (call_user_function_ex(EG(function_table), &object, callback, &retval_ptr, num_elem
4849 zval *retval_ptr = NULL; local
4882 zval *params, *retval_ptr = NULL; local
[all...]
H A Darray.c579 zval *retval_ptr = NULL; local
589 BG(user_compare_fci).retval_ptr_ptr = &retval_ptr;
591 if (zend_call_function(&BG(user_compare_fci), &BG(user_compare_fci_cache) TSRMLS_CC) == SUCCESS && retval_ptr) {
594 convert_to_long_ex(&retval_ptr);
595 retval = Z_LVAL_P(retval_ptr);
596 zval_ptr_dtor(&retval_ptr);
725 zval *retval_ptr = NULL; local
755 BG(user_compare_fci).retval_ptr_ptr = &retval_ptr;
757 if (zend_call_function(&BG(user_compare_fci), &BG(user_compare_fci_cache) TSRMLS_CC) == SUCCESS && retval_ptr) {
758 convert_to_long_ex(&retval_ptr);
1056 *retval_ptr = NULL, /* Return value - unused */ local
2880 zval *retval_ptr = NULL; local
[all...]
H A Dvar_unserializer.c421 zval *retval_ptr = NULL; local
437 call_user_function_ex(CG(function_table), rval, &fname, &retval_ptr, 0, 0, 1, NULL TSRMLS_CC); local
441 if (retval_ptr) {
442 zval_ptr_dtor(&retval_ptr);
630 zval *retval_ptr; local
701 if (call_user_function_ex(CG(function_table), NULL, user_func, &retval_ptr, 1, args, 0, NULL TSRMLS_CC) != SUCCESS) {
717 if (retval_ptr) {
718 zval_ptr_dtor(&retval_ptr);
H A Dvar_unserializer.re425 zval *retval_ptr = NULL;
441 call_user_function_ex(CG(function_table), rval, &fname, &retval_ptr, 0, 0, 1, NULL TSRMLS_CC);
445 if (retval_ptr) {
446 zval_ptr_dtor(&retval_ptr);
688 zval *retval_ptr;
759 if (call_user_function_ex(CG(function_table), NULL, user_func, &retval_ptr, 1, args, 0, NULL TSRMLS_CC) != SUCCESS) {
775 if (retval_ptr) {
776 zval_ptr_dtor(&retval_ptr);
/PHP_5_4/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_5_4/Zend/
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_DC);
74 ZEND_API int zend_eval_string_ex(char *str, zval *retval_ptr, char *string_name, int handle_exceptions TSRMLS_DC);
75 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_vm_def.h1205 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; variable
1207 if (retval_ptr) {
1208 Z_DELREF_PP(retval_ptr); variable
1209 SEPARATE_ZVAL_TO_MAKE_IS_REF(retval_ptr); variable
1210 Z_ADDREF_PP(retval_ptr); variable
1316 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; variable
1318 PZVAL_UNLOCK(*retval_ptr, &free_res);
1319 if (retval_ptr != &EG(uninitialized_zval_ptr)) {
1320 SEPARATE_ZVAL_IF_NOT_REF(retval_ptr); variable
1322 PZVAL_LOCK(*retval_ptr); variable
1413 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; variable
1415 Z_DELREF_PP(retval_ptr); variable
1416 SEPARATE_ZVAL_TO_MAKE_IS_REF(retval_ptr); variable
1417 Z_ADDREF_PP(retval_ptr); variable
2827 zval *retval_ptr; variable
2854 Z_ADDREF_P(retval_ptr); variable
2870 zval *retval_ptr; variable
[all...]
H A Dzend_vm_execute.h2239 zval *retval_ptr; local
2243 retval_ptr = opline->op1.zv;
2251 (PZVAL_IS_REF(retval_ptr) && Z_REFCOUNT_P(retval_ptr) > 0)) {
2255 INIT_PZVAL_COPY(ret, retval_ptr);
2259 retval_ptr == &EG(uninitialized_zval)) {
2265 *EG(return_value_ptr_ptr) = retval_ptr;
2266 Z_ADDREF_P(retval_ptr);
2272 INIT_PZVAL_COPY(ret, retval_ptr);
2282 zval *retval_ptr; local
6668 zval *retval_ptr; local
6711 zval *retval_ptr; local
10983 zval *retval_ptr; local
11026 zval *retval_ptr; local
12920 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
13031 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
13128 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
15096 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
15207 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
15304 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
17182 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
17293 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
17390 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
18984 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
20313 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
20424 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
20521 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
22134 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
23387 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
24546 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
25973 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
26973 zval *retval_ptr; local
27016 zval *retval_ptr; local
28749 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
28860 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
28955 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
30700 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
30811 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
30906 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
32655 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
32766 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
32861 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
34325 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
35513 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
35624 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
35719 zval **retval_ptr = EX_T(opline->result.var).var.ptr_ptr; local
[all...]
H A Dzend_execute_API.c706 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
723 COPY_PZVAL_TO_ZVAL(*retval_ptr, local_retval_ptr);
725 INIT_ZVAL(*retval_ptr);
1036 zval *retval_ptr = NULL; local
1120 fcall_info.retval_ptr_ptr = &retval_ptr;
1142 if (retval_ptr) {
1143 zval_ptr_dtor(&retval_ptr);
1162 ZEND_API int zend_eval_stringl(char *str, int str_len, zval *retval_ptr, char *string_name TSRMLS_DC) /* {{{ */ argument
1170 if (retval_ptr) {
1214 if (retval_ptr) {
1242 zend_eval_string(char *str, zval *retval_ptr, char *string_name TSRMLS_DC) argument
1248 zend_eval_stringl_ex(char *str, int str_len, zval *retval_ptr, char *string_name, int handle_exceptions TSRMLS_DC) argument
1261 zend_eval_string_ex(char *str, zval *retval_ptr, char *string_name, int handle_exceptions TSRMLS_DC) argument
[all...]
/PHP_5_4/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_5_4/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_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);
/PHP_5_4/ext/libxml/
H A Dlibxml.c561 *retval_ptr = NULL; local
599 fci->retval_ptr_ptr = &retval_ptr;
610 retval_ptr = *fci->retval_ptr_ptr;
611 if (retval_ptr == NULL) {
616 } else if (Z_TYPE_P(retval_ptr) == IS_STRING) {
618 resource = Z_STRVAL_P(retval_ptr);
619 } else if (Z_TYPE_P(retval_ptr) == IS_RESOURCE) {
621 php_stream_from_zval_no_verify(stream, &retval_ptr);
647 } else if (Z_TYPE_P(retval_ptr) != IS_NULL) {
649 SEPARATE_ZVAL(&retval_ptr);
[all...]
/PHP_5_4/ext/mysqli/
H A Dmysqli.c1271 zval *retval_ptr; local
1282 fci.retval_ptr_ptr = &retval_ptr;
1320 if (retval_ptr) {
1321 zval_ptr_dtor(&retval_ptr);
/PHP_5_4/ext/spl/
H A Dspl_directory.c1896 zval *retval_ptr = &retval; local
1898 ZVAL_STRINGL(retval_ptr, intern->file_name, intern->file_name_len, 1);
1900 ZVAL_ZVAL(writeobj, retval_ptr, 0, 0);
1908 zval *retval_ptr = &retval; local
1910 ZVAL_STRING(retval_ptr, intern->u.dir.entry.d_name, 1);
1912 ZVAL_ZVAL(writeobj, retval_ptr, 0, 0);
H A Dspl_array.c1445 zval *retval_ptr = NULL; local
1453 zend_call_method(NULL, NULL, NULL, fname, fname_len, &retval_ptr, 1, tmp, NULL TSRMLS_CC);
1463 zend_call_method(NULL, NULL, NULL, fname, fname_len, &retval_ptr, arg? 2 : 1, tmp, arg TSRMLS_CC);
1473 zend_call_method(NULL, NULL, NULL, fname, fname_len, &retval_ptr, 2, tmp, arg TSRMLS_CC);
1478 if (retval_ptr) {
1479 COPY_PZVAL_TO_ZVAL(*return_value, retval_ptr);
/PHP_5_4/main/
H A DSAPI.c162 zval *retval_ptr = NULL; local
165 fci.retval_ptr_ptr = &retval_ptr;
170 } else if (retval_ptr) {
171 zval_ptr_dtor(&retval_ptr);
/PHP_5_4/ext/curl/
H A Dinterface.c1022 zval *retval_ptr = NULL; local
1041 fci.retval_ptr_ptr = &retval_ptr;
1053 } else if (retval_ptr) {
1054 if (Z_TYPE_P(retval_ptr) != IS_LONG) {
1055 convert_to_long_ex(&retval_ptr);
1057 length = Z_LVAL_P(retval_ptr);
1058 zval_ptr_dtor(&retval_ptr);
1091 zval *retval_ptr; local
1115 fci.retval_ptr_ptr = &retval_ptr;
1126 } else if (retval_ptr) {
1165 zval *retval_ptr; local
1246 zval *retval_ptr; local
[all...]

Completed in 114 milliseconds

12