/external/e2fsprogs/intl/ |
D | log.c | 58 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/lisa/libs/utils/ |
D | perf_analysis.py | 56 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/ |
D | platform_CheckErrorsInLog.py | 21 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/ |
D | debug.c | 40 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/autotest/client/common_lib/cros/manual/ |
D | cfm_helper.py | 357 def collect_log_since_last_check(dut, lastlines, logfile): argument 360 if logfile == "messages": 361 cmd ='awk \'/{}/,0\' /var/log/messages'.format(lastlines[logfile]) 362 if logfile == "chrome": 363 cmd ='awk \'/{}/,0\' /var/log/chrome/chrome'.format(lastlines[logfile]) 364 if logfile == "ui": 365 cmd ='awk \'/{}/,0\' /var/log/ui/ui.LATEST'.format(lastlines[logfile]) 366 if logfile == 'atrus': 367 cmd ='awk \'/{}/,0\' /var/log/atrus.log'.format(lastlines[logfile]) 378 if logfile == "messages": [all …]
|
/external/ipsec-tools/src/racoon/ |
D | plog.c | 79 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/ltp/testscripts/build/ |
D | ltp-missing-install-files.py | 41 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/curl/tests/libtest/ |
D | test613.pl | 52 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/ |
D | secureserver.pl | 63 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";
|
D | rtspserver.pl | 43 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\" ";
|
D | tftpserver.pl | 43 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\" ";
|
D | httpserver.pl | 44 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\" ";
|
/external/libcups/cups/ |
D | adminutil.c | 40 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 …]
|
D | debug-private.h | 72 # 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/ |
D | ltp-pan.c | 101 FILE * logfile, int no_kmsg); 107 int keep_active, FILE * logfile, FILE * failcmdfile, 162 FILE *logfile = NULL; in main() local 333 logfile = stdout; in main() 335 if ((logfile = fopen(logfilename, "a+")) == NULL) { in main() 348 fprintf(logfile, "startup='%s'\n", s); in main() 350 fprintf(logfile, "Test Start Time: %s\n", s); in main() 351 fprintf(logfile, in main() 353 fprintf(logfile, "%-30.20s %-10.10s %-10.10s\n", in main() 355 fprintf(logfile, "%-30.20s %-10.10s %-10.10s\n", in main() [all …]
|
/external/autotest/client/profilers/perf/ |
D | perf.py | 37 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/autotest/client/profilers/cmdprofile/ |
D | cmdprofile.py | 45 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/ |
D | syslogd.c | 47 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/ltp/testcases/kernel/sched/sched_stress/ |
D | sched.c | 45 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/ |
D | fake_printer.py | 32 logfile = open(log_file_path, 'w'); 38 logfile.write(data) 39 logfile.close(); 40 logging.info('printing request is dumped to ' + str(logfile))
|
/external/ltp/testscripts/ |
D | runEALtests.sh | 59 -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" 207 …/ltp-pan $quiet_mode -e -S $instances $duration -a $$ -n $$ $pretty_prt -f ${TMP}/alltests $logfile
|
/external/ltp/testcases/open_posix_testsuite/scripts/ |
D | generate-makefiles.sh | 114 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/curl/lib/ |
D | memdebug.c | 103 #define logfile curl_debuglogfile macro 111 if(!logfile) { in curl_memdebug() 113 logfile = fopen(logname, FOPEN_WRITETEXT); in curl_memdebug() 115 logfile = stderr; in curl_memdebug() 118 if(logfile) in curl_memdebug() 119 setbuf(logfile, (char *)NULL); in curl_memdebug() 148 fflush(logfile); /* because it might crash now */ in countcheck() 499 if(!logfile) in curl_memlog() 514 fwrite(buf, 1, (size_t)nchars, logfile); in curl_memlog()
|
/external/lisa/libs/wlgen/wlgen/ |
D | perf_bench.py | 93 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/autotest/client/tests/systemtap/ |
D | systemtap.py | 73 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)
|