Home
last modified time | relevance | path

Searched refs:logfile (Results 1 – 25 of 143) 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/autotest/client/common_lib/cros/manual/
Dcfm_helper.py343 def collect_log_since_last_check(dut, lastlines, logfile): argument
346 if logfile == "messages":
347 cmd ='awk \'/{}/,0\' /var/log/messages'.format(lastlines[logfile])
348 if logfile == "chrome":
349 cmd ='awk \'/{}/,0\' /var/log/chrome/chrome'.format(lastlines[logfile])
350 if logfile == "ui":
351 cmd ='awk \'/{}/,0\' /var/log/ui/ui.LATEST'.format(lastlines[logfile])
352 if logfile == 'atrus':
353 cmd ='awk \'/{}/,0\' /var/log/atrus.log'.format(lastlines[logfile])
364 if logfile == "messages":
[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/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.pl52 my $logfile = $ARGV[2];
61 if ($logfile) {
77 open(IN, "<$logfile") || die "$!";
97 my $newfile = $logfile . ".new";
102 unlink $logfile;
103 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";
273 $cmd .= ">$logfile 2>&1";
289 print STUNCONF "output = $logfile\n";
318 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";
67 $logfile = $ARGV[1];
81 "--errorlog-file=$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.c101 FILE * logfile, int no_kmsg);
107 int keep_active, FILE * logfile, FILE * failcmdfile,
165 FILE *logfile = NULL; in main() local
336 logfile = stdout; in main()
338 if ((logfile = fopen(logfilename, "a+")) == NULL) { in main()
351 fprintf(logfile, "startup='%s'\n", s); in main()
353 fprintf(logfile, "Test Start Time: %s\n", s); in main()
354 fprintf(logfile, in main()
356 fprintf(logfile, ResultFmt" %-10.10s\n", in main()
358 fprintf(logfile, ResultFmt" %-10.10s\n", in main()
[all …]
/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/libaom/libaom/tools/
Daom_entropy_optimizer.c38 static FILE *logfile; // TODO(yuec): make it a command line option variable
48 for (int i = 0; i < modes; ++i) fprintf(logfile, "%d ", counts[i]); in counts_to_cdf()
49 fprintf(logfile, "\n"); in counts_to_cdf()
120 fprintf(logfile, "%s\n", prefix); in optimize_cdf_table()
126 fprintf(logfile, "============================\n"); in optimize_cdf_table()
135 fprintf(logfile, "%s\n", prefix); in optimize_uv_mode()
155 fprintf(logfile, "============================\n"); in optimize_uv_mode()
168 fprintf(logfile, "%s\n", prefix); in optimize_cdf_table_var_modes_2d()
180 fprintf(logfile, "dummy cdf, no need to optimize\n"); in optimize_cdf_table_var_modes_2d()
185 fprintf(logfile, "============================\n"); in optimize_cdf_table_var_modes_2d()
[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/toybox/toys/pending/
Dsyslogd.c47 struct logfile { struct
48 struct logfile *next; argument
60 char *logfile; argument
68 struct logfile *lfiles; // list of write logfiles
98 static int resolve_config(struct logfile *file, char *config) in resolve_config()
154 struct logfile *file; in parse_config_file()
165 file = xzalloc(sizeof(struct logfile)); in parse_config_file()
177 file = xzalloc(sizeof(struct logfile)); in parse_config_file()
209 file = xzalloc(sizeof(struct logfile)); in parse_config_file()
226 file = xzalloc(sizeof(struct logfile)); in parse_config_file()
[all …]
/external/u-boot/test/py/
Dmultiplexed_log.py21 def __init__(self, logfile, name, chained_file): argument
34 self.logfile = logfile
65 self.logfile.write(self, data, implicit)
79 self.logfile.flush()
88 def __init__(self, logfile, name, chained_file): argument
101 self.logfile = logfile
133 self.logfile.write(self, msg)
164 self.logfile.write(self, output)
167 self.logfile.timestamp()
/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/autotest/client/site_tests/platform_AddPrinter/
Dfake_printer.py32 logfile = open(log_file_path, 'w');
38 logfile.write(data)
39 logfile.close();
40 logging.info('printing request is dumped to ' + str(logfile))
/external/python/httplib2/python2/httplib2/test/functional/
Dtest_proxies.py41 self.logfile = tempfile.mktemp()
48 "logfile": self.logfile,
69 print(open(self.logfile).read())
72 map(os.unlink, (self.pidfile, self.logfile, self.conffile))
83 lf = open(self.logfile).read()
/external/ltp/testcases/open_posix_testsuite/scripts/
Dgenerate-makefiles.sh117 LOGFILE?= logfile
164 rm -f \$(MAKE_TARGETS) logfile* run.sh *.core
230 @if $COMPILE_STR > logfile.\$\$\$\$ 2>&1; then \\
231 cat logfile.\$\$\$\$; \\
235 cat logfile.\$\$\$\$; \\
237 (echo "\$(subdir)/$test_name compile FAILED; SKIPPING"; cat logfile.\$\$\$\$) >> \$(LOGFILE); \\
239 rm -f logfile.\$\$\$\$
/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)
/external/libxml2/
Drunxmlconf.c32 static FILE *logfile = NULL; variable
113 if (logfile != NULL) { in test_log()
114 fprintf(logfile, "\n------------\n"); in test_log()
116 vfprintf(logfile, msg, args); in test_log()
118 fprintf(logfile, "%s", testErrors); in test_log()
414 xmlMemDisplayLast(logfile, final - mem); in xmlconfTestItem()
555 logfile = fopen(LOGFILE, "w"); in main()
556 if (logfile == NULL) { in main()
596 if (logfile != NULL) in main()
597 fclose(logfile); in main()
/external/grpc-grpc/tools/run_tests/python_utils/
Dstart_port_server.py58 fd, logfile = tempfile.mkstemp()
60 logging.info('starting port_server, with log file %s', logfile)
65 '%d' % _PORT_SERVER_PORT, '-l', logfile
103 port_log = open(logfile, 'r').read()

123456