Home
last modified time | relevance | path

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

123

/libcore/ojluni/src/test/java/text/testlib/
DIntlTest.java77 log = new PrintWriter(System.out, true); in run()
130 e.getTargetException().printStackTrace(this.log); in run()
158 protected void log(String message) { in log() method in IntlTest
174 log.print(message); in logImpl()
177 log.println(); in logImpl()
193 log.print(message); in errImpl()
195 log.println(); in errImpl()
197 log.flush(); in errImpl()
210 log.print(testName); in writeTestName()
211 log.flush(); in writeTestName()
[all …]
/libcore/support/src/test/java/tests/support/
DSupport_TestWebServer.java118 protected void log(String s) { in log() method in Support_TestWebServer
176 log("Server will redirect output to "+redirect+" code "+code); in setRedirect()
202 log("Closing AcceptThread"+acceptT); in close()
232 log(e.getMessage()); in run()
234 log(e.getMessage()); in run()
237 log("AcceptThread terminated" + this); in run()
253 log("IOException caught by server socket close"); in close()
339 log("Exception during handleClient in the TestWebServer: " + e.getMessage()); in run()
341 log(this+" terminated"); in run()
364 log("Reading one line: started ="+readStarted+" avail="+is.available()); in readOneLine()
[all …]
/libcore/luni/src/test/java/libcore/java/util/beans/
DPropertyChangeSupportTest.java43 assertEquals(Arrays.<PropertyChangeEvent>asList(nullToNull), listener.log); in testOldAndNewAreBothNull()
54 assertEquals(Arrays.<PropertyChangeEvent>asList(), listener.log); in testOldAndNewAreTheSame()
94 assertEquals(Arrays.asList(eventA, eventB, eventC), all.log); in testEventsFilteredByProxies()
95 assertEquals(Arrays.asList(eventA), proxiedA.log); in testEventsFilteredByProxies()
96 assertEquals(Arrays.asList(eventA), addA.log); in testEventsFilteredByProxies()
97 assertEquals(Arrays.asList(eventA), addAProxiedB.log); in testEventsFilteredByProxies()
98 assertEquals(Arrays.asList(eventA), proxiedAB.log); in testEventsFilteredByProxies()
99 assertEquals(Arrays.asList(eventA), proxiedAA.log); in testEventsFilteredByProxies()
100 assertEquals(Arrays.asList(eventA), proxiedAAC.log); in testEventsFilteredByProxies()
160 EventLog log = new EventLog(); in testAddingOneListenerTwice() local
[all …]
/libcore/ojluni/src/main/java/java/util/logging/
DLoggingProxyImpl.java60 public void log(Object logger, Object level, String msg) { in log() method in LoggingProxyImpl
61 ((Logger) logger).log((Level) level, msg); in log()
65 public void log(Object logger, Object level, String msg, Throwable t) { in log() method in LoggingProxyImpl
66 ((Logger) logger).log((Level) level, msg, t); in log()
70 public void log(Object logger, Object level, String msg, Object... params) { in log() method in LoggingProxyImpl
71 ((Logger) logger).log((Level) level, msg, params); in log()
DLogger.java719 public void log(LogRecord record) { in log() method in Logger
765 log(lr); in doLog()
783 public void log(Level level, String msg) { in log() method in Logger
805 public void log(Level level, Supplier<String> msgSupplier) { in log() method in Logger
824 public void log(Level level, String msg, Object param1) { in log() method in Logger
845 public void log(Level level, String msg, Object params[]) { in log() method in Logger
870 public void log(Level level, String msg, Throwable thrown) { in log() method in Logger
898 public void log(Level level, Throwable thrown, Supplier<String> msgSupplier) { in log() method in Logger
1093 log(lr); in doLog()
1103 log(lr); in doLog()
[all …]
/libcore/tools/go/certutil/
Dcertutil.go44 log.Fatal(err)
52 log.Fatal(err)
56 log.Fatal(err)
90 log.Fatal("Not a CA: " + e.name())
106 log.Fatal(err)
137 log.Fatal(err)
144 log.Fatal(err)
/libcore/luni/src/test/resources/
Dmath_tests.csv1293 log,0x1.d77fd13d27fffp-11,0x1.003af6c37c1d3p0
1294 log,0x1.411efd297c781p-6,0x1.05112792934b3p0
1295 log,0x1.d4840664446fcp-6,0x1.076d1d8c75ea6p0
1296 log,0x1.f6e4c3ced7c72p-3,0x1.47408cb9583cep0
1297 log,0x1.1a0408712e00ap-2,0x1.512b3126454f3p0
1298 log,0x1.8b52c15ea9c24p-2,0x1.789e95b11578cp0
1299 log,0x1.d707029bb59d9p-2,0x1.958497f7b353fp0
1300 log,0x1.0727af5fee8f6p-1,0x1.ac032a8d2ec23p0
1301 log,0x1.12fcce02efb32p-1,0x1.b604e1942098dp0
1302 log,0x1.178e6d3ecaceap-1,0x1.b9f1fa4587967p0
[all …]
Dmath_important_numbers.csv313 log,0x1.0p0,0x1.5bf0a8b145769p1,2.718281828459045
314 log,0x0.0p0,0x1.0p0,1.0
315 log,-0x1.62e42fefa39efp-1,0x1.0p-1,0.5
316 log,-0x1.5715d30bf9b3dp0,0x1.0c152382d7365p-2,0.2617993877991494
317 log,-0x1.4b4776284fc8bp-1,0x1.0c152382d7365p-1,0.5235987755982988
318 log,-0x1.eeb95b094c193p-3,0x1.921fb54442d18p-1,0.7853981633974483
319 log,0x1.79cb9c753d63fp-5,0x1.0c152382d7365p0,1.0471975511965976
320 log,0x1.13b931cb7c7dbp-2,0x1.4f1a6c638d03fp0,1.3089969389957472
321 log,0x1.ce6bb25aa1315p-2,0x1.921fb54442d18p0,1.5707963267948966
322 log,0x1.3622afae57e34p-1,0x1.d524fe24f89f1p0,1.832595714594046
[all …]
/libcore/ojluni/src/main/java/sun/util/logging/
DLoggingSupport.java118 public static void log(Object logger, Object level, String msg) { in log() method in LoggingSupport
120 proxy.log(logger, level, msg); in log()
123 public static void log(Object logger, Object level, String msg, Throwable t) { in log() method in LoggingSupport
125 proxy.log(logger, level, msg, t); in log()
128 public static void log(Object logger, Object level, String msg, Object... params) { in log() method in LoggingSupport
130 proxy.log(logger, level, msg, params); in log()
DLoggingProxy.java44 public void log(Object logger, Object level, String msg); in log() method
46 public void log(Object logger, Object level, String msg, Throwable t); in log() method
48 public void log(Object logger, Object level, String msg, Object... params); in log() method
DPlatformLogger.java194 PlatformLogger log = null; in getLogger() local
197 log = ref.get(); in getLogger()
199 if (log == null) { in getLogger()
200 log = new PlatformLogger(name); in getLogger()
201 loggers.put(name, new WeakReference<>(log)); in getLogger()
203 return log; in getLogger()
616 LoggingSupport.log(javaLogger, level.javaLevel, msg); in doLog()
620 LoggingSupport.log(javaLogger, level.javaLevel, msg, t); in doLog()
634 LoggingSupport.log(javaLogger, level.javaLevel, msg, sparams); in doLog()
/libcore/ojluni/src/main/java/javax/net/ssl/
DSSLServerSocketFactory.java60 private static void log(String msg) { in log() method in SSLServerSocketFactory
110 log("setting up default SSLServerSocketFactory"); in getDefault()
127 log("class " + clsName + " is loaded"); in getDefault()
129 log("instantiated an instance of class " + clsName); in getDefault()
133 log("SSLServerSocketFactory instantiation failed: " + e); in getDefault()
DSSLSocketFactory.java69 private static void log(String msg) { in log() method in SSLSocketFactory
120 log("setting up default SSLSocketFactory"); in getDefault()
137 log("class " + clsName + " is loaded"); in getDefault()
139 log("instantiated an instance of class " + clsName); in getDefault()
143 log("SSLSocketFactory instantiation failed: " + e.toString()); in getDefault()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
DHttpsURLConnectionTest.java855 log("Authentication required. Sending response: " + response); in dispatch()
859 private void log(String msg) { in log() method in HttpsURLConnectionTest.ProxyConnectAuthFailDispatcher
860 HttpsURLConnectionTest.log("ProxyConnectAuthFailDispatcher", msg); in log()
881 log("Got authenticated request:\n" + request); in dispatch()
882 log("------------------"); in dispatch()
886 log("Send proxy response"); in dispatch()
898 private void log(String msg) { in log() method in HttpsURLConnectionTest.ProxyConnectDispatcher
899 HttpsURLConnectionTest.log("ProxyConnectDispatcher", msg); in log()
925 log("Request received: " + request); in dispatch()
936 log("Responding with: " + response); in dispatch()
[all …]
/libcore/support/src/test/java/tests/resources/manifest/
Dhyts_MANIFEST.MF5 Import-Package: com.ibm.ive.eccomm.client.services.log,
11 org.osgi.service.log; specification-version=1.0.0,
16 Import-Service: org.osgi.service.log.LogReaderService
17 org.osgi.service.log.LogService,
/libcore/ojluni/src/test/java/text/Format/MessageFormat/
DMessageRegression.java217 log("Compares to null is always false, returned : "); in Test4104976()
328 log(" parsedObjects: "); in Test4116444()
330 log("{"); in Test4116444()
335 log("null"); in Test4116444()
336 if (j < array.length - 1) log(","); in Test4116444()
338 log("}") ; in Test4116444()
340 log("null"); in Test4116444()
362 log("format(null) : "); in Test4114739()
364 log("format({}) : "); in Test4114739()
366 log("format({null}) :"); in Test4114739()
[all …]
/libcore/luni/src/test/java/libcore/java/util/logging/
DOldLogManagerTest.java95 Logger log = new MockLogger(FOO, null); in testGetLogger() local
98 assertTrue("logger wasn't registered successfully", mockManager.addLogger(log)); in testGetLogger()
100 assertSame("two loggers not refer to the same object", foo, log); in testGetLogger()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLEngineTest.java1113 log("CipherSuites: " + Arrays.toString(engine.getEnabledCipherSuites()));
1114 log(status);
1124 private void log(Object o) {
1133 log("read: " + read);
1145 log(status);
1149 log(status);
1158 log(status);
1165 log(result);
1170 log(status);
1179 log(result);
[all …]
/libcore/ojluni/annotations/hiddenapi/java/util/logging/
DLogger.java112 public void log(java.util.logging.LogRecord record) { in log() method in Logger
120 public void log(java.util.logging.Level level, java.lang.String msg) { in log() method in Logger
124 public void log( in log() method in Logger
130 public void log(java.util.logging.Level level, java.lang.String msg, java.lang.Object param1) { in log() method in Logger
134 public void log( in log() method in Logger
139 public void log( in log() method in Logger
144 public void log( in log() method in Logger
/libcore/ojluni/annotations/sdk/nullability/java/util/logging/
DLogger.annotated.java58 public void log(@libcore.util.NonNull java.util.logging.LogRecord record) { throw new RuntimeExcept… in log() method in Logger
60 public void log(@libcore.util.NonNull java.util.logging.Level level, @libcore.util.Nullable java.la… in log() method in Logger
62 public void log(@libcore.util.NonNull java.util.logging.Level level, @libcore.util.NonNull java.uti… in log() method in Logger
64 public void log(@libcore.util.NonNull java.util.logging.Level level, @libcore.util.Nullable java.la… in log() method in Logger
66 public void log(@libcore.util.NonNull java.util.logging.Level level, @libcore.util.Nullable java.la… in log() method in Logger
68 public void log(@libcore.util.NonNull java.util.logging.Level level, @libcore.util.Nullable java.la… in log() method in Logger
70 public void log(@libcore.util.NonNull java.util.logging.Level level, @libcore.util.Nullable java.la… in log() method in Logger
/libcore/ojluni/src/test/java/lang/Math/
DLog1pTests.java57 return (u == 1.0 ? x : StrictMath.log(u) * x / (u - 1)); in hp15cLogp()
109 testLog1pCaseWithUlpDiff(d, StrictMath.log(d), 2.001); in testLog1p()
DLog10Tests.java42 static final double LN_10 = StrictMath.log(10.0);
103 double expected = StrictMath.log(input) / LN_10; in testLog10()
/libcore/ojluni/annotations/hiddenapi/javax/net/ssl/
DSSLServerSocketFactory.java39 private static void log(java.lang.String msg) { in log() method in SSLServerSocketFactory
/libcore/ojluni/src/main/native/
DMath.c66 return log(d); in Math_log()
158 FAST_NATIVE_METHOD(Math, log, "(D)D"),
/libcore/ojluni/src/main/java/java/lang/
DSystem.java1837 log('E', message, null); in logE()
1844 log('E', message, th); in logE()
1851 log('I', message, null); in logI()
1858 log('I', message, th); in logI()
1865 log('W', message, null); in logW()
1872 log('W', message, th); in logW()
1875 private static native void log(char type, String message, Throwable th); in log() method in System

123