/external/ltp/testcases/kernel/fs/fs-bench/ |
random-access.c | 14 int openlog[2] = { 0, 0 }; variable 60 printf("Success:\t%d\nFail:\t%d\n", openlog[SUCCESS], openlog[FAIL]); 72 openlog[FAIL]++; 76 openlog[SUCCESS]++; 80 printf("Opened\t %d\nUnopend:\t%d\n", openlog[SUCCESS], 81 openlog[FAIL]); 87 printf("Opened\t %d\nUnopend:\t%d\n", openlog[SUCCESS], 88 openlog[FAIL]);
|
/external/python/cpython3/Lib/test/ |
test_syslog.py | 13 syslog.openlog('python') 15 self.assertRaises(UnicodeEncodeError, syslog.openlog, '\uD800') 18 syslog.openlog('python') 23 syslog.openlog('python') 36 syslog.openlog()
|
/external/fio/os/windows/posix/include/ |
syslog.h | 16 void openlog(const char *ident, int logopt, int facility);
|
/external/libbrillo/brillo/ |
syslog_logging.h | 27 // Convenience function for configuring syslog via openlog. Users 28 // could call openlog directly except for naming collisions between 32 BRILLO_EXPORT void OpenLog(const char* ident, bool log_pid);
|
syslog_logging.cc | 104 void OpenLog(const char* ident, bool log_pid) { 106 openlog(s_ident.c_str(), log_pid ? LOG_PID : 0, LOG_USER);
|
/external/python/cpython2/Modules/ |
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(). 67 * because the syslog module can still be used because openlog(3) 118 "|Sll:openlog", keywords, &new_S_ident_o, &logopt, &facility)) 131 /* At this point, S_ident_o should be INCREF()ed. openlog(3) does no [all...] |
/external/python/cpython3/Modules/ |
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(). 67 * because the syslog module can still be used because openlog(3) 122 "|Ull:openlog", keywords, &new_S_ident_o, &logopt, &facility)) 137 /* At this point, S_ident_o should be INCREF()ed. openlog(3) does no [all...] |
/external/python/cpython2/Doc/library/ |
syslog.rst | 28 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 [all...] |
/external/python/cpython3/Doc/library/ |
syslog.rst | 29 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. 35 .. function:: openlog([ident[, logoption[, facility]]]) 38 :func:`openlog`. :func:`syslog` will call :func:`openlog` with no arguments 59 example, :func:`openlog` will be called on the first :func:`syslog` call (if 60 :func:`openlog` hasn't already been called), and *ident* and other 61 :func:`openlog` parameters are reset to defaults. 111 syslog.openlog(logoption=syslog.LOG_PID, facility=syslog.LOG_MAIL [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-dynload/ |
syslog.so | |
/external/ltp/testcases/kernel/syscalls/syslog/ |
syslog06 | 29 # o Do openlog() without LOG_NDELAY option. # 32 # o Now do openlog() with LOG_NDELAY option. # 67 tst_resm TINFO " o Do openlog() without LOG_NDELAY option." 70 tst_resm TINFO " o Now do openlog() with LOG_NDELAY option."
|
syslogtst.c | 135 openlog("SYSLOG_CASE3", LOG_PID, LOG_DAEMON); 140 openlog("log_pid_test", LOG_PID, LOG_USER); 145 openlog("log_cons_test", LOG_CONS, LOG_USER); 199 openlog("without log_ndelay", LOG_PID, LOG_USER); 202 tst_resm(TINFO, "openlog() without LOG_NDELAY option..."); 220 openlog("with log_ndelay", LOG_NDELAY, LOG_USER); 223 tst_resm(TINFO, "openlog() with LOG_NDELAY option...");
|
syslog04 | 29 # Do openlog() with LOG_PID option and see whether pid # 79 tst_resm TINFO "Do openlog() with LOG_PID option and see whether pid"
|
syslog03 | 27 # case 3: Do openlog(), log the messages and see whether # 82 tst_resm TINFO "Do openlog(), log the messages and see whether"
|
syslog05 | 28 # o Do openlog() with LOG_CONS option. # 88 tst_resm TINFO " o Do openlog() with LOG_CONS option."
|
/external/ltp/testcases/kernel/fs/scsi/ltpfs/ |
main.c | 41 int openlog[2] = { 0, 0 }; variable 532 printf("Success:\t%d\nFail:\t%d\n", openlog[SUCCESS], openlog[FAIL]); 543 openlog[FAIL]++; 549 openlog[FAIL]++; 554 openlog[SUCCESS]++; 559 printf("Opened\t %d\nUnopend:\t%d\n", openlog[SUCCESS], 560 openlog[FAIL]); 569 openlog[SUCCESS], openlog[FAIL]) [all...] |
/external/ltp/testcases/network/multicast/mc_gethost/ |
mc_gethost.c | 44 openlog(prog, LOG_PERROR, LOG_USER); 46 openlog(prog, LOG_PERROR);
|
/bionic/libc/include/ |
syslog.h | 81 /* openlog(3) flags are currently ignored on Android. */ 90 void openlog(const char* __prefix, int __option, int __facility);
|
/bionic/tests/headers/posix/ |
syslog_h.c | 72 FUNCTION(openlog, void (*f)(const char*, int, int));
|
/external/autotest/client/site_tests/platform_LogDupSuppression/ |
platform_LogDupSuppression.py | 25 syslog.openlog('spam')
|
/external/libcxxabi/src/ |
abort_message.cpp | 66 openlog("libc++abi", 0, 0);
|
/external/libdaemon/libdaemon/ |
dlog.c | 57 openlog(daemon_log_ident ? daemon_log_ident : "UNKNOWN", LOG_PID, LOG_DAEMON);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++abi/src/ |
abort_message.cpp | 66 openlog("libc++abi", 0, 0);
|
/external/ltp/testcases/kernel/sched/sched_stress/ |
sched.c | 48 | openlog () | 54 int openlog(char *filename) 58 error("passed bad file name to openlog()", __FILE__, __LINE__);
|
/bionic/libc/bionic/ |
syslog.cpp | 31 void openlog(const char* log_tag, int /*options*/, int /*facility*/) { function
|