Home
last modified time | relevance | path

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

123

/freebsd-12-stable/contrib/subversion/subversion/libsvn_subr/
Dwin32_crashrpt.c168 FILE *log_file = (FILE *)data; in write_module_info_callback() local
172 fprintf(log_file, FORMAT_PTR, (UINT_PTR)module.BaseOfImage); in write_module_info_callback()
173 fprintf(log_file, " %s", buf); in write_module_info_callback()
176 fprintf(log_file, " (%d.%d.%d.%d, %d bytes)\n", in write_module_info_callback()
190 FILE *log_file) in write_process_info() argument
198 fprintf(log_file, in write_process_info()
202 fprintf(log_file, in write_process_info()
206 fprintf(log_file, in write_process_info()
212 fprintf(log_file, in write_process_info()
218 fprintf(log_file, in write_process_info()
[all …]
/freebsd-12-stable/contrib/llvm-project/lldb/tools/lldb-server/
DLLDBServerUtilities.cpp23 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_TextWithCRLF | 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()
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.cpp391 std::string log_file; in main_gdbserver() local
448 log_file = Args.getLastArgValue(OPT_log_file).str(); in main_gdbserver()
469 log_file, log_channels, in main_gdbserver()
/freebsd-12-stable/contrib/openpam/
Dtest-driver56 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"
111 : >"$log_file"
112 "$@" >>"$log_file" 2>&1
134 echo "$res $test_name (exit status: $estatus)" >>"$log_file"
/freebsd-12-stable/contrib/llvm-project/lldb/source/Commands/
DCommandObjectLog.cpp79 CommandOptions() : Options(), log_file() {} 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
160 char log_file[PATH_MAX]; in DoExecute() local
161 if (m_options.log_file) in DoExecute()
162 m_options.log_file.GetPath(log_file, sizeof(log_file)); in DoExecute()
164 log_file[0] = '\0'; in DoExecute()
169 GetDebugger().EnableLog(channel, args.GetArgumentArrayRef(), log_file, in DoExecute()
/freebsd-12-stable/sys/contrib/zstd/tests/gzip/
Dtest-driver.sh54 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
/freebsd-12-stable/contrib/ntp/sntp/libevent/build-aux/
Dtest-driver54 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
/freebsd-12-stable/contrib/libevent/build-aux/
Dtest-driver54 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
/freebsd-12-stable/contrib/gdb/gdb/
Dremote-st.c57 FILE *log_file; variable
97 putc (c & 0x7f, log_file); in readchar()
168 fflush (log_file); in expect_prompt()
302 log_file = fopen (LOG_FILE, "w"); in st2000_open()
303 if (log_file == NULL) in st2000_open()
325 if (log_file) in st2000_close()
327 if (ferror (log_file)) in st2000_close()
329 if (fclose (log_file) != 0) in st2000_close()
/freebsd-12-stable/usr.sbin/ctm/ctm_dequeue/
Dctm_dequeue.c64 char *log_file = NULL; in main() local
78 STRING('l', log_file) in main()
84 if (log_file) in main()
85 err_set_log(log_file); in main()
/freebsd-12-stable/usr.sbin/ctm/ctm_rmail/
Derror.c35 err_set_log(char *log_file) in err_set_log() argument
39 if ((fp = fopen(log_file, "a")) == NULL) in err_set_log()
40 err("cannot log to '%s'", log_file); in err_set_log()
Dctm_rmail.c62 char *log_file = NULL; in main() local
79 STRING('l', log_file) in main()
88 if (log_file != NULL) in main()
89 err_set_log(log_file); in main()
Derror.h3 extern void err_set_log(char *log_file);
/freebsd-12-stable/contrib/ofed/opensm/opensm/
Dosm_log.c467 IN uint8_t log_flags, IN const char *log_file, in osm_log_init_v2() argument
476 p_log->log_file_name = (char *)log_file; in osm_log_init_v2()
481 if (log_file == NULL || !strcmp(log_file, "-") || in osm_log_init_v2()
482 !strcmp(log_file, "stdout")) in osm_log_init_v2()
484 else if (!strcmp(log_file, "stderr")) in osm_log_init_v2()
496 IN uint8_t log_flags, IN const char *log_file, in osm_log_init() argument
499 return osm_log_init_v2(p_log, flush, log_flags, log_file, 0, in osm_log_init()
/freebsd-12-stable/crypto/heimdal/lib/hdb/
Ddbinfo.c42 char *log_file; member
81 di->log_file = strdup(p); in get_dbinfo()
213 return dbp->log_file; in hdb_dbinfo_get_log_file()
234 free (di->log_file); in hdb_free_dbinfo()
/freebsd-12-stable/crypto/heimdal/lib/kadm5/
Dcontext_s.c113 ctx->log_context.log_file = strdup(p); in find_db_spec()
127 if (ctx->log_context.log_file == NULL) in find_db_spec()
128 asprintf(&ctx->log_context.log_file, "%s/log", hdb_db_dir(context)); in find_db_spec()
Ddestroy_s.c58 free (c->log_file); in destroy_kadm5_log_context()
/freebsd-12-stable/usr.sbin/ctm/ctm_smail/
Dctm_smail.c58 char *log_file = NULL; in main() local
69 STRING('l', log_file) in main()
76 if (log_file != NULL) in main()
77 err_set_log(log_file); in main()
/freebsd-12-stable/contrib/wpa/hostapd/
Dmain.c644 const char *log_file = NULL; in main() local
706 log_file = optarg; in main()
773 if (log_file) in main()
774 wpa_debug_open_file(log_file); in main()
775 if (!log_file && !wpa_debug_syslog) in main()
925 if (log_file) in main()
/freebsd-12-stable/contrib/ofed/opensm/include/opensm/
Dosm_log.h302 IN uint8_t log_flags, IN const char *log_file,
364 IN uint8_t log_flags, IN const char *log_file,
/freebsd-12-stable/usr.sbin/lpr/lpd/
Drecvjob.c118 if (open(pp->log_file, O_WRONLY|O_APPEND, 0664) < 0) { in recvjob()
119 syslog(LOG_ERR, "%s: %m", pp->log_file); in recvjob()
/freebsd-12-stable/contrib/unbound/util/
Dlog.h90 void log_file(FILE *f);
/freebsd-12-stable/usr.sbin/lpr/common_source/
Dprintcap.c231 &pp->log_file)); in getprintcap_int()
343 cfree(pp->log_file); in free_printer()

123