Home
last modified time | relevance | path

Searched refs:openlog (Results 1 – 25 of 74) sorted by relevance

123

/external/ltp/testcases/kernel/fs/fs-bench/
Drandom-access.c14 int openlog[2] = { 0, 0 }; variable
60 printf("Success:\t%d\nFail:\t%d\n", openlog[SUCCESS], openlog[FAIL]); in main()
72 openlog[FAIL]++; in open_read_close()
76 openlog[SUCCESS]++; in open_read_close()
80 printf("Opened\t %d\nUnopend:\t%d\n", openlog[SUCCESS], in open_read_close()
81 openlog[FAIL]); in open_read_close()
87 printf("Opened\t %d\nUnopend:\t%d\n", openlog[SUCCESS], in open_read_close()
88 openlog[FAIL]); in open_read_close()
Drandom-del-create.c14 int openlog[2] = { 0, 0 }; variable
Drandom-access-del-create.c14 int openlog[2] = { 0, 0 }; variable
/external/python/cpython3/Lib/test/
Dtest_syslog.py13 syslog.openlog('python')
15 self.assertRaises(UnicodeEncodeError, syslog.openlog, '\uD800')
18 syslog.openlog('python')
23 syslog.openlog('python')
36 syslog.openlog()
/external/python/cpython3/Doc/library/
Dsyslog.rst29 value given in the :func:`openlog` call is used.
31 If :func:`openlog` has not been called prior to the call to :func:`syslog`,
32 ``openlog()`` will be called with no arguments.
37 .. function:: openlog([ident[, logoption[, facility]]])
40 :func:`openlog`. :func:`syslog` will call :func:`openlog` with no arguments
50 .. audit-event:: syslog.openlog ident,logoption,facility syslog.openlog
63 example, :func:`openlog` will be called on the first :func:`syslog` call (if
64 :func:`openlog` hasn't already been called), and *ident* and other
65 :func:`openlog` parameters are reset to defaults.
119 syslog.openlog(logoption=syslog.LOG_PID, facility=syslog.LOG_MAIL)
/external/python/cpython2/Doc/library/
Dsyslog.rst28 value given in the :func:`openlog` call is used.
30 If :func:`openlog` has not been called prior to the call to :func:`syslog`,
31 ``openlog()`` will be called with no arguments.
34 .. function:: openlog([ident[, logoption[, facility]]])
37 :func:`openlog`. :func:`syslog` will call :func:`openlog` with no arguments
53 example, :func:`openlog` will be called on the first :func:`syslog` call (if
54 :func:`openlog` hasn't already been called), and *ident* and other
55 :func:`openlog` parameters are reset to defaults.
103 syslog.openlog(logoption=syslog.LOG_PID, facility=syslog.LOG_MAIL)
/external/ltp/testcases/kernel/fs/scsi/ltpfs/
Dmain.c41 int openlog[2] = { 0, 0 }; variable
532 printf("Success:\t%d\nFail:\t%d\n", openlog[SUCCESS], openlog[FAIL]); in do_random_access_test()
543 openlog[FAIL]++; in open_read_close()
549 openlog[FAIL]++; in open_read_close()
554 openlog[SUCCESS]++; in open_read_close()
559 printf("Opened\t %d\nUnopend:\t%d\n", openlog[SUCCESS], in open_read_close()
560 openlog[FAIL]); in open_read_close()
569 openlog[SUCCESS], openlog[FAIL]); in open_read_close()
579 printf("Opened\t %d\nUnopend:\t%d\n", openlog[SUCCESS], in open_read_close()
580 openlog[FAIL]); in open_read_close()
/external/ltp/testcases/kernel/syscalls/syslog/
Dsyslogtst.c135 openlog("SYSLOG_CASE3", LOG_PID, LOG_DAEMON); in main()
140 openlog("log_pid_test", LOG_PID, LOG_USER); in main()
145 openlog("log_cons_test", LOG_CONS, LOG_USER); in main()
199 openlog("without log_ndelay", LOG_PID, LOG_USER); in main()
220 openlog("with log_ndelay", LOG_NDELAY, LOG_USER); in main()
/external/crosvm/sys_util/src/linux/
Dsyslog.rs16 closelog, fcntl, localtime_r, openlog, time, time_t, tm, F_GETFD, LOG_NDELAY, LOG_PERROR,
135 openlog(null(), LOG_NDELAY | LOG_PERROR | LOG_PID, LOG_USER); in openlog_and_get_socket()
/external/ltp/testcases/kernel/sched/sched_stress/
Dsched.h53 int openlog (char *);
Dsched.c54 int openlog(char *filename)
/external/igt-gpu-tools/tools/
Dintel_forcewaked.c79 openlog(argv[0], LOG_CONS | LOG_PID, LOG_USER); in main()
/external/llvm-project/libcxxabi/src/
Dabort_message.cpp67 openlog("libc++abi", 0, 0); in abort_message()
/external/libcxxabi/src/
Dabort_message.cpp66 openlog("libc++abi", 0, 0); in abort_message()
/external/autotest/client/site_tests/platform_LogDupSuppression/
Dplatform_LogDupSuppression.py25 syslog.openlog('spam')
/external/libchromeos-rs/src/
Dsyslog.rs58 libc::openlog( in init()
/external/toybox/toys/pending/
Dklogd.c80 openlog("Kernel", 0, LOG_KERN); //open connection to system logger.. in klogd_main()
/external/libchrome/base/
Dsyslog_logging.cc94 openlog(kEventSource, LOG_NOWAIT | LOG_PID, LOG_USER); in ~EventLogMessage()
/external/toybox/toys/posix/
Dlogger.c87 openlog(TT.t, LOG_PERROR*FLAG(s), facility); in logger_main()
/external/openssh/
Dlog.c333 openlog(argv0 ? argv0 : __progname, LOG_PID, log_facility); in log_init()
474 openlog(argv0 ? argv0 : __progname, LOG_PID, log_facility); in do_log()
/external/kmod/tools/
Dlog.c104 openlog(program_invocation_short_name, LOG_CONS, LOG_DAEMON); in log_open()
/external/libbrillo/brillo/
Dsyslog_logging.cc109 openlog(s_ident.c_str(), log_pid ? LOG_PID : 0, LOG_USER); in OpenLog()
/external/libpcap/rpcapd/
Dlog.c183 openlog("rpcapd", LOG_PID, LOG_DAEMON); in rpcapd_vlog_systemlog()
/external/toybox/toys/other/
Dlogin.c48 openlog("login", LOG_PID | LOG_CONS, LOG_AUTH); in login_main()
/external/tcpdump/lbl/
Dos-sunos4.h125 void openlog(const char *, int, int);

123