Searched refs:ThreadContext (Results 1 - 25 of 27) sorted by relevance

12

/external/compiler-rt/lib/lsan/
H A Dlsan_thread.h26 class ThreadContext : public ThreadContextBase { class in namespace:__lsan
28 explicit ThreadContext(int tid);
56 ThreadContext *CurrentThreadContext();
H A Dlsan_thread.cc31 void *mem = MmapOrDie(sizeof(ThreadContext), "ThreadContext");
32 return new(mem) ThreadContext(tid);
52 ThreadContext::ThreadContext(int tid) function in class:__lsan::ThreadContext
69 void ThreadContext::OnStarted(void *arg) {
80 void ThreadContext::OnFinished() {
107 ThreadContext *CurrentThreadContext() {
112 return (ThreadContext *)thread_registry->GetThreadLocked(GetCurrentThread());
142 ThreadContext *contex
[all...]
H A Dlsan.h22 ThreadContext *t; \
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
H A DRubyEnum.java39 import org.jruby.runtime.ThreadContext;
51 public static IRubyObject lookup(ThreadContext context, IRubyObject recv, IRubyObject number) {
67 public static IRubyObject resolve(ThreadContext context, IRubyObject recv, IRubyObject name) {
83 public static IRubyObject getDescriptor(ThreadContext context, IRubyObject recv) {
H A DRubyFieldDescriptor.java41 import org.jruby.runtime.ThreadContext;
69 public IRubyObject initialize(ThreadContext context) {
81 public IRubyObject getLabel(ThreadContext context) {
93 public IRubyObject setLabel(ThreadContext context, IRubyObject value) {
108 public IRubyObject getName(ThreadContext context) {
120 public IRubyObject setName(ThreadContext context, IRubyObject value) {
129 public IRubyObject getSubType(ThreadContext context) {
144 public IRubyObject getType(ThreadContext context) {
156 public IRubyObject setType(ThreadContext context, IRubyObject value) {
169 public IRubyObject getnumber(ThreadContext contex
[all...]
H A DRubyOneofDescriptor.java13 import org.jruby.runtime.ThreadContext;
38 public IRubyObject initialize(ThreadContext context) {
51 public IRubyObject getName(ThreadContext context) {
63 public IRubyObject setName(ThreadContext context, IRubyObject name) {
84 public IRubyObject addField(ThreadContext context, IRubyObject obj) {
98 public IRubyObject each(ThreadContext context, Block block) {
H A DRubyEnumDescriptor.java46 import org.jruby.runtime.ThreadContext;
76 public IRubyObject initialize(ThreadContext context) {
88 public IRubyObject getName(ThreadContext context) {
100 public IRubyObject setName(ThreadContext context, IRubyObject name) {
115 public IRubyObject addValue(ThreadContext context, IRubyObject name, IRubyObject number) {
131 public IRubyObject each(ThreadContext context, Block block) {
148 public IRubyObject enummodule(ThreadContext context) {
167 private RubyModule buildModuleFromDescriptor(ThreadContext context) {
H A DRubyProtobuf.java39 import org.jruby.runtime.ThreadContext;
59 public static IRubyObject deepCopy(ThreadContext context, IRubyObject self, IRubyObject message) {
H A DRubyDescriptor.java42 import org.jruby.runtime.ThreadContext;
77 public IRubyObject initialize(ThreadContext context) {
92 public IRubyObject getName(ThreadContext context) {
104 public IRubyObject setName(ThreadContext context, IRubyObject name) {
120 public IRubyObject addField(ThreadContext context, IRubyObject obj) {
135 public IRubyObject lookup(ThreadContext context, IRubyObject fieldName) {
147 public IRubyObject msgclass(ThreadContext context) {
161 public IRubyObject each(ThreadContext context, Block block) {
180 public IRubyObject addOneof(ThreadContext context, IRubyObject obj) {
198 public IRubyObject eachOneof(ThreadContext contex
[all...]
H A DRubyEnumBuilderContext.java42 import org.jruby.runtime.ThreadContext;
63 public IRubyObject initialize(ThreadContext context, IRubyObject enumDescriptor) {
76 public IRubyObject value(ThreadContext context, IRubyObject name, IRubyObject number) {
H A DRubyMap.java44 import org.jruby.runtime.ThreadContext;
105 public IRubyObject initialize(ThreadContext context, IRubyObject[] args) {
150 public IRubyObject indexSet(ThreadContext context, IRubyObject key, IRubyObject value) {
171 public IRubyObject index(ThreadContext context, IRubyObject key) {
191 public IRubyObject eq(ThreadContext context, IRubyObject _other) {
227 public IRubyObject hash(ThreadContext context) {
247 public IRubyObject keys(ThreadContext context) {
258 public IRubyObject values(ThreadContext context) {
269 public IRubyObject clear(ThreadContext context) {
283 public IRubyObject each(ThreadContext contex
[all...]
H A DRubyRepeatedField.java41 import org.jruby.runtime.ThreadContext;
72 public IRubyObject initialize(ThreadContext context, IRubyObject[] args) {
111 public IRubyObject indexSet(ThreadContext context, IRubyObject index, IRubyObject value) {
129 public IRubyObject index(ThreadContext context, IRubyObject[] args) {
166 public IRubyObject push(ThreadContext context, IRubyObject value) {
179 public IRubyObject pop_one(ThreadContext context) {
192 public IRubyObject replace(ThreadContext context, IRubyObject list) {
206 public IRubyObject clear(ThreadContext context) {
218 public IRubyObject length(ThreadContext context) {
231 public IRubyObject plus(ThreadContext contex
[all...]
H A DRubyOneofBuilderContext.java42 import org.jruby.runtime.ThreadContext;
64 public IRubyObject initialize(ThreadContext context, IRubyObject oneofdef) {
71 public IRubyObject optional(ThreadContext context, IRubyObject[] args) {
H A DRubyMessageBuilderContext.java42 import org.jruby.runtime.ThreadContext;
63 public IRubyObject initialize(ThreadContext context, IRubyObject descriptor, IRubyObject rubyBuilder) {
83 public IRubyObject optional(ThreadContext context, IRubyObject[] args) {
105 public IRubyObject required(ThreadContext context, IRubyObject[] args) {
122 public IRubyObject repeated(ThreadContext context, IRubyObject[] args) {
142 public IRubyObject map(ThreadContext context, IRubyObject[] args) {
192 public IRubyObject oneof(ThreadContext context, IRubyObject name, Block block) {
205 private void msgdefAddField(ThreadContext context, String label, IRubyObject name,
H A DUtils.java44 import org.jruby.runtime.ThreadContext;
54 public static IRubyObject fieldTypeToRuby(ThreadContext context, Descriptors.FieldDescriptor.Type type) {
58 public static IRubyObject fieldTypeToRuby(ThreadContext context, DescriptorProtos.FieldDescriptorProto.Type type) {
62 private static IRubyObject fieldTypeToRuby(ThreadContext context, String typeName) {
67 public static void checkType(ThreadContext context, Descriptors.FieldDescriptor.Type fieldType,
132 public static IRubyObject wrapPrimaryValue(ThreadContext context, Descriptors.FieldDescriptor.Type fieldType, Object value) {
204 public static void checkNameAvailability(ThreadContext context, String name) {
233 public static RubyFieldDescriptor msgdefCreateField(ThreadContext context, String label, IRubyObject name,
251 protected static void checkIntTypePrecision(ThreadContext context, Descriptors.FieldDescriptor.Type type, IRubyObject value) {
269 protected static void validateTypeClass(ThreadContext contex
[all...]
H A DRubyMessage.java40 import org.jruby.runtime.ThreadContext;
66 public IRubyObject initialize(final ThreadContext context, IRubyObject[] args) {
121 public IRubyObject indexSet(ThreadContext context, IRubyObject fieldName, IRubyObject value) {
134 public IRubyObject index(ThreadContext context, IRubyObject fieldName) {
166 public IRubyObject hash(ThreadContext context) {
181 public IRubyObject eq(ThreadContext context, IRubyObject other) {
215 public IRubyObject methodMissing(ThreadContext context, IRubyObject[] args) {
253 public IRubyObject dup(ThreadContext context) {
279 public static IRubyObject getDescriptor(ThreadContext context, IRubyObject recv) {
291 public static IRubyObject encode(ThreadContext contex
[all...]
H A DRubyDescriptorPool.java66 public IRubyObject initialize(ThreadContext context) {
74 public IRubyObject build(ThreadContext context, Block block) {
89 public IRubyObject lookup(ThreadContext context, IRubyObject name) {
107 public static IRubyObject generatedPool(ThreadContext context, IRubyObject recv) {
111 protected void addToSymtab(ThreadContext context, RubyDescriptor def) {
116 protected void addToSymtab(ThreadContext context, RubyEnumDescriptor def) {
121 private void buildFileDescriptor(ThreadContext context) {
H A DRubyBuilder.java71 public IRubyObject initialize(ThreadContext context) {
89 public IRubyObject addMessage(ThreadContext context, IRubyObject name, Block block) {
117 public IRubyObject addEnum(ThreadContext context, IRubyObject name, Block block) {
151 public IRubyObject finalizeToPool(ThreadContext context, IRubyObject rbPool) {
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_thread.cc23 // ThreadContext implementation.
25 ThreadContext::ThreadContext(int tid) function in class:__tsan::ThreadContext
34 ThreadContext::~ThreadContext() {
38 void ThreadContext::OnDead() {
42 void ThreadContext::OnJoined(void *arg) {
53 void ThreadContext::OnCreated(void *arg) {
69 void ThreadContext::OnReset() {
75 void ThreadContext
[all...]
H A Dtsan_rtl_report.cc188 void ScopedReport::AddThread(const ThreadContext *tctx, bool suppressable) {
213 static ThreadContext *FindThreadByUidLocked(int unique_id) {
215 return static_cast<ThreadContext *>(
220 static ThreadContext *FindThreadByTidLocked(int tid) {
222 return static_cast<ThreadContext*>(
228 ThreadContext *tctx = static_cast<ThreadContext*>(tctx_base);
237 ThreadContext *IsThreadStackOrTls(uptr addr, bool *is_stack) {
239 ThreadContext *tctx = static_cast<ThreadContext*>(
[all...]
H A Dtsan_defs.h154 class ThreadContext;
H A Dtsan_rtl.h411 ThreadContext *tctx;
460 class ThreadContext : public ThreadContextBase { class in namespace:__tsan
462 explicit ThreadContext(int tid);
463 ~ThreadContext();
564 void AddThread(const ThreadContext *tctx, bool suppressable = false);
H A Dtsan_rtl_mutex.cc375 ThreadContext *tctx = static_cast<ThreadContext*>(tctx_base);
418 ThreadContext *tctx = static_cast<ThreadContext*>(tctx_base);
/external/swiftshader/third_party/subzero/src/
H A DIceGlobalContext.h151 /// ThreadContext contains thread-local data. This data can be
153 class ThreadContext {
154 ThreadContext(const ThreadContext &) = delete;
155 ThreadContext &operator=(const ThreadContext &) = delete;
158 ThreadContext() = default;
384 void translateFunctionsWrapper(ThreadContext *MyTLS);
389 void emitterWrapper(ThreadContext *MyTLS);
569 llvm::SmallVector<ThreadContext *, 12
[all...]
H A DIceGlobalContext.cpp237 for (ThreadContext *TLS : AllThreadContexts)
244 for (ThreadContext *TLS : AllThreadContexts)
325 // Create a new ThreadContext for the current thread. No need to
328 ThreadContext *MyTLS = new ThreadContext();
375 void GlobalContext::translateFunctionsWrapper(ThreadContext *MyTLS) {
567 void GlobalContext::emitterWrapper(ThreadContext *MyTLS) {
1004 ThreadContext *Tls = new ThreadContext();
1015 ThreadContext *WorkerTL
[all...]

Completed in 588 milliseconds

12