Home
last modified time | relevance | path

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

1234567

/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/llvm-project/lldb/test/API/functionalities/jitloader_gdb/
DTestJITLoaderGDB.py40 logfile = self.getBuildArtifact("jitintgdb-{}.txt".format(self.getArchitecture()))
42 if os.path.exists(logfile):
43 os.unlink(logfile)
45 return logfile
57 logfile = self.gen_log_file()
58 self.runCmd("log enable -f %s lldb jit" % (logfile))
76 self.assertTrue(os.path.exists(logfile))
77 logcontent = open(logfile).read()
86 logfile = self.gen_log_file()
87 self.runCmd("log enable -f %s lldb jit" % (logfile))
[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/oss-fuzz/projects/mysql-server/targets/
Dfuzz_real_query.cc12 FILE *logfile = NULL; variable
24 if (logfile == NULL) { in LLVMFuzzerTestOneInput()
25 logfile = fopen("/dev/null", "w"); in LLVMFuzzerTestOneInput()
37 fprintf(logfile, "The last inserted row id is: %llu\n", mysql_insert_id(&mysql)); in LLVMFuzzerTestOneInput()
38 fprintf(logfile, "%llu affected rows\n", mysql_affected_rows(&mysql)); in LLVMFuzzerTestOneInput()
51 fprintf(logfile, "%s\n", field->name); in LLVMFuzzerTestOneInput()
57 fprintf(logfile, "length %lu, %s\n", lengths[i], row[i] ? row[i] : "NULL"); in LLVMFuzzerTestOneInput()
85 fprintf(logfile, "The last inserted row id is: %llu\n", mysql_insert_id(&mysql)); in LLVMFuzzerTestOneInput()
86 fprintf(logfile, "%llu affected rows\n", mysql_affected_rows(&mysql)); in LLVMFuzzerTestOneInput()
/external/autotest/client/common_lib/cros/manual/
Dcfm_helper.py334 def collect_log_since_last_check(dut, lastlines, logfile): argument
337 if logfile == "messages":
338 cmd ='awk \'/{}/,0\' /var/log/messages'.format(lastlines[logfile])
339 if logfile == "chrome":
340 cmd ='awk \'/{}/,0\' /var/log/chrome/chrome'.format(lastlines[logfile])
341 if logfile == "ui":
342 cmd ='awk \'/{}/,0\' /var/log/ui/ui.LATEST'.format(lastlines[logfile])
343 if logfile == 'atrus':
344 cmd ='awk \'/{}/,0\' /var/log/atrus.log'.format(lastlines[logfile])
355 if logfile == "messages":
[all …]
/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.pl73 my $logfile = $ARGV[2];
82 if ($logfile) {
98 open(IN, "<$logfile") || die "$!";
132 my $newfile = $logfile . ".new";
137 unlink $logfile;
138 rename $newfile, $logfile;
/external/llvm-project/lldb/test/API/api/log/
DTestAPILog.py20 logfile = self.getBuildArtifact("api-log.txt")
22 self.expect("log enable lldb api -f {}".format(logfile))
29 logfile = self.getReproducerRemappedPath(logfile)
31 self.assertTrue(os.path.isfile(logfile))
32 with open(logfile, 'r') as f:
/external/llvm-project/lldb/third_party/Python/module/pexpect-4.6/pexpect/
Drun.py8 extra_args=None, logfile=None, cwd=None, env=None, **kwargs): argument
96 child = spawn(command, maxread=2000, logfile=logfile, cwd=cwd, env=env,
99 child = spawn(command, timeout=timeout, maxread=2000, logfile=logfile,
151 extra_args=None, logfile=None, cwd=None, env=None, **kwargs): argument
156 events=events, extra_args=extra_args, logfile=logfile, cwd=cwd,
/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";
Dtftpserver.pl48 my $logfile;
71 $logfile = $ARGV[1];
114 if(!$logfile) {
115 $logfile = server_logfilename($logdir, $proto, $ipvnum, $idnum);
120 "--logfile \"$logfile\" ";
Drtspserver.pl48 my $logfile; # rtsp server log file
70 $logfile = $ARGV[1];
113 if(!$logfile) {
114 $logfile = server_logfilename($logdir, $proto, $ipvnum, $idnum);
119 "--logfile \"$logfile\" ";
Dhttpserver.pl49 my $logfile; # log file
73 $logfile = $ARGV[1];
135 if(!$logfile) {
136 $logfile = server_logfilename($logdir, $proto, $ipvnum, $idnum);
140 "--logfile \"$logfile\" ".
/external/llvm-project/lldb/test/API/lang/cpp/accelerator-table/
DTestCPPAccelerator.py17 logfile = self.getBuildArtifact('dwarf.log')
19 logfile = self.getReproducerRemappedPath(logfile)
21 self.expect('log enable dwarf lookups -f' + logfile)
28 log = open(logfile, 'r')
/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/llvm-project/lldb/test/API/lang/objc/modules-hash-mismatch/
DTestClangModulesHashMismatch.py33 logfile = self.getBuildArtifact("host.log")
35 logfile = self.getReproducerRemappedPath(logfile)
36 self.runCmd("log enable -v -f %s lldb host" % logfile)
42 with open(logfile, 'r') as f:
/external/webrtc/rtc_tools/frame_analyzer/
Dvideo_quality_analysis_unittest.cc83 FILE* logfile = fopen(log_filename.c_str(), "w"); in TEST_F() local
84 ASSERT_TRUE(logfile != NULL); in TEST_F()
92 PrintAnalysisResults(logfile, "NormalStatsFile", &result); in TEST_F()
93 ASSERT_EQ(0, fclose(logfile)); in TEST_F()
110 FILE* logfile = fopen(log_filename.c_str(), "w"); in TEST_F() local
111 ASSERT_TRUE(logfile != NULL); in TEST_F()
118 PrintAnalysisResults(logfile, "NormalStatsFile", &result); in TEST_F()
119 ASSERT_EQ(0, fclose(logfile)); in TEST_F()
/external/ltp/pan/
Dltp-pan.c102 FILE * logfile, int no_kmsg);
108 int keep_active, FILE * logfile, FILE * failcmdfile,
166 FILE *logfile = NULL; in main() local
337 logfile = stdout; in main()
339 if ((logfile = fopen(logfilename, "a+")) == NULL) { in main()
352 fprintf(logfile, "startup='%s'\n", s); in main()
354 fprintf(logfile, "Test Start Time: %s\n", s); in main()
355 fprintf(logfile, in main()
357 fprintf(logfile, ResultFmt" %-10.10s\n", in main()
359 fprintf(logfile, ResultFmt" %-10.10s\n", in main()
[all …]
/external/libcups/cups/
Ddebug-private.h45 # define DEBUG_set(logfile,level,filter) _cups_debug_set(logfile,level,filter,1) argument
47 # define DEBUG_set(logfile,level,filter)
55 extern void _cups_debug_set(const char *logfile, const char *level, const char *filter, int force) …
/external/autotest/client/profilers/cmdprofile/
Dcmdprofile.py52 logfile = open(os.path.join(test.profdir, outputfile), 'a')
53 utils.run(cmd, stdout_tee=logfile, stderr_tee=logfile)
54 logfile.write('\n')
55 logfile.close()
/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/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.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/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/linux-kselftest/tools/testing/selftests/kselftest/
Drunner.sh7 export logfile=/dev/stdout
76 (read xs; exit $xs)) 4>>"$logfile" &&
102 logfile="/tmp/$BASENAME_TEST"
103 cat /dev/null > "$logfile"

1234567