| /PHP_5_4/ext/ereg/regex/ |
| H A D | split.c | 19 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/zip/lib/ |
| H A D | zip_name_locate.c | 58 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 D | zip_open.c | 63 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/sapi/isapi/stresstest/ |
| H A D | stresstest.cpp | 296 BOOL ParseTestFile(const char *path, const char *fn) argument 300 _snprintf(filename, sizeof(filename)-1, "%s\\%s", path, fn);
|
| /PHP_5_4/ext/fileinfo/libmagic/ |
| H A D | apptype.c | 45 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 D | fsmagic.c | 93 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 D | apprentice.c | 386 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); 537 /* const char *fn: list of magic files and directories */ 539 file_apprentice(struct magic_set *ms, const char *fn, int action) argument 546 if ((fn 935 load_1(struct magic_set *ms, int action, const char *fn, int *errs, struct magic_entry **mentry, uint32_t *mentrycount) argument 1129 apprentice_load(struct magic_set *ms, const char *fn, int action) argument 2588 apprentice_map(struct magic_set *ms, const char *fn) argument 2746 apprentice_compile(struct magic_set *ms, struct magic_map *map, const char *fn) argument 2816 mkdbname(struct magic_set *ms, const char *fn, int strip) argument [all...] |
| /PHP_5_4/ext/soap/ |
| H A D | php_packet_soap.c | 25 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 D | php_sdl.c | 1533 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); 3190 char fn[MAXPATHLEN]; local 3204 } else if (VCWD_REALPATH(uri, fn) [all...] |
| H A D | soap.c | 2619 sdlFunctionPtr fn; local 2687 fn = get_function(sdl, function); 2688 if (fn != NULL) { 2689 sdlBindingPtr binding = fn->binding; 2692 if (fn->responseName == NULL && 2693 fn->responseParameters == NULL && 2702 sdlSoapBindingFunctionPtr fnb = (sdlSoapBindingFunctionPtr)fn->bindingAttributes; 2703 request = serialize_function_call(this_ptr, fn, NULL, fnb->input.ns, real_args, arg_count, soap_version, soap_headers TSRMLS_CC); 2706 request = serialize_function_call(this_ptr, fn, NULL, sdl->target_ns, real_args, arg_count, soap_version, soap_headers TSRMLS_CC); 2714 ret = parse_packet_soap(this_ptr, Z_STRVAL(response), Z_STRLEN(response), fn, NUL [all...] |
| /PHP_5_4/sapi/litespeed/ |
| H A D | lsapilib.c | 1168 LSAPI_CB_EnvHandler fn, void * arg ) 1175 if ( !pReq || !fn ) { 1183 ret = (*fn)( HTTP_HEADERS[i], HTTP_HEADER_LEN[i], 1203 ret = (*fn)( pKey, keyLen, 1217 LSAPI_CB_EnvHandler fn, void * arg ) 1224 if ( !pReq || !fn ) { 1232 ret = (*fn)( CGI_HEADERS[i], CGI_HEADER_LEN[i], 1273 ret = (*fn)( achHeaderName, keyLen, 1286 int n, LSAPI_CB_EnvHandler fn, void * arg ) 1290 if ( !pEnv || !fn ) { 1167 LSAPI_ForeachOrgHeader_r( LSAPI_Request * pReq, LSAPI_CB_EnvHandler fn, void * arg ) argument 1216 LSAPI_ForeachHeader_r( LSAPI_Request * pReq, LSAPI_CB_EnvHandler fn, void * arg ) argument 1285 EnvForeach( struct LSAPI_key_value_pair * pEnv, int n, LSAPI_CB_EnvHandler fn, void * arg ) argument 1306 LSAPI_ForeachEnv_r( LSAPI_Request * pReq, LSAPI_CB_EnvHandler fn, void * arg ) argument 1321 LSAPI_ForeachSpecialEnv_r( LSAPI_Request * pReq, LSAPI_CB_EnvHandler fn, void * arg ) argument [all...] |
| H A D | lsapilib.h | 159 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_4/ext/mysqlnd/ |
| H A D | mysqlnd_alloc.c | 88 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 D | zend_compile.c | 3632 static zend_bool zend_traits_method_compatibility_check(zend_function *fn, zend_function *other_fn TSRMLS_DC) /* {{{ */ argument 3634 zend_uint fn_flags = fn->common.scope->ce_flags; 3637 return zend_do_perform_implementation_check(fn, other_fn TSRMLS_CC) 3638 && ((other_fn->common.scope->ce_flags & ZEND_ACC_INTERFACE) || zend_do_perform_implementation_check(other_fn, fn TSRMLS_CC)) 3685 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 3698 if (!zend_traits_method_compatibility_check(fn, existing_fn TSRMLS_CC)) { 3700 zend_get_function_declaration(fn TSRMLS_CC), 3703 } else if (fn->common.fn_flags & ZEND_ACC_ABSTRACT) { 3705 if (!zend_traits_method_compatibility_check(existing_fn, fn TSRMLS_CC)) { 3707 zend_get_function_declaration(fn TSRMLS_C 3758 zend_fixup_trait_method(zend_function *fn, zend_class_entry *ce TSRMLS_DC) argument [all...] |
| /PHP_5_4/ext/gd/ |
| H A D | gd.c | 2676 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);
|