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

/PHP_5_3/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_3/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_3/ext/sqlite/libsqlite/src/
H A Dvdbe.c1410 int ft, fn; local
1413 fn = pNos->flags;
1414 if( (ft | fn) & MEM_Null ){
1423 }else if( (ft & fn & MEM_Int)==MEM_Int ){
1425 }else if( (ft & MEM_Int)!=0 && (fn & MEM_Str)!=0 && toInt(pNos->z,&v) ){
1427 }else if( (fn & MEM_Int)!=0 && (ft & MEM_Str)!=0 && toInt(pTos->z,&v) ){
/PHP_5_3/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_3/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_3/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_3/ext/fileinfo/libmagic/
H A Dapprentice.c243 apprentice_1(struct magic_set *ms, const char *fn, int action, argument
260 rv = apprentice_load(ms, &magic, &nmagic, fn, action);
263 rv = apprentice_compile(ms, &magic, &nmagic, fn);
268 if ((rv = apprentice_map(ms, &magic, &nmagic, fn)) == -1) {
269 if (fn) {
271 file_magwarn(ms, "using regular magic file `%s'", fn);
272 rv = apprentice_load(ms, &magic, &nmagic, fn, action);
330 /* const char *fn: list of magic files and directories */
332 file_apprentice(struct magic_set *ms, const char *fn, int action) argument
339 if ((fn
655 load_1(struct magic_set *ms, int action, const char *fn, int *errs, struct magic_entry **marray, uint32_t *marraycount) argument
750 apprentice_load(struct magic_set *ms, struct magic **magicp, uint32_t *nmagicp, const char *fn, int action) argument
2187 apprentice_map(struct magic_set *ms, struct magic **magicp, uint32_t *nmagicp, const char *fn) argument
2328 apprentice_compile(struct magic_set *ms, struct magic **magicp, uint32_t *nmagicp, const char *fn) argument
2382 mkdbname(struct magic_set *ms, const char *fn, int strip) argument
[all...]
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 Dfile.h395 protected int file_fsmagic(struct magic_set *ms, const char *fn, struct stat *sb, php_stream *stream);
H A Dfsmagic.c93 file_fsmagic(struct magic_set *ms, const char *fn, struct stat *sb, php_stream *stream) argument
101 if (!fn && !stream) {
109 file_error(ms, errno, "cannot stat `%s'", fn);
116 if (php_sys_stat(fn, sb) != 0) {
118 file_error(ms, errno, "cannot stat `%s'", fn);
204 file_error(ms, errno, "unreadable symlink `%s'", fn);
/PHP_5_3/ext/com_dotnet/
H A Dcom_handlers.c410 #define POPULATE_CTOR(f, fn) \
417 f.handler = ZEND_FN(fn); \
/PHP_5_3/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_internal_pointer_reset(fn->responseParameters);
272 while (zend_hash_get_current_data(fn->responseParameters, (void **)&h_param) == SUCCESS) {
286 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);
3190 char fn[MAXPATHLEN]; local
3204 } else if (VCWD_REALPATH(uri, fn)
[all...]
H A Dsoap.c2813 sdlFunctionPtr fn; local
2881 fn = get_function(sdl, function);
2882 if (fn != NULL) {
2883 sdlBindingPtr binding = fn->binding;
2886 if (fn->responseName == NULL &&
2887 fn->responseParameters == NULL &&
2896 sdlSoapBindingFunctionPtr fnb = (sdlSoapBindingFunctionPtr)fn->bindingAttributes;
2897 request = serialize_function_call(this_ptr, fn, NULL, fnb->input.ns, real_args, arg_count, soap_version, soap_headers TSRMLS_CC);
2900 request = serialize_function_call(this_ptr, fn, NULL, sdl->target_ns, real_args, arg_count, soap_version, soap_headers TSRMLS_CC);
2908 ret = parse_packet_soap(this_ptr, Z_STRVAL(response), Z_STRLEN(response), fn, NUL
[all...]
/PHP_5_3/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_3/sapi/litespeed/
H A Dlsapilib.c1168 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 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_3/ext/gd/
H A Dgd.c2628 char *fn = NULL; local
2644 fn = file;
2657 PHP_GD_CHECK_OPEN_BASEDIR(fn, "Invalid filename");
2659 fp = VCWD_FOPEN(fn, "wb");
2661 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to open '%s' for writing", fn);
/PHP_5_3/Zend/
H A Dzend_execute_API.c1596 static int zend_verify_abstract_class_function(zend_function *fn, zend_abstract_info *ai TSRMLS_DC) /* {{{ */
1598 if (fn->common.fn_flags & ZEND_ACC_ABSTRACT) {
1600 ai->afn[ai->cnt] = fn;
1602 if (fn->common.fn_flags & ZEND_ACC_CTOR) {

Completed in 78 milliseconds