Home
last modified time | relevance | path

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

12345678910>>...147

/external/zlib/src/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.c251 static void qpTestLog_flushFile (qpTestLog* log) in qpTestLog_flushFile() argument
253 DE_ASSERT(log && log->outputFile); in qpTestLog_flushFile()
254 fflush(log->outputFile); in qpTestLog_flushFile()
257 FlushFileBuffers((HANDLE)_get_osfhandle(_fileno(log->outputFile))); in qpTestLog_flushFile()
292 static deBool beginSession (qpTestLog* log) in beginSession() argument
294 DE_ASSERT(log && !log->isSessionOpen); in beginSession()
297 fprintf(log->outputFile, "#sessionInfo releaseName %s\n", qpGetReleaseName()); in beginSession()
298 fprintf(log->outputFile, "#sessionInfo releaseId 0x%08x\n", qpGetReleaseId()); in beginSession()
299 fprintf(log->outputFile, "#sessionInfo targetName \"%s\"\n", qpGetTargetName()); in beginSession()
302 fprintf(log->outputFile, "#beginSession\n"); in beginSession()
[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 …]
DtDomain_Split.py49 log=ACTLogging.Logger() variable
101 log.D(self.test_Combinatorial_Criteria.__doc__)
104 log.I("Import Domains with settings from %s"%(self.reference_xml))
106 …assert err == None, log.E("Command [importDomainsWithSettingsXML %s] : %s"%(self.reference_xml,err…
107 …assert out == "Done", log.F("When using function importDomainsWithSettingsXML %s]"%(self.reference…
111 log.I("Checking initial conditions :")
112log.I("Checking that %s configurable element is associated to %s :" % (self.path_main,self.domain_…
114 … assert err == None, log.E("Command [listAssociatedDomains] : error when listing domain name")
123 …assert element_found==1, log.F("configurable element %s not correctly associated to domain %s" % (…
124log.I("configurable element %s correctly associated to domain %s" % (self.path_main, self.domain_1…
[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/libnl/lib/netfilter/
Dlog_obj.c31 struct nfnl_log *log = (struct nfnl_log *) a; in nfnl_log_dump() local
36 if (log->ce_mask & LOG_ATTR_GROUP) in nfnl_log_dump()
37 nl_dump(p, "group=%u ", log->log_group); in nfnl_log_dump()
39 if (log->ce_mask & LOG_ATTR_COPY_MODE) in nfnl_log_dump()
41 nfnl_log_copy_mode2str(log->log_copy_mode, in nfnl_log_dump()
44 if (log->ce_mask & LOG_ATTR_COPY_RANGE) in nfnl_log_dump()
45 nl_dump(p, "copy_range=%u ", log->log_copy_range); in nfnl_log_dump()
47 if (log->ce_mask & LOG_ATTR_FLUSH_TIMEOUT) in nfnl_log_dump()
48 nl_dump(p, "flush_timeout=%u ", log->log_flush_timeout); in nfnl_log_dump()
50 if (log->ce_mask & LOG_ATTR_ALLOC_SIZE) in nfnl_log_dump()
[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 …]
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 …]
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 …]
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Types/
DtRAW.py73 log=ACTLogging.Logger() variable
107 log.D(self.test_01_SettingOutputRawFormat.__doc__)
109 log.I("Setting %s in output raw format"
112 assert err == None, log.E("When setting output raw format : %s"
114 assert out == "Done", log.F("setOutputRawFormat - expected : Done , found : %s"
116 log.I("Check output raw format state")
118 assert err == None, log.E("When getting output raw format : %s"
120 assert out == value, log.F("getOutputRawFormat - expected : %s , found : %s"
123 log.I("Setting %s in output raw format"
126 assert err == None, log.E("When setting output raw format : %s"
[all …]
DtEnum.py57 log=ACTLogging.Logger() variable
88 log.D(self.test_Nominal_Case.__doc__)
91 log.I("Set parameter %s to %s"%(self.param_name,value))
93 assert err == None, log.E("setParameter %s %s : %s" % (self.param_name, value, err))
94 …assert out == "Done", log.F("setParameter %s %s - expected : Done : %s" % (self.param_name, value,…
95 log.I("Check Enum parameter state")
97 assert err == None, log.E("getParameter %s : %s" % (self.param_name, err))
98 …assert out == value, log.F("getParameter %s - expected : %s , found : %s" % (self.param_name,value…
99 log.I("Check filesystem value")
100 …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 …]
DtBit_Block.py62 log=ACTLogging.Logger() variable
112 log.D(self.test_Nominal_Case.__doc__)
118 log.I("set parameter %s to %s"%(self.bit_name[index_bit],value_bit[index_bit]))
120 …assert err == None, log.E("setParameter %s %s : %s" % (self.bit_name[index_bit],value_bit[index_bi…
121 … assert out == "Done", log.F("setParameter %s %s" %(self.bit_name[index_bit],value_bit[index_bit]))
122 log.I("Check bit %s value"%(self.bit_name[index_bit]))
124 assert err == None, log.E("getParameter %s : %s" % (self.block_name, err))
125 …assert out == value_bit[index_bit], log.F("getParameter %s - Expected : %s Found : %s" %(self.bit_…
126 log.I("Check filesystem value")
127 …assert open(self.filesystem_name).read()[:-1] == filesystem_value[index_bit], log.F("FILESYSTEM : …
[all …]
/external/python/cpython2/Modules/zlib/
Dconfigure17 echo -------------------- >> configure.log
18 echo $0 $* >> configure.log
19 date >> configure.log
39 test -n "${CROSS_PREFIX}" && echo Using ${AR} | tee -a configure.log
42 test -n "${CROSS_PREFIX}" && echo Using ${AR} | tee -a configure.log
47 test -n "${CROSS_PREFIX}" && echo Using ${RANLIB} | tee -a configure.log
53 test -n "${CROSS_PREFIX}" && echo Using ${NM} | tee -a configure.log
85 echo "** $0 aborting." | tee -a configure.log
88 echo -------------------- >> configure.log
89 echo >> configure.log
[all …]
/external/zlib/src/
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/cpython3/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/webrtc/webrtc/base/
Doptional_unittest.cc122 auto log = Logger::Setup(); in TEST() local
127 EXPECT_EQ(V("0:0. default constructor", "0:0. destructor"), *log); in TEST()
131 auto log = Logger::Setup(); in TEST() local
140 *log); in TEST()
144 auto log = Logger::Setup(); in TEST() local
149 log->push_back("---"); in TEST()
152 log->push_back("---"); in TEST()
157 *log); in TEST()
161 auto log = Logger::Setup(); in TEST() local
170 *log); in TEST()
[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/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/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 …]
/external/adhd/cras/src/server/
Daudio_thread_log.h19 #define ATLOG(log,event,data1,data2,data3) \ argument
20 audio_thread_event_log_data(log,event,data1,data2,data3);
22 #define ATLOG(log,event,data1,data2,data3) argument
30 struct audio_thread_event_log *log; in audio_thread_event_log_init() local
31 log = (struct audio_thread_event_log *) in audio_thread_event_log_init()
33 log->len = AUDIO_THREAD_EVENT_LOG_SIZE; in audio_thread_event_log_init()
35 return log; in audio_thread_event_log_init()
39 void audio_thread_event_log_deinit(struct audio_thread_event_log *log) in audio_thread_event_log_deinit() argument
41 free(log); in audio_thread_event_log_deinit()
48 struct audio_thread_event_log *log, in audio_thread_event_log_data() argument
[all …]
/external/deqp/modules/egl/
DteglNegativeApiTests.cpp134 TestLog& log = m_testCtx.getLog(); in init()
135log << TestLog::Section("Test1", "EGL_BAD_PARAMETER is generated if api is not one of the accepted… in init()
146 log << TestLog::EndSection; in init()
148log << TestLog::Section("Test2", "EGL_BAD_PARAMETER is generated if the specified client API is no… in init()
164 log << TestLog::EndSection; in init()
169 TestLog& log = m_testCtx.getLog(); in init()
172log << TestLog::Section("Test1", "EGL_BAD_DISPLAY is generated if display is not an EGL display co… in init()
180 log << TestLog::EndSection; in init()
182log << TestLog::Section("Test2", "EGL_BAD_SURFACE is generated if surface is not an EGL surface"); in init()
190 log << TestLog::EndSection; in init()
[all …]

12345678910>>...147