Home
last modified time | relevance | path

Searched refs:S_ISDIR (Results 1 – 15 of 15) sorted by relevance

/PHP-7.0/ext/fileinfo/libmagic/
H A Dfsmagic.c73 #ifndef S_ISDIR
74 #define S_ISDIR(mode) ((mode) & _S_IFDIR) macro
H A Dmagic.c122 if (S_ISDIR(st.st_mode)) {
H A Dapprentice.c262 #ifndef S_ISDIR
263 #define S_ISDIR(mode) ((mode) & _S_IFDIR) macro
1245 if (php_sys_stat(fn, &st) == 0 && S_ISDIR(st.st_mode)) { in apprentice_load()
/PHP-7.0/ext/zip/lib/
H A Dmkstemp.c118 if (!S_ISDIR(sbuf.st_mode)) { in _zip_mkstemp()
/PHP-7.0/Zend/
H A Dzend_virtual_cwd.h353 #ifndef S_ISDIR
354 #define S_ISDIR(mode) (((mode)&S_IFMT) == S_IFDIR) macro
H A Dzend_virtual_cwd.c424 if (php_sys_stat(state->cwd, &buf) == 0 && S_ISDIR(buf.st_mode)) in php_is_dir_ok()
1138 directory = S_ISDIR(st.st_mode); in tsrm_realpath_r()
/PHP-7.0/win32/
H A Dglob.c573 !IS_SLASH(pathend[-1])) && (S_ISDIR(sb.st_mode) ||
576 S_ISDIR(sb.st_mode)))) {
/PHP-7.0/ext/standard/
H A Dfilestat.c989 RETURN_BOOL((ssb.sb.st_mode&xmask)!=0 && !S_ISDIR(ssb.sb.st_mode)); in php_stat()
993 RETURN_BOOL(S_ISDIR(ssb.sb.st_mode)); in php_stat()
H A Dfile.c1673 if (S_ISDIR(src_s.sb.st_mode)) { in php_copy_file_ctx()
1688 if (S_ISDIR(dest_s.sb.st_mode)) { in php_copy_file_ctx()
/PHP-7.0/ext/phar/
H A Dfunc_interceptors.c525 RETURN_BOOL((stat_sb->st_mode&xmask)!=0 && !S_ISDIR(stat_sb->st_mode)); in phar_fancy_stat()
529 RETURN_BOOL(S_ISDIR(stat_sb->st_mode)); in phar_fancy_stat()
H A Dtar.c472 if (old && entry.tar_type == TAR_FILE && S_ISDIR(entry.flags)) { in phar_parse_tarfile()
/PHP-7.0/ext/fileinfo/
H A Dlibmagic.patch107 +#ifndef S_ISDIR
108 +#define S_ISDIR(mode) ((mode) & _S_IFDIR)
484 - if (stat(fn, &st) == 0 && S_ISDIR(st.st_mode)) {
488 + if (php_sys_stat(fn, &st) == 0 && S_ISDIR(st.st_mode)) {
1680 +#ifndef S_ISDIR
1681 +#define S_ISDIR(mode) ((mode) & _S_IFDIR)
2476 + if (S_ISDIR(st.st_mode)) {
2483 - if (S_ISDIR(st.st_mode)) {
/PHP-7.0/ext/opcache/
H A Dzend_accelerator_module.c259 !S_ISDIR(buf.st_mode) ||
/PHP-7.0/sapi/cli/
H A Dphp_cli_server.c2558 if (!S_ISDIR(sb.st_mode)) { in do_cli_server()
/PHP-7.0/ext/sqlite3/libsqlite/
H A Dsqlite3.c34749 && S_ISDIR(buf.st_mode)

Completed in 507 milliseconds