Home
last modified time | relevance | path

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

123

/external/pigweed/pw_thread/public/pw_thread/
Dcontext.h39 class ThreadContext {
41 constexpr ThreadContext() = default;
43 ThreadContext(const ThreadContext&) = delete;
44 ThreadContext& operator=(const ThreadContext&) = delete;
56 class ThreadContext<kExternallyAllocatedThreadStack> {
58 constexpr ThreadContext() = default;
60 ThreadContext(const ThreadContext&) = delete;
61 ThreadContext& operator=(const ThreadContext&) = delete;
83 ThreadContext<kAttributes.has_external_stack()
91 ThreadContext<thread::backend::kDefaultStackSizeBytes>;
/external/cronet/stable/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyFieldDescriptor.java41 import org.jruby.runtime.ThreadContext;
86 public IRubyObject getLabel(ThreadContext context) { in getLabel()
100 public IRubyObject getName(ThreadContext context) { in getName()
114 public IRubyObject getSubtype(ThreadContext context) { in getSubtype()
132 public IRubyObject getType(ThreadContext context) { in getType()
143 public IRubyObject getNumber(ThreadContext context) { in getNumber()
192 public IRubyObject clearValue(ThreadContext context, IRubyObject message) { in clearValue()
204 public IRubyObject getValue(ThreadContext context, IRubyObject message) { in getValue()
216 public IRubyObject has(ThreadContext context, IRubyObject message) { in has()
229 public IRubyObject setValue(ThreadContext context, IRubyObject message, IRubyObject value) { in setValue()
[all …]
DRubyRepeatedField.java41 import org.jruby.runtime.ThreadContext;
75 public IRubyObject initialize(ThreadContext context, IRubyObject[] args) { in initialize()
110 public IRubyObject indexSet(ThreadContext context, IRubyObject index, IRubyObject value) { in indexSet()
131 public IRubyObject index(ThreadContext context, IRubyObject[] args) { in index()
176 public IRubyObject push(ThreadContext context, IRubyObject[] args) { in push()
192 public IRubyObject pop_one(ThreadContext context) { in pop_one()
205 public IRubyObject replace(ThreadContext context, IRubyObject list) { in replace()
219 public IRubyObject clear(ThreadContext context) { in clear()
231 public IRubyObject length(ThreadContext context) { in length()
244 public IRubyObject plus(ThreadContext context, IRubyObject list) { in plus()
[all …]
DRubyMap.java50 import org.jruby.runtime.ThreadContext;
107 public IRubyObject initialize(ThreadContext context, IRubyObject[] args) { in initialize()
158 public IRubyObject indexSet(ThreadContext context, IRubyObject key, IRubyObject value) { in indexSet()
188 public IRubyObject index(ThreadContext context, IRubyObject key) { in index()
207 public IRubyObject eq(ThreadContext context, IRubyObject _other) { in eq()
240 public IRubyObject hash(ThreadContext context) { in hash()
260 public IRubyObject keys(ThreadContext context) { in keys()
271 public IRubyObject values(ThreadContext context) { in values()
282 public IRubyObject clear(ThreadContext context) { in clear()
297 public IRubyObject each(ThreadContext context, Block block) { in each()
[all …]
DRubyEnumDescriptor.java48 import org.jruby.runtime.ThreadContext;
80 public IRubyObject getName(ThreadContext context) { in getName()
92 public IRubyObject each(ThreadContext context, Block block) { in each()
112 public IRubyObject enummodule(ThreadContext context) { in enummodule()
123 public IRubyObject getFileDescriptor(ThreadContext context) { in getFileDescriptor()
127 public boolean isValidValue(ThreadContext context, IRubyObject value) { in isValidValue()
139 protected IRubyObject nameToNumber(ThreadContext context, IRubyObject name) { in nameToNumber()
144 protected IRubyObject numberToName(ThreadContext context, IRubyObject number) { in numberToName()
149 protected void setDescriptor(ThreadContext context, EnumDescriptor descriptor) { in setDescriptor()
158 private RubyModule buildModuleFromDescriptor(ThreadContext context) { in buildModuleFromDescriptor()
DRubyDescriptor.java46 import org.jruby.runtime.ThreadContext;
81 public IRubyObject getName(ThreadContext context) { in getName()
93 public IRubyObject lookup(ThreadContext context, IRubyObject fieldName) { in lookup()
105 public IRubyObject msgclass(ThreadContext context) { in msgclass()
116 public IRubyObject each(ThreadContext context, Block block) { in each()
130 public IRubyObject getFileDescriptor(ThreadContext context) { in getFileDescriptor()
142 public IRubyObject eachOneof(ThreadContext context, Block block) { in eachOneof()
157 public IRubyObject lookupOneof(ThreadContext context, IRubyObject name) { in lookupOneof()
166 ThreadContext context, Descriptor descriptor, RubyDescriptorPool pool) { in setDescriptor()
198 private RubyClass buildClassFromDescriptor(ThreadContext context) { in buildClassFromDescriptor()
DRubyMessage.java59 import org.jruby.runtime.ThreadContext;
92 public IRubyObject initialize(final ThreadContext context, IRubyObject[] args) { in initialize()
166 public IRubyObject indexSet(ThreadContext context, IRubyObject fieldName, IRubyObject value) { in indexSet()
179 public IRubyObject index(ThreadContext context, IRubyObject fieldName) { in index()
194 ThreadContext context = getRuntime().getCurrentContext(); in inspect()
235 public IRubyObject hash(ThreadContext context) { in hash()
257 public IRubyObject eq(ThreadContext context, IRubyObject other) { in eq()
284 public IRubyObject respondTo(ThreadContext context, IRubyObject[] args) { in respondTo()
390 public IRubyObject methodMissing(ThreadContext context, IRubyObject[] args) { in methodMissing()
552 public IRubyObject dup(ThreadContext context) { in dup()
[all …]
DUtils.java45 import org.jruby.runtime.ThreadContext;
53 public static IRubyObject fieldTypeToRuby(ThreadContext context, FieldDescriptor.Type type) { in fieldTypeToRuby()
57 public static IRubyObject fieldTypeToRuby(ThreadContext context, FieldDescriptorProto.Type type) { in fieldTypeToRuby()
61 private static IRubyObject fieldTypeToRuby(ThreadContext context, String typeName) { in fieldTypeToRuby()
67 ThreadContext context, in checkType()
230 ThreadContext context, FieldDescriptor.Type fieldType, Object value) { in wrapPrimaryValue()
235 ThreadContext context, FieldDescriptor.Type fieldType, Object value, boolean encodeBytes) { in wrapPrimaryValue()
317 public static void checkNameAvailability(ThreadContext context, String name) { in checkNameAvailability()
328 public static RaiseException createTypeError(ThreadContext context, String message) { in createTypeError()
336 ThreadContext context, String type, String fieldType, String fieldName, IRubyObject value) { in createExpectedTypeError()
[all …]
/external/cronet/tot/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyFieldDescriptor.java41 import org.jruby.runtime.ThreadContext;
86 public IRubyObject getLabel(ThreadContext context) { in getLabel()
100 public IRubyObject getName(ThreadContext context) { in getName()
114 public IRubyObject getSubtype(ThreadContext context) { in getSubtype()
132 public IRubyObject getType(ThreadContext context) { in getType()
143 public IRubyObject getNumber(ThreadContext context) { in getNumber()
192 public IRubyObject clearValue(ThreadContext context, IRubyObject message) { in clearValue()
204 public IRubyObject getValue(ThreadContext context, IRubyObject message) { in getValue()
216 public IRubyObject has(ThreadContext context, IRubyObject message) { in has()
229 public IRubyObject setValue(ThreadContext context, IRubyObject message, IRubyObject value) { in setValue()
[all …]
DRubyRepeatedField.java41 import org.jruby.runtime.ThreadContext;
75 public IRubyObject initialize(ThreadContext context, IRubyObject[] args) { in initialize()
110 public IRubyObject indexSet(ThreadContext context, IRubyObject index, IRubyObject value) { in indexSet()
131 public IRubyObject index(ThreadContext context, IRubyObject[] args) { in index()
176 public IRubyObject push(ThreadContext context, IRubyObject[] args) { in push()
192 public IRubyObject pop_one(ThreadContext context) { in pop_one()
205 public IRubyObject replace(ThreadContext context, IRubyObject list) { in replace()
219 public IRubyObject clear(ThreadContext context) { in clear()
231 public IRubyObject length(ThreadContext context) { in length()
244 public IRubyObject plus(ThreadContext context, IRubyObject list) { in plus()
[all …]
DRubyMap.java50 import org.jruby.runtime.ThreadContext;
107 public IRubyObject initialize(ThreadContext context, IRubyObject[] args) { in initialize()
158 public IRubyObject indexSet(ThreadContext context, IRubyObject key, IRubyObject value) { in indexSet()
188 public IRubyObject index(ThreadContext context, IRubyObject key) { in index()
207 public IRubyObject eq(ThreadContext context, IRubyObject _other) { in eq()
240 public IRubyObject hash(ThreadContext context) { in hash()
260 public IRubyObject keys(ThreadContext context) { in keys()
271 public IRubyObject values(ThreadContext context) { in values()
282 public IRubyObject clear(ThreadContext context) { in clear()
297 public IRubyObject each(ThreadContext context, Block block) { in each()
[all …]
DRubyEnumDescriptor.java48 import org.jruby.runtime.ThreadContext;
80 public IRubyObject getName(ThreadContext context) { in getName()
92 public IRubyObject each(ThreadContext context, Block block) { in each()
112 public IRubyObject enummodule(ThreadContext context) { in enummodule()
123 public IRubyObject getFileDescriptor(ThreadContext context) { in getFileDescriptor()
127 public boolean isValidValue(ThreadContext context, IRubyObject value) { in isValidValue()
139 protected IRubyObject nameToNumber(ThreadContext context, IRubyObject name) { in nameToNumber()
144 protected IRubyObject numberToName(ThreadContext context, IRubyObject number) { in numberToName()
149 protected void setDescriptor(ThreadContext context, EnumDescriptor descriptor) { in setDescriptor()
158 private RubyModule buildModuleFromDescriptor(ThreadContext context) { in buildModuleFromDescriptor()
DRubyDescriptor.java46 import org.jruby.runtime.ThreadContext;
81 public IRubyObject getName(ThreadContext context) { in getName()
93 public IRubyObject lookup(ThreadContext context, IRubyObject fieldName) { in lookup()
105 public IRubyObject msgclass(ThreadContext context) { in msgclass()
116 public IRubyObject each(ThreadContext context, Block block) { in each()
130 public IRubyObject getFileDescriptor(ThreadContext context) { in getFileDescriptor()
142 public IRubyObject eachOneof(ThreadContext context, Block block) { in eachOneof()
157 public IRubyObject lookupOneof(ThreadContext context, IRubyObject name) { in lookupOneof()
166 ThreadContext context, Descriptor descriptor, RubyDescriptorPool pool) { in setDescriptor()
198 private RubyClass buildClassFromDescriptor(ThreadContext context) { in buildClassFromDescriptor()
DRubyMessage.java59 import org.jruby.runtime.ThreadContext;
92 public IRubyObject initialize(final ThreadContext context, IRubyObject[] args) { in initialize()
166 public IRubyObject indexSet(ThreadContext context, IRubyObject fieldName, IRubyObject value) { in indexSet()
179 public IRubyObject index(ThreadContext context, IRubyObject fieldName) { in index()
194 ThreadContext context = getRuntime().getCurrentContext(); in inspect()
235 public IRubyObject hash(ThreadContext context) { in hash()
257 public IRubyObject eq(ThreadContext context, IRubyObject other) { in eq()
284 public IRubyObject respondTo(ThreadContext context, IRubyObject[] args) { in respondTo()
390 public IRubyObject methodMissing(ThreadContext context, IRubyObject[] args) { in methodMissing()
552 public IRubyObject dup(ThreadContext context) { in dup()
[all …]
DUtils.java45 import org.jruby.runtime.ThreadContext;
53 public static IRubyObject fieldTypeToRuby(ThreadContext context, FieldDescriptor.Type type) { in fieldTypeToRuby()
57 public static IRubyObject fieldTypeToRuby(ThreadContext context, FieldDescriptorProto.Type type) { in fieldTypeToRuby()
61 private static IRubyObject fieldTypeToRuby(ThreadContext context, String typeName) { in fieldTypeToRuby()
67 ThreadContext context, in checkType()
230 ThreadContext context, FieldDescriptor.Type fieldType, Object value) { in wrapPrimaryValue()
235 ThreadContext context, FieldDescriptor.Type fieldType, Object value, boolean encodeBytes) { in wrapPrimaryValue()
317 public static void checkNameAvailability(ThreadContext context, String name) { in checkNameAvailability()
328 public static RaiseException createTypeError(ThreadContext context, String message) { in createTypeError()
336 ThreadContext context, String type, String fieldType, String fieldName, IRubyObject value) { in createExpectedTypeError()
[all …]
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyFieldDescriptor.java41 import org.jruby.runtime.ThreadContext;
86 public IRubyObject getLabel(ThreadContext context) { in getLabel()
100 public IRubyObject getName(ThreadContext context) { in getName()
114 public IRubyObject getSubtype(ThreadContext context) { in getSubtype()
132 public IRubyObject getType(ThreadContext context) { in getType()
143 public IRubyObject getNumber(ThreadContext context) { in getNumber()
192 public IRubyObject clearValue(ThreadContext context, IRubyObject message) { in clearValue()
204 public IRubyObject getValue(ThreadContext context, IRubyObject message) { in getValue()
216 public IRubyObject has(ThreadContext context, IRubyObject message) { in has()
229 public IRubyObject setValue(ThreadContext context, IRubyObject message, IRubyObject value) { in setValue()
[all …]
DRubyRepeatedField.java41 import org.jruby.runtime.ThreadContext;
75 public IRubyObject initialize(ThreadContext context, IRubyObject[] args) { in initialize()
110 public IRubyObject indexSet(ThreadContext context, IRubyObject index, IRubyObject value) { in indexSet()
131 public IRubyObject index(ThreadContext context, IRubyObject[] args) { in index()
176 public IRubyObject push(ThreadContext context, IRubyObject[] args) { in push()
192 public IRubyObject pop_one(ThreadContext context) { in pop_one()
205 public IRubyObject replace(ThreadContext context, IRubyObject list) { in replace()
219 public IRubyObject clear(ThreadContext context) { in clear()
231 public IRubyObject length(ThreadContext context) { in length()
244 public IRubyObject plus(ThreadContext context, IRubyObject list) { in plus()
[all …]
DRubyMap.java50 import org.jruby.runtime.ThreadContext;
107 public IRubyObject initialize(ThreadContext context, IRubyObject[] args) { in initialize()
158 public IRubyObject indexSet(ThreadContext context, IRubyObject key, IRubyObject value) { in indexSet()
188 public IRubyObject index(ThreadContext context, IRubyObject key) { in index()
207 public IRubyObject eq(ThreadContext context, IRubyObject _other) { in eq()
240 public IRubyObject hash(ThreadContext context) { in hash()
260 public IRubyObject keys(ThreadContext context) { in keys()
271 public IRubyObject values(ThreadContext context) { in values()
282 public IRubyObject clear(ThreadContext context) { in clear()
297 public IRubyObject each(ThreadContext context, Block block) { in each()
[all …]
DRubyEnumDescriptor.java48 import org.jruby.runtime.ThreadContext;
80 public IRubyObject getName(ThreadContext context) { in getName()
92 public IRubyObject each(ThreadContext context, Block block) { in each()
112 public IRubyObject enummodule(ThreadContext context) { in enummodule()
123 public IRubyObject getFileDescriptor(ThreadContext context) { in getFileDescriptor()
127 public boolean isValidValue(ThreadContext context, IRubyObject value) { in isValidValue()
139 protected IRubyObject nameToNumber(ThreadContext context, IRubyObject name) { in nameToNumber()
144 protected IRubyObject numberToName(ThreadContext context, IRubyObject number) { in numberToName()
149 protected void setDescriptor(ThreadContext context, EnumDescriptor descriptor) { in setDescriptor()
158 private RubyModule buildModuleFromDescriptor(ThreadContext context) { in buildModuleFromDescriptor()
DRubyDescriptor.java46 import org.jruby.runtime.ThreadContext;
81 public IRubyObject getName(ThreadContext context) { in getName()
93 public IRubyObject lookup(ThreadContext context, IRubyObject fieldName) { in lookup()
105 public IRubyObject msgclass(ThreadContext context) { in msgclass()
116 public IRubyObject each(ThreadContext context, Block block) { in each()
130 public IRubyObject getFileDescriptor(ThreadContext context) { in getFileDescriptor()
142 public IRubyObject eachOneof(ThreadContext context, Block block) { in eachOneof()
157 public IRubyObject lookupOneof(ThreadContext context, IRubyObject name) { in lookupOneof()
166 ThreadContext context, Descriptor descriptor, RubyDescriptorPool pool) { in setDescriptor()
198 private RubyClass buildClassFromDescriptor(ThreadContext context) { in buildClassFromDescriptor()
DRubyMessage.java59 import org.jruby.runtime.ThreadContext;
92 public IRubyObject initialize(final ThreadContext context, IRubyObject[] args) { in initialize()
166 public IRubyObject indexSet(ThreadContext context, IRubyObject fieldName, IRubyObject value) { in indexSet()
179 public IRubyObject index(ThreadContext context, IRubyObject fieldName) { in index()
194 ThreadContext context = getRuntime().getCurrentContext(); in inspect()
235 public IRubyObject hash(ThreadContext context) { in hash()
257 public IRubyObject eq(ThreadContext context, IRubyObject other) { in eq()
284 public IRubyObject respondTo(ThreadContext context, IRubyObject[] args) { in respondTo()
390 public IRubyObject methodMissing(ThreadContext context, IRubyObject[] args) { in methodMissing()
552 public IRubyObject dup(ThreadContext context) { in dup()
[all …]
DUtils.java45 import org.jruby.runtime.ThreadContext;
53 public static IRubyObject fieldTypeToRuby(ThreadContext context, FieldDescriptor.Type type) { in fieldTypeToRuby()
57 public static IRubyObject fieldTypeToRuby(ThreadContext context, FieldDescriptorProto.Type type) { in fieldTypeToRuby()
61 private static IRubyObject fieldTypeToRuby(ThreadContext context, String typeName) { in fieldTypeToRuby()
67 ThreadContext context, in checkType()
230 ThreadContext context, FieldDescriptor.Type fieldType, Object value) { in wrapPrimaryValue()
235 ThreadContext context, FieldDescriptor.Type fieldType, Object value, boolean encodeBytes) { in wrapPrimaryValue()
317 public static void checkNameAvailability(ThreadContext context, String name) { in checkNameAvailability()
328 public static RaiseException createTypeError(ThreadContext context, String message) { in createTypeError()
336 ThreadContext context, String type, String fieldType, String fieldName, IRubyObject value) { in createExpectedTypeError()
[all …]
/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()
/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 …]
/external/pigweed/pw_thread/
Dthread_creation_test.cc36 [[maybe_unused]] PW_CONSTINIT pw::ThreadContext<> must_be_constinit_1;
37 [[maybe_unused]] PW_CONSTINIT pw::ThreadContext<1024> must_be_constinit_2;
60 TEST_F(ThreadCreationTest, ThreadContext) { in TEST_F() argument
61 pw::ThreadContext<1024> context; in TEST_F()
85 pw::ThreadContext<> context; in TEST_F()
102 pw::ThreadContext<1024> context; in TEST_F()
112 pw::ThreadContext<> context; in TEST_F()
154 pw::ThreadContext<> context;

123