Home
last modified time | relevance | path

Searched refs:logfile (Results 1 - 25 of 49) sorted by relevance

12

/third_party/ntfs-3g/ntfsprogs/
H A Dntfsdump_logfile.c69 #include "logfile.h"
94 static int logfile_close(logfile_file *logfile) in logfile_close() argument
96 if (logfile->is_volume) { in logfile_close()
97 if (logfile->na) in logfile_close()
98 ntfs_attr_close(logfile->na); in logfile_close()
99 if (logfile->ni && ntfs_inode_close(logfile->ni)) in logfile_close()
102 if (ntfs_umount(logfile->vol, 0)) in logfile_close()
104 logfile->filename); in logfile_close()
106 if (close(logfile in logfile_close()
192 logfile_open(BOOL is_volume, const char *filename, logfile_file *logfile) logfile_open() argument
262 logfile_pread(logfile_file *logfile, int ofs, int count, u8 *buf) logfile_pread() argument
666 logfile_file logfile; main() local
[all...]
H A Dntfswipe.h45 int logfile; /* Wipe the logfile (journal) */ member
/third_party/curl/tests/libtest/
H A Dtest613.pl30 print "Usage: $0 prepare|postprocess dir [logfile]\n";
75 my $logfile = $ARGV[2];
84 if ($logfile && -s $logfile) {
100 open(IN, "<$logfile") || die "$!";
134 my $newfile = $logfile . ".new";
139 unlink $logfile;
140 rename $newfile, $logfile;
/third_party/node/deps/npm/node_modules/@npmcli/arborist/bin/lib/
H A Doptions.js19 logfile: String,
42 logs: ['--logfile', 'true'],
68 ({ logfile, ...o }) => {
69 // logfile is parsed as a string so if its true or set but empty
70 // then set the default logfile
71 if (logfile === 'true' || logfile === '') {
72 logfile = `arb-log-${new Date().toISOString().replace(/[.:]/g, '_')}.log`
75 if (logfile) {
76 o.logfile
[all...]
/third_party/python/Tools/c-analyzer/c_common/
H A Dlogging.py13 logfile=None,
23 if logfile:
24 handler = logging.FileHandler(logfile)
36 logfile=logfile,
/third_party/ltp/pan/
H A Dltp-pan.c102 FILE * logfile, int no_kmsg);
108 int keep_active, FILE * logfile, FILE * failcmdfile,
166 FILE *logfile = NULL; in main() local
235 " [-t time[s|m|h|d] [ -x nactive ] [ -l logfile ]\n\t" in main()
337 logfile = stdout; in main()
339 if ((logfile = fopen(logfilename, "a+e")) == NULL) { in main()
352 fprintf(logfile, "startup='%s'\n", s); in main()
354 fprintf(logfile, "Test Start Time: %s\n", s); in main()
355 fprintf(logfile, in main()
357 fprintf(logfile, ResultFm in main()
713 check_pids(struct tag_pgrp *running, int *num_active, int keep_active, FILE *logfile, FILE *failcmdfile, FILE *tconfcmdfile, struct orphan_pgrp *orphans, int fmt_print, int *failcnt, int *tconfcnt, int quiet_mode, int no_kmsg) check_pids() argument
904 run_child(struct coll_entry *colle, struct tag_pgrp *active, int quiet_mode, int *failcnt, int fmt_print, FILE * logfile, int no_kmsg) run_child() argument
[all...]
/third_party/toybox/toys/pending/
H A Dsyslogd.c14 usage: syslogd [-a socket] [-O logfile] [-f config file] [-m interval]
47 struct logfile { struct
48 struct logfile *next;
60 char *logfile;
68 struct logfile *lfiles; // list of write logfiles
95 * recurses the logfile list and resolves config
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()
[all...]
H A Dcrond.c31 char *logfile;
80 if (!TT.flagd && TT.logfile) { in loginfo()
81 int fd = open(TT.logfile, O_WRONLY | O_CREAT | O_APPEND, 0666); in loginfo()
82 if (fd==-1) perror_msg("'%s", TT.logfile); in loginfo()
91 if (TT.flagd || TT.logfile) { in loginfo()
648 if (!TT.flagd && !TT.logfile) in crond_main()
/third_party/ltp/testcases/kernel/sched/sched_stress/
H A Dsched.c45 extern FILE *logfile;
63 if ((logfile = fopen(filename, "a")) == (FILE *) NULL)
78 fprintf(logfile, args);
79 fflush(logfile);
H A Dsched_tc4.c100 char *logfile = DEFAULT_LOGFILE; variable
127 printf("\tlogfile: %s\n", logfile); in main()
156 if ((statfile = fopen(logfile, "w")) == NULL) in main()
238 | [-l] logfile: log file name |
263 logfile = optarg; in parse_args()
H A Dsched_tc5.c96 char *logfile = DEFAULT_LOGFILE; variable
124 printf("\tlogfile: %s\n", logfile); in main()
154 if ((statfile = fopen(logfile, "w")) == NULL) in main()
241 | [-l] logfile: log file name |
266 logfile = optarg; in parse_args()
H A Dsched_tc6.c116 char *logfile = DEFAULT_LOGFILE; variable
159 printf("\tlogfile: %s\n", logfile); in main()
204 if ((statfile = fopen(logfile, "w")) == NULL) in main()
490 | [-l] logfile: log file name |
513 logfile = optarg; in parse_args()
/third_party/node/tools/
H A Dtest-npm-package.js15 * If an additional `--logfile=<filename>` option is passed before `<source>`,
39 function runNPMPackageTests({ srcDir, install, rebuild, testArgs, logfile }) {
98 if (logfile) {
99 const logStream = createWriteStream(logfile);
113 let logfile = null;
127 } else if (arg.startsWith('--logfile=')) {
128 logfile = path.resolve(projectDir, arg.slice('--logfile='.length));
136 return { srcDir, install, rebuild, testArgs, logfile };
/third_party/ltp/testcases/open_posix_testsuite/scripts/
H A Dgenerate-makefiles.sh118 LOGFILE?= logfile
178 rm -f \$(MAKE_TARGETS) logfile* run.sh *.core
244 \$(v)if $COMPILE_STR > logfile.\$\$\$\$ 2>&1; then \\
245 cat logfile.\$\$\$\$; \\
249 cat logfile.\$\$\$\$; \\
251 (echo "\$(subdir)/$test_name compile FAILED; SKIPPING"; cat logfile.\$\$\$\$) >> \$(LOGFILE); \\
253 rm -f logfile.\$\$\$\$
/third_party/node/deps/npm/node_modules/@pkgjs/parseargs/examples/
H A Dnegate.js14 'logfile': { type: 'string' },
15 'no-logfile': { type: 'boolean' },
35 const logfile = values.logfile ?? 'default.log';
37 console.log({ logfile, color });
41 // node negate.js --no-logfile --no-color
42 // negate.js --logfile=test.log --color
43 // node negate.js --no-logfile --logfile=test.log --color --no-color
/third_party/curl/tests/
H A Dsecureserver.pl67 my $logfile; # stunnel log file
162 elsif($ARGV[0] eq '--logfile') {
164 $logfile = "$path/". $ARGV[1];
192 if(!$logfile) {
193 $logfile = server_logfilename($logdir, $proto, $ipvnum, $idnum);
261 $cmd .= ">$logfile 2>&1";
267 print "log file: $logfile\n";
285 $cmd .= ">$logfile 2>&1";
301 print $stunconf "output = $logfile\n";
330 print "output = $logfile\
[all...]
H A Ddictserver.py125 parser.add_argument("--logfile", action="store",
144 # Write out to a logfile
145 if options.logfile:
146 handler = ClosingFileHandler(options.logfile)
151 # The logfile wasn't specified. Add a stdout logger.
H A Dservers.pm1151 my $logfile = server_logfilename($LOGDIR, $proto, $ipvnum, $idnum);
1158 $flags .= "--pidfile \"$pidfile\" --logfile \"$logfile\" ";
1233 my $logfile = server_logfilename($LOGDIR, $proto, $ipvnum, $idnum);
1237 $flags .= "--pidfile \"$pidfile\" --logfile \"$logfile\" ";
1294 my $logfile = server_logfilename($LOGDIR, $proto, $ipvnum, $idnum);
1298 $flags .= "--pidfile \"$pidfile\" --logfile \"$logfile\" ";
1361 my $logfile
[all...]
H A Dserverhelp.pm37 $logfile
63 our $logfile; # server log file name, for logmsg
89 if(open(my $logfilefh, ">>", "$logfile")) {
/third_party/libcoap/examples/
H A Detsi_testcases.sh5 logfile=$LOGDIR/"$testfunc"_$(date +%s).dump
6 tcpdumpcmd="$tcpdump -i $INTERFACE host $SERVERADDRESS and (udp port $SERVERPORT or icmp) -s0 -n -w $logfile"
16 if [ ! -e $logfile ] ; then
/third_party/ltp/testscripts/
H A Dltp-aiodio.sh234 ${LTPROOT}/bin/ltp-pan -e -S -a ltpaiostresspart1 -n ltp-aiostresspart1 -l ltpaiostress.logfile -o ltpaiostress.outfile -p -f ${TMPBASE}/ltp-aio-stress.part1 &
246 ${LTPROOT}/bin/ltp-pan -e -S -a ltpaiostresspart2 -n ltp-aiostresspart2 -l ltpaiostress.logfile -o ltpaiostress.outfile -p -f ${TMPBASE}/ltp-aio-stress.part2 &
261 ${LTPROOT}/bin/ltp-pan -e -S -a ltpaiodiopart1 -n ltp-aiodiopart1 -l ltpaiodio1.logfile -o ltpaiodio1.outfile -p -f ${TMPBASE}/ltp-aiodio.part1 &
271 ${LTPROOT}/bin/ltp-pan -e -S -a ltpaiodiopart2 -n ltp-aiodiopart2 -l ltpaiodio2.logfile -o ltpaiodio2.outfile -p -f ${TMPBASE}/ltp-aiodio.part2 &
283 ${LTPROOT}/bin/ltp-pan -e -S -a ltpaiodiopart3 -n ltp-aiodiopart3 -l ltpaiodio3.logfile -o ltpaiodio3.outfile -p -f ${TMPBASE}/ltp-aiodio.part3 &
301 ${LTPROOT}/bin/ltp-pan -e -S -a ltpaiodiopart4 -n ltp-aiodiopart4 -l ltpaiodio4.logfile -o ltpaiodio4.outfile -p -f ${TMPBASE}/ltp-aiodio.part4 &
/third_party/ltp/testcases/kernel/fs/fsx-linux/
H A Dfsx-linux.c98 char logfile[1024]; /* name of our log file */ variable
1120 logfile[0] = 0; in main()
1227 strncpy(logfile, optarg, sizeof(logfile)); in main()
1228 strcat(logfile, "/"); in main()
1282 strncat(logfile, dirpath ? basename(fname) : fname, 256); in main()
1283 strcat(logfile, ".fsxlog"); in main()
1284 fsxlogf = fopen(logfile, "w"); in main()
1286 prterr(logfile); in main()
/third_party/ltp/testcases/kernel/controllers/cgroup/
H A Dcgroup_regression_getdelays.c76 fprintf(stderr, "getdelays [-dilv] [-w logfile] [-r bufsize] " in usage()
272 char *logfile = NULL; in main() local
303 logfile = strdup(optarg); in main()
304 printf("write to file %s\n", logfile); in main()
345 fd = open(logfile, O_WRONLY | O_CREAT | O_TRUNC, in main()
/third_party/python/Lib/
H A Dcgi.py62 logfile = "" # Filename to log to, if not empty variable
81 If the global logfp is None, the global logfile may be a string
88 global log, logfile, logfp
91 if logfile and not logfp:
93 logfp = open(logfile, "a", encoding="locale")
112 global log, logfile, logfp
113 logfile = ''
/third_party/ltp/testcases/open_posix_testsuite/bin/
H A Drun-tests.sh11 LOGFILE=${LOGFILE:=logfile}

Completed in 17 milliseconds

12