Home
last modified time | relevance | path

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

12

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

12