Home
last modified time | relevance | path

Searched refs:S_ISREG (Results 1 – 16 of 16) sorted by relevance

/PHP-7.1/ext/fileinfo/libmagic/
H A Dfsmagic.c77 #ifndef S_ISREG
78 #define S_ISREG(mode) ((mode) & _S_IFREG) macro
H A Dmagic.c245 if (S_ISREG(md)) in unreadable_info()
H A Dapprentice.c1262 if (zend_stat(mfn, &st) == -1 || !S_ISREG(st.st_mode)) { in apprentice_load()
/PHP-7.1/Zend/
H A Dzend_stream.c68 #ifdef S_ISREG in zend_stream_stdio_fsizer()
69 if (!S_ISREG(buf.st_mode)) { in zend_stream_stdio_fsizer()
117 #ifdef S_ISREG in zend_stream_fsize()
118 if (!S_ISREG(buf.st_mode)) { in zend_stream_fsize()
H A Dzend_virtual_cwd.h369 #ifndef S_ISREG
370 #define S_ISREG(mode) (((mode)&S_IFMT) == S_IFREG) macro
H A Dzend_virtual_cwd.c438 if (php_sys_stat(state->cwd, &buf) == 0 && S_ISREG(buf.st_mode)) in php_is_file_ok()
/PHP-7.1/ext/zip/lib/
H A Dzip_source_filep.c51 #ifndef S_ISREG
52 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) macro
157 if (stat(ctx->fname, &sb) < 0 || S_ISREG(sb.st_mode)) { in _zip_source_file_or_p()
/PHP-7.1/main/
H A Dphp_ini.c666 if (S_ISREG(sb.st_mode)) { in php_init_config()
759 if (S_ISREG(sb.st_mode)) { in php_parse_user_ini_file()
H A Dmain.c303 …!VCWD_ACCESS(binary_location, X_OK) && VCWD_STAT(binary_location, &s) == 0 && S_ISREG(s.st_mode)) { in php_binary_init()
/PHP-7.1/ext/standard/
H A Dfilestat.c916 RETURN_BOOL(S_ISREG(ssb.sb.st_mode)); in php_stat()
/PHP-7.1/main/streams/
H A Dstreams.c1519 #ifdef S_ISREG in _php_stream_copy_to_stream_ex()
1520 && S_ISREG(ssbuf.sb.st_mode) in _php_stream_copy_to_stream_ex()
H A Dplain_wrapper.c1045 if ((r == 0 && !S_ISREG(self->sb.st_mode))) { in _php_stream_fopen()
/PHP-7.1/ext/phar/
H A Dfunc_interceptors.c527 RETURN_BOOL(S_ISREG(stat_sb->st_mode)); in phar_fancy_stat()
/PHP-7.1/ext/fileinfo/
H A Dlibmagic.patch509 - if (stat(mfn, &st) == -1 || !S_ISREG(st.st_mode)) {
511 + if (zend_stat(mfn, &st) == -1 || !S_ISREG(st.st_mode)) {
1684 +#ifndef S_ISREG
1685 +#define S_ISREG(mode) ((mode) & _S_IFREG)
/PHP-7.1/sapi/fpm/fpm/
H A Dfpm_main.c1186 if (stat(pt, &st) == 0 && S_ISREG(st.st_mode)) {
/PHP-7.1/sapi/cgi/
H A Dcgi_main.c1283 if (zend_stat(pt, &st) == 0 && S_ISREG(st.st_mode)) {

Completed in 102 milliseconds