Home
last modified time | relevance | path

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

/PHP-8.4/main/
H A Dphp_ini.c559 zend_stat_t statbuf = {0}; in php_init_config() local
561 if (!VCWD_STAT(php_ini_file_name, &statbuf)) { in php_init_config()
562 if (!((statbuf.st_mode & S_IFMT) == S_IFDIR)) { in php_init_config()
/PHP-8.4/ext/opcache/
H A DZendAccelerator.c933 static int zend_get_stream_timestamp(const char *filename, zend_stat_t *statbuf) in zend_get_stream_timestamp() argument
948 statbuf->st_mtime = 1; in zend_get_stream_timestamp()
965 *statbuf = stream_statbuf.sb; in zend_get_stream_timestamp()
1016 zend_stat_t statbuf = {0}; in zend_get_file_handle_timestamp() local
1044 if (zend_fstat(fileno(file_handle->handle.fp), &statbuf) == -1) { in zend_get_file_handle_timestamp()
1055 if (zend_get_stream_timestamp(file_path, &statbuf) == SUCCESS) { in zend_get_file_handle_timestamp()
1059 if (VCWD_STAT(file_path, &statbuf) != -1) { in zend_get_file_handle_timestamp()
1064 if (zend_get_stream_timestamp(ZSTR_VAL(file_handle->filename), &statbuf) != SUCCESS) { in zend_get_file_handle_timestamp()
1092 statbuf = sb.sb; in zend_get_file_handle_timestamp()
1101 *size = statbuf.st_size; in zend_get_file_handle_timestamp()
[all …]
/PHP-8.4/ext/sockets/
H A Dconversions.c1446 struct stat statbuf; in to_zval_read_fd_array() local
1451 if (fstat(fd, &statbuf) == -1) { in to_zval_read_fd_array()
1456 if (S_ISSOCK(statbuf.st_mode)) { in to_zval_read_fd_array()

Completed in 23 milliseconds