/third_party/ltp/testcases/kernel/fs/fs-bench/ |
H A D | random-access.c | 14 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 D | random-del-create.c | 14 int openlog[2] = { 0, 0 }; variable
|
H A D | random-access-del-create.c | 14 int openlog[2] = { 0, 0 }; variable
|
/third_party/python/Lib/test/ |
H A D | test_syslog.py | 19 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 D | audit-tests.py | 430 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 D | main.c | 41 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 D | syslogtst.c | 135 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 D | sched.h | 53 int openlog (char *);
|
H A D | sched.c | 48 | 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 D | misc_closelog_test.cpp | 19 openlog("my_program", LOG_PID, LOG_USER); in HWTEST_F()
|
/third_party/NuttX/include/ |
H A D | syslog.h | 42 /* 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 D | syslog.c | 39 {void(*p)(const char*,int,int) = openlog;} in f()
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | syslog.h | 60 void openlog (const char *, int, int);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | syslog.h | 60 void openlog (const char *, int, int);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | syslog.h | 60 void openlog (const char *, int, int);
|
/third_party/musl/include/ |
H A D | syslog.h | 60 void openlog (const char *, int, int);
|
/third_party/toybox/toys/pending/ |
H A D | klogd.c | 80 openlog("Kernel", 0, LOG_KERN); //open connection to system logger.. in klogd_main()
|
/third_party/toybox/toys/posix/ |
H A D | logger.c | 92 openlog(TT.t, LOG_PERROR*!!(toys.optflags&FLAG_s), facility); in logger_main()
|
/third_party/ntfs-3g/libntfs-3g/ |
H A D | logging.c | 294 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 D | bss_log.c | 394 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 D | bss_log.c | 394 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 D | login.c | 48 openlog("login", LOG_PID | LOG_CONS, LOG_AUTH); in login_main()
|
/third_party/musl/porting/liteos_a/user/src/misc/ |
H A D | syslog.c | 60 void openlog(const char *ident, int opt, int facility) in openlog() function
|
/third_party/musl/src/misc/ |
H A D | syslog.c | 62 void openlog(const char *ident, int opt, int facility) in openlog() function
|
/third_party/python/Modules/ |
H A D | syslogmodule.c | 31 - 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...] |