Home
last modified time | relevance | path

Searched refs:log (Results 1 – 25 of 5611) sorted by relevance

12345678910>>...225

/external/rust/crates/libz-sys/src/zlib/examples/
Dgzlog.c289 struct log { struct
348 local int log_lock(struct log *log) in log_lock() argument
353 strcpy(log->end, ".lock"); in log_lock()
354 while ((fd = open(log->path, O_CREAT | O_EXCL, 0644)) < 0) { in log_lock()
357 if (stat(log->path, &st) == 0 && time(NULL) - st.st_mtime > PATIENCE) { in log_lock()
358 unlink(log->path); in log_lock()
364 if (stat(log->path, &st) == 0) in log_lock()
365 log->lock = st.st_mtime; in log_lock()
372 local void log_touch(struct log *log) in log_touch() argument
376 strcpy(log->end, ".lock"); in log_touch()
[all …]
/external/deqp/framework/qphelper/
DqpTestLog.c258 static void qpTestLog_flushFile (qpTestLog* log) in qpTestLog_flushFile() argument
260 DE_ASSERT(log && log->outputFile); in qpTestLog_flushFile()
261 fflush(log->outputFile); in qpTestLog_flushFile()
264 FlushFileBuffers((HANDLE)_get_osfhandle(_fileno(log->outputFile))); in qpTestLog_flushFile()
300 static deBool endSession (qpTestLog* log) in endSession() argument
302 DE_ASSERT(log && log->isSessionOpen); in endSession()
305 qpXmlWriter_flush(log->writer); in endSession()
308 fprintf(log->outputFile, "\n#endSession\n"); in endSession()
309 qpTestLog_flushFile(log); in endSession()
311 log->isSessionOpen = DE_FALSE; in endSession()
[all …]
/external/libxml2/python/tests/
Dsync.py8 log = "" variable
12 global log
13 log = log + "startDocument:"
16 global log
17 log = log + "endDocument:"
20 global log
21 log = log + "startElement %s %s:" % (tag, attrs)
24 global log
25 log = log + "endElement %s:" % (tag)
28 global log
[all …]
DpushSAXhtml.py8 log = "" variable
12 global log
13 log = log + "startDocument:"
16 global log
17 log = log + "endDocument:"
20 global log
21 log = log + "startElement %s %s:" % (tag, attrs)
24 global log
25 log = log + "endElement %s:" % (tag)
28 global log
[all …]
DpushSAX.py8 log = "" variable
12 global log
13 log = log + "startDocument:"
16 global log
17 log = log + "endDocument:"
20 global log
21 log = log + "startElement %s %s:" % (tag, attrs)
24 global log
25 log = log + "endElement %s:" % (tag)
28 global log
[all …]
/external/libnl/lib/netfilter/
Dlog_obj.c32 struct nfnl_log *log = (struct nfnl_log *) a; in nfnl_log_dump() local
37 if (log->ce_mask & LOG_ATTR_GROUP) in nfnl_log_dump()
38 nl_dump(p, "group=%u ", log->log_group); in nfnl_log_dump()
40 if (log->ce_mask & LOG_ATTR_COPY_MODE) in nfnl_log_dump()
42 nfnl_log_copy_mode2str(log->log_copy_mode, in nfnl_log_dump()
45 if (log->ce_mask & LOG_ATTR_COPY_RANGE) in nfnl_log_dump()
46 nl_dump(p, "copy_range=%u ", log->log_copy_range); in nfnl_log_dump()
48 if (log->ce_mask & LOG_ATTR_FLUSH_TIMEOUT) in nfnl_log_dump()
49 nl_dump(p, "flush_timeout=%u ", log->log_flush_timeout); in nfnl_log_dump()
51 if (log->ce_mask & LOG_ATTR_ALLOC_SIZE) in nfnl_log_dump()
[all …]
/external/XNNPACK/src/math/
Dexpm1.sollya9 minus_ln2_hi = round(-log(2), single, RN);
10 minus_ln2_lo = round(-log(2) - minus_ln2_hi, single, RN);
11 print("-log(2):hi =", minus_ln2_hi);
12 print("-log(2):lo =", minus_ln2_lo);
15 minus_ln2_o8_hi = round(-log(2)/8, single, RN);
16 minus_ln2_o8_lo = round(-log(2)/8 - minus_ln2_o8_hi, single, RN);
17 print("-log(2):hi / 8 =", minus_ln2_o8_hi);
18 print("-log(2):lo / 8 =", minus_ln2_o8_lo);
20 lb = round(-log(2)/2, single, RN);
21 ub = round(log(2)/2, single, RN);
[all …]
Dexp.sollya8 minus_ln2_hi = round(-log(2), single, RN);
9 minus_ln2_lo = round(-log(2) - minus_ln2_hi, single, RN);
10 print("-log(2):hi =", minus_ln2_hi);
11 print("-log(2):lo =", minus_ln2_lo);
14 minus_ln2_o8_hi = round(-log(2)/8, single, RN);
15 minus_ln2_o8_lo = round(-log(2)/8 - minus_ln2_o8_hi, single, RN);
16 print("-log(2):hi / 8 =", minus_ln2_o8_hi);
17 print("-log(2):lo / 8 =", minus_ln2_o8_lo);
19 lb = round(-log(2)/2, single, RN);
20 ub = round(log(2)/2, single, RN);
[all …]
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Domains/
DtDomain_Rules.py49 log=ACTLogging.Logger() variable
92 log.D(self.test_ClearRule_Errors.__doc__)
94 log.I("New domain creation for testing purpose : %s" % (self.domain_name))
95 log.I("command [createDomain]")
99 log.I("command [createDomain] correctly executed")
100 log.I("Domain %s created" % (self.domain_name))
103log.I("New configuration %s creation for domain %s for testing purpose" % (self.conf_1,self.domain…
104 log.I("command [createConfiguration]")
108 log.I("command [createConfiguration] correctly executed")
109 log.I("Configuration %s created for domain %s" % (self.conf_1,self.domain_name))
[all …]
DtDomain_Configuration.py51 log=ACTLogging.Logger() variable
87 log.D(self.test_Conf_Creation_Error.__doc__)
89 log.I("New domain creation for testing purpose : %s" % (self.domain_name))
90 log.I("command [createDomain]")
94 log.I("command [createDomain] correctly executed")
95 log.I("Domain %s created" % (self.domain_name))
100 log.I("New configuration %s creation for domain %s" % (new_conf_name,self.domain_name))
101 log.I("command [createConfiguration]")
105 log.I("command [createConfiguration] correctly executed")
106 log.I("Configuration %s created for domain %s" % (new_conf_name,self.domain_name))
[all …]
DtDomain_rename.py47 log=ACTLogging.Logger() variable
76 log.D(self.test_Nominal_Case.__doc__)
78 log.I("New domain creation : %s" % (self.domain_name))
79 log.I("command [createDomain]" )
83 log.I("command [createDomain] correctly executed")
84 log.I("Domain %s created" % (self.domain_name))
87 log.I("Creating a domains listing backup")
88 log.I("command [listDomains]")
91 log.I("command [listDomains] correctly executed")
96 log.I("Domains listing backup created")
[all …]
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Functions/
DtFunction_Export_Import_Domains.py53 log=ACTLogging.Logger() variable
111 log.D(self.test_01_importDomainsWithSettingsXML_Nominal_Case.__doc__)
114 log.I("Import Domains with settings from %s"%(self.reference_xml))
116 …assert err == None, log.E("Command [importDomainsWithSettingsXML %s] : %s"%(self.reference_xml,err…
117 …assert out == "Done", log.F("When using function importDomainsWithSettingsXML %s]"%(self.reference…
121 log.I("Current domains listing")
122 log.I("Command [listDomains]")
124 assert err == None, log.E("Command [listDomains] : %s"%(err))
125 log.I("Command [listDomains] - correctly executed")
128 log.I("Actual domains: %s" % domainBackup)
[all …]
DtFunction_listingFunctions.py48 log=ACTLogging.Logger() variable
94 log.D(self.test_01_dumpDomains_Case.__doc__)
97 log.I("Import Domains with settings from %s"%(self.reference_dumpDomains_xml))
99 …assert err == None, log.E("Command [importDomainsWithSettingsXML %s] : %s"%(self.reference_dumpDom…
100 …assert out == "Done", log.F("When using function importDomainsWithSettingsXML %s]"%(self.reference…
102 log.I("Command [dumpDomains]")
104 assert err == None, log.E("Command [dumpDomains] : %s"%(err))
106 log.I("Command [dumpDomains] - correctly executed")
123 log.D(self.test_03_help_Case.__doc__)
124 log.I("Command [help]")
[all …]
/external/slf4j/jcl-over-slf4j/src/test/java/org/apache/commons/logging/
DInvokeJCLTest.java34 Log log = LogFactory.getLog(InvokeJCLTest.class); in testIsEnabledAPI() local
35 assertFalse(log.isTraceEnabled()); in testIsEnabledAPI()
36 assertFalse(log.isDebugEnabled()); in testIsEnabledAPI()
37 assertTrue(log.isInfoEnabled()); in testIsEnabledAPI()
38 assertTrue(log.isWarnEnabled()); in testIsEnabledAPI()
39 assertTrue(log.isErrorEnabled()); in testIsEnabledAPI()
40 assertTrue(log.isFatalEnabled()); in testIsEnabledAPI()
44 Log log = LogFactory.getLog(InvokeJCLTest.class); in testPrintAPI() local
47 log.trace(null); in testPrintAPI()
48 log.trace("trace message"); in testPrintAPI()
[all …]
/external/adhd/cras/src/server/
Dcras_main_thread_log.h16 #define MAINLOG(log, event, data1, data2, data3) \ argument
17 main_thread_event_log_data(log, event, data1, data2, data3);
19 #define MAINLOG(log, event, data1, data2, data3) argument
26 struct main_thread_event_log *log; in main_thread_event_log_init() local
27 log = (struct main_thread_event_log *)calloc( in main_thread_event_log_init()
29 if (!log) in main_thread_event_log_init()
32 log->len = MAIN_THREAD_EVENT_LOG_SIZE; in main_thread_event_log_init()
33 return log; in main_thread_event_log_init()
37 main_thread_event_log_deinit(struct main_thread_event_log *log) in main_thread_event_log_deinit() argument
39 if (log) in main_thread_event_log_deinit()
[all …]
Daudio_thread_log.h22 #define ATLOG(log, event, data1, data2, data3) \ argument
23 audio_thread_event_log_data(log, event, data1, data2, data3);
25 #define ATLOG(log, event, data1, data2, data3) argument
35 struct audio_thread_event_log *log; in audio_thread_event_log_init() local
40 log = (struct audio_thread_event_log *)cras_shm_setup( in audio_thread_event_log_init()
41 name, sizeof(*log), &atlog_rw_shm_fd, &atlog_ro_shm_fd); in audio_thread_event_log_init()
45 if (log == NULL) { in audio_thread_event_log_init()
47 log = (struct audio_thread_event_log *)calloc( in audio_thread_event_log_init()
50 log->len = AUDIO_THREAD_EVENT_LOG_SIZE; in audio_thread_event_log_init()
52 return log; in audio_thread_event_log_init()
[all …]
Dcras_bt_log.h16 #define BTLOG(log, event, data1, data2) \ argument
17 cras_bt_event_log_data(log, event, data1, data2);
19 #define BTLOG(log, event, data1, data2) argument
26 struct cras_bt_event_log *log; in cras_bt_event_log_init() local
27 log = (struct cras_bt_event_log *)calloc( in cras_bt_event_log_init()
29 log->len = CRAS_BT_EVENT_LOG_SIZE; in cras_bt_event_log_init()
31 return log; in cras_bt_event_log_init()
34 static inline void cras_bt_event_log_deinit(struct cras_bt_event_log *log) in cras_bt_event_log_deinit() argument
36 free(log); in cras_bt_event_log_deinit()
39 static inline void cras_bt_event_log_data(struct cras_bt_event_log *log, in cras_bt_event_log_data() argument
[all …]
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Types/
DtRAW.py72 log=ACTLogging.Logger() variable
106 log.D(self.test_01_SettingOutputRawFormat.__doc__)
108 log.I("Setting %s in output raw format"
111 assert err == None, log.E("When setting output raw format : %s"
113 assert out == "Done", log.F("setOutputRawFormat - expected : Done , found : %s"
115 log.I("Check output raw format state")
117 assert err == None, log.E("When getting output raw format : %s"
119 assert out == value, log.F("getOutputRawFormat - expected : %s , found : %s"
122 log.I("Setting %s in output raw format"
125 assert err == None, log.E("When setting output raw format : %s"
[all …]
DtEnum.py56 log=ACTLogging.Logger() variable
87 log.D(self.test_Nominal_Case.__doc__)
90 log.I("Set parameter %s to %s"%(self.param_name,value))
92 assert err == None, log.E("setParameter %s %s : %s" % (self.param_name, value, err))
93 …assert out == "Done", log.F("setParameter %s %s - expected : Done : %s" % (self.param_name, value,…
94 log.I("Check Enum parameter state")
96 assert err == None, log.E("getParameter %s : %s" % (self.param_name, err))
97 …assert out == value, log.F("getParameter %s - expected : %s , found : %s" % (self.param_name,value…
98 log.I("Check filesystem value")
99 …assert open(self.filesystem_name).read()[:-1] == filesystem_value, log.F("FILESYSTEM : parameter u…
[all …]
DtSTRING_128.py35 log=ACTLogging.Logger() variable
81 log.D(self.test_Digits_String_Case.__doc__)
82 log.I("STR_CHAR128 parameter initial state = string_Conf_0")
88 assert err == None, log.E("when setting parameter %s -> %s" % (self.param_name, err))
89 assert out == "Done", log.F(out)
92 assert err == None, log.E("when getting parameter %s -> %s" % (self.param_name, err))
93 …assert out == value, log.F("BLACKBOARD : Incorrect value for %s, expected: %s, found: %s" % (self.…
95 …assert open(os.environ["PFW_RESULT"] + "/STR_CHAR128").read()[:-1] == value, log.F("FILESYSTEM : p…
112 log.D(self.test_Empty_String_Case.__doc__)
113 log.I("STR_CHAR128 parameter empty string = \'\'")
[all …]
/external/rust/crates/libz-sys/src/zlib/
Dconfigure17 echo -------------------- >> configure.log
18 echo $0 $* >> configure.log
19 date >> configure.log
51 test -n "${CROSS_PREFIX}" && echo Using ${AR} | tee -a configure.log
54 test -n "${CROSS_PREFIX}" && echo Using ${AR} | tee -a configure.log
59 test -n "${CROSS_PREFIX}" && echo Using ${RANLIB} | tee -a configure.log
65 test -n "${CROSS_PREFIX}" && echo Using ${NM} | tee -a configure.log
99 echo "** $0 aborting." | tee -a configure.log
102 echo -------------------- >> configure.log
103 echo >> configure.log
[all …]
/external/python/cpython2/Modules/zlib/
Dconfigure17 echo -------------------- >> configure.log
18 echo $0 $* >> configure.log
19 date >> configure.log
51 test -n "${CROSS_PREFIX}" && echo Using ${AR} | tee -a configure.log
54 test -n "${CROSS_PREFIX}" && echo Using ${AR} | tee -a configure.log
59 test -n "${CROSS_PREFIX}" && echo Using ${RANLIB} | tee -a configure.log
65 test -n "${CROSS_PREFIX}" && echo Using ${NM} | tee -a configure.log
99 echo "** $0 aborting." | tee -a configure.log
102 echo -------------------- >> configure.log
103 echo >> configure.log
[all …]
/external/libexif/libexif/
Dexif-log.c73 ExifLog *log; in exif_log_new_mem() local
75 log = exif_mem_alloc (mem, sizeof (ExifLog)); in exif_log_new_mem()
76 if (!log) return NULL; in exif_log_new_mem()
77 log->ref_count = 1; in exif_log_new_mem()
79 log->mem = mem; in exif_log_new_mem()
82 return log; in exif_log_new_mem()
89 ExifLog *log = exif_log_new_mem (mem); in exif_log_new() local
93 return log; in exif_log_new()
97 exif_log_ref (ExifLog *log) in exif_log_ref() argument
99 if (!log) return; in exif_log_ref()
[all …]
/external/iptables/extensions/
Dlibebt_log.t2 --log;=;OK
3 --log-level crit;=;OK
4 --log-level 1;--log-level alert --log-prefix "";OK
5 --log-level emerg --log-ip --log-arp --log-ip6;--log-level emerg --log-prefix "" --log-ip --log-arp…
6 --log-level crit --log-ip --log-arp --log-ip6 --log-prefix foo;--log-level crit --log-prefix "foo" …
/external/slf4j/slf4j-jcl/src/main/java/org/slf4j/impl/
DJCLLoggerAdapter.java44 final Log log; field in JCLLoggerAdapter
48 JCLLoggerAdapter(Log log, String name) { in JCLLoggerAdapter() argument
49 this.log = log; in JCLLoggerAdapter()
58 return log.isTraceEnabled(); in isTraceEnabled()
70 log.trace(msg); in trace()
88 if (log.isTraceEnabled()) { in trace()
90 log.trace(ft.getMessage(), ft.getThrowable()); in trace()
111 if (log.isTraceEnabled()) { in trace()
113 log.trace(ft.getMessage(), ft.getThrowable()); in trace()
130 if (log.isTraceEnabled()) { in trace()
[all …]

12345678910>>...225