Home
last modified time | relevance | path

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

/PHP-7.2/ext/fileinfo/libmagic/
H A Dfsmagic.c77 #ifndef S_ISREG
78 #define S_ISREG(mode) ((mode) & _S_IFREG) macro
H A Dmagic.c109 if (S_ISREG(md)) in unreadable_info()
H A Dapprentice.c1275 if (zend_stat(mfn, &st) == -1 || !S_ISREG(st.st_mode)) { in apprentice_load()
/PHP-7.2/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.h357 #ifndef S_ISREG
358 #define S_ISREG(mode) (((mode)&S_IFMT) == S_IFREG) macro
H A Dzend_virtual_cwd.c384 if (php_sys_stat(state->cwd, &buf) == 0 && S_ISREG(buf.st_mode)) in php_is_file_ok()
/PHP-7.2/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.2/main/
H A Dphp_ini.c704 if (S_ISREG(sb.st_mode)) { in php_init_config()
797 if (S_ISREG(sb.st_mode)) { in php_parse_user_ini_file()
H A Dmain.c298 …!VCWD_ACCESS(binary_location, X_OK) && VCWD_STAT(binary_location, &s) == 0 && S_ISREG(s.st_mode)) { in php_binary_init()
/PHP-7.2/ext/standard/
H A Dfilestat.c910 RETURN_BOOL(S_ISREG(ssb.sb.st_mode)); in php_stat()
/PHP-7.2/main/streams/
H A Dstreams.c1498 #ifdef S_ISREG in _php_stream_copy_to_stream_ex()
1499 && S_ISREG(ssbuf.sb.st_mode) in _php_stream_copy_to_stream_ex()
H A Dplain_wrapper.c1042 if ((r == 0 && !S_ISREG(self->sb.st_mode))) { in _php_stream_fopen()
/PHP-7.2/ext/phar/
H A Dfunc_interceptors.c513 RETURN_BOOL(S_ISREG(stat_sb->st_mode)); in phar_fancy_stat()
/PHP-7.2/ext/fileinfo/
H A Dlibmagic.patch506 - if (stat(mfn, &st) == -1 || !S_ISREG(st.st_mode)) {
508 + if (zend_stat(mfn, &st) == -1 || !S_ISREG(st.st_mode)) {
1673 +#ifndef S_ISREG
1674 +#define S_ISREG(mode) ((mode) & _S_IFREG)
/PHP-7.2/sapi/fpm/fpm/
H A Dfpm_main.c1186 if (stat(pt, &st) == 0 && S_ISREG(st.st_mode)) {
/PHP-7.2/sapi/cgi/
H A Dcgi_main.c1287 if (zend_stat(pt, &st) == 0 && S_ISREG(st.st_mode)) {

Completed in 63 milliseconds