/external/autotest/client/bin/ |
H A D | sysinfo.py | 9 logfile = base_sysinfo.logfile variable
|
/external/e2fsprogs/intl/ |
H A D | log.c | 58 FILE *logfile; local 60 /* Can we reuse the last opened logfile? */ 63 /* Close the last used logfile. */ 74 /* Open the logfile. */ 83 logfile = last_logfile; 85 fprintf (logfile, "domain "); 86 print_escaped (logfile, domainname); 87 fprintf (logfile, "\nmsgid "); 88 print_escaped (logfile, msgid1); 91 fprintf (logfile, "\nmsgid_plura [all...] |
/external/autotest/client/site_tests/platform_CheckErrorsInLog/ |
H A D | platform_CheckErrorsInLog.py | 21 def search_log(self, logfile): 25 logfile: string, pathname of logfile to search. 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/testcases/kernel/sched/sched_stress/ |
H A D | sched.c | 45 extern FILE *logfile; 63 if ((logfile = fopen(filename, "a")) == (FILE *) NULL) 78 fprintf(logfile, args); 79 fflush(logfile);
|
/external/valgrind/nightly/bin/ |
H A D | nightly | 30 logfile=$1 34 # Header in short logfile. 37 printf " $str ... " >> $logfile.short 39 # Header and command in verbose logfile 40 printf " $str ... " >> $logfile.verbose 41 echo "$*" >> $logfile.verbose 44 ("${ABT_EVAL}" "$*") >> $logfile.verbose 2>&1 47 # Write result to the short logfile 50 echo "done" >> $logfile.short 52 echo "failed" >> $logfile [all...] |
/external/curl/tests/libtest/ |
H A D | test613.pl | 7 print "Usage: $0 prepare|postprocess dir [logfile]\n"; 48 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/libchrome/base/win/ |
H A D | event_trace_consumer.h | 91 EVENT_TRACE_LOGFILE logfile = {}; local 92 logfile.LoggerName = const_cast<wchar_t*>(session_name); 93 logfile.LogFileMode = EVENT_TRACE_REAL_TIME_MODE; 94 logfile.BufferCallback = &ProcessBufferCallback; 95 logfile.EventCallback = &ProcessEventCallback; 96 logfile.Context = this; 97 TRACEHANDLE trace_handle = ::OpenTrace(&logfile); 108 EVENT_TRACE_LOGFILE logfile = {}; local 109 logfile.LogFileName = const_cast<wchar_t*>(file_name); 110 logfile [all...] |
/external/ltp/testscripts/build/ |
H A D | ltp-missing-install-files.py | 30 parser = OptionParser(usage='usage: %prog [options] logfile ...') 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/ltp/tools/pounder21/ |
H A D | debug.c | 40 FILE *logfile; local 43 logfile = fopen(buf, "a"); 44 if (logfile == NULL) { 58 if (logfile != NULL) { 59 fprintf(logfile, "%s (%d) ", buf, getpid()); 61 vfprintf(logfile, format, args); 63 fclose(logfile);
|
/external/ltp/testcases/kernel/ipc/ipc_stress/ |
H A D | message_queue_test_04.c | 36 | Usage: message_queue_test_04 [-v] [-l logfile ] | 72 #define USAGE "\nUsage: %s [-v] [-l logfile ]\n\n" 92 FILE *logfile; variable 120 if ((logfile = fopen(log_filename, "w")) == NULL) 129 fprintf(logfile, "%s: IPC Message Queue TestSuite program\n\n", 141 fprintf(logfile, "\tCreated message queue: %d\n\n", msqid); 169 fprintf(logfile, "\tMax num of bytes per queue: %ld\n", 171 fprintf(logfile, "\tMax messages per queue: %d\n", 173 fprintf(logfile, "\tCorresponding message size: %ld\n\n", 200 fprintf(logfile, "\tByte [all...] |
/external/curl/tests/ |
H A D | http2-server.pl | 28 my $logfile = "log/http2.log"; 57 elsif($ARGV[0] eq '--logfile') { 59 $logfile = $ARGV[1]; 73 "--errorlog-file=$logfile";
|
H A D | rtspserver.pl | 43 my $logfile; # rtsp server log file 57 elsif($ARGV[0] eq '--logfile') { 59 $logfile = $ARGV[1]; 102 if(!$logfile) { 103 $logfile = server_logfilename($logdir, $proto, $ipvnum, $idnum); 106 $flags .= "--pidfile \"$pidfile\" --logfile \"$logfile\" ";
|
H A D | tftpserver.pl | 43 my $logfile; # tftp server log file 58 elsif($ARGV[0] eq '--logfile') { 60 $logfile = $ARGV[1]; 103 if(!$logfile) { 104 $logfile = server_logfilename($logdir, $proto, $ipvnum, $idnum); 107 $flags .= "--pidfile \"$pidfile\" --logfile \"$logfile\" ";
|
H A D | httpserver.pl | 44 my $logfile; # http server log file 60 elsif($ARGV[0] eq '--logfile') { 62 $logfile = $ARGV[1]; 121 if(!$logfile) { 122 $logfile = server_logfilename($logdir, $proto, $ipvnum, $idnum); 125 $flags .= "--pidfile \"$pidfile\" --logfile \"$logfile\" ";
|
/external/libcups/cups/ |
H A D | debug-private.h | 81 # define DEBUG_set(logfile,level,filter) _cups_debug_set(logfile,level,filter,1) 86 # define DEBUG_set(logfile,level,filter) 99 extern void DLLExport _cups_debug_set(const char *logfile,
|
/external/autotest/client/profilers/cmdprofile/ |
H A 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/autotest/client/profilers/mpstat/ |
H A D | mpstat.py | 18 logfile = open(os.path.join(test.profdir, "mpstat"), 'w') 19 p = subprocess.Popen(cmd, shell=True, stdout=logfile,
|
/external/autotest/client/profilers/vmstat/ |
H A D | vmstat.py | 20 logfile = open(os.path.join(test.profdir, "vmstat"), 'w') 21 p = subprocess.Popen(cmd, shell=True, stdout=logfile, \
|
/external/autotest/client/profilers/perf/ |
H A 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/ipsec-tools/src/racoon/ |
H A D | plog.c | 79 static char *logfile = NULL; variable 108 if (logfile || f_foreground) { 167 if (logfile) 222 if (logfile) { 223 logp = log_open(250, logfile); 225 errx(1, "ERROR: failed to open log file %s.", logfile); 236 if (logfile != NULL) 237 racoon_free(logfile); 238 logfile = racoon_strdup(file); 239 STRDUP_FATAL(logfile); [all...] |
/external/autotest/client/profilers/cpistat/ |
H A D | cpistat.py | 21 logfile = open(os.path.join(test.profdir, "cpistat"), 'w') 22 p = subprocess.Popen(cmd, stdout=logfile,
|
/external/ltp/testscripts/ |
H A D | ltpstress.sh | 47 logfile="/tmp/ltpstress.log" 61 usage: ${0##*/} [ -d datafile ] [ -i # (in seconds) ] [ -I iofile ] [ -l logfile ] [ -m # (in Mb) ] 67 -l logfile Log results of test in a logfile. Default is "/tmp/ltpstress.log" 109 l) logfile=$OPTARG 305 ${LTPROOT}/bin/ltp-pan -e ${PRETTY_PRT} ${QUIET_MODE} -S -t ${hours}h -a stress1 -n stress1 -l $logfile -f ${TMP}/stress.part1 -o $output1 & 306 ${LTPROOT}/bin/ltp-pan -e ${PRETTY_PRT} ${QUIET_MODE} -S -t ${hours}h -a stress2 -n stress2 -l $logfile -f ${TMP}/stress.part2 -o $output2 & 307 ${LTPROOT}/bin/ltp-pan -e ${PRETTY_PRT} ${QUIET_MODE} -S -t ${hours}h -a stress3 -n stress3 -l $logfile -f ${TMP}/stress.part3 -o $output3 & 338 grep FAIL $logfile > /dev/null 2>&1 340 grep 'stat=' $logfile | gre [all...] |
H A D | runEALtests.sh | 51 usage: ./${0##*/} -c [-d tmpdir] [-f cmdfile ] [-i # (in Mb)] [ -l logfile ] 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" 210 ${LTPROOT}/../bin/ltp-pan $quiet_mode -e -S $instances $duration -a $$ -n $$ $pretty_prt -f ${TMP}/alltests $logfile
|
/external/v8/tools/ |
H A D | process-heap-prof.py | 55 logfile = open(filename, 'rb') 57 logreader = csv.reader(logfile) 83 logfile.close() 113 print "Missing logfile"
|
/external/ltp/tools/pounder21/test_repo/ |
H A D | D01stats | 57 logfile=`basename $i` 58 echo -e "\n$NOW" >> $logfile.log 59 cat /proc/$i >> $logfile.log
|