Home
last modified time | relevance | path

Searched refs:log_file (Results 1 – 25 of 42) sorted by relevance

12

/openbsd/src/gnu/llvm/lldb/examples/python/
Ddisasm-stress-test.py99 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 …]
Ddelta.py30 global log_file
31 if log_file:
34 log_file)
38 log_file = tempfile.mktemp()
40 log_file = args[0]
42 if log_file:
45 log_file)
48 log_file)
80 for log_file in args:
81 parse_log_file(log_file, options)
/openbsd/src/usr.bin/tmux/
Dlog.c30 static FILE *log_file; variable
65 log_file = fopen(path, "a"); in log_open()
67 if (log_file == NULL) in log_open()
70 setvbuf(log_file, NULL, _IOLBF, 0); in log_open()
93 if (log_file != NULL) in log_close()
94 fclose(log_file); in log_close()
95 log_file = NULL; in log_close()
107 if (log_file == NULL) in log_vwrite()
119 if (fprintf(log_file, "%lld.%06d %s%s\n", (long long)tv.tv_sec, in log_vwrite()
121 fflush(log_file); in log_vwrite()
[all …]
/openbsd/src/gnu/llvm/lldb/tools/lldb-server/
DLLDBServerUtilities.cpp38 static std::shared_ptr<TestLogHandler> GetLogStream(StringRef log_file) { in GetLogStream() argument
39 if (!log_file.empty()) { in GetLogStream()
42 log_file, EC, sys::fs::OF_TextWithCRLF | sys::fs::OF_Append); in GetLogStream()
47 log_file, EC.message()); in GetLogStream()
54 bool LLDBServerUtilities::SetupLogging(const std::string &log_file, in SetupLogging() argument
58 auto log_stream_sp = GetLogStream(log_file); in SetupLogging()
Dlldb-platform.cpp156 std::string log_file; in main_platform() local
191 log_file.assign(optarg); in main_platform()
251 if (!LLDBServerUtilities::SetupLogging(log_file, log_channels, 0)) in main_platform()
DLLDBServerUtilities.h22 static bool SetupLogging(const std::string &log_file,
Dlldb-gdbserver.cpp343 std::string log_file; in main_gdbserver() local
400 log_file = Args.getLastArgValue(OPT_log_file).str(); in main_gdbserver()
421 log_file, log_channels, in main_gdbserver()
/openbsd/src/gnu/llvm/lldb/source/Commands/
DCommandObjectLog.cpp95 log_file.SetFile(option_arg, FileSpec::Style::native); in SetOptionValue()
96 FileSystem::Instance().Resolve(log_file); in SetOptionValue()
142 log_file.Clear(); in OptionParsingStarting()
152 FileSpec log_file; member in CommandObjectLogEnable::CommandOptions
183 char log_file[PATH_MAX]; in DoExecute() local
184 if (m_options.log_file) in DoExecute()
185 m_options.log_file.GetPath(log_file, sizeof(log_file)); in DoExecute()
187 log_file[0] = '\0'; in DoExecute()
192 channel, args.GetArgumentArrayRef(), log_file, m_options.log_options, in DoExecute()
359 log_file.SetFile(option_arg, FileSpec::Style::native); in SetOptionValue()
[all …]
/openbsd/src/gnu/llvm/lldb/packages/Python/lldbsuite/test/test_runner/
Dprocess_control.py157 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 …]
/openbsd/src/usr.sbin/httpd/
Dlogger.c39 struct log_file *logger_open_file(const char *);
86 struct log_file *log, *next; in logger_close()
98 struct log_file *
101 struct log_file *log; in logger_open_file()
139 struct log_file *log; in logger_open_fd()
201 struct log_file *log, *logfile = NULL, *errfile = NULL; in logger_open()
248 struct log_file *log; in logger_log()
Dhttpd.h433 struct log_file { struct
437 TAILQ_ENTRY(log_file) log_entry; argument
439 extern TAILQ_HEAD(log_files, log_file) log_files;
525 struct log_file *logaccess;
526 struct log_file *logerror;
/openbsd/src/gnu/usr.bin/binutils/gdb/
Dremote-st.c57 FILE *log_file; variable
97 putc (c & 0x7f, log_file); in readchar()
168 fflush (log_file); in expect_prompt()
303 log_file = fopen (LOG_FILE, "w"); in st2000_open()
304 if (log_file == NULL) in st2000_open()
326 if (log_file) in st2000_close()
328 if (ferror (log_file)) in st2000_close()
330 if (fclose (log_file) != 0) in st2000_close()
/openbsd/src/gnu/llvm/llvm/utils/crosstool/ARM/
Dbuild-install-linux.sh84 local log_file="$2"
86 echo "=> $message; log in $log_file"
90 $* &> $log_file
/openbsd/src/gnu/llvm/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/
Dvscode.py90 def dump_dap_log(log_file): argument
92 if log_file is None:
95 with open(log_file, "r") as file:
100 def read_packet_thread(vs_comm, log_file): argument
110 dump_dap_log(log_file)
115 def __init__(self, recv, send, init_commands, log_file=None): argument
122 args=(self, log_file))
966 def __init__(self, executable=None, port=None, init_commands=[], log_file=None, env=None): argument
973 if log_file:
974 adaptor_env['LLDBVSCODE_LOG'] = log_file
[all …]
/openbsd/src/gnu/llvm/lldb/source/Utility/
DDiagnostics.cpp96 FileSpec log_file = dir.CopyByAppendingPathComponent("diagnostics.log"); in DumpDiangosticsLog() local
98 llvm::raw_fd_ostream stream(log_file.GetPath(), ec, llvm::sys::fs::OF_None); in DumpDiangosticsLog()
/openbsd/src/usr.bin/rsync/
Duploader.c94 log_file(struct sess *sess, const struct flist *f) in log_file() function
290 log_file(sess, f); in pre_dev()
354 log_file(sess, f); in pre_dev()
379 log_file(sess, f); in pre_fifo()
431 log_file(sess, f); in pre_fifo()
456 log_file(sess, f); in pre_sock()
508 log_file(sess, f); in pre_sock()
709 log_file(sess, f); in pre_file()
Ddownloader.c78 log_file(struct sess *sess, in log_file() function
568 log_file(sess, p, f); in rsync_downloader()
/openbsd/src/gnu/usr.sbin/mkhybrid/src/
Dmkisofs.c780 char *log_file = 0; in FDECL2() local
931 log_file = optarg; in FDECL2()
1251 if (log_file) { in FDECL2()
1256 if ((lfp = fopen(log_file, "w")) == NULL) { in FDECL2()
1257 fprintf(stderr,"can't open logfile: %s\n", log_file); in FDECL2()
1263 fprintf(stderr, "re-directing all messages to %s\n", log_file); in FDECL2()
1267 if (freopen(log_file, "w", stderr) == NULL) { in FDECL2()
1268 fprintf(stderr,"can't open logfile: %s\n", log_file); in FDECL2()
/openbsd/src/gnu/llvm/lldb/tools/debugserver/source/
Ddebugserver.cpp961 FILE *log_file = NULL; in main() local
1164 log_file = stdout; in main()
1166 log_file = stderr; in main()
1168 log_file = fopen(optarg, "w"); in main()
1169 if (log_file != NULL) in main()
1170 setlinebuf(log_file); in main()
1173 if (log_file == NULL) { in main()
1320 if (log_file != NULL) { in main()
1321 DNBLogSetLogCallback(FileLogCallback, log_file); in main()
/openbsd/src/gnu/llvm/llvm/utils/
Dconvert-constraint-log-to-z3.py43 with open(args.log_file, 'rt') as f:
/openbsd/src/usr.sbin/unbound/util/
Dlog.h90 void log_file(FILE *f);
/openbsd/src/sbin/unwind/libunbound/util/
Dlog.h90 void log_file(FILE *f);
/openbsd/src/gnu/llvm/clang/utils/analyzer/
DSATestBuild.py541 with open(log_path, "w+") as log_file:
546 command, cwd=directory, stderr=log_file,
547 stdout=log_file, shell=True)
560 os.remove(log_file.name)
/openbsd/src/usr.sbin/nsd/
Dutil.c62 static log_function_type *current_log_function = log_file;
142 log_file(int priority, const char *message) in log_file() function
189 log_file(priority, message); in log_syslog()
199 log_file(priority, message); in log_only_syslog()
/openbsd/src/usr.sbin/unbound/libunbound/
Dcontext.c66 log_file(NULL); /* clear that override */ in context_finalize()
71 log_file(ctx->log_out); in context_finalize()

12