| /external/cronet/third_party/abseil-cpp/absl/log/ |
| D | scoped_mock_log_test.cc | 16 #include "absl/log/scoped_mock_log.h" 26 #include "absl/log/globals.h" 27 #include "absl/log/internal/test_helpers.h" 28 #include "absl/log/internal/test_matchers.h" 29 #include "absl/log/log.h" 59 absl::ScopedMockLog log; in TEST() 60 log.StartCapturingLogs(); in TEST() 61 log.StartCapturingLogs(); in TEST() 69 absl::ScopedMockLog log; in TEST() 70 log.StopCapturingLogs(); in TEST() [all …]
|
| D | log_sink_test.cc | 16 #include "absl/log/log_sink.h" 22 #include "absl/log/internal/test_actions.h" 23 #include "absl/log/internal/test_helpers.h" 24 #include "absl/log/internal/test_matchers.h" 25 #include "absl/log/log.h" 26 #include "absl/log/log_sink_registry.h" 27 #include "absl/log/scoped_mock_log.h" 44 // Tests for global log sink registration. 51 EXPECT_CALL(test_sink, Log(_, _, "hello world")).Times(0); in TEST() 52 EXPECT_CALL(test_sink, Log(absl::LogSeverity::kInfo, __FILE__, "Test : 42")); in TEST() [all …]
|
| /external/angle/third_party/abseil-cpp/absl/log/ |
| D | scoped_mock_log_test.cc | 16 #include "absl/log/scoped_mock_log.h" 26 #include "absl/log/globals.h" 27 #include "absl/log/internal/test_helpers.h" 28 #include "absl/log/internal/test_matchers.h" 29 #include "absl/log/log.h" 59 absl::ScopedMockLog log; in TEST() 60 log.StartCapturingLogs(); in TEST() 61 log.StartCapturingLogs(); in TEST() 69 absl::ScopedMockLog log; in TEST() 70 log.StopCapturingLogs(); in TEST() [all …]
|
| D | log_sink_test.cc | 16 #include "absl/log/log_sink.h" 21 #include "absl/log/internal/test_actions.h" 22 #include "absl/log/internal/test_helpers.h" 23 #include "absl/log/internal/test_matchers.h" 24 #include "absl/log/log.h" 25 #include "absl/log/log_sink_registry.h" 26 #include "absl/log/scoped_mock_log.h" 43 // Tests for global log sink registration. 50 EXPECT_CALL(test_sink, Log(_, _, "hello world")).Times(0); in TEST() 51 EXPECT_CALL(test_sink, Log(absl::LogSeverity::kInfo, __FILE__, "Test : 42")); in TEST() [all …]
|
| /external/webrtc/third_party/abseil-cpp/absl/log/ |
| D | scoped_mock_log_test.cc | 16 #include "absl/log/scoped_mock_log.h" 26 #include "absl/log/globals.h" 27 #include "absl/log/internal/test_helpers.h" 28 #include "absl/log/internal/test_matchers.h" 29 #include "absl/log/log.h" 59 absl::ScopedMockLog log; in TEST() 60 log.StartCapturingLogs(); in TEST() 61 log.StartCapturingLogs(); in TEST() 69 absl::ScopedMockLog log; in TEST() 70 log.StopCapturingLogs(); in TEST() [all …]
|
| D | log_sink_test.cc | 16 #include "absl/log/log_sink.h" 22 #include "absl/log/internal/test_actions.h" 23 #include "absl/log/internal/test_helpers.h" 24 #include "absl/log/internal/test_matchers.h" 25 #include "absl/log/log.h" 26 #include "absl/log/log_sink_registry.h" 27 #include "absl/log/scoped_mock_log.h" 44 // Tests for global log sink registration. 51 EXPECT_CALL(test_sink, Log(_, _, "hello world")).Times(0); in TEST() 52 EXPECT_CALL(test_sink, Log(absl::LogSeverity::kInfo, __FILE__, "Test : 42")); in TEST() [all …]
|
| /external/XNNPACK/src/math/ |
| D | expm1.sollya | 9 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 …]
|
| D | exp.sollya | 9 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); 14 lb = round(-log(2)/2, single, RN); 15 ub = round(log(2)/2, single, RN); 16 print("-log(2)/2 = ", lb); 17 print("+log(2)/2 =", ub); 19 print("Degree-5 P[exp(x)] with 1 constraint on [-log(2)/2, log(2)/2] =", horner(P)); 22 lb = round(-log(2)/2, single, RN); [all …]
|
| /external/rust/crates/libz-sys/src/zlib/examples/ |
| D | gzlog.c | 30 Files (log name "foo"): 31 foo.gz -- gzip file with the complete log 36 foo.repairs -- log file for log file recovery operations (not compressed) 83 gain exclusive access to the log files, first a foo.lock file must be 223 - Log the repair with a date stamp in foo.repairs 287 /* internal structure for log information */ 289 struct log { struct 292 char *path; /* allocated path, e.g. "/var/log/foo" or "foo" */ argument 348 local int log_lock(struct log *log) in log_lock() argument 353 strcpy(log->end, ".lock"); in log_lock() [all …]
|
| /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
| D | ShadowLogTest.java | 10 import android.util.Log; 25 Log.d("tag", "msg"); in d_shouldLogAppropriately() 27 assertLogged(Log.DEBUG, "tag", "msg", null); in d_shouldLogAppropriately() 34 Log.d("tag", "msg", throwable); in d_shouldLogAppropriately_withThrowable() 36 assertLogged(Log.DEBUG, "tag", "msg", throwable); in d_shouldLogAppropriately_withThrowable() 41 Log.e("tag", "msg"); in e_shouldLogAppropriately() 43 assertLogged(Log.ERROR, "tag", "msg", null); in e_shouldLogAppropriately() 50 Log.e("tag", "msg", throwable); in e_shouldLogAppropriately_withThrowable() 52 assertLogged(Log.ERROR, "tag", "msg", throwable); in e_shouldLogAppropriately_withThrowable() 57 Log.i("tag", "msg"); in i_shouldLogAppropriately() [all …]
|
| /external/libnl/lib/netfilter/ |
| D | log_obj.c | 11 #include <netlink/netfilter/log.h> 25 struct nfnl_log *log = (struct nfnl_log *) a; in nfnl_log_dump() local 30 if (log->ce_mask & LOG_ATTR_GROUP) in nfnl_log_dump() 31 nl_dump(p, "group=%u ", log->log_group); in nfnl_log_dump() 33 if (log->ce_mask & LOG_ATTR_COPY_MODE) in nfnl_log_dump() 35 nfnl_log_copy_mode2str(log->log_copy_mode, in nfnl_log_dump() 38 if (log->ce_mask & LOG_ATTR_COPY_RANGE) in nfnl_log_dump() 39 nl_dump(p, "copy_range=%u ", log->log_copy_range); in nfnl_log_dump() 41 if (log->ce_mask & LOG_ATTR_FLUSH_TIMEOUT) in nfnl_log_dump() 42 nl_dump(p, "flush_timeout=%u ", log->log_flush_timeout); in nfnl_log_dump() [all …]
|
| /external/slf4j/slf4j-jcl/src/main/java/org/slf4j/impl/ |
| D | JCLLoggerAdapter.java | 28 import org.apache.commons.logging.Log; 35 * A wrapper over {@link org.apache.commons.logging.Log 36 * org.apache.commons.logging.Log} in conformance with the {@link Logger} 44 final Log log; field in JCLLoggerAdapter 48 JCLLoggerAdapter(Log log, String name) { in JCLLoggerAdapter() argument 49 this.log = log; in JCLLoggerAdapter() 54 * Delegates to the {@link Log#isTraceEnabled} method of the underlying 55 * {@link Log} instance. 58 return log.isTraceEnabled(); in isTraceEnabled() 64 * Delegates to the {@link Log#trace(java.lang.Object)} method of the underlying [all …]
|
| /external/deqp/framework/qphelper/ |
| D | qpTestLog.c | 260 static void qpTestLog_flushFile (qpTestLog* log) in qpTestLog_flushFile() argument 262 DE_ASSERT(log && log->outputFile); in qpTestLog_flushFile() 263 fflush(log->outputFile); in qpTestLog_flushFile() 266 FlushFileBuffers((HANDLE)_get_osfhandle(_fileno(log->outputFile))); in qpTestLog_flushFile() 302 static deBool endSession (qpTestLog* log) in endSession() argument 304 DE_ASSERT(log && log->isSessionOpen); in endSession() 307 qpXmlWriter_flush(log->writer); in endSession() 310 fprintf(log->outputFile, "\n#endSession\n"); in endSession() 311 qpTestLog_flushFile(log); in endSession() 313 log->isSessionOpen = DE_FALSE; in endSession() [all …]
|
| /external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/internal/logging/ |
| D | LogUtil.java | 19 import android.util.Log; 35 int level = Log.ASSERT; in getLogPriority() 36 while (level > Log.VERBOSE) { in getLogPriority() 37 if (!Log.isLoggable(TAG, level - 1)) { in getLogPriority() 47 if (Log.isLoggable(TAG, Log.VERBOSE)) { in v() 48 return Log.v(TAG, msg); in v() 56 if (Log.isLoggable(TAG, Log.VERBOSE)) { in v() 58 return Log.v(TAG, msg); in v() 66 if (Log.isLoggable(TAG, Log.VERBOSE)) { in v() 68 return Log.v(TAG, msg); in v() [all …]
|
| /external/robolectric/robolectric/src/test/java/org/robolectric/shadows/ |
| D | ShadowLogTest.java | 11 import android.util.Log; 26 Log.d("tag", "msg"); in d_shouldLogAppropriately() 28 assertLogged(Log.DEBUG, "tag", "msg", null); in d_shouldLogAppropriately() 35 Log.d("tag", "msg", throwable); in d_shouldLogAppropriately_withThrowable() 37 assertLogged(Log.DEBUG, "tag", "msg", throwable); in d_shouldLogAppropriately_withThrowable() 42 Log.e("tag", "msg"); in e_shouldLogAppropriately() 44 assertLogged(Log.ERROR, "tag", "msg", null); in e_shouldLogAppropriately() 51 Log.e("tag", "msg", throwable); in e_shouldLogAppropriately_withThrowable() 53 assertLogged(Log.ERROR, "tag", "msg", throwable); in e_shouldLogAppropriately_withThrowable() 58 Log.i("tag", "msg"); in i_shouldLogAppropriately() [all …]
|
| /external/e2fsprogs/tests/scripts/ |
| D | resize_test | 8 if ! truncate -s $size $1 >> $LOG 2>&1 ; then 9 dd if=/dev/zero of=$1 bs=1 count=0 seek=$size >> $LOG 2>&1 16 echo $test_description starting > $LOG 23 echo "using $TMPFILE" >> $LOG 28 echo "using $TMPFILE" >> $LOG 29 if ! do_truncate -s $SIZE_2 $TMPFILE >> $LOG 2>&1; then 36 echo $MKE2FS $FEATURES -qF $TMPFILE $SIZE_1 >> $LOG 37 $MKE2FS $FEATURES -qF $TMPFILE $SIZE_1 >> $LOG 43 echo $CRCSUM $OUT_TMP >> $LOG 2>&1 45 echo Checksum is $CSUM_1 >> $LOG [all …]
|
| /external/iptables/extensions/ |
| D | libipt_LOG.t | 2 -j LOG;-j LOG;OK 3 -j LOG --log-prefix "test: ";=;OK 4 -j LOG --log-prefix "test: " --log-level 1;=;OK 5 # iptables displays the log-level output using the number; not the string 6 -j LOG --log-prefix "test: " --log-level alert;-j LOG --log-prefix "test: " --log-level 1;OK 7 -j LOG --log-prefix "test: " --log-tcp-sequence;=;OK 8 -j LOG --log-prefix "test: " --log-tcp-options;=;OK 9 -j LOG --log-prefix "test: " --log-ip-options;=;OK 10 -j LOG --log-prefix "test: " --log-uid;=;OK 11 -j LOG --log-prefix "test: " --log-level bad;;FAIL [all …]
|
| D | libip6t_LOG.t | 2 -j LOG;-j LOG;OK 3 -j LOG --log-prefix "test: ";=;OK 4 -j LOG --log-prefix "test: " --log-level 1;=;OK 5 # iptables displays the log-level output using the number; not the string 6 -j LOG --log-prefix "test: " --log-level alert;-j LOG --log-prefix "test: " --log-level 1;OK 7 -j LOG --log-prefix "test: " --log-tcp-sequence;=;OK 8 -j LOG --log-prefix "test: " --log-tcp-options;=;OK 9 -j LOG --log-prefix "test: " --log-ip-options;=;OK 10 -j LOG --log-prefix "test: " --log-uid;=;OK 11 -j LOG --log-prefix "test: " --log-level bad;;FAIL [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 …]
|
| /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 …]
|
| /external/slf4j/jcl-over-slf4j/src/main/java/org/apache/commons/logging/ |
| D | Log.java | 23 * parameter representing the "name" of this Log.</p> 25 * <p> The six logging levels used by <code>Log</code> are (in order): 34 * The mapping of these log levels to the concepts used by the underlying 46 * if (log.isDebugEnabled()) { 48 * log.debug(theResult); 61 * @version $Id: Log.java,v 1.19 2004/06/06 21:16:04 rdonkin Exp $ 63 public interface Log { interface 72 * when the log level is more than debug. </p> 81 * when the log level is more than error. </p> 90 * when the log level is more than fatal. </p> [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/cronet/components/metrics/ |
| D | metrics_service_observer.cc | 20 MetricsServiceObserver::Log::Event CreateEventStruct( in CreateEventStruct() 23 MetricsServiceObserver::Log::Event event_struct; in CreateEventStruct() 68 return "Reason: Periodic log creation"; in CreateReasonToString() 78 return "Reason: Alternate ongoing log store set"; in CreateReasonToString() 80 return "Reason: Alternate ongoing log store unset"; in CreateReasonToString() 84 // TODO(crbug/1363747): Give more insight here (e.g. "independent log in CreateReasonToString() 86 return "Reason: Independent log"; in CreateReasonToString() 95 MetricsServiceObserver::Log::Log() = default; 96 MetricsServiceObserver::Log::Log(const Log&) = default; 97 MetricsServiceObserver::Log& MetricsServiceObserver::Log::operator=( [all …]
|
| /external/libchrome/base/android/java/src/org/chromium/base/ |
| D | Log.java | 16 * {@link android.util.Log}, allowing to standardize the output, to make it easy to identify 23 public class Log { class 24 /** Convenience property, same as {@link android.util.Log#ASSERT}. */ 25 public static final int ASSERT = android.util.Log.ASSERT; 27 /** Convenience property, same as {@link android.util.Log#DEBUG}. */ 28 public static final int DEBUG = android.util.Log.DEBUG; 30 /** Convenience property, same as {@link android.util.Log#ERROR}. */ 31 public static final int ERROR = android.util.Log.ERROR; 33 /** Convenience property, same as {@link android.util.Log#INFO}. */ 34 public static final int INFO = android.util.Log.INFO; [all …]
|
| /external/apache-http/src/org/apache/commons/logging/ |
| D | Log.java | 24 * parameter representing the "name" of this Log.</p> 26 * <p> The six logging levels used by <code>Log</code> are (in order): 35 * The mapping of these log levels to the concepts used by the underlying 47 * if (log.isDebugEnabled()) { 49 * log.debug(theResult); 60 * @version $Id: Log.java 381838 2006-02-28 23:57:11Z skitching $ 67 public interface Log { interface 78 * when the log level is more than debug. </p> 90 * when the log level is more than error. </p> 102 * when the log level is more than fatal. </p> [all …]
|