Home
last modified time | relevance | path

Searched refs:fn (Results 1 – 25 of 62) sorted by relevance

123

/PHP-7.0/Zend/tests/variadic/
H A Doptional_params.phpt6 function fn($reqParam, $optParam = null, ...$params) {
10 fn(1);
11 fn(1, 2);
12 fn(1, 2, 3);
13 fn(1, 2, 3, 4);
14 fn(1, 2, 3, 4, 5);
/PHP-7.0/ext/mysqlnd/
H A Dmysqlnd_alloc.c89 TRACE_ALLOC_INF_FMT("file=%-15s line=%4d", fn? fn + 1:__zend_orig_filename, __zend_orig_lineno); in _mysqlnd_emalloc()
129 TRACE_ALLOC_INF_FMT("file=%-15s line=%4d", fn? fn + 1:__zend_orig_filename, __zend_orig_lineno); in _mysqlnd_pemalloc()
172 TRACE_ALLOC_INF_FMT("file=%-15s line=%4d", fn? fn + 1:__zend_orig_filename, __zend_orig_lineno); in _mysqlnd_ecalloc()
212 TRACE_ALLOC_INF_FMT("file=%-15s line=%4d", fn? fn + 1:__zend_orig_filename, __zend_orig_lineno); in _mysqlnd_pecalloc()
256 TRACE_ALLOC_INF_FMT("file=%-15s line=%4d", fn? fn + 1:__zend_orig_filename, __zend_orig_lineno); in _mysqlnd_erealloc()
297 TRACE_ALLOC_INF_FMT("file=%-15s line=%4d", fn? fn + 1:__zend_orig_filename, __zend_orig_lineno); in _mysqlnd_perealloc()
337 TRACE_ALLOC_INF_FMT("file=%-15s line=%4d", fn? fn + 1:__zend_orig_filename, __zend_orig_lineno); in _mysqlnd_efree()
368 TRACE_ALLOC_INF_FMT("file=%-15s line=%4d", fn? fn + 1:__zend_orig_filename, __zend_orig_lineno); in _mysqlnd_pefree()
403 TRACE_ALLOC_INF_FMT("file=%-15s line=%4d", fn? fn + 1:__zend_orig_filename, __zend_orig_lineno); in _mysqlnd_malloc()
442 TRACE_ALLOC_INF_FMT("file=%-15s line=%4d", fn? fn + 1:__zend_orig_filename, __zend_orig_lineno); in _mysqlnd_calloc()
[all …]
/PHP-7.0/ext/zip/lib/
H A Dzip_name_locate.c54 const char *fn, *p; in _zip_name_locate() local
70 fn = _zip_get_name(za, i, flags, error); in _zip_name_locate()
73 if (fn == NULL) in _zip_name_locate()
77 p = strrchr(fn, '/'); in _zip_name_locate()
79 fn = p+1; in _zip_name_locate()
82 if (cmp(fname, fn) == 0) { in _zip_name_locate()
/PHP-7.0/ext/session/tests/
H A Dsave_handler_closures.inc5 foreach (array ('open', 'close', 'read', 'write', 'destroy', 'gc') as $fn) {
6 ${$fn.'_closure'} = function () use ($fn) { return call_user_func_array ($fn, func_get_args ()); };
/PHP-7.0/Zend/tests/arg_unpack/
H A Ddynamic.phpt6 $fn = function(...$args) {
10 $fn(...[]);
11 $fn(...[1, 2, 3]);
12 $fn(1, ...[2, 3], ...[], ...[4, 5]);
H A Dmany_args.phpt6 function fn(...$args) {
11 fn(...$array, ...$array);
/PHP-7.0/Zend/tests/
H A Dclosure_bug66622.phpt9 $fn = function() { return static::name(); };
10 echo static::name() . ' vs ' . $fn() . "\n";
13 $fn = static function() { return static::name(); };
14 echo static::name() . ' vs ' . $fn() . "\n";
17 $fn = function() { return static::name(); };
18 echo static::name() . ' vs ' . $fn() . "\n";
H A Dclosure_061.phpt82 foreach ($tests as list($fn, $bindings)) {
83 if (is_array($fn)) {
84 $r = new ReflectionMethod($fn[0], $fn[1]);
85 $c = $r->getClosure(is_object($fn[0]) ? $fn[0] : null);
86 $fnStr = is_object($fn[0]) ? "(new " . get_class($fn[0]) . ")->$fn[1]" : "$fn[0]::$fn[1]";
88 $c = (new ReflectionFunction($fn))->getClosure();
89 $fnStr = $fn;
91 if ($fn instanceof Closure) {
H A Dbug69568.phpt20 $fn = B::test();
21 echo $fn();
/PHP-7.0/ext/standard/tests/file/
H A Dbug53241.phpt10 $fn = __DIR__ . "/test.tmp";
11 @unlink($fn);
12 $fh = fopen($fn, 'xb');
18 $fn = __DIR__ . "/test.tmp";
19 @unlink($fn);
H A Drename_variation6-win32.phpt7 $fn = "rename_variation6tmp.lnk";
8 $ret = exec("mklink $fn " . __FILE__ .' 2>&1', $out);
9 @unlink($fn);
H A Dbug47767.phpt14 $fn = "bug47767.lnk";
15 $ret = exec("mklink $fn " . __FILE__ .' 2>&1', $out);
16 @unlink($fn);
/PHP-7.0/sapi/litespeed/
H A Dlsapilib.h159 LSAPI_CB_EnvHandler fn, void * arg );
162 LSAPI_CB_EnvHandler fn, void * arg );
165 LSAPI_CB_EnvHandler fn, void * arg );
168 LSAPI_CB_EnvHandler fn, void * arg );
281 static inline int LSAPI_ForeachHeader( LSAPI_CB_EnvHandler fn, void * arg ) in LSAPI_ForeachHeader() argument
282 { return LSAPI_ForeachHeader_r( &g_req, fn, arg ); } in LSAPI_ForeachHeader()
285 LSAPI_CB_EnvHandler fn, void * arg ) in LSAPI_ForeachOrgHeader() argument
286 { return LSAPI_ForeachOrgHeader_r( &g_req, fn, arg ); } in LSAPI_ForeachOrgHeader()
288 static inline int LSAPI_ForeachEnv( LSAPI_CB_EnvHandler fn, void * arg ) in LSAPI_ForeachEnv() argument
289 { return LSAPI_ForeachEnv_r( &g_req, fn, arg ); } in LSAPI_ForeachEnv()
[all …]
/PHP-7.0/ext/fileinfo/libmagic/
H A Dapptype.c45 file_os2_apptype(struct magic_set *ms, const char *fn, const void *buf, in file_os2_apptype() argument
54 if (fn) in file_os2_apptype()
55 filename = strdup(fn); in file_os2_apptype()
67 if (fn == NULL) { in file_os2_apptype()
82 if (fn == NULL) { in file_os2_apptype()
H A Dfsmagic.c97 file_fsmagic(struct magic_set *ms, const char *fn, zend_stat_t *sb, php_stream *stream) in file_fsmagic() argument
105 if (fn == NULL && !stream) { in file_fsmagic()
115 file_error(ms, errno, "cannot stat `%s'", fn); in file_fsmagic()
122 if (php_sys_stat(fn, sb) != 0) { in file_fsmagic()
124 file_error(ms, errno, "cannot stat `%s'", fn); in file_fsmagic()
212 file_error(ms, errno, "unreadable symlink `%s'", fn); in file_fsmagic()
H A Dapprentice.c430 if (fn) { in apprentice_1()
579 if ((fn = magic_getpath(fn, action)) == NULL) in file_apprentice()
585 if (fn == NULL) in file_apprentice()
587 if (fn == NULL) { in file_apprentice()
615 fn = mfn; in file_apprentice()
617 while (fn) { in file_apprentice()
625 fn = p; in file_apprentice()
1037 ms->file = fn; in load_1()
1043 fn); in load_1()
3074 fn = ++p;
[all …]
/PHP-7.0/Zend/tests/generators/
H A Dbug65035.phpt7 fn();
11 function fn() {
/PHP-7.0/Zend/
H A Dzend_inheritance.c1168 ZSTR_VAL(fn->common.scope->name), ZSTR_VAL(fn->common.function_name), in zend_add_trait_method()
1176 fn->common.prototype = NULL; in zend_add_trait_method()
1180 function_add_ref(fn); in zend_add_trait_method()
1182 memcpy(new_fn, fn, sizeof(zend_op_array)); in zend_add_trait_method()
1185 zend_add_magic_methods(ce, key, fn); in zend_add_trait_method()
1193 fn->common.scope = ce; in zend_fixup_trait_method()
1198 if (fn->type == ZEND_USER_FUNCTION && fn->op_array.static_variables) { in zend_fixup_trait_method()
1221 fn_copy = *fn; in zend_traits_copy_functions()
1245 …memcpy(&fn_copy, fn, fn->type == ZEND_USER_FUNCTION? sizeof(zend_op_array) : sizeof(zend_internal_… in zend_traits_copy_functions()
1425 zend_function *fn; in zend_do_traits_method_binding() local
[all …]
/PHP-7.0/Zend/tests/varSyntax/
H A DtempDimFetchByRefError.phpt6 $fn = function(&$ref) {};
7 $fn([0, 1][0]);
H A DtempPropFetchByRefError.phpt6 $fn = function(&$ref) {};
7 $fn([0, 1]->prop);
/PHP-7.0/ext/zip/tests/
H A Dbug72258.phpt11 $fn = dirname(__FILE__) . DIRECTORY_SEPARATOR . "bug72258.zip";
14 $res = $zip->open($fn);
/PHP-7.0/ext/standard/tests/streams/
H A Dopendir-002.phpt18 while ($fn=readdir($ds)) {
19 var_dump($fn);
H A Dopendir-004.phpt21 while ($fn=readdir($ds)) {
22 var_dump($fn);
/PHP-7.0/ext/soap/
H A Dphp_packet_soap.c25 int parse_packet_soap(zval *this_ptr, char *buffer, int buffer_size, sdlFunctionPtr fn, char *fn_na… in parse_packet_soap() argument
258 if (fn != NULL && fn->binding && fn->binding->bindingType == BINDING_SOAP) { in parse_packet_soap()
264 sdlSoapBindingFunctionPtr fnb = (sdlSoapBindingFunctionPtr)fn->bindingAttributes; in parse_packet_soap()
269 if (fn->responseParameters) { in parse_packet_soap()
270 res_count = zend_hash_num_elements(fn->responseParameters); in parse_packet_soap()
271 ZEND_HASH_FOREACH_PTR(fn->responseParameters, param) { in parse_packet_soap()
284 name = fn->responseName; in parse_packet_soap()
H A Dphp_packet_soap.h25 int parse_packet_soap(zval *this_ptr, char *buffer, int buffer_size, sdlFunctionPtr fn, char *fn_na…

Completed in 55 milliseconds

123