Searched defs:fn (Results 1 - 16 of 16) sorted by relevance

/PHP_5_5/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_5/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_5/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_5/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_5_5/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_5/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_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.c2630 sdlFunctionPtr fn; local
2699 fn = get_function(sdl, function);
2700 if (fn != NULL) {
2701 sdlBindingPtr binding = fn->binding;
2704 if (fn->responseName == NULL &&
2705 fn->responseParameters == NULL &&
2714 sdlSoapBindingFunctionPtr fnb = (sdlSoapBindingFunctionPtr)fn->bindingAttributes;
2715 request = serialize_function_call(this_ptr, fn, NULL, fnb->input.ns, real_args, arg_count, soap_version, soap_headers TSRMLS_CC);
2718 request = serialize_function_call(this_ptr, fn, NULL, sdl->target_ns, real_args, arg_count, soap_version, soap_headers TSRMLS_CC);
2726 ret = parse_packet_soap(this_ptr, Z_STRVAL(response), Z_STRLEN(response), fn, NUL
[all...]
/PHP_5_5/Zend/
H A Dzend_compile.c3819 static zend_bool zend_traits_method_compatibility_check(zend_function *fn, zend_function *other_fn TSRMLS_DC) /* {{{ */ argument
3821 zend_uint fn_flags = fn->common.scope->ce_flags;
3824 return zend_do_perform_implementation_check(fn, other_fn TSRMLS_CC)
3825 && ((other_fn->common.scope->ce_flags & ZEND_ACC_INTERFACE) || zend_do_perform_implementation_check(other_fn, fn TSRMLS_CC))
3872 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
3885 if (!zend_traits_method_compatibility_check(fn, existing_fn TSRMLS_CC)) {
3887 zend_get_function_declaration(fn TSRMLS_CC),
3890 } else if (fn->common.fn_flags & ZEND_ACC_ABSTRACT) {
3892 if (!zend_traits_method_compatibility_check(existing_fn, fn TSRMLS_CC)) {
3894 zend_get_function_declaration(fn TSRMLS_C
3945 zend_fixup_trait_method(zend_function *fn, zend_class_entry *ce TSRMLS_DC) argument
[all...]
/PHP_5_5/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_5_5/sapi/litespeed/
H A Dlsapilib.c1158 LSAPI_CB_EnvHandler fn, void * arg )
1165 if ( !pReq || !fn ) {
1173 ret = (*fn)( HTTP_HEADERS[i], HTTP_HEADER_LEN[i],
1193 ret = (*fn)( pKey, keyLen,
1207 LSAPI_CB_EnvHandler fn, void * arg )
1214 if ( !pReq || !fn ) {
1222 ret = (*fn)( CGI_HEADERS[i], CGI_HEADER_LEN[i],
1262 ret = (*fn)( achHeaderName, keyLen,
1275 int n, LSAPI_CB_EnvHandler fn, void * arg )
1279 if ( !pEnv || !fn ) {
1157 LSAPI_ForeachOrgHeader_r( LSAPI_Request * pReq, LSAPI_CB_EnvHandler fn, void * arg ) argument
1206 LSAPI_ForeachHeader_r( LSAPI_Request * pReq, LSAPI_CB_EnvHandler fn, void * arg ) argument
1274 EnvForeach( struct LSAPI_key_value_pair * pEnv, int n, LSAPI_CB_EnvHandler fn, void * arg ) argument
1295 LSAPI_ForeachEnv_r( LSAPI_Request * pReq, LSAPI_CB_EnvHandler fn, void * arg ) argument
1310 LSAPI_ForeachSpecialEnv_r( LSAPI_Request * pReq, LSAPI_CB_EnvHandler fn, void * arg ) argument
[all...]
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 );
257 static inline int LSAPI_ForeachHeader( LSAPI_CB_EnvHandler fn, void * arg ) argument
258 { return LSAPI_ForeachHeader_r( &g_req, fn, arg ); }
261 LSAPI_CB_EnvHandler fn, void * arg )
262 { return LSAPI_ForeachOrgHeader_r( &g_req, fn, arg ); }
264 static inline int LSAPI_ForeachEnv( LSAPI_CB_EnvHandler fn, void * arg ) argument
265 { return LSAPI_ForeachEnv_r( &g_req, fn, ar
260 LSAPI_ForeachOrgHeader( LSAPI_CB_EnvHandler fn, void * arg ) argument
267 LSAPI_ForeachSpecialEnv( LSAPI_CB_EnvHandler fn, void * arg ) argument
[all...]
/PHP_5_5/ext/gd/
H A Dgd.c2554 char *fn = NULL; local
2570 fn = file;
2580 PHP_GD_CHECK_OPEN_BASEDIR(fn, "Invalid filename");
2582 fp = VCWD_FOPEN(fn, "wb");
2584 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to open '%s' for writing", fn);

Completed in 53 milliseconds