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

/PHP_TRUNK/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_TRUNK/ext/fileinfo/libmagic/
H A Dapptype.c45 file_os2_apptype(struct magic_set *ms, const char *fn, const void *buf, argument
54 if (fn)
55 filename = strdup(fn);
67 if (fn == NULL) {
82 if (fn == NULL) {
H A Dapprentice.c392 apprentice_1(struct magic_set *ms, const char *fn, int action) argument
406 map = apprentice_load(ms, fn, action);
409 return apprentice_compile(ms, map, fn);
412 map = apprentice_map(ms, fn);
414 if (fn) {
416 file_magwarn(ms, "using regular magic file `%s'", fn);
417 map = apprentice_load(ms, fn, action);
545 /* const char *fn: list of magic files and directories */
547 file_apprentice(struct magic_set *ms, const char *fn, int action) argument
557 if ((fn
952 load_1(struct magic_set *ms, int action, const char *fn, int *errs, struct magic_entry_set *mset) argument
1141 apprentice_load(struct magic_set *ms, const char *fn, int action) argument
2597 apprentice_map(struct magic_set *ms, const char *fn) argument
2750 apprentice_compile(struct magic_set *ms, struct magic_map *map, const char *fn) argument
2815 mkdbname(struct magic_set *ms, const char *fn, int strip) argument
[all...]
H A Dfsmagic.c93 file_fsmagic(struct magic_set *ms, const char *fn, zend_stat_t *sb, php_stream *stream) argument
101 if (fn == NULL && !stream) {
111 file_error(ms, errno, "cannot stat `%s'", fn);
118 if (php_sys_stat(fn, sb) != 0) {
120 file_error(ms, errno, "cannot stat `%s'", fn);
208 file_error(ms, errno, "unreadable symlink `%s'", fn);
/PHP_TRUNK/ext/mbstring/oniguruma/enc/
H A Dunicode.c11224 int fn, ncs[3]; local
11226 for (fn = 0; fn < to->n; fn++) {
11227 cs[fn][0] = to->code[fn];
11228 if (onig_st_lookup(Unfold1Table, (st_data_t )cs[fn][0],
11231 cs[fn][i+1] = z3->code[i];
11233 ncs[fn] = z3->n + 1;
11236 ncs[fn]
[all...]
/PHP_TRUNK/ext/zip/lib/
H A Dzip_name_locate.c60 const char *fn, *p;
74 fn = _zip_get_name(za, i, flags, error);
77 if (fn == NULL)
81 p = strrchr(fn, '/');
83 fn = p+1;
86 if (cmp(fname, fn) == 0) {
57 const char *fn, *p; local
H A Dzip_open.c66 zip_open(const char *fn, int _flags, int *zep)
78 switch (_zip_file_exists(fn, flags, zep)) {
82 return _zip_allocate_new(fn, flags, zep);
87 if ((f = fopen(fn, "rb")) == NULL) {
92 return _zip_allocate_new(fn, flags, zep);
97 if ((fp=fopen(fn, "rb")) == NULL) {
102 return _zip_open(fn, fp, flags, zep);
129 _zip_open(const char *fn, FILE *fp, unsigned int flags, int *zep)
143 if ((za=_zip_allocate_new(fn, flags, zep)) == NULL)
156 if ((za=_zip_allocate_new(fn, flag
64 zip_open(const char *fn, int _flags, int *zep) argument
126 _zip_open(const char *fn, FILE *fp, unsigned int flags, int *zep) argument
434 _zip_allocate_new(const char *fn, unsigned int flags, int *zep) argument
461 _zip_file_exists(const char *fn, unsigned int flags, int *zep) argument
[all...]
/PHP_TRUNK/ext/ereg/regex/
H A Dsplit.c19 register int fn; local
42 fn = nfields;
45 fn--;
46 if (fn == 0)
50 return(nfields - fn);
54 fn = nfields;
58 return(fn);
59 fn++;
66 fn = nfields;
69 fn
199 register int fn; local
[all...]
/PHP_TRUNK/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 ) argument
282 { return LSAPI_ForeachHeader_r( &g_req, fn, arg ); }
285 LSAPI_CB_EnvHandler fn, void * arg )
286 { return LSAPI_ForeachOrgHeader_r( &g_req, fn, arg ); }
288 static inline int LSAPI_ForeachEnv( LSAPI_CB_EnvHandler fn, void * arg ) argument
289 { return LSAPI_ForeachEnv_r( &g_req, fn, ar
284 LSAPI_ForeachOrgHeader( LSAPI_CB_EnvHandler fn, void * arg ) argument
291 LSAPI_ForeachSpecialEnv( LSAPI_CB_EnvHandler fn, void * arg ) argument
[all...]
H A Dlsapilib.c1907 LSAPI_CB_EnvHandler fn, void * arg )
1916 if ( !pReq || !fn )
1935 //ret = (*fn)( HTTP_HEADERS[i], HTTP_HEADER_LEN[i],
1963 //ret = (*fn)( pKey, keyLen,
1973 ret = (*fn)( headers[i]._name, headers[i]._nameLen,
1984 LSAPI_CB_EnvHandler fn, void * arg )
1991 if ( !pReq || !fn )
2000 ret = (*fn)( CGI_HEADERS[i], CGI_HEADER_LEN[i],
2040 ret = (*fn)( achHeaderName, keyLen,
2052 int n, LSAPI_CB_EnvHandler fn, voi
1906 LSAPI_ForeachOrgHeader_r( LSAPI_Request * pReq, LSAPI_CB_EnvHandler fn, void * arg ) argument
1983 LSAPI_ForeachHeader_r( LSAPI_Request * pReq, LSAPI_CB_EnvHandler fn, void * arg ) argument
2051 EnvForeach( struct LSAPI_key_value_pair * pEnv, int n, LSAPI_CB_EnvHandler fn, void * arg ) argument
2071 LSAPI_ForeachEnv_r( LSAPI_Request * pReq, LSAPI_CB_EnvHandler fn, void * arg ) argument
2086 LSAPI_ForeachSpecialEnv_r( LSAPI_Request * pReq, LSAPI_CB_EnvHandler fn, void * arg ) argument
[all...]
/PHP_TRUNK/sapi/isapi/stresstest/
H A Dstresstest.cpp296 BOOL ParseTestFile(const char *path, const char *fn) argument
300 _snprintf(filename, sizeof(filename)-1, "%s\\%s", path, fn);
/PHP_TRUNK/win32/
H A Dglob.c857 g_lstat(fn, sb, pglob)
858 register Char *fn;
864 if (g_Ctoc(fn, buf, sizeof(buf)))
872 g_stat(fn, sb, pglob)
873 register Char *fn;
879 if (g_Ctoc(fn, buf, sizeof(buf)))
/PHP_TRUNK/Zend/
H A Dzend_ast.c426 ZEND_API void zend_ast_apply(zend_ast *ast, zend_ast_apply_func fn) { argument
431 fn(&list->child[i]);
436 fn(&ast->child[i]);
H A Dzend_ast.h209 ZEND_API void zend_ast_apply(zend_ast *ast, zend_ast_apply_func fn);
H A Dzend_execute_API.c1364 static void zend_verify_abstract_class_function(zend_function *fn, zend_abstract_info *ai) /* {{{ */
1366 if (fn->common.fn_flags & ZEND_ACC_ABSTRACT) {
1368 ai->afn[ai->cnt] = fn;
1370 if (fn->common.fn_flags & ZEND_ACC_CTOR) {
H A Dzend_inheritance.c977 static zend_bool zend_traits_method_compatibility_check(zend_function *fn, zend_function *other_fn) /* {{{ */ argument
979 uint32_t fn_flags = fn->common.scope->ce_flags;
982 return zend_do_perform_implementation_check(fn, other_fn)
983 && ((other_fn->common.scope->ce_flags & ZEND_ACC_INTERFACE) || zend_do_perform_implementation_check(other_fn, fn))
1032 static void zend_add_trait_method(zend_class_entry *ce, const char *name, zend_string *key, zend_function *fn, HashTable **overriden) /* {{{ */ argument
1045 if (!zend_traits_method_compatibility_check(fn, existing_fn)) {
1047 zend_get_function_declaration(fn)->val,
1050 } else if (fn->common.fn_flags & ZEND_ACC_ABSTRACT) {
1052 if (!zend_traits_method_compatibility_check(existing_fn, fn)) {
1054 zend_get_function_declaration(fn)
1107 zend_fixup_trait_method(zend_function *fn, zend_class_entry *ce) argument
1123 zend_traits_copy_functions(zend_string *fnname, zend_function *fn, zend_class_entry *ce, HashTable **overriden, HashTable *exclude_table) argument
1348 zend_function *fn; local
[all...]
H A Dzend_compile.c4759 zend_function *fn = zend_hash_find_ptr(CG(function_table), lookup_name); local
4760 if (fn && fn->type == ZEND_USER_FUNCTION
4761 && fn->op_array.filename == CG(compiled_filename)
5014 binary_op_type fn = get_binary_op(opcode); local
5015 fn(result, op1, op2);
5021 binary_op_type fn = kind == ZEND_AST_UNARY_PLUS local
5026 fn(result, &left, op);
5032 binary_op_type fn = kind == ZEND_AST_GREATER local
5034 fn(resul
[all...]
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_handlers.c399 #define POPULATE_CTOR(f, fn) \
406 f.handler = ZEND_FN(fn); \
/PHP_TRUNK/ext/gd/
H A Dgd.c2549 char *fn = NULL; local
2566 fn = file;
2576 PHP_GD_CHECK_OPEN_BASEDIR(fn, "Invalid filename");
2578 fp = VCWD_FOPEN(fn, "wb");
2580 php_error_docref(NULL, E_WARNING, "Unable to open '%s' for writing", fn);
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_alloc.c88 char * fn = strrchr(__zend_orig_filename, PHP_DIR_SEPARATOR); local
89 TRACE_ALLOC_INF_FMT("file=%-15s line=%4d", fn? fn + 1:__zend_orig_filename, __zend_orig_lineno);
128 char * fn = strrchr(__zend_orig_filename, PHP_DIR_SEPARATOR); local
129 TRACE_ALLOC_INF_FMT("file=%-15s line=%4d", fn? fn + 1:__zend_orig_filename, __zend_orig_lineno);
171 char * fn = strrchr(__zend_orig_filename, PHP_DIR_SEPARATOR); local
172 TRACE_ALLOC_INF_FMT("file=%-15s line=%4d", fn? fn + 1:__zend_orig_filename, __zend_orig_lineno);
211 char * fn local
255 char * fn = strrchr(__zend_orig_filename, PHP_DIR_SEPARATOR); local
296 char * fn = strrchr(__zend_orig_filename, PHP_DIR_SEPARATOR); local
336 char * fn = strrchr(__zend_orig_filename, PHP_DIR_SEPARATOR); local
367 char * fn = strrchr(__zend_orig_filename, PHP_DIR_SEPARATOR); local
402 char * fn = strrchr(__zend_orig_filename, PHP_DIR_SEPARATOR); local
441 char * fn = strrchr(__zend_orig_filename, PHP_DIR_SEPARATOR); local
480 char * fn = strrchr(__zend_orig_filename, PHP_DIR_SEPARATOR); local
519 char * fn = strrchr(__zend_orig_filename, PHP_DIR_SEPARATOR); local
554 char * fn = strrchr(__zend_orig_filename, PHP_DIR_SEPARATOR); local
591 char * fn = strrchr(__zend_orig_filename, PHP_DIR_SEPARATOR); local
[all...]
/PHP_TRUNK/ext/soap/
H A Dphp_packet_soap.c25 int parse_packet_soap(zval *this_ptr, char *buffer, int buffer_size, sdlFunctionPtr fn, char *fn_name, zval *return_value, zval *soap_headers) argument
258 if (fn != NULL && fn->binding && fn->binding->bindingType == BINDING_SOAP) {
264 sdlSoapBindingFunctionPtr fnb = (sdlSoapBindingFunctionPtr)fn->bindingAttributes;
269 if (fn->responseParameters) {
270 res_count = zend_hash_num_elements(fn->responseParameters);
271 ZEND_HASH_FOREACH_PTR(fn->responseParameters, param) {
284 name = fn->responseName;
H A Dphp_packet_soap.h25 int parse_packet_soap(zval *this_ptr, char *buffer, int buffer_size, sdlFunctionPtr fn, char *fn_name, zval *return_value, zval *soap_headers);
H A Dphp_sdl.c1525 static sdlPtr get_sdl_from_cache(const char *fn, const char *uri, time_t t, time_t *cached) argument
1540 f = open(fn, O_RDONLY|O_BINARY);
1557 unlink(fn);
1565 unlink(fn);
1573 unlink(fn);
2096 static void add_sdl_to_cache(const char *fn, const char *uri, time_t t, sdlPtr sdl) argument
2111 f = open(fn,O_CREAT|O_WRONLY|O_EXCL|O_BINARY,S_IREAD|S_IWRITE);
2113 f = open(fn,O_CREAT|O_WRONLY|O_EXCL|O_BINARY,S_IREAD|S_IWRITE);
3155 char fn[MAXPATHLEN]; local
3171 } else if (VCWD_REALPATH(uri, fn)
[all...]
H A Dsoap.c2651 sdlFunctionPtr fn; local
2720 fn = get_function(sdl, function);
2721 if (fn != NULL) {
2722 sdlBindingPtr binding = fn->binding;
2725 if (fn->responseName == NULL &&
2726 fn->responseParameters == NULL &&
2735 sdlSoapBindingFunctionPtr fnb = (sdlSoapBindingFunctionPtr)fn->bindingAttributes;
2736 request = serialize_function_call(this_ptr, fn, NULL, fnb->input.ns, real_args, arg_count, soap_version, soap_headers);
2739 request = serialize_function_call(this_ptr, fn, NULL, sdl->target_ns, real_args, arg_count, soap_version, soap_headers);
2747 ret = parse_packet_soap(this_ptr, Z_STRVAL(response), Z_STRLEN(response), fn, NUL
[all...]
/PHP_TRUNK/ext/standard/
H A Dscanf.c592 zend_long (*fn)() = NULL;
758 fn = (zend_long (*)())ZEND_STRTOL_PTR;
763 fn = (zend_long (*)())ZEND_STRTOL_PTR;
768 fn = (zend_long (*)())ZEND_STRTOL_PTR;
774 fn = (zend_long (*)())ZEND_STRTOL_PTR;
780 fn = (zend_long (*)())ZEND_STRTOUL_PTR;
1051 value = (zend_long) (*fn)(buf, NULL, base);

Completed in 71 milliseconds