Home
last modified time | relevance | path

Searched refs:retval (Results 26 – 50 of 189) sorted by last modified time

12345678

/PHP-5.5/ext/tidy/
H A Dtidy.c675 zend_object_value *retval, tidy_obj_type objtype TSRMLS_DC) in tidy_object_new() argument
714retval->handle = zend_objects_store_put(intern, (zend_objects_store_dtor_t)zend_objects_destroy_ob… in tidy_object_new()
715 retval->handlers = handlers; in tidy_object_new()
720 zend_object_value retval; in tidy_object_new_node() local
721 tidy_object_new(class_type, &tidy_object_handlers_node, &retval, is_node TSRMLS_CC); in tidy_object_new_node()
722 return retval; in tidy_object_new_node()
727 zend_object_value retval; in tidy_object_new_doc() local
728 tidy_object_new(class_type, &tidy_object_handlers_doc, &retval, is_doc TSRMLS_CC); in tidy_object_new_doc()
729 return retval; in tidy_object_new_doc()
/PHP-5.5/ext/standard/
H A Durl_scanner_ex.c934 char *retval; in url_adapt_ext() local
950 retval = ctx->result.c; in url_adapt_ext()
953 return retval; in url_adapt_ext()
H A Dtype.c375 zend_bool retval; in PHP_FUNCTION() local
388 retval = zend_is_callable_ex(var, NULL, check_flags, &name, NULL, NULL, &error TSRMLS_CC); in PHP_FUNCTION()
392 retval = zend_is_callable_ex(var, NULL, check_flags, NULL, NULL, NULL, &error TSRMLS_CC); in PHP_FUNCTION()
399 RETURN_BOOL(retval); in PHP_FUNCTION()
H A Durl_scanner_ex.re386 char *retval;
402 retval = ctx->result.c;
405 return retval;
H A Duser_filters.c142 zval *retval = NULL; in userfilter_dtor() local
154 &retval, in userfilter_dtor()
158 if (retval) in userfilter_dtor()
159 zval_ptr_dtor(&retval); in userfilter_dtor()
177 zval *retval = NULL; in userfilter_filter() local
224 &retval, in userfilter_filter()
239 if (retval) { in userfilter_filter()
290 zval *retval = NULL; in user_filter_factory_create() local
376 &retval, in user_filter_factory_create()
380 if (retval) { in user_filter_factory_create()
[all …]
H A Dstring.c4383 char *loc, *retval; local
4454 retval = php_my_setlocale(cat, loc);
4456 if (retval) {
4460 BG(locale_string) = estrdup(retval);
4466 RETURN_STRING(retval, 1);
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 Dquot_print.c62 unsigned char *retval; in php_quot_print_decode() local
99 retval = emalloc(buf_size + 1); in php_quot_print_decode()
100 i = length; p1 = str; p2 = retval; in php_quot_print_decode()
113 efree(retval); in php_quot_print_decode()
122 efree(retval); in php_quot_print_decode()
131 efree(retval); in php_quot_print_decode()
142 return retval; in php_quot_print_decode()
H A Dinfo.c305 char *major = NULL, *sub = NULL, *retval; in php_get_windows_name() local
712 …spprintf(&retval, 0, "%s%s%s%s%s", major, sub?" ":"", sub?sub:"", osvi.szCSDVersion[0] != '\0'?" "… in php_get_windows_name()
713 return retval; in php_get_windows_name()
H A Dincomplete_class.c141 char *retval = NULL; in php_lookup_class_name() local
148 retval = estrndup(Z_STRVAL_PP(val), Z_STRLEN_PP(val)); in php_lookup_class_name()
155 return retval; in php_lookup_class_name()
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 Ddns.c953 zval *retval; in PHP_FUNCTION() local
956 if (retval != NULL && store_results) { in PHP_FUNCTION()
957 add_next_index_zval(return_value, retval); in PHP_FUNCTION()
966 zval *retval = NULL; in PHP_FUNCTION() local
968 cp = php_parserr(cp, end, &answer, DNS_T_ANY, authns != NULL, raw, &retval); in PHP_FUNCTION()
969 if (retval != NULL) { in PHP_FUNCTION()
970 add_next_index_zval(authns, retval); in PHP_FUNCTION()
978 zval *retval = NULL; in PHP_FUNCTION() local
980 cp = php_parserr(cp, end, &answer, DNS_T_ANY, 1, raw, &retval); in PHP_FUNCTION()
981 if (retval != NULL) { in PHP_FUNCTION()
[all …]
H A Dfile.c1087 char *buf = NULL, *retval; in PHP_FUNCTION() local
1110 if ((retval = php_stream_get_line(stream, buf, len, &actual_len)) == NULL) { in PHP_FUNCTION()
1117 …retval_len = php_strip_tags(retval, actual_len, &stream->fgetss_state, allowed_tags, allowed_tags_… in PHP_FUNCTION()
1119 RETURN_STRINGL(retval, retval_len, 0); in PHP_FUNCTION()
H A Ddns_win32.c469 zval *retval = NULL; in PHP_FUNCTION() local
472 php_parserr(pRec, type_to_fetch, store_results, raw, &retval); in PHP_FUNCTION()
473 if (retval != NULL && store_results) { in PHP_FUNCTION()
474 add_next_index_zval(return_value, retval); in PHP_FUNCTION()
480 php_parserr(pRec, type_to_fetch, 1, raw, &retval); in PHP_FUNCTION()
481 if (retval != NULL) { in PHP_FUNCTION()
482 add_next_index_zval(authns, retval); in PHP_FUNCTION()
495 php_parserr(pRec, type_to_fetch, 1, raw, &retval); in PHP_FUNCTION()
496 if (retval != NULL) { in PHP_FUNCTION()
497 add_next_index_zval(addtl, retval); in PHP_FUNCTION()
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()
H A Dcrypt_freesec.c191 int retval; in ascii_to_bin() local
193 retval = sch - '.'; in ascii_to_bin()
195 retval = sch - ('A' - 12); in ascii_to_bin()
197 retval = sch - ('a' - 38); in ascii_to_bin()
199 retval &= 0x3f; in ascii_to_bin()
201 return(retval); in ascii_to_bin()
586 int retval; in des_cipher() local
601 retval = do_des(rawl, rawr, &l_out, &r_out, count, data); in des_cipher()
612 return(retval); in des_cipher()
H A Dbasic_functions.c4585 zval *retval = (zval *)va_arg(args, zval*); local
4610 zval *retval; local
4618 if (retval) {
4619 if (Z_TYPE_P(retval) == IS_ARRAY) {
4624 RETURN_STRING(Z_STRVAL_P(retval), 1);
4992 zval retval; local
5008 &retval,
5013 zval_dtor(&retval);
5021 zval retval; local
5030 &retval,
[all …]
H A Darray.c324 zval *retval; in PHP_FUNCTION() local
337 if (retval) { in PHP_FUNCTION()
340 zval_ptr_dtor(&retval); in PHP_FUNCTION()
592 long retval; in php_array_user_compare() local
597 return retval < 0 ? -1 : retval > 0 ? 1 : 0; in php_array_user_compare()
2936 long retval; in zval_user_compare() local
2941 return retval < 0 ? -1 : retval > 0 ? 1 : 0;; in zval_user_compare()
4141 zval *retval; in PHP_FUNCTION() local
4186 result = retval; in PHP_FUNCTION()
4208 zval *retval = NULL; in PHP_FUNCTION() local
[all …]
/PHP-5.5/ext/sybase_ct/
H A Dphp_sybase_ct.c414 zval *msgnumber, *severity, *state, *line, *text, *retval = NULL; in _call_message_handler() local
441 …if (call_user_function_ex(EG(function_table), NULL, callback_name, &retval, 5, args, 0, NULL TSRML… in _call_message_handler()
450 if (retval) { in _call_message_handler()
451 handled = ((Z_TYPE_P(retval) != IS_BOOL) || (Z_BVAL_P(retval) != 0)); in _call_message_handler()
452 zval_ptr_dtor(&retval); in _call_message_handler()
/PHP-5.5/ext/standard/tests/strings/
H A Dhtmlentities20.phpt7 $retval = pack('C', $k);
9 $retval = pack('C2',
13 $retval = pack('C3',
18 $retval = pack('C4',
24 return $retval;
H A Dhtmlentities_html4.phpt7 $retval = pack('C', $k);
9 $retval = pack('C2',
13 $retval = pack('C3',
18 $retval = pack('C4',
24 $retval = pack('C5',
31 $retval = pack('C6',
39 return $retval;
H A Dhtmlentities_html5.phpt7 $retval = pack('C', $k);
9 $retval = pack('C2',
13 $retval = pack('C3',
18 $retval = pack('C4',
24 return $retval;
/PHP-5.5/ext/standard/tests/streams/
H A Dbug54946.phpt7 $retval = stream_get_contents($stream, 1, 1);
9 var_dump($retval);
17 $retval = stream_get_contents($stream, 1, 1);
18 var_dump($retval);
28 $retval = stream_get_contents($stream, 1);
29 var_dump($retval);
/PHP-5.5/ext/standard/tests/file/
H A Dproc_open01.phpt35 $retval = stream_select($read_fds, $write_fds, $exp_fds, 5);
36 if ($retval === false) {
40 if ($retval === 0) {

Completed in 313 milliseconds

12345678