Home
last modified time | relevance | path

Searched refs:stat_buf (Results 1 – 25 of 2208) sorted by path

12345678910>>...89

/dports/archivers/dact/dact-0.8.42/
H A Ddact.c407 struct stat stat_buf; in main() local
633 if (stat(in_file, &stat_buf)>=0) { in main()
634 if (S_ISDIR(stat_buf.st_mode)) { in main()
/dports/archivers/rpm4/rpm-4.16.1.3/tools/
H A Ddebugedit.c2721 struct stat stat_buf; in main() local
2794 if (stat(file, &stat_buf) < 0) in main()
2801 chmod (file, stat_buf.st_mode | S_IRUSR | S_IWUSR); in main()
3008 chmod (file, stat_buf.st_mode); in main()
H A Dsepdebugcrcfix.c314 struct stat stat_buf; in main() local
315 if (stat(fname, &stat_buf) < 0) in main()
323 chmod (fname, stat_buf.st_mode | S_IRUSR | S_IWUSR); in main()
360 chmod (fname, stat_buf.st_mode); in main()
/dports/archivers/star/schily-2021-09-18/mkisofs/
H A Dmac_label.c171 struct stat stat_buf; local
178 if (stat(mac_boot->name, &stat_buf) < 0) {
232 mac_boot->size = stat_buf.st_size - SECTOR_SIZE - 2*HFS_BLOCKSZ;
/dports/audio/deadbeef-quick-search-plugin/ddb_quick_search-332e994/
H A Dmain.c80 struct stat stat_buf; in check_dir() local
86 if (-1 == stat (tmp, &stat_buf)) in check_dir()
/dports/audio/deadbeef-waveform-seekbar-plugin/ddb_waveform_seekbar-0402f6d/
H A Dutils.c55 struct stat stat_buf; in check_dir() local
61 if (-1 == stat (tmp, &stat_buf)) in check_dir()
/dports/audio/deadbeef/deadbeef-0.7.2/plugins/artwork/
H A Dartwork.c1551 struct stat stat_buf; in process_scaled_query() local
1552 if (!stat (unscaled_path, &stat_buf) && S_ISREG (stat_buf.st_mode) && stat_buf.st_size > 0) { in process_scaled_query()
1598 struct stat stat_buf; in path_more_recent() local
1599 return !stat (fname, &stat_buf) && stat_buf.st_mtime > placeholder_mtime; in path_more_recent()
1825 struct stat stat_buf; in find_image() local
1826 if (stat (path, &stat_buf) || !S_ISREG (stat_buf.st_mode)) { in find_image()
1831 if (stat_buf.st_size == 0 && !check_file_age (path, stat_buf.st_mtime, default_reset_time)) { in find_image()
1836 if (!check_file_age (path, stat_buf.st_mtime, reset_time) || stat_buf.st_size == 0) { in find_image()
H A Dcache.c151 struct stat stat_buf; in cache_cleaner_thread() local
152 if (!stat (entry_path, &stat_buf)) { in cache_cleaner_thread()
153 if (stat_buf.st_mtime <= cache_expiry) { in cache_cleaner_thread()
157 else if (stat_buf.st_mtime < oldest_mtime) { in cache_cleaner_thread()
158 oldest_mtime = stat_buf.st_mtime; in cache_cleaner_thread()
/dports/audio/deadbeef/deadbeef-0.7.2/plugins/converter/
H A Dconverter.c833 struct stat stat_buf; in check_dir() local
839 if (-1 == stat (tmp, &stat_buf)) in check_dir()
/dports/audio/deadbeef/deadbeef-0.7.2/plugins/gtkui/
H A Dcoverart.c358 struct stat stat_buf; in load_image() local
359 if (stat(query->fname, &stat_buf)) { in load_image()
386 cache_add(query->cache_type, pixbuf, query->fname, stat_buf.st_mtime, width, height); in load_image()
425 struct stat stat_buf; in get_pixbuf() local
427 if (stat(fname, &stat_buf) || stat_buf.st_mtime == cache[i].file_time) { in get_pixbuf()
470 struct stat stat_buf; in cover_avail_callback() local
471 if (!stat(dt->cache_path, &stat_buf)) { in cover_avail_callback()
473 … cache_add(dt->cache_type, cover_get_default_pixbuf(), dt->cache_path, stat_buf.st_mtime, -1, -1); in cover_avail_callback()
/dports/audio/denemo/denemo-2.0.6/src/core/
H A Dbinreloc.c44 struct stat stat_buf; in _br_find_exe()
89 i = stat (path, &stat_buf); in _br_find_exe()
98 if (!S_ISLNK (stat_buf.st_mode)) in _br_find_exe()
/dports/audio/kapitonov-plugins-pack-lv2/Kapitonov-Plugins-Pack-1.2.1/LV2/kpp_tubeamp/
H A Dkpp_tubeamp.cpp516 struct stat stat_buf; in restore() local
517 lstat(path.c_str(), &stat_buf); in restore()
520 if (S_ISLNK(stat_buf.st_mode)) in restore()
/dports/audio/lewton/lewton-0.10.2/cargo-crates/curl-sys-0.4.25/curl/lib/
H A Dmime.c142 const struct_stat *stat_buf) in VmsRealFileSize() argument
172 const struct_stat *stat_buf) in VmsSpecialSize() argument
174 switch(stat_buf->st_fab_rfm) { in VmsSpecialSize()
177 return VmsRealFileSize(name, stat_buf); in VmsSpecialSize()
180 return stat_buf->st_size; in VmsSpecialSize()
/dports/audio/lewton/lewton-0.10.2/cargo-crates/curl-sys-0.4.25/curl/src/
H A Dtool_operate.c158 const struct_stat *stat_buf) in vms_realfilesize() argument
189 const struct_stat *stat_buf) in VmsSpecialSize() argument
191 switch(stat_buf->st_fab_rfm) { in VmsSpecialSize()
194 return vms_realfilesize(name, stat_buf); in VmsSpecialSize()
197 return stat_buf->st_size; in VmsSpecialSize()
/dports/audio/libgpod-sharp/libgpod-0.8.3/src/
H A Ddb-parse-context.c187 struct stat stat_buf; in db_parse_context_new_from_file() local
196 if (g_stat (filename, &stat_buf) != 0) { in db_parse_context_new_from_file()
199 if (stat_buf.st_size > 64 * 1024 * 1024) { in db_parse_context_new_from_file()
201 filename, (unsigned long long)stat_buf.st_size); in db_parse_context_new_from_file()
H A Ditdb_tzinfo.c246 struct stat stat_buf; in itdb_device_set_timezone_info() local
260 status = g_stat (prefs_path, &stat_buf); in itdb_device_set_timezone_info()
265 switch (stat_buf.st_size) { in itdb_device_set_timezone_info()
/dports/audio/libgpod/libgpod-0.8.3/src/
H A Ddb-parse-context.c187 struct stat stat_buf; in db_parse_context_new_from_file() local
196 if (g_stat (filename, &stat_buf) != 0) { in db_parse_context_new_from_file()
199 if (stat_buf.st_size > 64 * 1024 * 1024) { in db_parse_context_new_from_file()
201 filename, (unsigned long long)stat_buf.st_size); in db_parse_context_new_from_file()
H A Ditdb_tzinfo.c246 struct stat stat_buf; in itdb_device_set_timezone_info() local
260 status = g_stat (prefs_path, &stat_buf); in itdb_device_set_timezone_info()
265 switch (stat_buf.st_size) { in itdb_device_set_timezone_info()
/dports/audio/moc/moc-2.5.2/
H A Dfiles.c684 struct stat stat_buf; in get_mtime() local
686 if (stat(file, &stat_buf) != -1) in get_mtime()
687 return stat_buf.st_mtime; in get_mtime()
/dports/audio/musescore/MuseScore-3.6.1/thirdparty/freetype/builds/unix/
H A Dftsystem.c234 struct stat stat_buf; in FT_Stream_Open() local
262 if ( fstat( file, &stat_buf ) < 0 ) in FT_Stream_Open()
278 if ( stat_buf.st_size > LONG_MAX ) in FT_Stream_Open()
283 else if ( stat_buf.st_size == 0 ) in FT_Stream_Open()
290 stream->size = (unsigned long)stat_buf.st_size; in FT_Stream_Open()
/dports/audio/musescore/MuseScore-3.6.1/thirdparty/freetype/builds/vms/
H A Dftsystem.c211 struct stat stat_buf; in FT_Stream_Open() local
226 if ( fstat( file, &stat_buf ) < 0 ) in FT_Stream_Open()
233 stream->size = stat_buf.st_size; in FT_Stream_Open()
/dports/audio/vorbis-tools/vorbis-tools-1.4.2/ogg123/
H A Dogg123.c395 struct stat stat_buf; in main() local
416 if (stat(argv[i], &stat_buf) == 0) { in main()
418 if (S_ISDIR(stat_buf.st_mode)) { in main()
H A Dplaylist.c129 struct stat stat_buf; in playlist_append_directory() local
152 if (stat(nextfile, &stat_buf) == 0) { in playlist_append_directory()
155 if (S_ISDIR(stat_buf.st_mode)) { in playlist_append_directory()
183 struct stat stat_buf; in playlist_append_directory() local
207 if (stat(nextfile, &stat_buf) == 0) { in playlist_append_directory()
210 if (S_ISDIR(stat_buf.st_mode)) { in playlist_append_directory()
241 struct stat stat_buf; in playlist_append_from_file() local
273 if (stat(filename, &stat_buf) == 0) { in playlist_append_from_file()
275 if (S_ISDIR(stat_buf.st_mode)) { in playlist_append_from_file()
/dports/audio/vorbisgain/vorbisgain-0.37/
H A Drecurse.c87 struct stat stat_buf; in is_dir() local
89 if (stat(path, &stat_buf) != 0) in is_dir()
95 return (stat_buf.st_mode & S_IFDIR) ? 1 : 0; in is_dir()
H A Dvorbis.c562 struct stat stat_buf; in write_gains() local
757 if (stat(filename, &stat_buf) != 0) in write_gains()
777 if (chmod(filename, stat_buf.st_mode) != 0) in write_gains()
782 utime_buf.actime = stat_buf.st_atime; in write_gains()
783 utime_buf.modtime = stat_buf.st_mtime; in write_gains()

12345678910>>...89