/dports/security/sudo/sudo-1.9.8p2/plugins/audit_json/ |
H A D | audit_json.c | 62 FILE *log_fp; member 175 if (state.log_fp != NULL) { in audit_json_open() 176 fclose(state.log_fp); in audit_json_open() 177 state.log_fp = NULL; in audit_json_open() 396 putc('{', state.log_fp); in audit_write_json() 399 putc(',', state.log_fp); in audit_write_json() 407 fputs("\n}\n", state.log_fp); in audit_write_json() 408 fflush(state.log_fp); in audit_write_json() 412 if (!ferror(state.log_fp)) in audit_write_json() 702 if (state.log_fp != NULL) in audit_json_close() [all …]
|
/dports/mail/esmtp/esmtp-1.2/ |
H A D | main.c | 53 FILE *log_fp = NULL; variable 186 if (log_fp) in main() 187 fclose(log_fp); in main() 188 log_fp = fopen(optarg, "a"); in main() 398 if(log_fp) in main() 399 fclose(log_fp); in main()
|
/dports/net/google-cloud-sdk/google-cloud-sdk/platform/gsutil/gslib/vendored/boto/boto/services/ |
H A D | result.py | 34 self.log_fp = None 60 if not self.log_fp: 61 self.log_fp = open(os.path.join(path, self.LogFileName), 'a') 63 self.log_fp.write(line+'\n') 71 self.log_fp.write(line+'\n') 123 if self.log_fp: 124 self.log_fp.close()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/depot_tools/external_bin/gsutil/gsutil_4.28/gsutil/third_party/boto/boto/services/ |
H A D | result.py | 34 self.log_fp = None 60 if not self.log_fp: 61 self.log_fp = open(os.path.join(path, self.LogFileName), 'a') 63 self.log_fp.write(line+'\n') 71 self.log_fp.write(line+'\n') 123 if self.log_fp: 124 self.log_fp.close()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/gsutil/gslib/vendored/boto/boto/services/ |
H A D | result.py | 34 self.log_fp = None 60 if not self.log_fp: 61 self.log_fp = open(os.path.join(path, self.LogFileName), 'a') 63 self.log_fp.write(line+'\n') 71 self.log_fp.write(line+'\n') 123 if self.log_fp: 124 self.log_fp.close()
|
/dports/devel/py-boto/boto-2.49.0/boto/services/ |
H A D | result.py | 34 self.log_fp = None 60 if not self.log_fp: 61 self.log_fp = open(os.path.join(path, self.LogFileName), 'a') 63 self.log_fp.write(line+'\n') 71 self.log_fp.write(line+'\n') 123 if self.log_fp: 124 self.log_fp.close()
|
/dports/net-mgmt/nrpe3/nrpe-nrpe-3.2.1/src/ |
H A D | utils.c | 58 FILE *log_fp = NULL; variable 507 log_fp = fdopen(fh, "a+"); in open_log_file() 508 if(log_fp == NULL) { in open_log_file() 515 log_fp = NULL; in open_log_file() 522 log_fp = NULL; in open_log_file() 543 if (log_fp) { in logit() 550 fflush(log_fp); in logit() 562 if(!log_fp) in close_log_file() 565 fflush(log_fp); in close_log_file() 566 fclose(log_fp); in close_log_file() [all …]
|
/dports/sysutils/vttest/vttest-20180811/ |
H A D | ttymodes.c | 130 fprintf(log_fp, "%s @%d\n", file, line); in log_ttymodes() 141 fprintf(log_fp, "%s (%d):\n", tag, flag); in dump_ttymodes() 144 fprintf(log_fp, " iflag %08o\n", tmp_modes.c_iflag); in dump_ttymodes() 145 fprintf(log_fp, " oflag %08o\n", tmp_modes.c_oflag); in dump_ttymodes() 146 fprintf(log_fp, " lflag %08o\n", tmp_modes.c_lflag); in dump_ttymodes() 148 fprintf(log_fp, " %d:min =%d\n", VMIN, tmp_modes.c_cc[VMIN]); in dump_ttymodes() 149 fprintf(log_fp, " %d:time =%d\n", VTIME, tmp_modes.c_cc[VTIME]); in dump_ttymodes() 153 fprintf(log_fp, " flags %08o\n", tmp_modes.sg_flags); in dump_ttymodes()
|
/dports/print/texlive-base/texlive-20150521-source/texk/makeindexk/ |
H A D | mkind.c | 49 FILE *log_fp; variable 457 (log_fp = OPEN_IN(log_fn)) == NULL) { in check_all() 461 CLOSE(log_fp); in check_all() 473 fseek(log_fp, -1L, 2); in find_pageno() 474 p = GET_CHAR(log_fp); in find_pageno() 475 fseek(log_fp, -2L, 1); in find_pageno() 478 p = GET_CHAR(log_fp); in find_pageno() 479 } while (!(((p == LSQ) && isdigit(c)) || (fseek(log_fp, -2L, 1) != 0))); in find_pageno() 481 while ((c = GET_CHAR(log_fp)) == SPC); in find_pageno() 484 c = GET_CHAR(log_fp); in find_pageno()
|
/dports/misc/clifm/clifm-1.3/src/ |
H A D | history.c | 59 FILE *log_fp; in log_function() local 60 log_fp = fopen(log_file, "r"); in log_function() 61 if (!log_fp) { in log_function() 69 while (getline(&line_buff, &line_size, log_fp) > 0) in log_function() 73 fclose(log_fp); in log_function() 140 FILE *log_fp; in log_function() local 144 log_fp = fopen(log_file, "a"); in log_function() 148 log_fp = fopen(log_file, "w+"); in log_function() 150 if (!log_fp) { in log_function() 156 fputs(full_log, log_fp); in log_function() [all …]
|
/dports/emulators/tnylpo/tnylpo-1.1.3/ |
H A D | main.c | 59 static FILE *log_fp = NULL; variable 69 if (log_fp) { in plog_va() 72 fprintf(log_fp, "%04d-%02d-%02d %02d:%02d:%02d.%03ld: ", in plog_va() 76 vfprintf(log_fp, format, params); in plog_va() 77 fprintf(log_fp, "\n"); in plog_va() 78 fflush(log_fp); in plog_va() 110 if (! log_fp) return; in plog_dump() 991 log_fp = fopen(conf_log, "a"); in main() 992 if (! log_fp) { in main() 1033 if (log_fp) { in main() [all …]
|
/dports/security/gnupg/gnupg-2.3.3/dirmngr/ |
H A D | ldap-wrapper.c | 180 SAFE_CLOSE (ctx->log_fp); in destroy_wrapper() 254 rc = es_read (ctx->log_fp, line, sizeof line - 1, &n); in read_log_data() 266 SAFE_CLOSE (ctx->log_fp); in read_log_data() 317 if (ctx->log_fp) in ldap_reaper_thread() 339 if (ctx->log_fp) in ldap_reaper_thread() 342 fparray[count].stream = ctx->log_fp; in ldap_reaper_thread() 427 if (fparraysize && ctx->log_fp && ctx->reaper_idx >= 0) in ldap_reaper_thread() 434 SAFE_CLOSE (ctx->log_fp); in ldap_reaper_thread() 487 SAFE_CLOSE (ctx->log_fp); in ldap_reaper_thread() 503 ctx->reader, ctx->log_fp, in ldap_reaper_thread() [all …]
|
/dports/comms/direwolf/direwolf-1.6/src/ |
H A D | kissnet.c | 779 dw_printf (log_fp, "%02x %c %c", ch, in kiss_get() 782 if (ch == FEND) fprintf (log_fp, " FEND"); in kiss_get() 783 if (ch == FESC) fprintf (log_fp, " FESC"); in kiss_get() 784 if (ch == TFEND) fprintf (log_fp, " TFEND"); in kiss_get() 785 if (ch == TFESC) fprintf (log_fp, " TFESC"); in kiss_get() 786 if (ch == '\r') fprintf (log_fp, " CR"); in kiss_get() 787 if (ch == '\n') fprintf (log_fp, " LF"); in kiss_get() 788 fprintf (log_fp, "\n"); in kiss_get() 789 if (ch == FEND) fflush (log_fp); in kiss_get()
|
/dports/math/opensolaris-libm/opensolaris-libm-2017.01.31/usr/src/libm/src/m9x/ |
H A D | fex_log.c | 73 static FILE *log_fp = NULL; variable 82 fp = log_fp; in fex_get_log() 90 log_fp = fp; in fex_set_log() 260 if (log_fp == NULL) { in fex_log_entry() 284 fd = fileno(log_fp); in fex_log_entry() 318 if (log_fp == NULL) { in __fex_mklog() 376 fd = fileno(log_fp); in __fex_mklog()
|
/dports/net/google-cloud-sdk/google-cloud-sdk/platform/gsutil/gslib/vendored/boto/boto/manage/ |
H A D | cmdshell.py | 334 log_fp = StringIO() 340 log_fp.write(t[0]) 341 log_fp.write(t[1]) 342 boto.log.info(log_fp.getvalue()) 343 boto.log.info('output: %s' % log_fp.getvalue()) 344 return (process.returncode, log_fp.getvalue())
|
H A D | task.py | 104 log_fp = StringIO() 119 log_fp.write(t[0]) 120 log_fp.write(t[1]) 121 boto.log.info('Task[%s] - output: %s' % (self.name, log_fp.getvalue())) 124 self.last_output = log_fp.getvalue()[0:1023]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/gsutil/gslib/vendored/boto/boto/manage/ |
H A D | cmdshell.py | 334 log_fp = StringIO() 340 log_fp.write(t[0]) 341 log_fp.write(t[1]) 342 boto.log.info(log_fp.getvalue()) 343 boto.log.info('output: %s' % log_fp.getvalue()) 344 return (process.returncode, log_fp.getvalue())
|
H A D | task.py | 104 log_fp = StringIO() 119 log_fp.write(t[0]) 120 log_fp.write(t[1]) 121 boto.log.info('Task[%s] - output: %s' % (self.name, log_fp.getvalue())) 124 self.last_output = log_fp.getvalue()[0:1023]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/depot_tools/external_bin/gsutil/gsutil_4.28/gsutil/third_party/boto/boto/manage/ |
H A D | cmdshell.py | 334 log_fp = StringIO() 340 log_fp.write(t[0]) 341 log_fp.write(t[1]) 342 boto.log.info(log_fp.getvalue()) 343 boto.log.info('output: %s' % log_fp.getvalue()) 344 return (process.returncode, log_fp.getvalue())
|
H A D | task.py | 104 log_fp = StringIO() 119 log_fp.write(t[0]) 120 log_fp.write(t[1]) 121 boto.log.info('Task[%s] - output: %s' % (self.name, log_fp.getvalue())) 124 self.last_output = log_fp.getvalue()[0:1023]
|
/dports/devel/py-boto/boto-2.49.0/boto/manage/ |
H A D | cmdshell.py | 334 log_fp = StringIO() 340 log_fp.write(t[0]) 341 log_fp.write(t[1]) 342 boto.log.info(log_fp.getvalue()) 343 boto.log.info('output: %s' % log_fp.getvalue()) 344 return (process.returncode, log_fp.getvalue())
|
H A D | task.py | 104 log_fp = StringIO() 119 log_fp.write(t[0]) 120 log_fp.write(t[1]) 121 boto.log.info('Task[%s] - output: %s' % (self.name, log_fp.getvalue())) 124 self.last_output = log_fp.getvalue()[0:1023]
|
/dports/security/libassuan/libassuan-2.5.5/src/ |
H A D | assuan-logging.c | 92 if (ctx->log_fp) in assuan_set_log_stream() 93 fflush (ctx->log_fp); in assuan_set_log_stream() 94 ctx->log_fp = fp; in assuan_set_log_stream() 140 fp = ctx->log_fp ? ctx->log_fp : _assuan_log; in _assuan_log_handler()
|
/dports/news/gup/gup/ |
H A D | log.c | 40 if (log_fp && (lflags & L_LOG)) { 41 log_line(log_fp, lflags, stamp, prefix, log_msg); 42 fflush(log_fp);
|
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/connect/test/ |
H A D | test_fw.c | 104 FILE* log_fp = fopen("test_fw.log", "a"); in main() local 105 if ( !log_fp ) { in main() 109 CORE_SetLOGFILE(log_fp, 1/*true*/); in main()
|