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

/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/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
1142 apprentice_load(struct magic_set *ms, const char *fn, int action) argument
2599 apprentice_map(struct magic_set *ms, const char *fn) argument
2753 apprentice_compile(struct magic_set *ms, struct magic_map *map, const char *fn) argument
2819 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
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);
/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/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/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/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 )
1915 if ( !pReq || !fn )
1931 //ret = (*fn)( HTTP_HEADERS[i], HTTP_HEADER_LEN[i],
1959 //ret = (*fn)( pKey, keyLen,
1969 ret = (*fn)( headers[i]._name, headers[i]._nameLen,
1980 LSAPI_CB_EnvHandler fn, void * arg )
1987 if ( !pReq || !fn )
1996 ret = (*fn)( CGI_HEADERS[i], CGI_HEADER_LEN[i],
2036 ret = (*fn)( achHeaderName, keyLen,
2048 int n, LSAPI_CB_EnvHandler fn, voi
1906 LSAPI_ForeachOrgHeader_r( LSAPI_Request * pReq, LSAPI_CB_EnvHandler fn, void * arg ) argument
1979 LSAPI_ForeachHeader_r( LSAPI_Request * pReq, LSAPI_CB_EnvHandler fn, void * arg ) argument
2047 EnvForeach( struct LSAPI_key_value_pair * pEnv, int n, LSAPI_CB_EnvHandler fn, void * arg ) argument
2067 LSAPI_ForeachEnv_r( LSAPI_Request * pReq, LSAPI_CB_EnvHandler fn, void * arg ) argument
2082 LSAPI_ForeachSpecialEnv_r( LSAPI_Request * pReq, LSAPI_CB_EnvHandler fn, void * arg ) argument
[all...]
/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 TSRMLS_DC) 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_sdl.c1526 static sdlPtr get_sdl_from_cache(const char *fn, const char *uri, time_t t, time_t *cached TSRMLS_DC) argument
1541 f = open(fn, O_RDONLY|O_BINARY);
1558 unlink(fn);
1566 unlink(fn);
1574 unlink(fn);
2097 static void add_sdl_to_cache(const char *fn, const char *uri, time_t t, sdlPtr sdl TSRMLS_DC) argument
2112 f = open(fn,O_CREAT|O_WRONLY|O_EXCL|O_BINARY,S_IREAD|S_IWRITE);
2114 f = open(fn,O_CREAT|O_WRONLY|O_EXCL|O_BINARY,S_IREAD|S_IWRITE);
3156 char fn[MAXPATHLEN]; local
3172 } else if (VCWD_REALPATH(uri, fn)
[all...]
H A Dsoap.c2641 sdlFunctionPtr fn; local
2710 fn = get_function(sdl, function);
2711 if (fn != NULL) {
2712 sdlBindingPtr binding = fn->binding;
2715 if (fn->responseName == NULL &&
2716 fn->responseParameters == NULL &&
2725 sdlSoapBindingFunctionPtr fnb = (sdlSoapBindingFunctionPtr)fn->bindingAttributes;
2726 request = serialize_function_call(this_ptr, fn, NULL, fnb->input.ns, real_args, arg_count, soap_version, soap_headers TSRMLS_CC);
2729 request = serialize_function_call(this_ptr, fn, NULL, sdl->target_ns, real_args, arg_count, soap_version, soap_headers TSRMLS_CC);
2737 ret = parse_packet_soap(this_ptr, Z_STRVAL(response), Z_STRLEN(response), fn, NUL
[all...]
/PHP_TRUNK/ext/gd/
H A Dgd.c2557 char *fn = NULL; local
2574 fn = file;
2584 PHP_GD_CHECK_OPEN_BASEDIR(fn, "Invalid filename");
2586 fp = VCWD_FOPEN(fn, "wb");
2588 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to open '%s' for writing", fn);
/PHP_TRUNK/Zend/
H A Dzend_compile.c1875 static zend_bool zend_traits_method_compatibility_check(zend_function *fn, zend_function *other_fn TSRMLS_DC) /* {{{ */ argument
1877 uint32_t fn_flags = fn->common.scope->ce_flags;
1880 return zend_do_perform_implementation_check(fn, other_fn TSRMLS_CC)
1881 && ((other_fn->common.scope->ce_flags & ZEND_ACC_INTERFACE) || zend_do_perform_implementation_check(other_fn, fn TSRMLS_CC))
1930 static void zend_add_trait_method(zend_class_entry *ce, const char *name, zend_string *key, zend_function *fn, HashTable **overriden TSRMLS_DC) /* {{{ */ argument
1943 if (!zend_traits_method_compatibility_check(fn, existing_fn TSRMLS_CC)) {
1945 zend_get_function_declaration(fn TSRMLS_CC),
1948 } else if (fn->common.fn_flags & ZEND_ACC_ABSTRACT) {
1950 if (!zend_traits_method_compatibility_check(existing_fn, fn TSRMLS_CC)) {
1952 zend_get_function_declaration(fn TSRMLS_C
2005 zend_fixup_trait_method(zend_function *fn, zend_class_entry *ce) argument
2021 zend_traits_copy_functions(zend_string *fnname, zend_function *fn, zend_class_entry *ce, HashTable **overriden, HashTable *exclude_table TSRMLS_DC) argument
2246 zend_function *fn; local
6198 zend_function *fn = zend_hash_find_ptr(CG(function_table), lookup_name); local
6444 binary_op_type fn = get_binary_op(opcode); local
6449 binary_op_type fn = kind == ZEND_AST_UNARY_PLUS local
6460 binary_op_type fn = kind == ZEND_AST_GREATER local
[all...]

Completed in 81 milliseconds