/php-src/sapi/fuzzer/ |
H A D | fuzzer-sapi.c | 294 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 D | fuzzer-sapi.h | 22 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 D | com_com.c | 483 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 D | php_com_dotnet_internal.h | 99 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 D | com_handlers.c | 255 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 D | xpath.c | 84 static void dom_xpath_ext_function_php(xmlXPathParserContextPtr ctxt, int nargs, php_dom_xpath_node… in dom_xpath_ext_function_php() argument 88 php_dom_xpath_callbacks_clean_argument_stack(ctxt, nargs); in dom_xpath_ext_function_php() 90 …php_dom_xpath_callbacks_call_php_ns(&intern->xpath_callbacks, ctxt, nargs, evaluation_mode, &inter… in dom_xpath_ext_function_php() 95 static void dom_xpath_ext_function_string_php(xmlXPathParserContextPtr ctxt, int nargs) /* {{{ */ in dom_xpath_ext_function_string_php() argument 97 dom_xpath_ext_function_php(ctxt, nargs, PHP_DOM_XPATH_EVALUATE_NODESET_TO_STRING); in dom_xpath_ext_function_string_php() 101 static void dom_xpath_ext_function_object_php(xmlXPathParserContextPtr ctxt, int nargs) /* {{{ */ in dom_xpath_ext_function_object_php() argument 103 dom_xpath_ext_function_php(ctxt, nargs, PHP_DOM_XPATH_EVALUATE_NODESET_TO_NODESET); in dom_xpath_ext_function_object_php() 107 static void dom_xpath_ext_function_trampoline(xmlXPathParserContextPtr ctxt, int nargs) in dom_xpath_ext_function_trampoline() argument 111 php_dom_xpath_callbacks_clean_argument_stack(ctxt, nargs); in dom_xpath_ext_function_trampoline() 113 …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 D | php_xsl.h | 77 void xsl_ext_function_string_php(xmlXPathParserContextPtr ctxt, int nargs); 78 void xsl_ext_function_object_php(xmlXPathParserContextPtr ctxt, int nargs);
|
H A D | xsltprocessor.c | 93 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 D | dynasm.lua | 1069 local nargs = #args - args.argn + 1 1070 if nargs ~= 1 then 1071 if nargs == 0 then
|
H A D | minilua.c | 1146 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 …]
|