/external/zlib/src/examples/ |
D | gzlog.c | 289 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/ |
D | qpTestLog.c | 251 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/ |
D | sync.py | 8 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 …]
|
D | pushSAXhtml.py | 8 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 …]
|
D | pushSAX.py | 8 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/ |
D | log_obj.c | 31 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/ |
D | tDomain_Rules.py | 49 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)) 103 …log.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 …]
|
D | tDomain_Configuration.py | 51 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 …]
|
D | tDomain_rename.py | 47 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 …]
|
D | tDomain_Split.py | 49 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 :") 112 …log.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" % (… 124 …log.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/ |
D | tFunction_Export_Import_Domains.py | 53 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 …]
|
D | tFunction_listingFunctions.py | 48 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/ |
D | InvokeJCLTest.java | 34 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/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Types/ |
D | tRAW.py | 73 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 …]
|
D | tEnum.py | 57 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 …]
|
D | tSTRING_128.py | 35 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 …]
|
D | tUINT16.py | 60 log=ACTLogging.Logger() variable 90 log.D(self.test_Nominal_Case.__doc__) 91 log.I("UINT16 parameter in nominal case = 50") 96 assert err == None, log.E("when setting parameter %s : %s" 98 assert out == "Done", log.F("when setting parameter %s : %s" 102 assert err == None, log.E("when setting parameter %s : %s" 104 assert out == value, log.F("BLACKBOARD : Incorrect value for %s, expected: %s, found: %s" 107 …assert open(os.environ["PFW_RESULT"] + "/UINT16").read()[:-1] == hex_value, log.F("FILESYSTEM : pa… 108 log.I("test OK") 128 log.D(self.test_TypeMin.__doc__) [all …]
|
D | tUINT8_Max.py | 59 log=ACTLogging.Logger() variable 89 log.D(self.test_Nominal_Case.__doc__) 90 log.I("UINT8_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"] + "/UINT8_Max").read()[:-1] == hex_value, log.F("FILESYSTEM :… 107 log.I("test OK") 127 log.D(self.test_TypeMin.__doc__) [all …]
|
D | tUINT32_Max.py | 59 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 …]
|
D | tFP32_Q15_16.py | 58 log=ACTLogging.Logger() variable 87 log.D(self.test_Nominal_Case.__doc__) 88 log.I("FP32_Q15.16 parameter in nominal case = 12345.12345") 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, err)) 97 assert err == None, log.E("when setting parameter %s : %s" % (self.param_name, err)) 98 …assert round(float(out),4) == float(value), log.F("BLACKBOARD : Incorrect value for %s, expected: … 101 …assert open(os.environ["PFW_RESULT"] + "/FP32_Q15.16").read()[:-1] == hex_value, log.F("FILESYSTEM… 102 log.I("test OK") 123 log.D(self.test_TypeMin.__doc__) [all …]
|
/external/zlib/src/ |
D | configure | 17 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/python/cpython2/Modules/zlib/ |
D | configure | 17 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/ |
D | exif-log.c | 73 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/ |
D | optional_unittest.cc | 122 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/ |
D | JCLLoggerAdapter.java | 44 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 …]
|