Home
last modified time | relevance | path

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

/PHP-8.2/main/
H A Dphp_ini.c569 zend_stat_t statbuf = {0}; in php_init_config() local
571 if (!VCWD_STAT(php_ini_file_name, &statbuf)) { in php_init_config()
572 if (!((statbuf.st_mode & S_IFMT) == S_IFDIR)) { in php_init_config()
/PHP-8.2/ext/opcache/
H A DZendAccelerator.c935 static int zend_get_stream_timestamp(const char *filename, zend_stat_t *statbuf) in zend_get_stream_timestamp() argument
950 statbuf->st_mtime = 1; in zend_get_stream_timestamp()
967 *statbuf = stream_statbuf.sb; in zend_get_stream_timestamp()
1018 zend_stat_t statbuf = {0}; in zend_get_file_handle_timestamp() local
1046 if (zend_fstat(fileno(file_handle->handle.fp), &statbuf) == -1) { in zend_get_file_handle_timestamp()
1057 if (zend_get_stream_timestamp(file_path, &statbuf) == SUCCESS) { in zend_get_file_handle_timestamp()
1061 if (VCWD_STAT(file_path, &statbuf) != -1) { in zend_get_file_handle_timestamp()
1066 if (zend_get_stream_timestamp(ZSTR_VAL(file_handle->filename), &statbuf) != SUCCESS) { in zend_get_file_handle_timestamp()
1094 statbuf = sb.sb; in zend_get_file_handle_timestamp()
1103 *size = statbuf.st_size; in zend_get_file_handle_timestamp()
[all …]
/PHP-8.2/ext/sockets/
H A Dconversions.c1437 struct stat statbuf; in to_zval_read_fd_array() local
1442 if (fstat(fd, &statbuf) == -1) { in to_zval_read_fd_array()
1447 if (S_ISSOCK(statbuf.st_mode)) { in to_zval_read_fd_array()

Completed in 31 milliseconds