/external/python/cpython3/Lib/test/ |
test_syslog.py | 3 syslog = support.import_module("syslog") #skip if not supported variable 13 syslog.openlog('python') 15 self.assertRaises(UnicodeEncodeError, syslog.openlog, '\uD800') 18 syslog.openlog('python') 19 syslog.syslog('test message from python test_syslog') 20 syslog.syslog(syslog.LOG_ERR, 'test error from python test_syslog' [all...] |
/bionic/libc/bionic/ |
syslog.cpp | 20 #include <syslog.h> 44 void syslog(int priority, const char* fmt, ...) { function
|
/external/ltp/testcases/kernel/syscalls/syslog/ |
syslog11.c | 23 * TEST TITLE : Basic tests for syslog(2) 34 * Verify that, syslog(2) is successful for type ranging from 1 to 8 97 #define syslog(arg1, arg2, arg3) syscall(__NR_syslog, arg1, arg2, arg3) macro 137 TEST(syslog(tdat[testno].type, tdat[testno].buf, 143 "syslog() passed for %s (non-root EPERM is OK)", 147 "syslog() failed for %s: errno " 152 tst_resm(TPASS, "syslog() successful for %s",
|
syslog12.c | 23 * TEST TITLE : Checking error conditions for syslog(2) 35 * 1. syslog(2) fails with EINVAL for invalid type/command 36 * 2. syslog(2) fails with EFAULT for buffer outside program's accessible 38 * 3. syslog(2) fails with EINVAL for NULL buffer argument. 39 * 4. syslog(2) fails with EINVAL for length arg. set to negative value. 40 * 5. syslog(2) fails with EPERM for non-root user. 41 * 6. syslog(2) fails with EINVAL for console level less than 0. 42 * 7. syslog(2) fails with EINVAL for console level greater than 8. 109 #define syslog(arg1, arg2, arg3) syscall(__NR_syslog, arg1, arg2, arg3) macro 124 tst_resm(TWARN, "syslog() timeout after 1s [all...] |
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/SysCall/ |
CrtWrapper.c | 447 void syslog (int a, const char *c, ...)
function
|
/external/autotest/server/hosts/ |
adb_host.py | 775 def syslog(self, message, tag='autotest'): member in class:ADBHost 776 """Logs a message to syslog on the device. 778 @param message String message to log into syslog 779 @param tag String tag prefix for syslog [all...] |
cros_host.py | 1237 def syslog(self, message, tag='autotest'): member in class:CrosHost [all...] |
/external/mdnsresponder/mDNSShared/ |
dnssd_clientstub.c | 62 static void syslog( int priority, const char * message, ...) function 85 #include <syslog.h> 138 uint32_t logcounter; // Counter used to control number of syslog messages we write 176 syslog(LOG_WARNING, "dnssd_clientstub write_all: SO_ISDEFUNCT failed %d %s", dnssd_errno, dnssd_strerror(dnssd_errno)); 178 syslog(LOG_WARNING, "dnssd_clientstub write_all(%d) failed %ld/%ld %d %s", sd, 183 syslog(LOG_INFO, "dnssd_clientstub write_all(%d) DEFUNCT", sd); 185 syslog(LOG_WARNING, "dnssd_clientstub write_all(%d) failed %ld/%ld %d %s", sd, 211 if ((num_read < 0) && (errno == EINTR)) { syslog(LOG_INFO, "dnssd_clientstub read_all: EINTR continue"); continue; } 228 syslog(LOG_WARNING, "dnssd_clientstub read_all: SO_ISDEFUNCT failed %d %s", dnssd_errno, dnssd_strerror(dnssd_errno)); 234 syslog(LOG_WARNING, "dnssd_clientstub read_all(%d) failed %ld/%ld %d %s", sd [all...] |