st_mode            70 Zend/zend_stream.c 		if (!S_ISREG(buf.st_mode)) {
st_mode           119 Zend/zend_stream.c 		if (!S_ISREG(buf.st_mode)) {
st_mode           367 Zend/zend_virtual_cwd.c 			buf->st_mode = S_IFLNK;
st_mode           368 Zend/zend_virtual_cwd.c 			buf->st_mode |= (data.dwFileAttributes & FILE_ATTRIBUTE_READONLY) ? (S_IREAD|(S_IREAD>>3)|(S_IREAD>>6)) : (S_IREAD|(S_IREAD>>3)|(S_IREAD>>6)|S_IWRITE|(S_IWRITE>>3)|(S_IWRITE>>6));
st_mode           373 Zend/zend_virtual_cwd.c 			buf->st_mode |=;
st_mode           378 Zend/zend_virtual_cwd.c 		buf->st_mode = (data.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) ? (S_IFDIR|S_IEXEC|(S_IEXEC>>3)|(S_IEXEC>>6)) : S_IFREG;
st_mode           379 Zend/zend_virtual_cwd.c 		buf->st_mode |= (data.dwFileAttributes & FILE_ATTRIBUTE_READONLY) ? (S_IREAD|(S_IREAD>>3)|(S_IREAD>>6)) : (S_IREAD|(S_IREAD>>3)|(S_IREAD>>6)|S_IWRITE|(S_IWRITE>>3)|(S_IWRITE>>6));
st_mode           390 Zend/zend_virtual_cwd.c 				buf->st_mode  |= (S_IEXEC|(S_IEXEC>>3)|(S_IEXEC>>6));
st_mode           412 Zend/zend_virtual_cwd.c 	if (php_sys_stat(state->cwd, &buf) == 0 && S_ISDIR(buf.st_mode))
st_mode           423 Zend/zend_virtual_cwd.c 	if (php_sys_stat(state->cwd, &buf) == 0 && S_ISREG(buf.st_mode))
st_mode          1091 Zend/zend_virtual_cwd.c 		if (save && S_ISLNK(st.st_mode)) {
st_mode          1123 Zend/zend_virtual_cwd.c 				directory = S_ISDIR(st.st_mode);
st_mode          3868 ext/exif/exif.c 			if ((st.st_mode & S_IFMT) != S_IFREG) {
st_mode           525 ext/fileinfo/fileinfo.c 					if (ssb.sb.st_mode & S_IFDIR) {
st_mode           544 ext/fileinfo/fileinfo.c 					if (ssb.sb.st_mode & S_IFDIR) {
st_mode          1173 ext/fileinfo/libmagic/apprentice.c 	if (php_sys_stat(fn, &st) == 0 && S_ISDIR(st.st_mode)) {
st_mode          1190 ext/fileinfo/libmagic/apprentice.c 			if (stat(mfn, &st) == -1 || !S_ISREG(st.st_mode)) {
st_mode          2626 ext/fileinfo/libmagic/apprentice.c                if (st.sb.st_mode & S_IFDIR) {
st_mode           131 ext/fileinfo/libmagic/fsmagic.c 		if (sb->st_mode & S_ISUID)
st_mode           136 ext/fileinfo/libmagic/fsmagic.c 		if (sb->st_mode & S_ISGID) 
st_mode           141 ext/fileinfo/libmagic/fsmagic.c 		if (sb->st_mode & S_ISVTX) 
st_mode           147 ext/fileinfo/libmagic/fsmagic.c 	switch (sb->st_mode & S_IFMT) {
st_mode           251 ext/fileinfo/libmagic/fsmagic.c 		file_error(ms, 0, "invalid mode 0%o", sb->st_mode);
st_mode           122 ext/fileinfo/libmagic/magic.c 	if (S_ISDIR(st.st_mode)) {
st_mode           390 ext/fileinfo/libmagic/magic.c 		if (unreadable_info(ms, sb.st_mode, inname) == -1)
st_mode          2238 ext/openssl/openssl.c 			if ((sb.st_mode & S_IFREG) == S_IFREG) {
st_mode           486 ext/phar/func_interceptors.c 		RETURN_LONG((long)stat_sb->st_mode);
st_mode           514 ext/phar/func_interceptors.c 		if (S_ISLNK(stat_sb->st_mode)) {
st_mode           517 ext/phar/func_interceptors.c 		switch(stat_sb->st_mode & S_IFMT) {
st_mode           521 ext/phar/func_interceptors.c 		php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Unknown file type (%u)", stat_sb->st_mode & S_IFMT);
st_mode           524 ext/phar/func_interceptors.c 		RETURN_BOOL((stat_sb->st_mode & wmask) != 0);
st_mode           526 ext/phar/func_interceptors.c 		RETURN_BOOL((stat_sb->st_mode&rmask)!=0);
st_mode           528 ext/phar/func_interceptors.c 		RETURN_BOOL((stat_sb->st_mode&xmask)!=0 && !S_ISDIR(stat_sb->st_mode));
st_mode           530 ext/phar/func_interceptors.c 		RETURN_BOOL(S_ISREG(stat_sb->st_mode));
st_mode           532 ext/phar/func_interceptors.c 		RETURN_BOOL(S_ISDIR(stat_sb->st_mode));
st_mode           534 ext/phar/func_interceptors.c 		RETURN_BOOL(S_ISLNK(stat_sb->st_mode));
st_mode           544 ext/phar/func_interceptors.c 		MAKE_LONG_ZVAL_INCREF(stat_mode, stat_sb->st_mode);
st_mode           673 ext/phar/func_interceptors.c 				sb.st_mode = 0777;
st_mode           674 ext/phar/func_interceptors.c 				sb.st_mode |= S_IFDIR; /* regular directory */
st_mode           719 ext/phar/func_interceptors.c 					sb.st_mode = 0777;
st_mode           720 ext/phar/func_interceptors.c 					sb.st_mode |= S_IFDIR; /* regular directory */
st_mode           746 ext/phar/func_interceptors.c 				sb.st_mode = data->flags & PHAR_ENT_PERM_MASK;
st_mode           748 ext/phar/func_interceptors.c 					sb.st_mode |= S_IFREG|S_IFLNK; /* regular file */
st_mode           750 ext/phar/func_interceptors.c 					sb.st_mode |= S_IFREG; /* regular file */
st_mode           764 ext/phar/func_interceptors.c 				sb.st_mode = data->flags & PHAR_ENT_PERM_MASK;
st_mode           765 ext/phar/func_interceptors.c 				sb.st_mode |= S_IFDIR; /* regular directory */
st_mode           767 ext/phar/func_interceptors.c 					sb.st_mode |= S_IFLNK;
st_mode           783 ext/phar/func_interceptors.c 				sb.st_mode = (sb.st_mode & 0555) | (sb.st_mode & ~0777);
st_mode          1762 ext/phar/phar.c 		if (ssb.sb.st_mode & S_IFDIR) {
st_mode          1817 ext/phar/phar.c 				if (ssb.sb.st_mode & S_IFDIR) {
st_mode          1829 ext/phar/phar.c 		if (ssb.sb.st_mode & S_IFDIR) {
st_mode          2612 ext/phar/phar_object.c 	RETURN_BOOL((ssb.sb.st_mode & (S_IWOTH | S_IWGRP | S_IWUSR)) != 0);
st_mode          4354 ext/phar/phar_object.c 	} else if (!(ssb.sb.st_mode & S_IFDIR)) {
st_mode           487 ext/phar/stream.c 		ssb->sb.st_mode = data->flags & PHAR_ENT_PERM_MASK;
st_mode           488 ext/phar/stream.c 		ssb->sb.st_mode |= S_IFREG; /* regular file */
st_mode           501 ext/phar/stream.c 		ssb->sb.st_mode = data->flags & PHAR_ENT_PERM_MASK;
st_mode           502 ext/phar/stream.c 		ssb->sb.st_mode |= S_IFDIR; /* regular directory */
st_mode           515 ext/phar/stream.c 		ssb->sb.st_mode = 0777;
st_mode           516 ext/phar/stream.c 		ssb->sb.st_mode |= S_IFDIR; /* regular directory */
st_mode           528 ext/phar/stream.c 		ssb->sb.st_mode = (ssb->sb.st_mode & 0555) | (ssb->sb.st_mode & ~0777);
st_mode           228 ext/phar/util.c 	if (ssb.sb.st_mode & S_IFDIR) {
st_mode           241 ext/phar/util.c 	entry.flags = ssb.sb.st_mode;
st_mode          1345 ext/phar/util.c 				if (ssb.sb.st_mode & S_IFDIR && !dir) {
st_mode          1353 ext/phar/util.c 				if ((ssb.sb.st_mode & S_IFDIR) == 0 && dir) {
st_mode           152 ext/session/mod_files.c 		if(PG(open_basedir) && lstat(buf, &sbuf) == 0 && S_ISLNK(sbuf.st_mode) && php_check_open_basedir(buf TSRMLS_CC)) {
st_mode          1461 ext/sockets/conversions.c 		if (S_ISSOCK(statbuf.st_mode)) {
st_mode          26049 ext/sqlite3/libsqlite/sqlite3.c        && (statbuf.st_mode&0777)!=m 
st_mode          29778 ext/sqlite3/libsqlite/sqlite3.c       pShmNode->h = robust_open(zShmFilename, openFlags, (sStat.st_mode&0777));
st_mode          30901 ext/sqlite3/libsqlite/sqlite3.c     if( !S_ISDIR(buf.st_mode) ) continue;
st_mode          31081 ext/sqlite3/libsqlite/sqlite3.c       *pMode = sStat.st_mode & 0777;
st_mode          32380 ext/sqlite3/libsqlite/sqlite3.c             mode_t cmode = buf.st_mode&(S_IRUSR|S_IWUSR | S_IRGRP|S_IWGRP |
st_mode           533 ext/standard/dir.c 			if (S_IFDIR != (s.st_mode & S_IFMT)) {
st_mode          1554 ext/standard/file.c 	MAKE_LONG_ZVAL_INCREF(stat_mode, stat_ssb.sb.st_mode);
st_mode          1670 ext/standard/file.c 	if (S_ISDIR(src_s.sb.st_mode)) {
st_mode          1685 ext/standard/file.c 	if (S_ISDIR(dest_s.sb.st_mode)) {
st_mode           965 ext/standard/filestat.c 		RETURN_LONG((long)ssb.sb.st_mode);
st_mode           981 ext/standard/filestat.c 		if (S_ISLNK(ssb.sb.st_mode)) {
st_mode           984 ext/standard/filestat.c 		switch(ssb.sb.st_mode & S_IFMT) {
st_mode           994 ext/standard/filestat.c 		php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Unknown file type (%d)", ssb.sb.st_mode&S_IFMT);
st_mode           997 ext/standard/filestat.c 		RETURN_BOOL((ssb.sb.st_mode & wmask) != 0);
st_mode           999 ext/standard/filestat.c 		RETURN_BOOL((ssb.sb.st_mode&rmask)!=0);
st_mode          1001 ext/standard/filestat.c 		RETURN_BOOL((ssb.sb.st_mode&xmask)!=0 && !S_ISDIR(ssb.sb.st_mode));
st_mode          1003 ext/standard/filestat.c 		RETURN_BOOL(S_ISREG(ssb.sb.st_mode));
st_mode          1005 ext/standard/filestat.c 		RETURN_BOOL(S_ISDIR(ssb.sb.st_mode));
st_mode          1007 ext/standard/filestat.c 		RETURN_BOOL(S_ISLNK(ssb.sb.st_mode));
st_mode          1017 ext/standard/filestat.c 		MAKE_LONG_ZVAL_INCREF(stat_mode, stat_sb->st_mode);
st_mode           800 ext/standard/ftp_fopen_wrapper.c 	ssb->sb.st_mode = 0644;									/* FTP won't give us a valid mode, so aproximate one based on being readable */
st_mode           804 ext/standard/ftp_fopen_wrapper.c 		ssb->sb.st_mode |= S_IFREG;
st_mode           806 ext/standard/ftp_fopen_wrapper.c 		ssb->sb.st_mode |= S_IFDIR;
st_mode           823 ext/standard/ftp_fopen_wrapper.c 		if (ssb->sb.st_mode & S_IFDIR) {
st_mode           385 ext/standard/php_fopen_wrapper.c 		if (fstat(fd, &st) == 0 && (st.st_mode & S_IFMT) == S_IFSOCK) {
st_mode           119 ext/zip/lib/mkstemp.c 			if (!S_ISDIR(sbuf.st_mode)) {
st_mode           224 ext/zip/lib/zip_source_filep.c 		else if ((fst.st_mode&S_IFMT) == S_IFREG) {
st_mode           619 ext/zip/php_zip.c 			if (S_IFDIR != (s.st_mode & S_IFMT)) {
st_mode           713 ext/zip/php_zip.c 			if (S_IFDIR == (s.st_mode & S_IFMT)) {
st_mode           170 ext/zip/zip_stream.c 			ssb->sb.st_mode |= S_IFREG; /* regular file */
st_mode           173 ext/zip/zip_stream.c 			ssb->sb.st_mode |= S_IFDIR; /* regular directory */
st_mode           289 main/main.c    					if (VCWD_REALPATH(search_path, binary_location) && !VCWD_ACCESS(binary_location, X_OK) && VCWD_STAT(binary_location, &s) == 0 && S_ISREG(s.st_mode)) {
st_mode           556 main/php_ini.c 				if (!((statbuf.st_mode & S_IFMT) == S_IFDIR)) {
st_mode           670 main/php_ini.c 						if (S_ISREG(sb.st_mode)) {
st_mode           763 main/php_ini.c 		if (S_ISREG(sb.st_mode)) {
st_mode           213 main/streams/memory.c 	ssb->sb.st_mode = ms->mode & TEMP_STREAM_READONLY ? 0444 : 0666;
st_mode           216 main/streams/memory.c 	ssb->sb.st_mode |= S_IFREG; /* regular file */
st_mode           235 main/streams/plain_wrapper.c 			self->is_pipe = (do_fstat(self, 0) == 0 && S_ISFIFO(self->sb.st_mode)) ? 1 : 0;
st_mode           274 main/streams/plain_wrapper.c 			self->is_pipe = (do_fstat(self, 0) == 0 && S_ISFIFO(self->sb.st_mode)) ? 1 : 0;
st_mode           993 main/streams/plain_wrapper.c 				if ((r == 0 && !S_ISREG(self->sb.st_mode))) {
st_mode          1120 main/streams/plain_wrapper.c 					if (VCWD_CHMOD(url_to, sb.st_mode)) {
st_mode          1521 main/streams/streams.c 			&& S_ISREG(ssbuf.sb.st_mode)
st_mode           619 sapi/apache/mod_php5.c 		if (filename == NULL && r->finfo.st_mode == 0) {
st_mode           899 sapi/apache/mod_php5.c 	if (!(r->finfo.st_mode & S_IXUSR)) {
st_mode           666 sapi/apache_hooks/mod_php5.c 		if (filename == NULL && r->finfo.st_mode == 0) {
st_mode          1183 sapi/apache_hooks/mod_php5.c 	if (!(r->finfo.st_mode & S_IXUSR)) {
st_mode          1250 sapi/cgi/cgi_main.c 					if (stat(pt, &st) == 0 && S_ISREG(st.st_mode)) {
st_mode          1500 sapi/cli/php_cli_server.c 			if (sb.st_mode & S_IFDIR) {
st_mode          1508 sapi/cli/php_cli_server.c 					if (!stat(buf, &sb) && (sb.st_mode & S_IFREG)) {
st_mode          2580 sapi/cli/php_cli_server.c 		if (!S_ISDIR(sb.st_mode)) {
st_mode           171 sapi/fpm/fpm/fpm_conf.c 	return (sb.st_mode & S_IFMT) == S_IFDIR;
st_mode          1222 sapi/fpm/fpm/fpm_main.c 						if (stat(pt, &st) == 0 && S_ISREG(st.st_mode)) {
st_mode           701 sapi/litespeed/lsapilib.c     if ( st.st_mode & 0077 )
st_mode          1041 sapi/nsapi/nsapi.c 	if (fst && S_ISREG(fst->st_mode)) {
st_mode           239 sapi/phpdbg/phpdbg.c 			if (sb.st_mode & (S_IFREG|S_IFLNK)) {
st_mode           228 sapi/phpdbg/phpdbg_bp.c 		if (ssb.sb.st_mode & (S_IFREG|S_IFLNK)) {
st_mode           338 sapi/phpdbg/phpdbg_prompt.c 		if (sb.st_mode & (S_IFREG|S_IFLNK)) {
st_mode           579 win32/glob.c   				!IS_SLASH(pathend[-1])) && (S_ISDIR(sb.st_mode) ||
st_mode           580 win32/glob.c   				(S_ISLNK(sb.st_mode) &&
st_mode           582 win32/glob.c   				S_ISDIR(sb.st_mode)))) {