Home
last modified time | relevance | path

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

/PHP-5.5/main/
H A Dwin95nt.h43 #ifndef S_ISREG
44 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) macro
H A Dphp_ini.c40 #ifndef S_ISREG
41 #define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG) macro
670 if (S_ISREG(sb.st_mode)) { in php_init_config()
763 if (S_ISREG(sb.st_mode)) { in php_parse_user_ini_file()
H A Dfopen_wrappers.c56 #ifndef S_ISREG
57 #define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG) macro
H A Dmain.c117 #ifndef S_ISREG
118 #define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG) macro
289 …!VCWD_ACCESS(binary_location, X_OK) && VCWD_STAT(binary_location, &s) == 0 && S_ISREG(s.st_mode)) { in php_binary_init()
/PHP-5.5/main/streams/
H A Dphp_streams_int.h58 #ifndef S_ISREG
59 #define S_ISREG(mode) (((mode)&S_IFMT) == S_IFREG) macro
H A Dstreams.c1520 #ifdef S_ISREG in _php_stream_copy_to_stream_ex()
1521 && S_ISREG(ssbuf.sb.st_mode) in _php_stream_copy_to_stream_ex()
H A Dplain_wrapper.c999 if ((r == 0 && !S_ISREG(self->sb.st_mode))) { in _php_stream_fopen()
/PHP-5.5/ext/fileinfo/libmagic/
H A Dfsmagic.c73 #ifndef S_ISREG
74 #define S_ISREG(mode) ((mode) & _S_IFREG) macro
H A Dmagic.c243 if (S_ISREG(md)) in unreadable_info()
H A Dapprentice.c1187 if (stat(mfn, &st) == -1 || !S_ISREG(st.st_mode)) { in apprentice_load()
/PHP-5.5/Zend/
H A Dzend_stream.c69 #ifdef S_ISREG in zend_stream_stdio_fsizer()
70 if (!S_ISREG(buf.st_mode)) { in zend_stream_stdio_fsizer()
118 #ifdef S_ISREG in zend_stream_fsize()
119 if (!S_ISREG(buf.st_mode)) { in zend_stream_fsize()
/PHP-5.5/ext/standard/
H A Dfilestat.c91 #ifndef S_ISREG
92 #define S_ISREG(mode) (((mode)&S_IFMT) == S_IFREG) macro
1003 RETURN_BOOL(S_ISREG(ssb.sb.st_mode)); in php_stat()
/PHP-5.5/ext/phar/
H A Dfunc_interceptors.c426 #ifndef S_ISREG
427 #define S_ISREG(mode) (((mode)&S_IFMT) == S_IFREG) macro
530 RETURN_BOOL(S_ISREG(stat_sb->st_mode)); in phar_fancy_stat()
/PHP-5.5/TSRM/
H A Dtsrm_virtual_cwd.c95 #ifndef S_ISREG
96 #define S_ISREG(mode) ((mode) & _S_IFREG) macro
413 if (php_sys_stat(state->cwd, &buf) == 0 && S_ISREG(buf.st_mode)) in php_is_file_ok()
/PHP-5.5/sapi/nsapi/
H A Dnsapi.c1041 if (fst && S_ISREG(fst->st_mode)) { in php5_execute()
/PHP-5.5/sapi/fpm/fpm/
H A Dfpm_main.c1191 if (stat(pt, &st) == 0 && S_ISREG(st.st_mode)) {
/PHP-5.5/ext/fileinfo/
H A Dlibmagic.patch434 if (stat(mfn, &st) == -1 || !S_ISREG(st.st_mode)) {
1585 +#ifndef S_ISREG
1586 +#define S_ISREG(mode) ((mode) & _S_IFREG)
/PHP-5.5/sapi/cgi/
H A Dcgi_main.c1246 if (stat(pt, &st) == 0 && S_ISREG(st.st_mode)) {

Completed in 122 milliseconds