Home
last modified time | relevance | path

Searched refs:retval (Results 101 – 125 of 189) sorted by relevance

12345678

/PHP-5.5/ext/spl/
H A Dspl_dllist.c90 zval *retval; member
354 zval_ptr_dtor(&intern->retval); in spl_dllist_object_free_storage()
369 zend_object_value retval = {0}; in spl_dllist_object_new_ex() local
376 ALLOC_INIT_ZVAL(intern->retval); in spl_dllist_object_new_ex()
410 retval.handlers = &spl_handler_SplDoublyLinkedList; in spl_dllist_object_new_ex()
453 return retval; in spl_dllist_object_new_ex()
490 zval_ptr_dtor(&intern->retval); in spl_dllist_object_count_elements()
491 MAKE_STD_ZVAL(intern->retval); in spl_dllist_object_count_elements()
492 ZVAL_ZVAL(intern->retval, rv, 1, 1); in spl_dllist_object_count_elements()
493 convert_to_long(intern->retval); in spl_dllist_object_count_elements()
[all …]
H A Dspl_heap.c74 zval *retval; member
374 zval_ptr_dtor(&intern->retval); in spl_heap_object_free_storage()
387 zend_object_value retval; in spl_heap_object_new_ex() local
394 ALLOC_INIT_ZVAL(intern->retval); in spl_heap_object_new_ex()
424 retval.handlers = &spl_handler_SplHeap; in spl_heap_object_new_ex()
469 return retval; in spl_heap_object_new_ex()
506 zval_ptr_dtor(&intern->retval); in spl_heap_object_count_elements()
507 MAKE_STD_ZVAL(intern->retval); in spl_heap_object_count_elements()
508 ZVAL_ZVAL(intern->retval, rv, 1, 1); in spl_heap_object_count_elements()
509 convert_to_long(intern->retval); in spl_heap_object_count_elements()
[all …]
H A Dspl_directory.c149 zend_object_value retval; in spl_filesystem_object_new_ex() local
164 return retval; in spl_filesystem_object_new_ex()
833 if (retval) { in SPL_METHOD()
835 retval = NULL; in SPL_METHOD()
842 if (retval) { in SPL_METHOD()
845 retval = NULL; in SPL_METHOD()
851 if (retval) { in SPL_METHOD()
1890 zval retval; in spl_filesystem_object_cast() local
1902 zval retval; in spl_filesystem_object_cast() local
2191 zval *retval = NULL; in spl_filesystem_file_read_line_ex() local
[all …]
/PHP-5.5/ext/snmp/
H A Dsnmp.c492 zend_object_value retval; in php_snmp_object_new() local
505 return retval; in php_snmp_object_new()
1981 zval *retval; in php_snmp_read_property() local
2002 Z_SET_REFCOUNT_P(retval, 0); in php_snmp_read_property()
2014 return(retval); in php_snmp_read_property()
2142 MAKE_STD_ZVAL(*retval); in php_snmp_read_info()
2143 array_init(*retval); in php_snmp_read_info()
2172 MAKE_STD_ZVAL(*retval); in php_snmp_read_max_oids()
2176 ZVAL_NULL(*retval); in php_snmp_read_max_oids()
2185 MAKE_STD_ZVAL(*retval); \
[all …]
/PHP-5.5/ext/intl/breakiterator/
H A Dbreakiterator_iterators.cpp245 zend_object_value retval; in IntlPartsIterator_object_create() local
247 retval = IntlIterator_ce_ptr->create_object(ce TSRMLS_CC); in IntlPartsIterator_object_create()
248 retval.handlers = &IntlPartsIterator_handlers; in IntlPartsIterator_object_create()
250 return retval; in IntlPartsIterator_object_create()
H A Dbreakiterator_class.cpp216 zend_object_value retval; in BreakIterator_object_create() local
230 retval.handle = zend_objects_store_put( in BreakIterator_object_create()
236 retval.handlers = &BreakIterator_handlers; in BreakIterator_object_create()
238 return retval; in BreakIterator_object_create()
/PHP-5.5/main/
H A Doutput.c968 zval *retval = NULL, *ob_data, *ob_mode; in php_output_handler_op() local
976 #define PHP_OUTPUT_USER_SUCCESS(retval) (retval && !(Z_TYPE_P(retval) == IS_BOOL && Z_BVAL_P(retval in php_output_handler_op() argument
977 …ler->func.user->fci, &handler->func.user->fcc, &retval, NULL TSRMLS_CC) && PHP_OUTPUT_USER_SUCCESS… in php_output_handler_op()
980 if (Z_TYPE_P(retval) != IS_BOOL) { in php_output_handler_op()
981 convert_to_string_ex(&retval); in php_output_handler_op()
982 if (Z_STRLEN_P(retval)) { in php_output_handler_op()
983 context->out.data = estrndup(Z_STRVAL_P(retval), Z_STRLEN_P(retval)); in php_output_handler_op()
984 context->out.used = Z_STRLEN_P(retval); in php_output_handler_op()
997 if (retval) { in php_output_handler_op()
998 zval_ptr_dtor(&retval); in php_output_handler_op()
/PHP-5.5/ext/dom/
H A Dnamednodemap.c86 int dom_namednodemap_length_read(dom_object *obj, zval **retval TSRMLS_DC) in dom_namednodemap_length_read()
116 MAKE_STD_ZVAL(*retval); in dom_namednodemap_length_read()
117 ZVAL_LONG(*retval, count); in dom_namednodemap_length_read()
/PHP-5.5/ext/standard/
H A Dfilters.c1371 php_conv *retval = NULL; in php_conv_open() local
1394 retval = pemalloc(sizeof(php_conv_base64_encode), persistent); in php_conv_open()
1411 retval = pemalloc(sizeof(php_conv_base64_decode), persistent); in php_conv_open()
1446 retval = pemalloc(sizeof(php_conv_qprint_encode), persistent); in php_conv_open()
1484 retval = NULL; in php_conv_open()
1487 return retval; in php_conv_open()
1490 if (retval != NULL) { in php_conv_open()
1491 pefree(retval, persistent); in php_conv_open()
1806 php_stream_filter *retval = NULL; in strfilter_convert_create() local
1841 if (retval == NULL) { in strfilter_convert_create()
[all …]
H A Dhtml.c461 size_t retval = 0; in php_utf32_utf8() local
467 retval = 1; in php_utf32_utf8()
471 retval = 2; in php_utf32_utf8()
476 retval = 3; in php_utf32_utf8()
482 retval = 4; in php_utf32_utf8()
486 return retval; in php_utf32_utf8()
1066 entity_table_opt retval = {NULL}; in determine_entity_table() local
1071 retval.ms_table = (doctype == ENT_HTML_DOC_HTML5) ? in determine_entity_table()
1074 retval.table = (doctype == ENT_HTML_DOC_HTML401) ? in determine_entity_table()
1077 return retval; in determine_entity_table()
H A Dstreamsfuncs.c781 int retval, sets = 0; in PHP_FUNCTION() local
849 retval = stream_array_emulate_read_fd_set(r_array TSRMLS_CC); in PHP_FUNCTION()
850 if (retval > 0) { in PHP_FUNCTION()
857 RETURN_LONG(retval); in PHP_FUNCTION()
861 retval = php_select(max_fd+1, &rfds, &wfds, &efds, tv_p); in PHP_FUNCTION()
863 if (retval == -1) { in PHP_FUNCTION()
873 RETURN_LONG(retval); in PHP_FUNCTION()
882 zval *retval = NULL; in user_space_stream_notifier() local
906 …if (FAILURE == call_user_function_ex(EG(function_table), NULL, callback, &retval, 6, ptps, 0, NULL… in user_space_stream_notifier()
912 if (retval) { in user_space_stream_notifier()
[all …]
H A Dcrypt_blowfish.c830 char *retval; in php_crypt_blowfish_rn() local
840 retval = BF_crypt(key, setting, output, size, 16); in php_crypt_blowfish_rn()
851 if (retval) { in php_crypt_blowfish_rn()
878 return retval; in php_crypt_blowfish_rn()
/PHP-5.5/ext/sockets/
H A Dsendrecvmsg.c320 int retval; in php_do_setsockopt_ipv6_rfc3542() local
356 retval = setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen); in php_do_setsockopt_ipv6_rfc3542()
357 if (retval != 0) { in php_do_setsockopt_ipv6_rfc3542()
362 return retval != 0 ? FAILURE : SUCCESS; in php_do_setsockopt_ipv6_rfc3542()
/PHP-5.5/Zend/
H A Dzend_ini_scanner.l134 #define zend_ini_copy_value(retval, str, len) { \ argument
135 Z_STRVAL_P(retval) = zend_strndup(str, len); \
136 Z_STRLEN_P(retval) = len; \
137 Z_TYPE_P(retval) = IS_STRING; \
H A Dzend_API.c904 int retval; in zend_parse_parameters_ex() local
912 return retval; in zend_parse_parameters_ex()
919 int retval; in zend_parse_parameters() local
927 return retval; in zend_parse_parameters()
934 int retval; in zend_parse_method_parameters() local
963 return retval; in zend_parse_method_parameters()
970 int retval; in zend_parse_method_parameters_ex() local
1004 return retval; in zend_parse_method_parameters_ex()
2833 retval = 1; in zend_is_callable_check_func()
2836 retval = 1; in zend_is_callable_check_func()
[all …]
H A Dzend_list.c336 int retval; in zend_init_rsrc_list_dtors() local
338 retval = zend_hash_init(&list_destructors, 50, NULL, NULL, 1); in zend_init_rsrc_list_dtors()
341 return retval; in zend_init_rsrc_list_dtors()
H A Dzend.c1022 zval *retval; in zend_error() local
1209 …if (call_user_function_ex(CG(function_table), NULL, orig_user_error_handler, &retval, 5, params, 1… in zend_error()
1210 if (retval) { in zend_error()
1211 if (Z_TYPE_P(retval) == IS_BOOL && Z_LVAL_P(retval) == 0) { in zend_error()
1214 zval_ptr_dtor(&retval); in zend_error()
1295 ZEND_API int zend_execute_scripts(int type TSRMLS_DC, zval **retval, int file_count, ...) /* {{{ */ in zend_execute_scripts() argument
1326 EG(return_value_ptr_ptr) = retval ? retval : NULL; in zend_execute_scripts()
H A Dzend_language_scanner.l558 zend_op_array *retval=NULL; in END_EXTERN_C() local
597 if (retval) { in END_EXTERN_C()
604 retval = NULL; in END_EXTERN_C()
608 return retval; in END_EXTERN_C()
616 zend_op_array *retval; in compile_filename() local
650 return retval; in compile_filename()
729 zend_op_array *retval; in compile_string() local
749 retval = NULL; in compile_string()
772 retval = NULL; in compile_string()
778 retval = op_array; in compile_string()
[all …]
/PHP-5.5/main/streams/
H A Dxp_socket.c77 int retval; in php_sockop_write() local
82 retval = php_pollfd_for(sock->socket, POLLOUT, ptimeout); in php_sockop_write()
84 if (retval == 0) { in php_sockop_write()
89 if (retval > 0) { in php_sockop_write()
116 int retval; in php_sock_stream_wait_for_data() local
131 retval = php_pollfd_for(sock->socket, PHP_POLLREADABLE, ptimeout); in php_sock_stream_wait_for_data()
133 if (retval == 0) in php_sock_stream_wait_for_data()
136 if (retval >= 0) in php_sock_stream_wait_for_data()
/PHP-5.5/ext/com_dotnet/
H A Dcom_wrapper.c255 zval *retval = NULL; in disp_invokeex() local
290retval = zend_read_property(Z_OBJCE_P(disp->object), disp->object, Z_STRVAL_PP(name), Z_STRLEN_PP(… in disp_invokeex()
296 &retval, pdp->cArgs, params, 1, NULL TSRMLS_CC)) { in disp_invokeex()
332 if (retval) { in disp_invokeex()
335 php_com_variant_from_zval(pvarRes, retval, COMG(code_page) TSRMLS_CC); in disp_invokeex()
337 zval_ptr_dtor(&retval); in disp_invokeex()
/PHP-5.5/ext/intl/collator/
H A Dcollator_convert.c37 #define COLLATOR_CONVERT_RETURN_FAILED(retval) { \ argument
38 zval_add_ref( &retval ); \
39 return retval; \
/PHP-5.5/ext/mbstring/
H A Dphp_mbregex.c452 php_mb_regex_t *retval = NULL, **rc = NULL; in php_mbregex_compile_pattern() local
458 …if ((err_code = onig_new(&retval, (OnigUChar *)pattern, (OnigUChar *)(pattern + patlen), options, … in php_mbregex_compile_pattern()
461 retval = NULL; in php_mbregex_compile_pattern()
464 …zend_hash_update(&MBREX(ht_rc), (char *) pattern, patlen + 1, (void *) &retval, sizeof(retval), NU… in php_mbregex_compile_pattern()
466 retval = *rc; in php_mbregex_compile_pattern()
469 return retval; in php_mbregex_compile_pattern()
668 const char *retval = _php_mb_regex_mbctype2name(MBREX(current_mbctype)); in PHP_FUNCTION() local
670 if (retval == NULL) { in PHP_FUNCTION()
674 RETURN_STRING((char *)retval, 1); in PHP_FUNCTION()
/PHP-5.5/ext/fileinfo/
H A Dfileinfo.c99 zend_object_value retval; in finfo_objects_new() local
110 retval.handle = zend_objects_store_put(intern, NULL, in finfo_objects_new()
112 retval.handlers = (zend_object_handlers *) &finfo_object_handlers; in finfo_objects_new()
114 return retval; in finfo_objects_new()
/PHP-5.5/ext/intl/timezone/
H A Dtimezone_class.cpp370 zend_object_value retval; in TimeZone_object_create() local
384 retval.handle = zend_objects_store_put( in TimeZone_object_create()
390 retval.handlers = &TimeZone_handlers; in TimeZone_object_create()
392 return retval; in TimeZone_object_create()
/PHP-5.5/ext/libxml/
H A Dlibxml.c578 int retval; in _php_libxml_external_entity_loader() local
620 retval = zend_call_function(fci, &LIBXML(entity_loader).fcc TSRMLS_CC); in _php_libxml_external_entity_loader()
621 if (retval != SUCCESS || fci->retval_ptr_ptr == NULL) { in _php_libxml_external_entity_loader()
964 zend_bool use_errors=0, retval; in PHP_FUNCTION() local
972 retval = 1; in PHP_FUNCTION()
974 retval = 0; in PHP_FUNCTION()
978 RETURN_BOOL(retval); in PHP_FUNCTION()
995 RETURN_BOOL(retval); in PHP_FUNCTION()

Completed in 135 milliseconds

12345678