/external/pthreadpool/src/ |
D | windows.c | 23 static void checkin_worker_thread(struct pthreadpool* threadpool, uint32_t event_index) { in checkin_worker_thread() argument 25 SetEvent(threadpool->completion_event[event_index]); in checkin_worker_thread() 29 static void wait_worker_threads(struct pthreadpool* threadpool, uint32_t event_index) { in wait_worker_threads() argument 47 const DWORD wait_status = WaitForSingleObject(threadpool->completion_event[event_index], INFINITE); in wait_worker_threads() 75 const uint32_t event_index = (last_command >> 31); in wait_for_new_command() local 76 const DWORD wait_status = WaitForSingleObject(threadpool->command_event[event_index], INFINITE); in wait_for_new_command() 126 const uint32_t event_index = command >> 31; in thread_main() local 127 checkin_worker_thread(threadpool, event_index); in thread_main() 255 const uint32_t event_index = (old_command >> 31); in pthreadpool_parallelize() local 256 BOOL reset_event_status = ResetEvent(threadpool->command_event[event_index ^ 1]); in pthreadpool_parallelize() [all …]
|
/external/crosvm/src/sys/windows/ |
D | irq_wait.rs | 91 for (event_index, source, evt) in irq_events { in run() 92 child_wait_ctx.add(&evt, ChildToken::IrqEvent { event_index })?; in run() 93 max_event_index = std::cmp::max(max_event_index, event_index); in run() 94 irq_event_sources.insert(event_index, source); in run() 160 let event_index = irq_chip in run() localVariable 166 if let Some(event_index) = event_index { in run() 168 event_index, in run() 175 .insert(event_index, source); in run() 197 ChildToken::IrqEvent { event_index }, in run() 316 IrqEvent { event_index: IrqEventIndex }, [all …]
|
/external/tensorflow/tensorflow/lite/profiling/ |
D | profile_buffer.h | 123 int event_index = event_handle % max_size; variable 124 event_buffer_[event_index].elapsed_time = 125 time::NowMicros() - event_buffer_[event_index].begin_timestamp_us; 126 if (event_buffer_[event_index].event_type != 128 event_buffer_[event_index].end_mem_usage = memory::GetMemoryUsage(); 131 event_buffer_[event_index].event_metadata = *event_metadata1; 134 event_buffer_[event_index].extra_event_metadata = *event_metadata2;
|
/external/crosvm/base/src/sys/windows/ |
D | wait.rs | 214 let mut event_index = (result - WAIT_OBJECT_0) as usize; localVariable 215 if event_index >= handles_len { 221 if event_index == 0 { 236 let event_to_return = raw_handles_list[event_index + handles_offset]; 253 handles_offset += event_index + 1; 257 event_index = (unsafe { 266 if event_index >= (handles_len - handles_offset) {
|
/external/ltp/testcases/kernel/syscalls/epoll/ |
D | epoll-ltp.c | 406 unsigned int event_index; /* index into event list for the events field of the in test_epoll_ctl() local 462 for (event_index = 0; in test_epoll_ctl() 463 event_index < (sizeof(epoll_events) / sizeof(int)); in test_epoll_ctl() 464 event_index++) { in test_epoll_ctl() 481 [event_index]; in test_epoll_ctl()
|
/external/cronet/base/trace_event/ |
D | trace_buffer.cc | 91 return chunk->GetEventAt(handle.event_index); in GetEventByHandle() 209 return chunk->GetEventAt(handle.event_index); in GetEventByHandle() 261 TraceEvent* TraceBufferChunk::AddTraceEvent(size_t* event_index) { in AddTraceEvent() argument 263 *event_index = next_free_++; in AddTraceEvent() 264 return &chunk_[*event_index]; in AddTraceEvent()
|
D | trace_log.cc | 149 size_t event_index, in MakeHandle() argument 153 DCHECK(event_index < TraceBufferChunk::kTraceBufferChunkSize); in MakeHandle() 157 handle->event_index = static_cast<uint16_t>(event_index); in MakeHandle() 476 return chunk_->GetEventAt(handle.event_index); in GetEventByHandle() 551 size_t event_index; in AddTraceEvent() local 552 TraceEvent* trace_event = chunk_->AddTraceEvent(&event_index); in AddTraceEvent() 554 MakeHandle(chunk_->seq(), chunk_index_, event_index, handle); in AddTraceEvent() 1231 size_t event_index; in AddEventToThreadSharedChunkWhileLocked() local 1232 TraceEvent* trace_event = thread_shared_chunk_->AddTraceEvent(&event_index); in AddEventToThreadSharedChunkWhileLocked() 1235 event_index, handle); in AddEventToThreadSharedChunkWhileLocked() [all …]
|
D | trace_buffer.h | 27 TraceEvent* AddTraceEvent(size_t* event_index);
|
D | trace_event_impl.h | 45 unsigned event_index : 6; member
|
/external/libchrome/base/trace_event/ |
D | trace_buffer.cc | 88 return chunk->GetEventAt(handle.event_index); in GetEventByHandle() 205 return chunk->GetEventAt(handle.event_index); in GetEventByHandle() 259 TraceEvent* TraceBufferChunk::AddTraceEvent(size_t* event_index) { in AddTraceEvent() argument 261 *event_index = next_free_++; in AddTraceEvent() 262 return &chunk_[*event_index]; in AddTraceEvent()
|
D | trace_log.cc | 150 size_t event_index, in MakeHandle() argument 154 DCHECK(event_index < TraceBufferChunk::kTraceBufferChunkSize); in MakeHandle() 158 handle->event_index = static_cast<uint16_t>(event_index); in MakeHandle() 214 return chunk_->GetEventAt(handle.event_index); in GetEventByHandle() 290 size_t event_index; in AddTraceEvent() local 291 TraceEvent* trace_event = chunk_->AddTraceEvent(&event_index); in AddTraceEvent() 293 MakeHandle(chunk_->seq(), chunk_index_, event_index, handle); in AddTraceEvent() 807 size_t event_index; in AddEventToThreadSharedChunkWhileLocked() local 808 TraceEvent* trace_event = thread_shared_chunk_->AddTraceEvent(&event_index); in AddEventToThreadSharedChunkWhileLocked() 811 event_index, handle); in AddEventToThreadSharedChunkWhileLocked() [all …]
|
D | trace_buffer.h | 26 TraceEvent* AddTraceEvent(size_t* event_index);
|
D | trace_event_impl.h | 72 unsigned event_index : 6; member
|
/external/crosvm/devices/src/irqchip/ |
D | whpx.rs | 313 fn service_irq_event(&mut self, event_index: IrqEventIndex) -> Result<()> { in service_irq_event() 315 let evt = if let Some(evt) = &irq_events[event_index] { in service_irq_event() 353 delayed_events.events.push(event_index); in service_irq_event() 504 delayed_events.events.retain(|&event_index| { in process_delayed_irq_events() 505 if let Some(evt) = &irq_events[event_index] { in process_delayed_irq_events()
|
D | userspace.rs | 487 fn service_irq_event(&mut self, event_index: IrqEventIndex) -> Result<()> { in service_irq_event() 489 let evt = if let Some(evt) = &irq_events[event_index] { in service_irq_event() 527 delayed_events.events.push(event_index); in service_irq_event() 793 delayed_events.events.retain(|&event_index| { in process_delayed_irq_events() 794 if let Some(evt) = &irq_events[event_index] { in process_delayed_irq_events()
|
D | mod.rs | 195 fn service_irq_event(&mut self, event_index: IrqEventIndex) -> Result<()>; in service_irq_event()
|
/external/crosvm/devices/src/irqchip/kvm/ |
D | x86_64.rs | 513 fn service_irq_event(&mut self, event_index: IrqEventIndex) -> Result<()> { in service_irq_event() 514 if let Some(evt) = &self.irq_events.lock()[event_index] { in service_irq_event() 534 self.delayed_ioapic_irq_events.lock().push(event_index); in service_irq_event() 696 .retain(|&event_index| { in process_delayed_irq_events() 697 if let Some(evt) = &self.irq_events.lock()[event_index] { in process_delayed_irq_events()
|
/external/autotest/client/cros/power/ |
D | power_dashboard.py | 322 event_index = 0 328 while checkpoint_event_list[event_index][1] <= curr_time: 329 name, _, is_start = checkpoint_event_list[event_index] 334 event_index += 1
|
/external/autotest/client/common_lib/cros/bluetooth/ |
D | bluetooth_socket.py | 428 for idx, (event, event_index, data) in enumerate(self.events): 429 if event_index == index and event in events: 433 (event, event_index, data) = self.recv_event() 434 if event_index == index and event in events:
|
/external/libchrome/base/test/ |
D | trace_event_analyzer.cc | 809 for (size_t event_index = 0; event_index < raw_events_.size(); in AssociateEvents() local 810 ++event_index) { in AssociateEvents() 812 TraceEvent& this_event = raw_events_[event_index]; in AssociateEvents()
|
/external/mesa3d/src/amd/compiler/ |
D | aco_insert_waitcnt.cpp | 912 unsigned event_index = u_bit_scan(&event_mask); in calculate_score() local 914 for (unsigned dist : ctx.wait_distances[event_index]) { in calculate_score() 920 switch (1 << event_index) { in calculate_score()
|
/external/crosvm/src/crosvm/sys/ |
D | unix.rs | 3576 if let Some(event_index) = in handle_irq_tube_request() 3580 wait_ctx.add(ev, IrqHandlerToken::IrqFd { index: event_index }) in handle_irq_tube_request()
|