Home
last modified time | relevance | path

Searched refs:func (Results 51 – 75 of 318) sorted by relevance

12345678910>>...13

/php-src/Zend/
H A Dzend_execute.h256 ZEND_ASSERT(!func->common.scope || object_or_called_scope); in zend_vm_init_call_frame()
257 call->func = func; in zend_vm_init_call_frame()
283 uint32_t used_stack = ZEND_CALL_FRAME_SLOT + num_args + func->common.T; in zend_vm_calc_used_stack()
285 if (EXPECTED(ZEND_USER_CODE(func->type))) { in zend_vm_calc_used_stack()
286 used_stack += func->op_array.last_var - MIN(func->op_array.num_args, num_args); in zend_vm_calc_used_stack()
293 uint32_t used_stack = zend_vm_calc_used_stack(num_args, func); in zend_vm_stack_push_call_frame()
296 func, num_args, object_or_called_scope); in zend_vm_stack_push_call_frame()
303 zval *p = ZEND_CALL_VAR_NUM(call, call->func->op_array.last_var + call->func->op_array.T); in zend_vm_stack_free_extra_args_ex()
379 zend_function *func = EG(current_execute_data)->func; in zend_active_function() local
380 if (ZEND_USER_CODE(func->type)) { in zend_active_function()
[all …]
H A Dzend_attributes.h97 static zend_always_inline zend_attribute *zend_add_function_attribute(zend_function *func, zend_str… in zend_add_function_attribute() argument
99 uint32_t flags = func->common.type != ZEND_USER_FUNCTION ? ZEND_ATTRIBUTE_PERSISTENT : 0; in zend_add_function_attribute()
100 return zend_add_attribute(&func->common.attributes, name, argc, flags, 0, 0); in zend_add_function_attribute()
103 static zend_always_inline zend_attribute *zend_add_parameter_attribute(zend_function *func, uint32_… in zend_add_parameter_attribute() argument
105 uint32_t flags = func->common.type != ZEND_USER_FUNCTION ? ZEND_ATTRIBUTE_PERSISTENT : 0; in zend_add_parameter_attribute()
106 return zend_add_attribute(&func->common.attributes, name, argc, flags, offset + 1, 0); in zend_add_parameter_attribute()
H A Dzend_llist.h56 ZEND_API void zend_llist_apply(zend_llist *l, llist_apply_func_t func);
57 ZEND_API void zend_llist_apply_with_del(zend_llist *l, int (*func)(void *data));
58 ZEND_API void zend_llist_apply_with_argument(zend_llist *l, llist_apply_with_arg_func_t func, void …
59 ZEND_API void zend_llist_apply_with_arguments(zend_llist *l, llist_apply_with_args_func_t func, int…
/php-src/ext/pdo/
H A Dpdo_dbh.c1284 efree(func); in cls_method_dtor()
1296 pefree(func, 1); in cls_method_pdtor()
1304 zend_internal_function func; in pdo_hash_methods() local
1321 memset(&func, 0, sizeof(func)); in pdo_hash_methods()
1329 func.prototype = NULL; in pdo_hash_methods()
1337 func.doc_comment = NULL; in pdo_hash_methods()
1354 func.num_args--; in pdo_hash_methods()
1357 func.arg_info = NULL; in pdo_hash_methods()
1358 func.num_args = 0; in pdo_hash_methods()
1359 func.required_num_args = 0; in pdo_hash_methods()
[all …]
/php-src/ext/intl/timezone/
H A Dtimezone_class.cpp63 const char *func, zval *ret) in timezone_convert_to_datetimezone() argument
72 spprintf(&message, 0, "%s: could not obtain TimeZone id", func); in timezone_convert_to_datetimezone()
93 spprintf(&message, 0, "%s: could not convert id to UTF-8", func); in timezone_convert_to_datetimezone()
103 "%s: DateTimeZone constructor threw exception", func); in timezone_convert_to_datetimezone()
132 const char *func) in timezone_process_timezone_argument() argument
151 "properly constructed", func); in timezone_process_timezone_argument()
161 spprintf(&message, 0, "%s: could not clone TimeZone", func); in timezone_process_timezone_argument()
176 outside_error, func); in timezone_process_timezone_argument()
187 "valid UTF-8 string", func); in timezone_process_timezone_argument()
197 spprintf(&message, 0, "%s: Could not create time zone", func); in timezone_process_timezone_argument()
[all …]
/php-src/Zend/tests/
H A Dis_callable_trampoline_uaf-deprecated.phpt8 public function bar($func) {
12 public function __call($func, $args) {
17 public static function __callStatic($func, $args) {
H A Dclosure_023.phpt7 $func = function() { echo "Done"; };
8 $func();
H A Dbug48770_2.phpt7 public function func($str) {
22 public function func($str) {
47 public function func($str) {
48 parent::func($str);
53 $c->func('This should work!');
H A Dfe_fetch_op2_live_range.phpt6 foreach (["test"] as $k => func()[]) {}
12 Call to undefined function func()
H A Dcall_user_func_array_invalid_type.phpt6 function func() {
12 call_user_func_array(array($drv, 'func'), null);
H A Dbug48409.phpt29 public function func()
41 } // end func();
49 $x->func();
H A Dmagic_by_ref_006.phpt11 $func = "foo";
13 $t->$func();
H A Dassign_ref_func_leak.phpt6 function func() {
10 $x = $y =& func();
H A Dmagic_by_ref_007.phpt11 $func = "foo";
14 $t->$func($arg);
/php-src/ext/pcntl/
H A Dphp_signal.h26 Sigfunc *php_signal(int signo, Sigfunc *func, int restart);
27 Sigfunc *php_signal4(int signo, Sigfunc *func, int restart, int mask_all);
/php-src/main/
H A Dphp_ticks.h26 PHPAPI void php_add_tick_function(void (*func)(int, void *), void *arg);
27 PHPAPI void php_remove_tick_function(void (*func)(int, void *), void * arg);
/php-src/ext/mysqlnd/
H A Dmysqlnd_ps_codec.c361 mysqlnd_ps_fetch_functions[MYSQL_TYPE_NULL].func = ps_fetch_null; in _mysqlnd_init_ps_fetch_subsystem()
365 mysqlnd_ps_fetch_functions[MYSQL_TYPE_TINY].func = ps_fetch_int8; in _mysqlnd_init_ps_fetch_subsystem()
369 mysqlnd_ps_fetch_functions[MYSQL_TYPE_SHORT].func = ps_fetch_int16; in _mysqlnd_init_ps_fetch_subsystem()
373 mysqlnd_ps_fetch_functions[MYSQL_TYPE_YEAR].func = ps_fetch_int16; in _mysqlnd_init_ps_fetch_subsystem()
377 mysqlnd_ps_fetch_functions[MYSQL_TYPE_INT24].func = ps_fetch_int32; in _mysqlnd_init_ps_fetch_subsystem()
381 mysqlnd_ps_fetch_functions[MYSQL_TYPE_LONG].func = ps_fetch_int32; in _mysqlnd_init_ps_fetch_subsystem()
389 mysqlnd_ps_fetch_functions[MYSQL_TYPE_FLOAT].func = ps_fetch_float; in _mysqlnd_init_ps_fetch_subsystem()
397 mysqlnd_ps_fetch_functions[MYSQL_TYPE_TIME].func = ps_fetch_time; in _mysqlnd_init_ps_fetch_subsystem()
401 mysqlnd_ps_fetch_functions[MYSQL_TYPE_DATE].func = ps_fetch_date; in _mysqlnd_init_ps_fetch_subsystem()
417 mysqlnd_ps_fetch_functions[MYSQL_TYPE_JSON].func = ps_fetch_string; in _mysqlnd_init_ps_fetch_subsystem()
[all …]
/php-src/ext/opcache/tests/
H A Dpreload_dynamic_def_removal.inc10 function func() {
18 func();
/php-src/ext/standard/tests/general_functions/
H A Dis_callable_variation2.phpt7 foreach($functions as $func) {
9 var_dump( is_callable($func) ); //given only $var argument
10 var_dump( is_callable($func, TRUE) ); //given $var and $syntax argument
11 var_dump( is_callable($func, TRUE, $callable_name) );
13 var_dump( is_callable($func, FALSE) ); //given $var and $syntax argument
14 var_dump( is_callable($func, FALSE, $callable_name) );
H A Dis_callable_variation1.phpt7 foreach($functions as $func) {
9 var_dump( is_callable($func) ); //given only $var argument
10 var_dump( is_callable($func, TRUE) ); //given $var and $syntax argument
11 var_dump( is_callable($func, TRUE, $callable_name) );
13 var_dump( is_callable($func, FALSE) ); //given $var and $syntax argument
14 var_dump( is_callable($func, FALSE, $callable_name) );
/php-src/Zend/tests/type_declarations/variance/
H A Dtrait_success.phpt15 abstract public function func(): ?InterfaceA;
19 public function func(): ?InterfaceB {}
/php-src/ext/standard/tests/array/
H A Dbug34982.phpt10 func($ar);
13 function func($a) {
/php-src/sapi/fuzzer/
H A Dfuzzer-execute-common.h126 zval retval, func, args[2]; in opcache_invalidate() local
127 ZVAL_STRING(&func, "opcache_invalidate"); in opcache_invalidate()
130 call_user_function(CG(function_table), NULL, &func, &retval, 2, args); in opcache_invalidate()
134 zval_ptr_dtor(&func); in opcache_invalidate()
/php-src/ext/pdo_mysql/tests/
H A Dbug76815.phpt17 $func = 'bug76815_pdo_mysql_f';
20 $pdo->query("CREATE FUNCTION {$func}() RETURNS VARCHAR(5) DETERMINISTIC BEGIN RETURN 'x12345'; END"…
21 $pdo->query("CREATE PROCEDURE {$procedure}() BEGIN SELECT {$func}(); END");
/php-src/ext/reflection/tests/
H A Dbug63614.phpt13 public function func()
23 $reflect = new ReflectionMethod('Test', 'func');

Completed in 41 milliseconds

12345678910>>...13