Home
last modified time | relevance | path

Searched refs:LogWriter (Results 1 – 25 of 36) sorted by relevance

12

/external/llvm-project/compiler-rt/lib/xray/
Dxray_utils.cpp44 LogWriter::~LogWriter() { in ~LogWriter()
48 void LogWriter::WriteAll(const char *Begin, const char *End) XRAY_NEVER_INSTRUMENT { in WriteAll()
78 void LogWriter::Flush() XRAY_NEVER_INSTRUMENT { in Flush()
82 LogWriter *LogWriter::Open() XRAY_NEVER_INSTRUMENT { in Open()
125 LogWriter *LW = reinterpret_cast<LogWriter *>(InternalAlloc(sizeof(LogWriter))); in Open()
126 new (LW) LogWriter(Vmo); in Open()
130 void LogWriter::Close(LogWriter *LW) { in Close()
131 LW->~LogWriter(); in Close()
135 LogWriter::~LogWriter() {
139 void LogWriter::WriteAll(const char *Begin, const char *End) XRAY_NEVER_INSTRUMENT {
[all …]
Dxray_utils.h29 class LogWriter {
32 LogWriter(zx_handle_t Vmo) : Vmo(Vmo) {} in LogWriter() function
34 explicit LogWriter(int Fd) : Fd(Fd) {}
36 ~LogWriter();
44 static LogWriter *Open();
46 static void Close(LogWriter *LogWriter);
Dxray_basic_logging.cpp64 __xray::LogWriter *LogWriter = nullptr; member
87 static LogWriter *getLog() XRAY_NEVER_INSTRUMENT { in getLog()
88 LogWriter* LW = LogWriter::Open(); in getLog()
117 static LogWriter *getGlobalLog() XRAY_NEVER_INSTRUMENT { in getGlobalLog()
119 static LogWriter *LW = nullptr; in getGlobalLog()
133 TLD.LogWriter = getGlobalLog(); in getThreadLocalData()
161 LogWriter *LW = getGlobalLog(); in InMemoryRawLog()
261 LogWriter *LW = getGlobalLog(); in InMemoryRawLogWithArg()
351 if (TLD.LogWriter == nullptr || TLD.BufferOffset == 0) { in TLDDestructor()
360 TLD.LogWriter->WriteAll(reinterpret_cast<char *>(TLD.InMemoryBuffer), in TLDDestructor()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/
DDebuggeeWrapper.java40 protected LogWriter logWriter;
48 public DebuggeeWrapper(TestOptions settings, LogWriter logWriter) { in DebuggeeWrapper()
87 public LogWriter getLogWriter() { in getLogWriter()
DLogWriter.java31 public abstract class LogWriter { class
40 public LogWriter(String prefix) { in LogWriter() method in LogWriter
DStreamRedirector.java39 LogWriter logWriter;
50 public StreamRedirector(InputStream is, LogWriter logWriter, String name) { in StreamRedirector()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
DMonitorContendedEnterAndEnteredDebuggee.java21 import org.apache.harmony.jpda.tests.framework.LogWriter;
63 private LogWriter logWriter;
65 public BlockedThread(LogWriter writer, String name){ in BlockedThread()
DClass2Prepare.java28 import org.apache.harmony.jpda.tests.framework.LogWriter;
35 public Class2Prepare(LogWriter logWriter) { in Class2Prepare()
DClassUnloadDebuggee.java32 import org.apache.harmony.jpda.tests.framework.LogWriter;
162 private LogWriter logWriter;
164 public CustomLoader(LogWriter writer) { in CustomLoader()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
DOwnedMonitorsDebuggee.java29 import org.apache.harmony.jpda.tests.framework.LogWriter;
68 LogWriter logWriter;
71 public DebuggeeThread(String name, LogWriter logWriter, in DebuggeeThread()
DOwnedMonitorsStackDepthInfoDebuggee.java22 import org.apache.harmony.jpda.tests.framework.LogWriter;
62 LogWriter logWriter;
65 public DebuggeeThread(String name, LogWriter logWriter, in DebuggeeThread()
DStatusDebuggee.java29 import org.apache.harmony.jpda.tests.framework.LogWriter;
66 LogWriter logWriter;
69 public DebuggeeThread(String name, LogWriter logWriter, in DebuggeeThread()
DCurrentContendedMonitorDebuggee.java29 import org.apache.harmony.jpda.tests.framework.LogWriter;
79 LogWriter logWriter;
83 public DebuggeeThread(String name, LogWriter logWriter, in DebuggeeThread()
DInterruptDebuggee.java29 import org.apache.harmony.jpda.tests.framework.LogWriter;
70 LogWriter logWriter;
73 public DebuggeeThread(String name, LogWriter logWriter, in DebuggeeThread()
DThreadGroupDebuggee.java29 import org.apache.harmony.jpda.tests.framework.LogWriter;
99 LogWriter logWriter;
103 LogWriter logWriter, DebuggeeSynchronizer synchronizer) { in DebuggeeThread()
DStopDebuggee.java29 import org.apache.harmony.jpda.tests.framework.LogWriter;
99 LogWriter logWriter;
102 public DebuggeeThread(String name, LogWriter logWriter, in DebuggeeThread()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DJDWPDebuggeeWrapper.java29 import org.apache.harmony.jpda.tests.framework.LogWriter;
50 public JDWPDebuggeeWrapper(TestOptions settings, LogWriter logWriter) { in JDWPDebuggeeWrapper()
75 protected VmMirror createVmMirror(TestOptions settings, LogWriter logWriter) { in createVmMirror()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/
DHoldEventsDebuggee.java29 import org.apache.harmony.jpda.tests.framework.LogWriter;
72 LogWriter logWriter;
75 public DebuggeeThread(String name, LogWriter logWriter, in DebuggeeThread()
DReleaseEventsDebuggee.java29 import org.apache.harmony.jpda.tests.framework.LogWriter;
72 LogWriter logWriter;
75 public DebuggeeThread(String name, LogWriter logWriter, in DebuggeeThread()
DAllThreadsDebuggee.java29 import org.apache.harmony.jpda.tests.framework.LogWriter;
89 LogWriter logWriter;
92 public DebuggeeThread(String name, LogWriter logWriter, in DebuggeeThread()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadGroupReference/
DNameDebuggee.java29 import org.apache.harmony.jpda.tests.framework.LogWriter;
78 LogWriter logWriter;
82 LogWriter logWriter, DebuggeeSynchronizer synchronizer) { in DebuggeeThread()
DChildrenDebuggee.java29 import org.apache.harmony.jpda.tests.framework.LogWriter;
79 LogWriter logWriter;
83 LogWriter logWriter, DebuggeeSynchronizer synchronizer) { in DebuggeeThread()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/share/
DDebuggee.java28 import org.apache.harmony.jpda.tests.framework.LogWriter;
39 public LogWriter logWriter;
DJPDADebuggeeSynchronizer.java39 import org.apache.harmony.jpda.tests.framework.LogWriter;
63 protected LogWriter logWriter;
74 public JPDADebuggeeSynchronizer(LogWriter logWriter, TestOptions settings) { in JPDADebuggeeSynchronizer()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/
DJDWPManualDebuggeeWrapper.java32 import org.apache.harmony.jpda.tests.framework.LogWriter;
53 LogWriter logWriter) { in JDWPManualDebuggeeWrapper()

12