Home
last modified time | relevance | path

Searched refs:nargs (Results 1 – 10 of 10) sorted by relevance

/php-src/sapi/fuzzer/
H A Dfuzzer-sapi.c294 void fuzzer_call_php_func_zval(const char *func_name, int nargs, zval *args) { in fuzzer_call_php_func_zval() argument
299 call_user_function(CG(function_table), NULL, &func, &retval, nargs, args); in fuzzer_call_php_func_zval()
311 void fuzzer_call_php_func(const char *func_name, int nargs, char **params) { in fuzzer_call_php_func() argument
312 zval args[nargs]; in fuzzer_call_php_func()
315 for(i=0;i<nargs;i++) { in fuzzer_call_php_func()
319 fuzzer_call_php_func_zval(func_name, nargs, args); in fuzzer_call_php_func()
321 for(i=0;i<nargs;i++) { in fuzzer_call_php_func()
H A Dfuzzer-sapi.h22 void fuzzer_call_php_func(const char *func_name, int nargs, char **params);
23 void fuzzer_call_php_func_zval(const char *func_name, int nargs, zval *args);
/php-src/ext/com_dotnet/
H A Dcom_com.c483 if (nargs) { in php_com_do_invoke_byref()
488 for (i = 0; i < nargs; i++) { in php_com_do_invoke_byref()
497 for (j = 0, i = 0; i < nargs; i++) { in php_com_do_invoke_byref()
521 for (i = 0; i < nargs; i++) { in php_com_do_invoke_byref()
526 disp_params.cArgs = nargs; in php_com_do_invoke_byref()
543 for (i = 0, j = 0; i < nargs; i++) { in php_com_do_invoke_byref()
546 zval *arg = &args[nargs - i - 1]; in php_com_do_invoke_byref()
593 if (nargs) { in php_com_do_invoke_by_id()
598 for (i = 0; i < nargs; i++) { in php_com_do_invoke_by_id()
602 disp_params.cArgs = nargs; in php_com_do_invoke_by_id()
[all …]
H A Dphp_com_dotnet_internal.h99 WORD flags, VARIANT *v, int nargs, zval *args, bool silent, bool allow_noarg);
101 WORD flags, VARIANT *v, int nargs, zval *args, bool allow_noarg);
103 WORD flags, VARIANT *v, int nargs, zval *args);
H A Dcom_handlers.c255 int nargs; in PHP_FUNCTION() local
263 nargs = ZEND_NUM_ARGS(); in PHP_FUNCTION()
265 if (nargs) { in PHP_FUNCTION()
266 args = (zval *)safe_emalloc(sizeof(zval), nargs, 0); in PHP_FUNCTION()
267 zend_get_parameters_array_ex(nargs, args); in PHP_FUNCTION()
272 …f(obj, (zend_internal_function*)EX(func), DISPATCH_METHOD|DISPATCH_PROPERTYGET, &v, nargs, args)) { in PHP_FUNCTION()
/php-src/ext/dom/
H A Dxpath.c83 static void dom_xpath_ext_function_php(xmlXPathParserContextPtr ctxt, int nargs, php_dom_xpath_node… in dom_xpath_ext_function_php() argument
87 php_dom_xpath_callbacks_clean_argument_stack(ctxt, nargs); in dom_xpath_ext_function_php()
89 …php_dom_xpath_callbacks_call_php_ns(&intern->xpath_callbacks, ctxt, nargs, evaluation_mode, &inter… in dom_xpath_ext_function_php()
94 static void dom_xpath_ext_function_string_php(xmlXPathParserContextPtr ctxt, int nargs) /* {{{ */ in dom_xpath_ext_function_string_php() argument
96 dom_xpath_ext_function_php(ctxt, nargs, PHP_DOM_XPATH_EVALUATE_NODESET_TO_STRING); in dom_xpath_ext_function_string_php()
100 static void dom_xpath_ext_function_object_php(xmlXPathParserContextPtr ctxt, int nargs) /* {{{ */ in dom_xpath_ext_function_object_php() argument
102 dom_xpath_ext_function_php(ctxt, nargs, PHP_DOM_XPATH_EVALUATE_NODESET_TO_NODESET); in dom_xpath_ext_function_object_php()
106 static void dom_xpath_ext_function_trampoline(xmlXPathParserContextPtr ctxt, int nargs) in dom_xpath_ext_function_trampoline() argument
110 php_dom_xpath_callbacks_clean_argument_stack(ctxt, nargs); in dom_xpath_ext_function_trampoline()
112 …php_dom_xpath_callbacks_call_custom_ns(&intern->xpath_callbacks, ctxt, nargs, PHP_DOM_XPATH_EVALUA… in dom_xpath_ext_function_trampoline()
/php-src/ext/xsl/
H A Dphp_xsl.h77 void xsl_ext_function_string_php(xmlXPathParserContextPtr ctxt, int nargs);
78 void xsl_ext_function_object_php(xmlXPathParserContextPtr ctxt, int nargs);
H A Dxsltprocessor.c93 static void xsl_ext_function_php(xmlXPathParserContextPtr ctxt, int nargs, php_dom_xpath_nodeset_ev… in xsl_ext_function_php() argument
97 php_dom_xpath_callbacks_clean_argument_stack(ctxt, nargs); in xsl_ext_function_php()
99 …php_dom_xpath_callbacks_call_php_ns(&intern->xpath_callbacks, ctxt, nargs, evaluation_mode, (dom_o… in xsl_ext_function_php()
104 void xsl_ext_function_string_php(xmlXPathParserContextPtr ctxt, int nargs) /* {{{ */ in xsl_ext_function_string_php() argument
106 xsl_ext_function_php(ctxt, nargs, PHP_DOM_XPATH_EVALUATE_NODESET_TO_STRING); in xsl_ext_function_string_php()
110 void xsl_ext_function_object_php(xmlXPathParserContextPtr ctxt, int nargs) /* {{{ */ in xsl_ext_function_object_php() argument
112 xsl_ext_function_php(ctxt, nargs, PHP_DOM_XPATH_EVALUATE_NODESET_TO_NODESET); in xsl_ext_function_object_php()
116 static void xsl_ext_function_trampoline(xmlXPathParserContextPtr ctxt, int nargs) in xsl_ext_function_trampoline() argument
120 php_dom_xpath_callbacks_clean_argument_stack(ctxt, nargs); in xsl_ext_function_trampoline()
122 …php_dom_xpath_callbacks_call_custom_ns(&intern->xpath_callbacks, ctxt, nargs, PHP_DOM_XPATH_EVALUA… in xsl_ext_function_trampoline()
/php-src/ext/opcache/jit/ir/dynasm/
H A Ddynasm.lua1069 local nargs = #args - args.argn + 1
1070 if nargs ~= 1 then
1071 if nargs == 0 then
H A Dminilua.c1146 base=adjust_varargs(L,p,nargs);
5756 api_checknelems(L,nargs+1);
5757 checkresults(L,nargs,nresults);
5758 func=L->top-(nargs+1);
5774 api_checknelems(L,nargs+1);
5775 checkresults(L,nargs,nresults);
5783 c.func=L->top-(nargs+1);
6815 int nargs=lua_gettop(L)-1;
6819 if(nargs==0){
6884 int nargs=lua_gettop(L)-1;
[all …]

Completed in 38 milliseconds