Home
last modified time | relevance | path

Searched refs:statbuf (Results 1 – 3 of 3) sorted by relevance

/PHP-7.4/main/
H A Dphp_ini.c586 zend_stat_t statbuf; in php_init_config() local
588 if (!VCWD_STAT(php_ini_file_name, &statbuf)) { in php_init_config()
589 if (!((statbuf.st_mode & S_IFMT) == S_IFDIR)) { in php_init_config()
/PHP-7.4/ext/opcache/
H A DZendAccelerator.c866 static int zend_get_stream_timestamp(const char *filename, zend_stat_t *statbuf) in zend_get_stream_timestamp() argument
881 statbuf->st_mtime = 1; in zend_get_stream_timestamp()
898 *statbuf = stream_statbuf.sb; in zend_get_stream_timestamp()
949 zend_stat_t statbuf; in zend_get_file_handle_timestamp() local
977 if (zend_fstat(fileno(file_handle->handle.fp), &statbuf) == -1) { in zend_get_file_handle_timestamp()
988 if (zend_get_stream_timestamp(file_path, &statbuf) == SUCCESS) { in zend_get_file_handle_timestamp()
992 if (VCWD_STAT(file_path, &statbuf) != -1) { in zend_get_file_handle_timestamp()
997 if (zend_get_stream_timestamp(file_handle->filename, &statbuf) != SUCCESS) { in zend_get_file_handle_timestamp()
1025 statbuf = sb.sb; in zend_get_file_handle_timestamp()
1034 *size = statbuf.st_size; in zend_get_file_handle_timestamp()
[all …]
/PHP-7.4/ext/sockets/
H A Dconversions.c1417 struct stat statbuf; in to_zval_read_fd_array() local
1422 if (fstat(fd, &statbuf) == -1) { in to_zval_read_fd_array()
1427 if (S_ISSOCK(statbuf.st_mode)) { in to_zval_read_fd_array()

Completed in 39 milliseconds