Home
last modified time | relevance | path

Searched refs:openlog (Results 1 - 25 of 46) sorted by relevance

12

/third_party/ltp/testcases/kernel/fs/fs-bench/
H A 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()
H A Drandom-del-create.c14 int openlog[2] = { 0, 0 }; variable
H A Drandom-access-del-create.c14 int openlog[2] = { 0, 0 }; variable
/third_party/python/Lib/test/
H A Dtest_syslog.py19 syslog.openlog('python')
21 self.assertRaises(UnicodeEncodeError, syslog.openlog, '\uD800')
24 syslog.openlog('python')
34 syslog.openlog('python')
51 syslog.openlog()
62 syslog.openlog(f'python-test-{i}') # new string object
H A Daudit-tests.py430 syslog.openlog('python')
437 syslog.openlog(logoption=syslog.LOG_NDELAY, facility=syslog.LOG_LOCAL0)
439 syslog.openlog()
/third_party/ltp/testcases/kernel/fs/scsi/ltpfs/
H A Dmain.c41 static 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[FAI in open_read_close()
[all...]
/third_party/ltp/testcases/kernel/syscalls/syslog/
H A 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()
202 tst_resm(TINFO, "openlog() without LOG_NDELAY option..."); in main()
220 openlog("with log_ndelay", LOG_NDELAY, LOG_USER); in main()
223 tst_resm(TINFO, "openlog() with LOG_NDELAY option..."); in main()
/third_party/ltp/testcases/kernel/sched/sched_stress/
H A Dsched.h53 int openlog (char *);
H A Dsched.c48 | openlog () |
54 int openlog(char *filename)
58 error("passed bad file name to openlog()", __FILE__, __LINE__);
/third_party/musl/libc-test/src/functionalext/supplement/misc/misc_gtest/
H A Dmisc_closelog_test.cpp19 openlog("my_program", LOG_PID, LOG_USER); in HWTEST_F()
/third_party/NuttX/include/
H A Dsyslog.h42 /* The option argument to openlog() is an OR of any of these:
58 /* Note: openlog() is not currently supported */
129 * Name: openlog
132 * The openlog() function sets process attributes that affect subsequent
163 * It is not necessary to call openlog() prior to calling syslog().
168 void openlog(FAR const char *ident, int option, int facility);
175 * The openlog() and syslog() functions may allocate a file descriptor.
177 * by previous calls to openlog() or syslog().
/third_party/musl/libc-test/src/api/
H A Dsyslog.c39 {void(*p)(const char*,int,int) = openlog;} in f()
/third_party/musl/porting/uniproton/kernel/include/
H A Dsyslog.h60 void openlog (const char *, int, int);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dsyslog.h60 void openlog (const char *, int, int);
/third_party/musl/porting/liteos_m/kernel/include/
H A Dsyslog.h60 void openlog (const char *, int, int);
/third_party/musl/include/
H A Dsyslog.h60 void openlog (const char *, int, int);
/third_party/toybox/toys/pending/
H A Dklogd.c80 openlog("Kernel", 0, LOG_KERN); //open connection to system logger.. in klogd_main()
/third_party/toybox/toys/posix/
H A Dlogger.c92 openlog(TT.t, LOG_PERROR*!!(toys.optflags&FLAG_s), facility); in logger_main()
/third_party/ntfs-3g/libntfs-3g/
H A Dlogging.c294 openlog("ntfs-3g", LOG_PID, LOG_USER); in ntfs_log_set_handler()
405 openlog("ntfs-3g", LOG_PID, LOG_USER); in ntfs_log_early_error()
/third_party/node/deps/openssl/openssl/crypto/bio/
H A Dbss_log.c394 openlog(name, LOG_PID | LOG_CONS | LOG_NDELAY, level); in xopenlog()
396 openlog(name, LOG_PID | LOG_CONS, level); in xopenlog()
/third_party/openssl/crypto/bio/
H A Dbss_log.c394 openlog(name, LOG_PID | LOG_CONS | LOG_NDELAY, level); in xopenlog()
396 openlog(name, LOG_PID | LOG_CONS, level); in xopenlog()
/third_party/toybox/toys/other/
H A Dlogin.c48 openlog("login", LOG_PID | LOG_CONS, LOG_AUTH); in login_main()
/third_party/musl/porting/liteos_a/user/src/misc/
H A Dsyslog.c60 void openlog(const char *ident, int opt, int facility) in openlog() function
/third_party/musl/src/misc/
H A Dsyslog.c62 void openlog(const char *ident, int opt, int facility) in openlog() function
/third_party/python/Modules/
H A Dsyslogmodule.c31 - Arguments to openlog() are now keyword args and are all optional.
32 - syslog() calls openlog() if it hasn't already been called.
35 - When facility not specified to syslog() method, use default from openlog()
44 - Change openlog arg defaults to match normal syslog behavior.
45 - Plug memory leak in openlog().
58 static PyObject *S_ident_o = NULL; /* identifier, held by openlog() */
65 /* Figure out what to use for as the program "ident" for openlog(). in syslog_get_argv()
67 * because the syslog module can still be used because openlog(3) in syslog_get_argv()
126 "|Ull:openlog", keywords, &ident, &logopt, &facility)) in syslog_openlog()
137 /* At this point, ident should be INCREF()ed. openlog( in syslog_openlog()
[all...]

Completed in 10 milliseconds

12