Home
last modified time | relevance | path

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

12345678910>>...121

/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/v8/test/mjsunit/harmony/
Dproxies-integrity.js22 var log = []; variable
28 log.push([trap, ...arguments]);
37 log.length = 0;
44 assertEquals(6, log.length)
45 for (var i in log) assertSame(target, log[i][1]);
48 ["preventExtensions", target], log[0]);
50 ["ownKeys", target], log[1]);
52 ["defineProperty", target, toKey(0), noconf], log[2]);
54 ["defineProperty", target, toKey("length"), noconf], log[3]);
56 ["defineProperty", target, toKey("wurst"), noconf], log[4]);
[all …]
Dproxies-json.js219 var log = []; variable
225 log.push([trap, ...arguments]);
233 log.length = 0;
239 assertEquals(1, log.length)
240 for (var i in log) assertSame(target, log[i][1]);
242 assertEquals(["get", target, "toJSON", proxy], log[0]);
247 log.length = 0;
253 assertEquals(4, log.length)
254 for (var i in log) assertSame(target, log[i][1]);
257 ["get", target, "toJSON", proxy], log[0]);
[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/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.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/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/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 …]
DtUINT32_Max.py59 log=ACTLogging.Logger() variable
89 log.D(self.test_Nominal_Case.__doc__)
90 log.I("UINT32_Max parameter in nominal case = 50")
95 assert err == None, log.E("when setting parameter %s : %s"
97 assert out == "Done", log.F("when setting parameter %s : %s"
101 assert err == None, log.E("when setting parameter %s : %s"
103 assert out == value, log.F("BLACKBOARD : Incorrect value for %s, expected: %s, found: %s"
106 …assert open(os.environ["PFW_RESULT"] + "/UINT32_Max").read()[:-1] == hex_value, log.F("FILESYSTEM …
107 log.I("test OK")
127 log.D(self.test_TypeMin.__doc__)
[all …]
DtFP32_Q0_31.py58 log=ACTLogging.Logger() variable
87 log.D(self.test_Nominal_Case.__doc__)
88 log.I("FP32_Q0.31 parameter in nominal case = 0.500000000")
93 assert err == None, log.E("when setting parameter %s : %s" % (self.param_name, err))
94 assert out == "Done", log.F("when setting parameter %s : %s" % (self.param_name, out))
97 assert err == None, log.E("when setting parameter %s : %s" % (self.param_name, err))
98 …assert round(float(out),10) == round(float(value),10), log.F("BLACKBOARD : Incorrect value for %s,…
101 …assert open(os.environ["PFW_RESULT"] + "/FP32_Q0.31").read()[:-1] == hex_value, log.F("FILESYSTEM …
102 log.I("test OK")
122 log.D(self.test_TypeMin.__doc__)
[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/zlib/src/
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/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/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/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>>...121