/dports/devel/libspice-server/spice-0.15.0/server/ |
H A D | stat-file.c | 50 stat_file->max_nodes = max_nodes; in stat_file_new() 52 shm_unlink(stat_file->shm_name); in stat_file_new() 76 return stat_file; in stat_file_new() 79 g_free(stat_file); in stat_file_new() 85 if (!stat_file) { in stat_file_free() 89 stat_file_unlink(stat_file); in stat_file_free() 97 g_free(stat_file); in stat_file_free() 102 return stat_file->shm_name; in stat_file_get_shm_name() 107 if (stat_file->shm_name) { in stat_file_unlink() 110 stat_file->shm_name = NULL; in stat_file_unlink() [all …]
|
H A D | stat-file.h | 32 void stat_file_free(RedStatFile *stat_file); 34 const char *stat_file_get_shm_name(RedStatFile *stat_file); 35 StatNodeRef stat_file_add_node(RedStatFile *stat_file, StatNodeRef parent, 37 uint64_t *stat_file_add_counter(RedStatFile *stat_file, StatNodeRef parent, 39 void stat_file_remove_node(RedStatFile *stat_file, StatNodeRef ref); 40 void stat_file_remove_counter(RedStatFile *stat_file, uint64_t *counter);
|
/dports/devel/libspice-server/spice-0.15.0/server/tests/ |
H A D | test-stat-file.c | 27 static void stat_file(void) in stat_file() function 29 RedStatFile *stat_file; in stat_file() local 37 stat_file = stat_file_new(10); in stat_file() 39 g_assert_nonnull(stat_file); in stat_file() 84 stat_file_unlink(stat_file); in stat_file() 89 stat_file_free(stat_file); in stat_file() 95 RedStatFile *stat_file; in stat_file_start() local 99 stat_file = stat_file_new(10); in stat_file_start() 100 g_assert_nonnull(stat_file); in stat_file_start() 105 stat_file_unlink(stat_file); in stat_file_start() [all …]
|
/dports/multimedia/xvid/xvidcore/src/plugins/ |
H A D | plugin_2pass1.c | 47 FILE * stat_file; member 69 rc->stat_file = NULL; in rc_2pass1_create() 72 if((rc->stat_file = fopen(param->filename, "w+b")) == NULL) in rc_2pass1_create() 100 setbuf(rc->stat_file, NULL); in rc_2pass1_create() 105 fprintf(rc->stat_file, "# XviD 2pass stat file (core version %d.%d.%d)\n", in rc_2pass1_create() 109 fprintf(rc->stat_file, "# Please do not modify this file\n\n"); in rc_2pass1_create() 120 if (rc->stat_file) { in rc_2pass1_destroy() 121 if (fclose(rc->stat_file) == EOF) { in rc_2pass1_destroy() 125 rc->stat_file = NULL; /* Just a paranoid reset */ in rc_2pass1_destroy() 213 fprintf(rc->stat_file, "%c %d %d %d %d %d %d\n", in rc_2pass1_after()
|
/dports/sysutils/munin-contrib/contrib-c31cb28/plugins/bind/ |
H A D | bind_ | 30 my $stat_file = # DB directory 50 open(IN,"<$stat_file") or die "Can't open $stat_file : $!"; 99 if (! -f $stat_file) { 100 printf "Unable to file bind stat file on %s",$stat_file; 111 unlink ($stat_file);
|
H A D | bind95_ | 33 my $stat_file = $ENV{'stat_file'} || "/var/cache/bind/named.stats"; 82 open(IN,"<$stat_file") or die "Can't open $stat_file : $!"; 124 if (! -f $stat_file) { 125 printf "no (Unable to file bind stat file on %s)",$stat_file; 136 unlink ($stat_file);
|
H A D | bind9_socket_stats | 20 if [ "$stat_file" = "" ]; then 21 stat_file="/var/cache/bind/named.stats" 30 rm ${stat_file}
|
H A D | bind9_server_stats | 20 if [ "$stat_file" = "" ]; then 21 stat_file="/var/cache/bind/named.stats" 30 rm ${stat_file}
|
H A D | bind9_resolver_stats | 20 if [ "$stat_file" = "" ]; then 21 stat_file="/var/cache/bind/named.stats" 30 rm ${stat_file}
|
/dports/biology/iqtree/IQ-TREE-2.0.6/booster/ |
H A D | booster.c | 147 FILE *stat_file = NULL; in main_booster() local 231 stat_file = fopen(stat_out,"w"); in main_booster() 232 if(stat_file == NULL){ in main_booster() 236 } else stat_file = NULL; in main_booster() 334 if(stat_file != NULL) fclose(stat_file); in main_booster() 524 if(stat_file != NULL) in tbe() 539 if(stat_file != NULL) in tbe() 557 if(stat_file != NULL){ in tbe() 566 fprintf(stat_file,"Edge\tSupport"); in tbe() 570 fprintf(stat_file,"\n"); in tbe() [all …]
|
/dports/sysutils/tmux-mem-cpu-load/tmux-mem-cpu-load-3.5.1/linux/ |
H A D | cpu.cc | 42 std::ifstream stat_file( "/proc/stat" ); in cpu_percentage() local 43 getline( stat_file, line ); in cpu_percentage() 44 stat_file.close(); in cpu_percentage() 58 stat_file.open( "/proc/stat" ); in cpu_percentage() 59 getline( stat_file, line ); in cpu_percentage() 60 stat_file.close(); in cpu_percentage()
|
/dports/japanese/ebnetd/ebnetd-1.0/ebnetd/ |
H A D | ebndaily.in | 187 $stat_file = "/tmp/ebndays$$"; 192 if (-f $stat_file && !unlink("$stat_file")) { 193 warn "$0: cannot unlink the file, $!: $stat_file\n"; 202 if (!open(STDOUT, ">$stat_file")) { 203 print SAVEERR "cannot open the file $stat_file, $!\n"; 287 …&& system("cat $stat_file $error_file | $mailx -s \'ebnetd/ndtpd/ebhttpd daily log\' @ARGV") >> 8 … 295 unlink($stat_file, $error_file);
|
/dports/lang/gcc6-aux/gcc-6-20180516/libcilkrts/runtime/ |
H A D | stats.c | 145 void dump_stats_to_file(FILE *stat_file, statistics *s) in dump_stats_to_file() argument 148 fprintf(stat_file, "\nCILK PLUS RUNTIME SYSTEM STATISTICS:\n\n"); in dump_stats_to_file() 150 fprintf(stat_file, in dump_stats_to_file() 159 fprintf(stat_file, " %-32s: %15llu", names[i], s->count[i]); in dump_stats_to_file() 161 fprintf(stat_file, " %10.3g %12.3g %10.2f", in dump_stats_to_file() 167 fprintf(stat_file, "\n"); in dump_stats_to_file()
|
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/libcilkrts/runtime/ |
H A D | stats.c | 145 void dump_stats_to_file(FILE *stat_file, statistics *s) in dump_stats_to_file() argument 148 fprintf(stat_file, "\nCILK PLUS RUNTIME SYSTEM STATISTICS:\n\n"); in dump_stats_to_file() 150 fprintf(stat_file, in dump_stats_to_file() 159 fprintf(stat_file, " %-32s: %15llu", names[i], s->count[i]); in dump_stats_to_file() 161 fprintf(stat_file, " %10.3g %12.3g %10.2f", in dump_stats_to_file() 167 fprintf(stat_file, "\n"); in dump_stats_to_file()
|
/dports/lang/gnat_util/gcc-6-20180516/libcilkrts/runtime/ |
H A D | stats.c | 145 void dump_stats_to_file(FILE *stat_file, statistics *s) in dump_stats_to_file() argument 148 fprintf(stat_file, "\nCILK PLUS RUNTIME SYSTEM STATISTICS:\n\n"); in dump_stats_to_file() 150 fprintf(stat_file, in dump_stats_to_file() 159 fprintf(stat_file, " %-32s: %15llu", names[i], s->count[i]); in dump_stats_to_file() 161 fprintf(stat_file, " %10.3g %12.3g %10.2f", in dump_stats_to_file() 167 fprintf(stat_file, "\n"); in dump_stats_to_file()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/base/process/ |
H A D | internal_linux.cc | 76 FilePath stat_file = internal::GetProcPidDir(pid).Append(kStatFile); in ReadProcStats() local 77 return ReadProcFile(stat_file, buffer); in ReadProcStats() 163 int64_t ReadStatFileAndGetFieldAsInt64(const FilePath& stat_file, in ReadStatFileAndGetFieldAsInt64() argument 166 if (!ReadProcFile(stat_file, &stats_data)) in ReadStatFileAndGetFieldAsInt64() 175 FilePath stat_file = internal::GetProcPidDir(pid).Append(kStatFile); in ReadProcStatsAndGetFieldAsInt64() local 176 return ReadStatFileAndGetFieldAsInt64(stat_file, field_num); in ReadProcStatsAndGetFieldAsInt64() 181 FilePath stat_file = FilePath(kProcDir).Append("curproc").Append(kStatFile); in ReadProcSelfStatsAndGetFieldAsInt64() local 183 FilePath stat_file = FilePath(kProcDir).Append("self").Append(kStatFile); in ReadProcSelfStatsAndGetFieldAsInt64() 185 return ReadStatFileAndGetFieldAsInt64(stat_file, field_num); in ReadProcSelfStatsAndGetFieldAsInt64()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/base/process/ |
H A D | internal_linux.cc | 78 FilePath stat_file = internal::GetProcPidDir(pid).Append(kStatFile); in ReadProcStats() local 79 return ReadProcFile(stat_file, buffer); in ReadProcStats() 165 int64_t ReadStatFileAndGetFieldAsInt64(const FilePath& stat_file, in ReadStatFileAndGetFieldAsInt64() argument 168 if (!ReadProcFile(stat_file, &stats_data)) in ReadStatFileAndGetFieldAsInt64() 177 FilePath stat_file = internal::GetProcPidDir(pid).Append(kStatFile); in ReadProcStatsAndGetFieldAsInt64() local 178 return ReadStatFileAndGetFieldAsInt64(stat_file, field_num); in ReadProcStatsAndGetFieldAsInt64() 183 FilePath stat_file = FilePath(kProcDir).Append("curproc").Append(kStatFile); in ReadProcSelfStatsAndGetFieldAsInt64() local 185 FilePath stat_file = FilePath(kProcDir).Append("self").Append(kStatFile); in ReadProcSelfStatsAndGetFieldAsInt64() 187 return ReadStatFileAndGetFieldAsInt64(stat_file, field_num); in ReadProcSelfStatsAndGetFieldAsInt64()
|
/dports/lang/spidermonkey60/firefox-60.9.0/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/test/ |
H A D | RTPchange.cc | 34 FILE* stat_file = fopen(argv[2], "rt"); in main() local 35 if (!stat_file) { in main() 51 if (fgets(temp_str, 100, stat_file) == NULL) { in main() 61 while (fscanf(stat_file, in main() 69 fclose(stat_file); in main()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/media/webrtc/trunk/webrtc/modules/audio_coding/neteq/test/ |
H A D | RTPchange.cc | 34 FILE* stat_file = fopen(argv[2], "rt"); in main() local 35 if (!stat_file) { in main() 51 if (fgets(temp_str, 100, stat_file) == NULL) { in main() 61 while (fscanf(stat_file, in main() 69 fclose(stat_file); in main()
|
/dports/multimedia/mswebrtc/mswebrtc-1.1.1/webrtc/webrtc/modules/audio_coding/neteq/test/ |
H A D | RTPchange.cc | 34 FILE* stat_file = fopen(argv[2], "rt"); in main() local 35 if (!stat_file) { in main() 51 if (fgets(temp_str, 100, stat_file) == NULL) { in main() 61 while (fscanf(stat_file, in main() 69 fclose(stat_file); in main()
|
/dports/sysutils/fusefs-s3backer/s3backer-1.5.4/ |
H A D | fuse_ops.c | 53 struct stat_file { struct 103 static void fuse_op_stats_destroy(struct stat_file *sfile); 257 struct stat_file *sfile; in fuse_op_getattr() 274 struct stat_file *const sfile = (struct stat_file *)(uintptr_t)fi->fh; in fuse_op_fgetattr() 359 struct stat_file *sfile; in fuse_op_open() 377 struct stat_file *const sfile = (struct stat_file *)(uintptr_t)fi->fh; in fuse_op_release() 397 struct stat_file *const sfile = (struct stat_file *)(uintptr_t)fi->fh; in fuse_op_read() 659 static struct stat_file * 662 struct stat_file *sfile; in fuse_op_stats_create() 675 fuse_op_stats_destroy(struct stat_file *sfile) in fuse_op_stats_destroy() [all …]
|
/dports/lang/librep/librep_0.92.7/src/ |
H A D | unix_files.c | 79 stat_file(repv file) in stat_file() function 91 struct stat *st = stat_file(file); in rep_file_length() 396 struct stat *st = stat_file(file); in rep_file_regular_p() 406 struct stat *st = stat_file(file); in rep_file_directory_p() 426 struct stat *st = stat_file(file); in rep_file_owner_p() 437 struct stat *st = stat_file(file); in rep_file_gid() 447 struct stat *st = stat_file(file); in rep_file_uid() 457 struct stat *st = stat_file(file); in rep_file_nlinks() 467 struct stat *st = stat_file(file); in rep_file_size() 477 struct stat *st = stat_file(file); in rep_file_modes() [all …]
|
/dports/japanese/libslang/slang-1.4.5jp2/doc/tm/rtl/ |
H A D | dir.tm | 9 \seealso{mkdir, stat_file} 22 \seealso{chown, stat_file} 38 \seealso{chmod, stat_file} 71 The \var{lstat_file} function behaves identically to \var{stat_file} 76 See the documentation for \var{stat_file} for more information. 79 difference between this function and the \var{stat_file} function. 152 \function{stat_file} 154 \usage{Struct_Type stat_file (String_Type file)} 156 The \var{stat_file} function returns information about \var{file} 182 st = stat_file(file); [all …]
|
/dports/devel/libslang2/slang-2.3.2/src/test/ |
H A D | posdir.sl | 51 if (NULL == stat_file (badfile)) 116 st = stat_file (tmpfile); 118 failed ("stat_file %S failed: %S", tmpfile, errno_string()); 120 failed ("stat_file times differ from utime values"); 125 st = stat_file (tmpfile); 127 failed ("stat_file %s failed: %s", tmpfile, errno_string()); 129 failed ("chmod %s mode=%d does not match stat_file mode=%d", 137 st = stat_file (tmpfile);
|
/dports/sysutils/dnf/dnf-4.9.0/dnf/cli/ |
H A D | utils.py | 87 with open("/proc/stat") as stat_file: 88 for line in stat_file: 95 with open('/proc/%d/stat' % pid) as stat_file: 96 ps_stat = stat_file.read().split()
|