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

/PHP_5_4/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_5_4/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_5_4/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 Dfsmagic.c93 file_fsmagic(struct magic_set *ms, const char *fn, struct stat *sb, php_stream *stream) argument
102 if (fn == NULL && !stream) {
112 file_error(ms, errno, "cannot stat `%s'", fn);
119 if (php_sys_stat(fn, sb) != 0) {
121 file_error(ms, errno, "cannot stat `%s'", fn);
209 file_error(ms, errno, "unreadable symlink `%s'", fn);
H A Dapprentice.c386 apprentice_1(struct magic_set *ms, const char *fn, int action) argument
400 map = apprentice_load(ms, fn, action);
403 return apprentice_compile(ms, map, fn);
406 map = apprentice_map(ms, fn);
408 if (fn) {
410 file_magwarn(ms, "using regular magic file `%s'", fn);
411 map = apprentice_load(ms, fn, action);
539 /* const char *fn: list of magic files and directories */
541 file_apprentice(struct magic_set *ms, const char *fn, int action) argument
548 if ((fn
937 load_1(struct magic_set *ms, int action, const char *fn, int *errs, struct magic_entry **mentry, uint32_t *mentrycount) argument
1131 apprentice_load(struct magic_set *ms, const char *fn, int action) argument
2590 apprentice_map(struct magic_set *ms, const char *fn) argument
2748 apprentice_compile(struct magic_set *ms, struct magic_map *map, const char *fn) argument
2818 mkdbname(struct magic_set *ms, const char *fn, int strip) argument
[all...]
/PHP_5_4/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_5_4/win32/
H A Dglob.c850 g_lstat(fn, sb, pglob)
851 register Char *fn;
857 if (g_Ctoc(fn, buf, sizeof(buf)))
865 g_stat(fn, sb, pglob)
866 register Char *fn;
872 if (g_Ctoc(fn, buf, sizeof(buf)))
/PHP_5_4/ext/zip/lib/
H A Dzip_name_locate.c58 const char *fn, *p;
79 fn = za->cdir->entry[i].filename;
81 fn = _zip_get_name(za, i, flags, error);
84 if (fn == NULL)
88 p = strrchr(fn, '/');
90 fn = p+1;
93 if (cmp(fname, fn) == 0)
55 const char *fn, *p; local
H A Dzip_open.c63 zip_open(const char *fn, int flags, int *zep)
68 return _zip_allocate_new(fn, zep);
71 switch (_zip_file_exists(fn, flags, zep)) {
77 return _zip_allocate_new(fn, zep);
82 if ((fp=fopen(fn, "rb")) == NULL) {
87 return _zip_open(fn, fp, flags, 0, zep);
94 _zip_open(const char *fn, FILE *fp, int flags, int aflags, int *zep)
109 if ((za=_zip_allocate_new(fn, zep)) == NULL)
122 if ((za=_zip_allocate_new(fn, zep)) == NULL) {
464 _zip_allocate_new(const char *fn, in
61 zip_open(const char *fn, int flags, int *zep) argument
91 _zip_open(const char *fn, FILE *fp, int flags, int aflags, int *zep) argument
455 _zip_allocate_new(const char *fn, int *zep) argument
481 _zip_file_exists(const char *fn, int flags, int *zep) argument
[all...]
/PHP_5_4/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 TSRMLS_DC) argument
256 if (fn != NULL && fn->binding && fn->binding->bindingType == BINDING_SOAP) {
262 sdlSoapBindingFunctionPtr fnb = (sdlSoapBindingFunctionPtr)fn->bindingAttributes;
267 if (fn->responseParameters) {
268 res_count = zend_hash_num_elements(fn->responseParameters);
269 zend_hash_internal_pointer_reset(fn->responseParameters);
270 while (zend_hash_get_current_data(fn->responseParameters, (void **)&h_param) == SUCCESS) {
284 name = fn
[all...]
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 TSRMLS_DC);
H A Dphp_sdl.c1533 static sdlPtr get_sdl_from_cache(const char *fn, const char *uri, time_t t, time_t *cached TSRMLS_DC) argument
1548 f = open(fn, O_RDONLY|O_BINARY);
1565 unlink(fn);
1573 unlink(fn);
1581 unlink(fn);
2110 static void add_sdl_to_cache(const char *fn, const char *uri, time_t t, sdlPtr sdl TSRMLS_DC) argument
2125 f = open(fn,O_CREAT|O_WRONLY|O_EXCL|O_BINARY,S_IREAD|S_IWRITE);
2127 f = open(fn,O_CREAT|O_WRONLY|O_EXCL|O_BINARY,S_IREAD|S_IWRITE);
3191 char fn[MAXPATHLEN]; local
3205 } else if (VCWD_REALPATH(uri, fn)
[all...]
H A Dsoap.c2624 sdlFunctionPtr fn; local
2692 fn = get_function(sdl, function);
2693 if (fn != NULL) {
2694 sdlBindingPtr binding = fn->binding;
2697 if (fn->responseName == NULL &&
2698 fn->responseParameters == NULL &&
2707 sdlSoapBindingFunctionPtr fnb = (sdlSoapBindingFunctionPtr)fn->bindingAttributes;
2708 request = serialize_function_call(this_ptr, fn, NULL, fnb->input.ns, real_args, arg_count, soap_version, soap_headers TSRMLS_CC);
2711 request = serialize_function_call(this_ptr, fn, NULL, sdl->target_ns, real_args, arg_count, soap_version, soap_headers TSRMLS_CC);
2719 ret = parse_packet_soap(this_ptr, Z_STRVAL(response), Z_STRLEN(response), fn, NUL
[all...]
/PHP_5_4/ext/standard/
H A Dscanf.c593 long (*fn)() = NULL;
765 fn = (long (*)())strtol;
770 fn = (long (*)())strtol;
775 fn = (long (*)())strtol;
781 fn = (long (*)())strtol;
787 fn = (long (*)())strtoul;
1063 value = (long) (*fn)(buf, NULL, base);
/PHP_5_4/ext/com_dotnet/
H A Dcom_handlers.c410 #define POPULATE_CTOR(f, fn) \
417 f.handler = ZEND_FN(fn); \
/PHP_5_4/ext/gd/
H A Dgd.c2676 char *fn = NULL; local
2692 fn = file;
2702 PHP_GD_CHECK_OPEN_BASEDIR(fn, "Invalid filename");
2704 fp = VCWD_FOPEN(fn, "wb");
2706 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to open '%s' for writing", fn);
/PHP_5_4/ext/mysqlnd/
H A Dmysqlnd_alloc.c88 char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); local
89 DBG_INF_FMT("file=%-15s line=%4d", fn? fn + 1:__zend_filename, __zend_lineno);
127 char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); local
128 DBG_INF_FMT("file=%-15s line=%4d", fn? fn + 1:__zend_filename, __zend_lineno);
169 char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); local
170 DBG_INF_FMT("file=%-15s line=%4d", fn? fn + 1:__zend_filename, __zend_lineno);
209 char * fn local
252 char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); local
292 char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); local
331 char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); local
361 char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); local
394 char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); local
432 char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); local
470 char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); local
508 char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); local
542 char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); local
579 char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); local
[all...]
/PHP_5_4/Zend/
H A Dzend_compile.c3636 static zend_bool zend_traits_method_compatibility_check(zend_function *fn, zend_function *other_fn TSRMLS_DC) /* {{{ */ argument
3638 zend_uint fn_flags = fn->common.scope->ce_flags;
3641 return zend_do_perform_implementation_check(fn, other_fn TSRMLS_CC)
3642 && ((other_fn->common.scope->ce_flags & ZEND_ACC_INTERFACE) || zend_do_perform_implementation_check(other_fn, fn TSRMLS_CC))
3689 static void zend_add_trait_method(zend_class_entry *ce, const char *name, const char *arKey, uint nKeyLength, zend_function *fn, HashTable **overriden TSRMLS_DC) /* {{{ */ argument
3702 if (!zend_traits_method_compatibility_check(fn, existing_fn TSRMLS_CC)) {
3704 zend_get_function_declaration(fn TSRMLS_CC),
3707 } else if (fn->common.fn_flags & ZEND_ACC_ABSTRACT) {
3709 if (!zend_traits_method_compatibility_check(existing_fn, fn TSRMLS_CC)) {
3711 zend_get_function_declaration(fn TSRMLS_C
3762 zend_fixup_trait_method(zend_function *fn, zend_class_entry *ce TSRMLS_DC) argument
[all...]
H A Dzend_execute_API.c1645 static int zend_verify_abstract_class_function(zend_function *fn, zend_abstract_info *ai TSRMLS_DC) /* {{{ */
1647 if (fn->common.fn_flags & ZEND_ACC_ABSTRACT) {
1649 ai->afn[ai->cnt] = fn;
1651 if (fn->common.fn_flags & ZEND_ACC_CTOR) {
/PHP_5_4/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...]

Completed in 55 milliseconds