Home
last modified time | relevance | path

Searched refs:logfile (Results 1 – 25 of 139) sorted by relevance

123456

/external/e2fsprogs/intl/
Dlog.c58 FILE *logfile; in _nl_log_untranslated() local
83 logfile = last_logfile; in _nl_log_untranslated()
85 fprintf (logfile, "domain "); in _nl_log_untranslated()
86 print_escaped (logfile, domainname); in _nl_log_untranslated()
87 fprintf (logfile, "\nmsgid "); in _nl_log_untranslated()
88 print_escaped (logfile, msgid1); in _nl_log_untranslated()
91 fprintf (logfile, "\nmsgid_plural "); in _nl_log_untranslated()
92 print_escaped (logfile, msgid2); in _nl_log_untranslated()
93 fprintf (logfile, "\nmsgstr[0] \"\"\n"); in _nl_log_untranslated()
96 fprintf (logfile, "\nmsgstr \"\"\n"); in _nl_log_untranslated()
[all …]
/external/libchrome/base/win/
Devent_trace_consumer.h91 EVENT_TRACE_LOGFILE logfile = {}; in OpenRealtimeSession() local
92 logfile.LoggerName = const_cast<wchar_t*>(session_name); in OpenRealtimeSession()
93 logfile.LogFileMode = EVENT_TRACE_REAL_TIME_MODE; in OpenRealtimeSession()
94 logfile.BufferCallback = &ProcessBufferCallback; in OpenRealtimeSession()
95 logfile.EventCallback = &ProcessEventCallback; in OpenRealtimeSession()
96 logfile.Context = this; in OpenRealtimeSession()
97 TRACEHANDLE trace_handle = ::OpenTrace(&logfile); in OpenRealtimeSession()
108 EVENT_TRACE_LOGFILE logfile = {}; in OpenFileSession() local
109 logfile.LogFileName = const_cast<wchar_t*>(file_name); in OpenFileSession()
110 logfile.BufferCallback = &ProcessBufferCallback; in OpenFileSession()
[all …]
/external/lisa/libs/utils/
Dperf_analysis.py56 def __taskNameFromLog(self, logfile): argument
57 tname_match = re.search(TASK_NAME_RE, logfile)
60 .format(logfile))
64 for logfile in glob.glob(
66 return logfile
78 def logfile(self, task): member in PerfAnalysis
106 for logfile in glob.glob('{0:s}/rt-app-*.log'.format(datadir)):
107 task_name = self.__taskNameFromLog(logfile)
109 self.perf_data[task_name]['logfile'] = logfile
114 logfile = self.__logfileFromTaskName(task)
[all …]
/external/autotest/client/site_tests/platform_CheckErrorsInLog/
Dplatform_CheckErrorsInLog.py21 def search_log(self, logfile): argument
31 f = open(logfile, 'r')
37 logging.error('%s found in %s' ,line, logfile)
48 logfile = os.path.join('/var/log', log)
49 if os.path.isfile(logfile):
50 errors += self.search_log(logfile)
52 logging.warning('%s does not exist' % logfile)
/external/ltp/tools/pounder21/
Ddebug.c40 FILE *logfile; in pounder_fprintf() local
43 logfile = fopen(buf, "a"); in pounder_fprintf()
44 if (logfile == NULL) { in pounder_fprintf()
58 if (logfile != NULL) { in pounder_fprintf()
59 fprintf(logfile, "%s (%d) ", buf, getpid()); in pounder_fprintf()
61 vfprintf(logfile, format, args); in pounder_fprintf()
63 fclose(logfile); in pounder_fprintf()
/external/ltp/testscripts/build/
Dltp-missing-install-files.py41 for logfile in logfiles:
42 if not os.access(logfile, os.R_OK):
43 sys.exit("%s not readable" % logfile)
60 for logfile in logfiles:
61 fd = open(logfile)
114 … print "\n".join(["%s: %s" % (os.path.basename(logfile), i) for i in ["Tag | App"] + missing_ents])
116 print "%s: CONGRATULATIONS -- no missing files found!" % os.path.basename(logfile)
/external/ipsec-tools/src/racoon/
Dplog.c79 static char *logfile = NULL; variable
108 if (logfile || f_foreground) {
167 if (logfile) in plogv()
222 if (logfile) { in ploginit()
223 logp = log_open(250, logfile); in ploginit()
225 errx(1, "ERROR: failed to open log file %s.", logfile); in ploginit()
236 if (logfile != NULL)
237 racoon_free(logfile);
238 logfile = racoon_strdup(file);
239 STRDUP_FATAL(logfile);
/external/curl/tests/libtest/
Dtest613.pl48 my $logfile = $ARGV[2];
57 if ($logfile) {
73 open(IN, "<$logfile") || die "$!";
93 my $newfile = $logfile . ".new";
98 unlink $logfile;
99 rename $newfile, $logfile;
/external/curl/tests/
Dsecureserver.pl63 my $logfile; # stunnel log file
164 $logfile = "$path/". $ARGV[1];
180 if(!$logfile) {
181 $logfile = server_logfilename($logdir, $proto, $ipvnum, $idnum);
249 $cmd .= ">$logfile 2>&1";
255 print "log file: $logfile\n";
268 $cmd .= ">$logfile 2>&1";
284 print STUNCONF "output = $logfile\n";
313 print "output = $logfile\n";
Drtspserver.pl43 my $logfile; # rtsp server log file
59 $logfile = $ARGV[1];
102 if(!$logfile) {
103 $logfile = server_logfilename($logdir, $proto, $ipvnum, $idnum);
106 $flags .= "--pidfile \"$pidfile\" --logfile \"$logfile\" ";
Dtftpserver.pl43 my $logfile; # tftp server log file
60 $logfile = $ARGV[1];
103 if(!$logfile) {
104 $logfile = server_logfilename($logdir, $proto, $ipvnum, $idnum);
107 $flags .= "--pidfile \"$pidfile\" --logfile \"$logfile\" ";
Dhttpserver.pl44 my $logfile; # http server log file
62 $logfile = $ARGV[1];
121 if(!$logfile) {
122 $logfile = server_logfilename($logdir, $proto, $ipvnum, $idnum);
125 $flags .= "--pidfile \"$pidfile\" --logfile \"$logfile\" ";
Dhttp2-server.pl28 my $logfile = "log/http2.log";
59 $logfile = $ARGV[1];
73 "--errorlog-file=$logfile";
/external/autotest/client/profilers/perf/
Dperf.py37 self.logfile = os.path.join(test.profdir, "perf")
39 (self.perf_bin, self.logfile))
59 self.logfile,
68 cmd = ("%s script -i %s" % (self.perf_bin, self.logfile,))
76 perf_log_size = os.stat(self.logfile)[stat.ST_SIZE]
78 self.logfile, perf_log_size)
79 os.unlink(self.logfile)
/external/libcups/cups/
Dadminutil.c40 FILE *logfile);
394 FILE *logfile) /* I - Log file, if any */ in cupsAdminExportSamba() argument
471 authfile, logfile)) != 0) in cupsAdminExportSamba()
480 if (logfile) in cupsAdminExportSamba()
481 _cupsLangPuts(logfile, message); in cupsAdminExportSamba()
506 authfile, logfile)) != 0) in cupsAdminExportSamba()
515 if (logfile) in cupsAdminExportSamba()
516 _cupsLangPuts(logfile, message); in cupsAdminExportSamba()
549 authfile, logfile)) != 0) in cupsAdminExportSamba()
558 if (logfile) in cupsAdminExportSamba()
[all …]
Ddebug-private.h72 # define DEBUG_set(logfile,level,filter) _cups_debug_set(logfile,level,filter,1) argument
76 # define DEBUG_set(logfile,level,filter)
88 extern void _cups_debug_set(const char *logfile, const char *level, const char *filter, int force) …
/external/ltp/pan/
Dltp-pan.c100 FILE * logfile);
106 int keep_active, FILE * logfile, FILE * failcmdfile,
161 FILE *logfile = NULL; in main() local
328 logfile = stdout; in main()
330 if ((logfile = fopen(logfilename, "a+")) == NULL) { in main()
343 fprintf(logfile, "startup='%s'\n", s); in main()
345 fprintf(logfile, "Test Start Time: %s\n", s); in main()
346 fprintf(logfile, in main()
348 fprintf(logfile, "%-30.20s %-10.10s %-10.10s\n", in main()
350 fprintf(logfile, "%-30.20s %-10.10s %-10.10s\n", in main()
[all …]
/external/autotest/client/profilers/cmdprofile/
Dcmdprofile.py45 logfile = open(os.path.join(test.profdir, outputfile), 'a')
46 utils.run(cmd, stdout_tee=logfile, stderr_tee=logfile)
47 logfile.write('\n')
48 logfile.close()
/external/ltp/testcases/kernel/sched/sched_stress/
Dsched.c45 extern FILE *logfile;
63 if ((logfile = fopen(filename, "a")) == (FILE *) NULL)
78 fprintf(logfile, args);
79 fflush(logfile);
/external/toybox/toys/pending/
Dsyslogd.c48 struct logfile { struct
49 struct logfile *next; argument
61 char *logfile; argument
69 struct logfile *lfiles; // list of write logfiles
99 static int resolve_config(struct logfile *file, char *config) in resolve_config()
155 struct logfile *file; in parse_config_file()
166 file = xzalloc(sizeof(struct logfile)); in parse_config_file()
178 file = xzalloc(sizeof(struct logfile)); in parse_config_file()
210 file = xzalloc(sizeof(struct logfile)); in parse_config_file()
227 file = xzalloc(sizeof(struct logfile)); in parse_config_file()
[all …]
/external/ltp/testscripts/
DrunEALtests.sh59 -l logfile Log results of test in a logfile.
110 logfile="-l $LTPROOT/results/$OPTARG"
118 logfile="-l $LTPROOT/results/$OPTARG"
122 logfile="-l $OPTARG"
210 …/ltp-pan $quiet_mode -e -S $instances $duration -a $$ -n $$ $pretty_prt -f ${TMP}/alltests $logfile
/external/ltp/testcases/open_posix_testsuite/scripts/
Dgenerate-makefiles.sh114 LOGFILE?= logfile
161 rm -f \$(MAKE_TARGETS) logfile* run.sh *.core
217 @if $COMPILE_STR > logfile.\$\$\$\$ 2>&1; then \\
218 cat logfile.\$\$\$\$; \\
222 cat logfile.\$\$\$\$; \\
224 (echo "\$(subdir)/$test_name compile FAILED; SKIPPING"; cat logfile.\$\$\$\$) >> \$(LOGFILE); \\
226 rm -f logfile.\$\$\$\$
/external/lisa/libs/wlgen/wlgen/
Dperf_bench.py93 logfile = '{}/output.log'.format(destdir)
95 'PerfBench', logfile)
96 with open(logfile, 'w') as ofile:
180 logfile = '{}/output.log'.format(destdir)
182 'PerfBench', logfile)
183 with open(logfile, 'w') as ofile:
/external/curl/lib/
Dmemdebug.c107 #define logfile curl_debuglogfile macro
115 if(!logfile) { in curl_memdebug()
117 logfile = fopen(logname, FOPEN_WRITETEXT); in curl_memdebug()
119 logfile = stderr; in curl_memdebug()
122 setbuf(logfile, (char *)NULL); in curl_memdebug()
151 fflush(logfile); /* because it might crash now */ in countcheck()
468 if(!logfile) in curl_memlog()
483 fwrite(buf, 1, nchars, logfile); in curl_memlog()
/external/autotest/client/tests/systemtap/
Dsystemtap.py73 logfile = 'systemtap.log.%d' % self.iteration
76 logfile = 'systemtap.log.profile'
79 self.logfile = os.path.join(self.resultsdir, logfile)
82 shutil.move(log, self.logfile)

123456