Searched refs:S_ISDIR (Results 1 – 14 of 14) sorted by relevance
78 if ((stat(dir, &st) == 0) && S_ISDIR(st.st_mode)) { in create_tempfile()
369 #ifndef S_ISDIR370 #define S_ISDIR(mode) (((mode)&S_IFMT) == S_IFDIR) macro
125 if (php_sys_stat(state->cwd, &buf) == 0 && S_ISDIR(buf.st_mode)) in php_is_dir_ok()936 directory = S_ISDIR(st.st_mode); in tsrm_realpath_r()
546 !IS_SLASH(pathend[-1])) && (S_ISDIR(sb.st_mode) || in glob2()549 S_ISDIR(sb.st_mode)))) { in glob2()
404 RETURN_BOOL((stat_sb->st_mode&xmask)!=0 && !S_ISDIR(stat_sb->st_mode)); in phar_fancy_stat()408 RETURN_BOOL(S_ISDIR(stat_sb->st_mode)); in phar_fancy_stat()
484 if (old && entry.tar_type == TAR_FILE && S_ISDIR(entry_mode)) { in phar_parse_tarfile()
1476 if (php_stream_stat_path(fname, &ssb) == 0 && S_ISDIR(ssb.sb.st_mode)) { in phar_build()
1514 if (S_ISDIR(src_s.sb.st_mode)) { in php_copy_file_ctx()1529 if (S_ISDIR(dest_s.sb.st_mode)) { in php_copy_file_ctx()
937 RETURN_BOOL(S_ISDIR(stat_sb->st_mode)); in php_stat()
173 !S_ISDIR(buf.st_mode) ||
388 - if (stat(fn, &st) == 0 && S_ISDIR(st.st_mode)) {392 + if (php_sys_stat(fn, &st) == 0 && S_ISDIR(st.st_mode)) {2385 - if (S_ISDIR(st.st_mode)) {
1485 if (php_sys_stat(fn, &st) == 0 && S_ISDIR(st.st_mode)) { in apprentice_load()
1473 RETURN_BOOL(S_ISDIR(Z_LVAL_P(return_value))); in PHP_METHOD()
2852 if (!S_ISDIR(sb.st_mode)) { in do_cli_server()
Completed in 69 milliseconds