/external/llvm-project/lldb/test/API/commands/log/basic/ |
D | TestLogging.py | 21 self.log_file = self.getBuildArtifact("log-file.txt") 24 self.log_file = self.getReproducerRemappedPath(self.log_file) 32 if (os.path.exists(self.log_file)): 33 os.remove(self.log_file) 38 self.runCmd("log enable -t -f '%s' lldb commands" % (self.log_file)) 48 self.assertTrue(os.path.isfile(self.log_file)) 50 with open(self.log_file, 'r') as f: 52 os.remove(self.log_file) 62 with open(self.log_file, "w") as f: 66 self.runCmd("log enable -t -f '%s' lldb commands" % self.log_file) [all …]
|
/external/OpenCL-CTS/test_conformance/ |
D | run_conformance.py | 38 global log_file 40 log_file.write(text+"\n") 72 def run_test_checking_output(current_directory, test_dir, log_file): argument 165 log_file.write(" " + line +"\n") 166 log_file.flush() 192 log_file.write(read_output.read(1)) 212 …log_file.write("==================================================================================… 213 …log_file.write("==================================================================================… 214 log_file.write("(" + get_time() + ") Running Tests: " + test_dir +"\n") 215 …log_file.write("==================================================================================… [all …]
|
/external/llvm-project/lldb/examples/python/ |
D | disasm-stress-test.py | 99 def ResetLogFile(log_file): argument 100 if log_file != sys.stdout: 101 log_file.seek(0) 104 def PrintByteArray(log_file, byte_array): argument 106 print(hex(byte) + " ", end=' ', file=log_file) 107 print(file=log_file) 112 def __init__(self, byte_width, log_file, start=0, skip=1): argument 114 self.m_log_file = log_file 150 def __init__(self, byte_width, log_file): argument 152 self.m_log_file = log_file [all …]
|
D | delta.py | 32 global log_file 33 if log_file: 36 log_file) 40 log_file = tempfile.mktemp() 42 log_file = args[0] 44 if log_file: 47 log_file) 50 log_file) 82 for log_file in args: 83 parse_log_file(log_file, options)
|
/external/oj-libjdwp/src/share/back/ |
D | log_messages.c | 49 static FILE * log_file; variable 156 if ( log_file == NULL && open_count == 0 && logging_filename[0] != 0 ) { in log_message_end() 158 log_file = fopen(logging_filename, "w"); in log_message_end() 159 if ( log_file!=NULL ) { in log_message_end() 160 (void)setvbuf(log_file, NULL, _IOLBF, BUFSIZ); in log_message_end() 166 if ( log_file != NULL ) { in log_message_end() 188 standard_logging_format(log_file, in log_message_end() 245 if ( log_file != NULL ) { in finish_logging() 246 (void)fflush(log_file); in finish_logging() 247 (void)fclose(log_file); in finish_logging() [all …]
|
/external/autotest/client/cros/faft/utils/ |
D | os_interface.py | 56 def __init__(self, state_dir=None, log_file=None, test_mode=False): argument 71 if log_file is None: 72 log_file = 'faft_client.log' 74 if not os.path.isabs(log_file): 75 log_file = os.path.join(state_dir, log_file) 78 self.log_file = log_file 211 with open(self.log_file, 'a') as log_f: 217 logging.warn("Couldn't write RPC Log: %s", self.log_file, 229 with open(self.log_file, 'a'): 233 logging.debug('Begin RPC Log: %s\n', self.log_file) [all …]
|
/external/llvm-project/lldb/tools/lldb-server/ |
D | LLDBServerUtilities.cpp | 23 static std::shared_ptr<raw_ostream> GetLogStream(StringRef log_file) { in GetLogStream() argument 24 if (!log_file.empty()) { in GetLogStream() 27 log_file, EC, sys::fs::OF_Text | sys::fs::OF_Append); in GetLogStream() 32 log_file, EC.message()); in GetLogStream() 38 bool LLDBServerUtilities::SetupLogging(const std::string &log_file, in SetupLogging() argument 42 auto log_stream_sp = GetLogStream(log_file); in SetupLogging()
|
/external/llvm-project/lldb/test/API/lang/c/modules/ |
D | TestCModules.py | 46 log_file = self.getBuildArtifact("lldb-ast-log.txt") 48 log_file = self.getReproducerRemappedPath(log_file) 49 self.runCmd("log enable lldb ast -f '%s'" % log_file) 68 f = open(log_file) 71 os.remove(log_file)
|
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/ |
D | log.py | 92 def trace_enable(log_file=None, format=None): argument 108 _trace_enable(log_file, format) 154 def _trace_enable(log_file=None, format=None): argument 164 if log_file == None: 170 log_file = open("%s.pb" % n, "ab", False) 172 log_file = open("%s.json" % n, "ab", False) 173 elif isinstance(log_file, basestring): 174 log_file = open("%s" % log_file, "ab", False) 175 elif not hasattr(log_file, 'fileno'): 179 _note("trace_event: tracelog name is %s" % log_file) [all …]
|
/external/arm-neon-tests/ |
D | compute_ref.c | 36 FILE* log_file = NULL; variable 44 if (log_file) fclose (log_file); in cleanup() 204 log_file = fopen (LOGFILE, "w"); in main() 205 if (log_file == NULL) { in main() 212 fprintf (log_file, "Error opening ref file %s\n", REFFILE); in main() 218 fprintf (log_file, "Error opening GCC ref file %s\n", GCCTESTS_FILE); in main() 222 fprintf (log_file, "Computing refs....\n"); in main() 367 fprintf (log_file, "Finished\n"); in main()
|
/external/llvm-project/lldb/packages/Python/lldbsuite/test/test_runner/ |
D | process_control.py | 157 def soft_terminate(self, popen_process, log_file=None, want_core=True): argument 180 def hard_terminate(self, popen_process, log_file=None): argument 323 def _validate_pre_terminate(cls, popen_process, log_file): argument 330 if log_file: 331 log_file.write("skipping soft_terminate(): no process id") 344 if log_file: 345 log_file.write( 355 def _kill_with_signal(self, popen_process, log_file, signum): argument 357 if not self._validate_pre_terminate(popen_process, log_file): 385 def soft_terminate(self, popen_process, log_file=None, want_core=True): argument [all …]
|
/external/ImageMagick/config/ |
D | tap-driver.sh | 63 log_file= # Where to save the result and output of the test script. 76 --log-file) log_file=$2; shift;; 148 -v log_file="$log_file" \ 639 } 3>"$log_file"
|
D | test-driver | 54 log_file= # Where to save the output of the test script. 64 --log-file) log_file=$2; shift;; 78 test x"$log_file" = x && missing_opts="$missing_opts --log-file" 107 "$@" >$log_file 2>&1 129 echo "$res $test_name (exit status: $estatus)" >>$log_file
|
/external/llvm-project/lldb/source/Commands/ |
D | CommandObjectLog.cpp | 79 CommandOptions() : Options(), log_file(), log_options(0) {} in CommandOptions() 90 log_file.SetFile(option_arg, FileSpec::Style::native); in SetOptionValue() 91 FileSystem::Instance().Resolve(log_file); in SetOptionValue() 128 log_file.Clear(); in OptionParsingStarting() 138 FileSpec log_file; member in CommandObjectLogEnable::CommandOptions 161 char log_file[PATH_MAX]; in DoExecute() local 162 if (m_options.log_file) in DoExecute() 163 m_options.log_file.GetPath(log_file, sizeof(log_file)); in DoExecute() 165 log_file[0] = '\0'; in DoExecute() 170 GetDebugger().EnableLog(channel, args.GetArgumentArrayRef(), log_file, in DoExecute()
|
/external/autotest/server/cros/chaos_lib/ |
D | chaos_log_analyzer.py | 29 def _find_line_in_log(self, search_pattern, log_file): argument 31 log_file.seek(0) 32 for line in log_file: 53 def _extract_log_lines(self, log_file, start_pattern=None, end_pattern=None, argument 73 log_file.seek(0) 74 for line in log_file:
|
/external/libpng/ |
D | test-driver | 54 log_file= # Where to save the output of the test script. 64 --log-file) log_file=$2; shift;; 78 test x"$log_file" = x && missing_opts="$missing_opts --log-file" 107 "$@" >$log_file 2>&1 129 echo "$res $test_name (exit status: $estatus)" >>$log_file
|
/external/llvm-project/polly/lib/External/isl/ |
D | test-driver | 54 log_file= # Where to save the output of the test script. 64 --log-file) log_file=$2; shift;; 78 test x"$log_file" = x && missing_opts="$missing_opts --log-file" 107 "$@" >$log_file 2>&1 129 echo "$res $test_name (exit status: $estatus)" >>$log_file
|
/external/zstd/tests/gzip/ |
D | test-driver.sh | 54 log_file= # Where to save the output of the test script. 64 --log-file) log_file=$2; shift;; 78 test x"$log_file" = x && missing_opts="$missing_opts --log-file" 107 "$@" >$log_file 2>&1 129 echo "$res $test_name (exit status: $estatus)" >>$log_file
|
/external/libevent/build-aux/ |
D | test-driver | 54 log_file= # Where to save the output of the test script. 64 --log-file) log_file=$2; shift;; 78 test x"$log_file" = x && missing_opts="$missing_opts --log-file" 107 "$@" >$log_file 2>&1 129 echo "$res $test_name (exit status: $estatus)" >>$log_file
|
/external/pcre/dist2/ |
D | test-driver | 54 log_file= # Where to save the output of the test script. 64 --log-file) log_file=$2; shift;; 78 test x"$log_file" = x && missing_opts="$missing_opts --log-file" 107 "$@" >$log_file 2>&1 129 echo "$res $test_name (exit status: $estatus)" >>$log_file
|
/external/google-breakpad/autotools/ |
D | test-driver | 54 log_file= # Where to save the output of the test script. 64 --log-file) log_file=$2; shift;; 78 test x"$log_file" = x && missing_opts="$missing_opts --log-file" 107 "$@" >$log_file 2>&1 129 echo "$res $test_name (exit status: $estatus)" >>$log_file
|
/external/expat/conftools/ |
D | test-driver | 56 log_file= # Where to save the output of the test script. 66 --log-file) log_file=$2; shift;; 80 test x"$log_file" = x && missing_opts="$missing_opts --log-file" 109 "$@" >$log_file 2>&1 131 echo "$res $test_name (exit status: $estatus)" >>$log_file
|
/external/curl/ |
D | test-driver | 54 log_file= # Where to save the output of the test script. 64 --log-file) log_file=$2; shift;; 78 test x"$log_file" = x && missing_opts="$missing_opts --log-file" 107 "$@" >$log_file 2>&1 129 echo "$res $test_name (exit status: $estatus)" >>$log_file
|
/external/autotest/server/ |
D | site_linux_router.py | 288 log_file = os.path.join(self.logdir, 307 self.router.run('rm %s' % log_file, ignore_status=True) 313 self.cmd_hostapd, conf_file, log_file, stderr_log_file)) 318 log_file, 327 condition=lambda: self._has_hostapd_started(log_file, pid), 340 def _has_hostapd_started(self, log_file, pid): argument 347 'grep "Setup of interface done" %s' % log_file, 355 'grep "Interface initialization failed" %s' % log_file, 434 files_to_copy = [(instance.log_file, 924 log_file = self.hostapd_instances[instance].log_file [all …]
|
/external/iperf3/config/ |
D | test-driver | 54 log_file= # Where to save the output of the test script. 64 --log-file) log_file=$2; shift;; 78 test x"$log_file" = x && missing_opts="$missing_opts --log-file" 107 "$@" >$log_file 2>&1
|