Home
last modified time | relevance | path

Searched refs:thread_table (Results 1 – 25 of 71) sorted by relevance

123

/dports/textproc/chpp/chpp-0.3.5/gc/
H A Dwin32_threads.c24 if (thread_table[i].stack != 0 && thread_table[i].id != thread_id) { in GC_stop_world()
35 if (thread_table[i].stack != 0 && thread_table[i].id != thread_id) { in GC_start_world()
46 if (thread_table[i].stack && thread_table[i].id == thread_id) in GC_current_stackbottom()
47 return thread_table[i].stack; in GC_current_stackbottom()
68 if (thread_table[i].stack) { in GC_push_all_stacks()
73 thread_table[i].context.ContextFlags in GC_push_all_stacks()
78 if (thread_table[i].context.Esp >= (DWORD)thread_table[i].stack in GC_push_all_stacks()
81 GC_push_all_stack(thread_table[i].context.Esp, thread_table[i].stack); in GC_push_all_stacks()
138 &thread_table[i].handle, in DllMain()
155 for (i = 0; thread_table[i].stack == 0 || thread_table[i].id != thread_id; i++) in DllMain()
[all …]
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/boehm-gc/
H A Dwin32_threads.c146 return thread_table + i; in GC_new_thread()
185 (!thread_table[i].in_use || thread_table[i].id != thread_id); in GC_delete_thread()
209 (!thread_table[i].in_use || thread_table[i].pthread_id != id in GC_lookup_thread()
210 || !thread_table[i].in_use); in GC_lookup_thread()
214 return thread_table + i; in GC_lookup_thread()
229 if (thread_table[i].in_use) in GC_push_thread_structures()
252 && thread_table[i].id != thread_id) { in GC_stop_world()
270 thread_table[i].in_use = FALSE; in GC_stop_world()
292 if (thread_table[i].stack_base != 0 && thread_table[i].suspended in GC_start_world()
311 if (thread_table[i].stack_base && thread_table[i].id == thread_id) in GC_current_stackbottom()
[all …]
/dports/lang/gnat_util/gcc-6-20180516/boehm-gc/
H A Dwin32_threads.c146 return thread_table + i; in GC_new_thread()
185 (!thread_table[i].in_use || thread_table[i].id != thread_id); in GC_delete_thread()
209 (!thread_table[i].in_use || thread_table[i].pthread_id != id in GC_lookup_thread()
210 || !thread_table[i].in_use); in GC_lookup_thread()
214 return thread_table + i; in GC_lookup_thread()
229 if (thread_table[i].in_use) in GC_push_thread_structures()
252 && thread_table[i].id != thread_id) { in GC_stop_world()
270 thread_table[i].in_use = FALSE; in GC_stop_world()
292 if (thread_table[i].stack_base != 0 && thread_table[i].suspended in GC_start_world()
311 if (thread_table[i].stack_base && thread_table[i].id == thread_id) in GC_current_stackbottom()
[all …]
/dports/lang/gcc48/gcc-4.8.5/boehm-gc/
H A Dwin32_threads.c146 return thread_table + i; in GC_new_thread()
185 (!thread_table[i].in_use || thread_table[i].id != thread_id); in GC_delete_thread()
209 (!thread_table[i].in_use || thread_table[i].pthread_id != id in GC_lookup_thread()
210 || !thread_table[i].in_use); in GC_lookup_thread()
214 return thread_table + i; in GC_lookup_thread()
229 if (thread_table[i].in_use) in GC_push_thread_structures()
252 && thread_table[i].id != thread_id) { in GC_stop_world()
270 thread_table[i].in_use = FALSE; in GC_stop_world()
292 if (thread_table[i].stack_base != 0 && thread_table[i].suspended in GC_start_world()
311 if (thread_table[i].stack_base && thread_table[i].id == thread_id) in GC_current_stackbottom()
[all …]
/dports/devel/mingw32-gcc/gcc-4.8.1/boehm-gc/
H A Dwin32_threads.c146 return thread_table + i; in GC_new_thread()
185 (!thread_table[i].in_use || thread_table[i].id != thread_id); in GC_delete_thread()
209 (!thread_table[i].in_use || thread_table[i].pthread_id != id in GC_lookup_thread()
210 || !thread_table[i].in_use); in GC_lookup_thread()
214 return thread_table + i; in GC_lookup_thread()
229 if (thread_table[i].in_use) in GC_push_thread_structures()
252 && thread_table[i].id != thread_id) { in GC_stop_world()
270 thread_table[i].in_use = FALSE; in GC_stop_world()
292 if (thread_table[i].stack_base != 0 && thread_table[i].suspended in GC_start_world()
311 if (thread_table[i].stack_base && thread_table[i].id == thread_id) in GC_current_stackbottom()
[all …]
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gcc/boehm-gc/
H A Dwin32_threads.c144 return thread_table + i; in GC_new_thread()
183 (!thread_table[i].in_use || thread_table[i].id != thread_id); in GC_delete_thread()
207 (!thread_table[i].in_use || thread_table[i].pthread_id != id in GC_lookup_thread()
208 || !thread_table[i].in_use); in GC_lookup_thread()
212 return thread_table + i; in GC_lookup_thread()
227 if (thread_table[i].in_use) in GC_push_thread_structures()
244 && thread_table[i].id != thread_id) { in GC_stop_world()
262 thread_table[i].in_use = FALSE; in GC_stop_world()
281 if (thread_table[i].stack_base != 0 && thread_table[i].suspended in GC_start_world()
300 if (thread_table[i].stack_base && thread_table[i].id == thread_id) in GC_current_stackbottom()
[all …]
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gcc/boehm-gc/
H A Dwin32_threads.c144 return thread_table + i; in GC_new_thread()
183 (!thread_table[i].in_use || thread_table[i].id != thread_id); in GC_delete_thread()
207 (!thread_table[i].in_use || thread_table[i].pthread_id != id in GC_lookup_thread()
208 || !thread_table[i].in_use); in GC_lookup_thread()
212 return thread_table + i; in GC_lookup_thread()
227 if (thread_table[i].in_use) in GC_push_thread_structures()
244 && thread_table[i].id != thread_id) { in GC_stop_world()
262 thread_table[i].in_use = FALSE; in GC_stop_world()
281 if (thread_table[i].stack_base != 0 && thread_table[i].suspended in GC_start_world()
300 if (thread_table[i].stack_base && thread_table[i].id == thread_id) in GC_current_stackbottom()
[all …]
/dports/lang/gcc6-aux/gcc-6-20180516/boehm-gc/
H A Dwin32_threads.c146 return thread_table + i; in GC_new_thread()
185 (!thread_table[i].in_use || thread_table[i].id != thread_id); in GC_delete_thread()
209 (!thread_table[i].in_use || thread_table[i].pthread_id != id in GC_lookup_thread()
210 || !thread_table[i].in_use); in GC_lookup_thread()
214 return thread_table + i; in GC_lookup_thread()
229 if (thread_table[i].in_use) in GC_push_thread_structures()
252 && thread_table[i].id != thread_id) { in GC_stop_world()
270 thread_table[i].in_use = FALSE; in GC_stop_world()
292 if (thread_table[i].stack_base != 0 && thread_table[i].suspended in GC_start_world()
311 if (thread_table[i].stack_base && thread_table[i].id == thread_id) in GC_current_stackbottom()
[all …]
/dports/lang/mono/mono-5.10.1.57/libgc/
H A Dwin32_threads.c177 return thread_table + i; in GC_new_thread()
216 (!thread_table[i].in_use || thread_table[i].id != thread_id); in GC_delete_thread()
240 (!thread_table[i].in_use || thread_table[i].pthread_id != id in GC_lookup_thread()
241 || !thread_table[i].in_use); in GC_lookup_thread()
245 return thread_table + i; in GC_lookup_thread()
260 if (thread_table[i].in_use) in GC_push_thread_structures()
301 thread_table[i].in_use = FALSE; in GC_stop_world()
311 thread_table[i].in_use = FALSE; in GC_stop_world()
330 if (thread_table[i].stack_base != 0 && thread_table[i].suspended in GC_start_world()
349 if (thread_table[i].stack_base && thread_table[i].id == thread_id) in GC_current_stackbottom()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/perfetto/src/trace_processor/
H A Dprocess_tracker.cc41 auto* thread_table = context_->storage->mutable_thread_table(); in StartNewThread() local
42 UniqueTid new_utid = thread_table->Insert(row).row; in StartNewThread()
48 auto* thread_table = context_->storage->mutable_thread_table(); in EndThread() local
52 thread_table->mutable_end_ts()->Set(utid, timestamp); in EndThread()
59 auto opt_upid = thread_table->upid()[utid]; in EndThread()
97 thread_table->mutable_name()->Set(utid, thread_name_id); in UpdateThreadName()
104 if (thread_table->name()[utid].is_null()) in SetThreadNameIfUnset()
105 thread_table->mutable_name()->Set(utid, thread_name_id); in SetThreadNameIfUnset()
181 PERFETTO_DCHECK(thread_table->tid()[utid] == tid); in UpdateThread()
184 if (!thread_table->upid()[utid].has_value()) { in UpdateThread()
[all …]
H A Devent_tracker.cc95 const auto& thread_table = context_->storage->thread_table(); in FlushPendingEvents() local
100 UniquePid upid = thread_table.upid()[utid].value_or(0); in FlushPendingEvents()
111 UniquePid upid = thread_table.upid()[utid].value_or(0); in FlushPendingEvents()
H A Dprocess_tracker_unittest.cc111 ASSERT_EQ(context.storage->thread_table().tid()[1], 4u); in TEST_F()
112 ASSERT_EQ(context.storage->thread_table().upid()[1].value(), 1u); in TEST_F()
121 ASSERT_EQ(context.storage->thread_table().row_count(), 3u); in TEST_F()
125 ASSERT_EQ(context.storage->thread_table().upid()[1].value(), 1u); in TEST_F()
146 ASSERT_EQ(context.storage->thread_table().row_count(), 5u); in TEST_F()
H A Devent_tracker_unittest.cc72 ASSERT_EQ(context.storage->thread_table().start_ts()[1], base::nullopt); in TEST_F()
75 context.storage->GetString(context.storage->thread_table().name()[1]); in TEST_F()
107 ASSERT_EQ(context.storage->thread_table().start_ts()[1], base::nullopt); in TEST_F()
H A Dexport_json.cc674 const auto& thread_table = storage_->thread_table(); in MapUniquePidsAndTids() local
675 for (UniqueTid utid = 0; utid < thread_table.row_count(); utid++) { in MapUniquePidsAndTids()
677 base::Optional<UniquePid> upid = thread_table.upid()[utid]; in MapUniquePidsAndTids()
684 uint32_t exported_tid = thread_table.tid()[utid]; in MapUniquePidsAndTids()
700 const auto& thread_table = storage_->thread_table(); in ExportThreadNames() local
701 for (UniqueTid utid = 0; utid < thread_table.row_count(); ++utid) { in ExportThreadNames()
702 auto opt_name = thread_table.name()[utid]; in ExportThreadNames()
1297 const auto& thread_table = storage_->thread_table(); in IsValidPidOrTid() local
1298 for (UniqueTid utid = 0; utid < thread_table.row_count(); utid++) { in IsValidPidOrTid()
1299 if (thread_table.tid()[utid] == pid_or_tid) in IsValidPidOrTid()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/perfetto/src/trace_processor/importers/common/
H A Dprocess_tracker.cc53 auto* thread_table = context_->storage->mutable_thread_table(); in StartNewThread() local
54 UniqueTid new_utid = thread_table->Insert(row).row; in StartNewThread()
62 auto* thread_table = context_->storage->mutable_thread_table(); in EndThread() local
66 thread_table->mutable_end_ts()->Set(utid, timestamp); in EndThread()
73 auto opt_upid = thread_table->upid()[utid]; in EndThread()
122 thread_table->mutable_name()->Set(utid, thread_name_id); in UpdateThreadNameByUtid()
199 PERFETTO_DCHECK(thread_table->tid()[utid] == tid); in UpdateThread()
202 if (!thread_table->upid()[utid].has_value()) { in UpdateThread()
242 auto opt_parent_upid = thread_table->upid()[parent_utid]; in StartNewProcess()
298 auto opt_upid = thread_table->upid()[utid]; in UpdateProcessNameFromThreadName()
[all …]
H A Dprocess_tracker_unittest.cc98 ASSERT_EQ(context.storage->thread_table().row_count(), 3u); in TEST_F()
102 ASSERT_EQ(context.storage->thread_table().upid()[1].value(), 1u); in TEST_F()
123 ASSERT_EQ(context.storage->thread_table().row_count(), 5u); in TEST_F()
140 ASSERT_EQ(context.storage->thread_table().row_count(), 2u); in TEST_F()
141 ASSERT_EQ(context.storage->thread_table().name()[1], name1); in TEST_F()
146 ASSERT_EQ(context.storage->thread_table().row_count(), 2u); in TEST_F()
147 ASSERT_EQ(context.storage->thread_table().name()[1], name2); in TEST_F()
152 ASSERT_EQ(context.storage->thread_table().row_count(), 2u); in TEST_F()
153 ASSERT_EQ(context.storage->thread_table().name()[1], name2); in TEST_F()
H A Devent_tracker.cc108 const auto& thread_table = context_->storage->thread_table(); in FlushPendingEvents() local
113 UniquePid upid = thread_table.upid()[utid].value_or(0); in FlushPendingEvents()
124 UniquePid upid = thread_table.upid()[utid].value_or(0); in FlushPendingEvents()
/dports/math/cado-nfs/cado-nfs-f4284e2391121b2bfb97bc4880b6273c7250dc2f/linalg/bwc/
H A Dworker-threads.c72 tg->thread_table = malloc(n * sizeof(struct worker_thread_info)); in worker_threads_init()
80 tg->thread_table[i].i = i; in worker_threads_init()
81 tg->thread_table[i].tg = tg; in worker_threads_init()
82 void * ti = &(tg->thread_table[i]); in worker_threads_init()
113 free(tg->thread_table); in worker_threads_clear()
H A Dworker-threads.h79 struct worker_thread_info * thread_table; member
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/perfetto/src/trace_processor/importers/ftrace/
H A Dsched_event_tracker_unittest.cc70 ASSERT_EQ(context.storage->thread_table().start_ts()[1], base::nullopt); in TEST_F()
73 context.storage->GetString(context.storage->thread_table().name()[1]); in TEST_F()
105 ASSERT_EQ(context.storage->thread_table().start_ts()[1], base::nullopt); in TEST_F()
132 ASSERT_EQ(context.storage->thread_table().tid()[1], 4u); in TEST_F()
133 ASSERT_EQ(context.storage->thread_table().upid()[1].value(), 1u); in TEST_F()
H A Dbinder_tracker.cc117 const auto& thread_table = context_->storage->thread_table(); in Transaction() local
120 StringId dest_thread_name = thread_table.name()[utid]; in Transaction()
154 const auto& thread_table = context_->storage->thread_table(); in TransactionReceived() local
155 StringId thread_name = thread_table.name()[utid]; in TransactionReceived()
/dports/devel/npth/npth-1.6/w32/
H A Dnpth.c67 static npth_impl_t thread_table[MAX_THREADS]; variable
244 if (! thread_table[thread_id]) in find_thread()
247 *thread = thread_table[thread_id]; in find_thread()
260 if (! thread_table[id]) in new_thread()
281 thread_table[id] = thread; in new_thread()
291 npth_impl_t thread = thread_table[thread_id]; in free_thread()
301 thread_table[thread_id] = NULL; in free_thread()
308 npth_impl_t thread = thread_table[thread_id]; in deref_thread()
351 thread = thread_table[thread_id]; in npth_init()
464 thread = thread_table[thread_id]; in thread_start()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/perfetto/src/trace_processor/
H A Dexport_json.cc665 const auto& thread_table = storage_->thread_table(); in MapUniquePidsAndTids() local
666 for (UniqueTid utid = 0; utid < thread_table.row_count(); utid++) { in MapUniquePidsAndTids()
668 base::Optional<UniquePid> upid = thread_table.upid()[utid]; in MapUniquePidsAndTids()
675 uint32_t exported_tid = thread_table.tid()[utid]; in MapUniquePidsAndTids()
691 const auto& thread_table = storage_->thread_table(); in ExportThreadNames() local
692 for (UniqueTid utid = 0; utid < thread_table.row_count(); ++utid) { in ExportThreadNames()
693 auto opt_name = thread_table.name()[utid]; in ExportThreadNames()
1565 const auto& thread_table = storage_->thread_table(); in IsValidPidOrTid() local
1566 for (UniqueTid utid = 0; utid < thread_table.row_count(); utid++) { in IsValidPidOrTid()
1567 if (thread_table.tid()[utid] == pid_or_tid) in IsValidPidOrTid()
/dports/security/suricata/suricata-6.0.4/src/
H A Dcounters.c696 struct CountersMergeTable thread_table[max_id]; in StatsOutput() local
697 memset(&thread_table, 0x00, in StatsOutput()
706 thread_table[pc->gid].type = pc->type; in StatsOutput()
710 thread_table[pc->gid].value = pc->Func(); in StatsOutput()
714 thread_table[pc->gid].value = pc->value; in StatsOutput()
717 thread_table[pc->gid].updates = pc->updates; in StatsOutput()
726 struct CountersMergeTable *e = &thread_table[c]; in StatsOutput()
751 struct CountersMergeTable *e = &thread_table[c]; in StatsOutput()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/perfetto/src/trace_processor/importers/fuchsia/
H A Dfuchsia_trace_tokenizer.cc269 current_provider_->thread_table[index] = tinfo; in ParseRecord()
305 current_provider_->thread_table[thread_ref]); in ParseRecord()
486 outgoing_thread = current_provider_->thread_table[outgoing_thread_ref]; in ParseRecord()
496 incoming_thread = current_provider_->thread_table[incoming_thread_ref]; in ParseRecord()

123