/external/wpa_supplicant_8/src/drivers/ |
D | ndis_events.c | 115 static int ndis_events_get_adapter(struct ndis_events_data *events, 119 static int ndis_events_constructor(struct ndis_events_data *events) in ndis_events_constructor() argument 121 events->ref = 1; in ndis_events_constructor() 123 if (!CreatePipe(&events->read_pipe, &events->write_pipe, NULL, 512)) { in ndis_events_constructor() 128 events->event_avail = CreateEvent(NULL, TRUE, FALSE, NULL); in ndis_events_constructor() 129 if (events->event_avail == NULL) { in ndis_events_constructor() 132 CloseHandle(events->read_pipe); in ndis_events_constructor() 133 CloseHandle(events->write_pipe); in ndis_events_constructor() 141 static void ndis_events_destructor(struct ndis_events_data *events) in ndis_events_destructor() argument 143 CloseHandle(events->read_pipe); in ndis_events_destructor() [all …]
|
/external/f2fs-tools/scripts/ |
D | tracepoint.sh | 9 echo 0 > $TRACE/events/mmc/enable 13 echo 0 > $TRACE/events/block/block_rq_complete/enable 14 echo 0 > $TRACE/events/block/block_bio_complete/enable 18 echo $G > $TRACE/events/f2fs/f2fs_get_victim/enable 22 echo $A > $TRACE/events/f2fs/f2fs_reserve_new_block/enable 26 echo $T > $TRACE/events/f2fs/f2fs_truncate/enable 27 echo $T > $TRACE/events/f2fs/f2fs_truncate_inode_blocks_enter/enable 28 echo $T > $TRACE/events/f2fs/f2fs_truncate_inode_blocks_exit/enable 29 echo $T > $TRACE/events/f2fs/f2fs_truncate_blocks_enter/enable 30 echo $T > $TRACE/events/f2fs/f2fs_truncate_blocks_exit/enable [all …]
|
/external/libevent/ |
D | epoll.c | 57 struct epoll_event *events; member 80 short old, short events, void *p); 82 short old, short events, void *p); 131 epollop->events = mm_calloc(INITIAL_NEVENT, sizeof(struct epoll_event)); in epoll_init() 132 if (epollop->events == NULL) { in epoll_init() 179 int op, events = 0; in epoll_apply_one_change() local 198 events = 0; in epoll_apply_one_change() 201 events |= EPOLLIN; in epoll_apply_one_change() 205 events |= EPOLLIN; in epoll_apply_one_change() 208 events |= EPOLLOUT; in epoll_apply_one_change() [all …]
|
D | devpoll.c | 54 struct pollfd *events; member 62 static int devpoll_add(struct event_base *, int fd, short old, short events, void *); 63 static int devpoll_del(struct event_base *, int fd, short old, short events, void *); 97 devpoll_queue(struct devpollop *devpollop, int fd, int events) { in devpoll_queue() argument 111 pfd->events = events; in devpoll_queue() 143 devpollop->events = mm_calloc(nfiles, sizeof(struct pollfd)); in devpoll_init() 144 if (devpollop->events == NULL) { in devpoll_init() 153 mm_free(devpollop->events); in devpoll_init() 168 struct pollfd *events = devpollop->events; in devpoll_dispatch() local 178 dvp.dp_fds = devpollop->events; in devpoll_dispatch() [all …]
|
D | kqueue.c | 73 struct kevent *events; member 135 kqueueop->events = mm_calloc(NEVENT, sizeof(struct kevent)); in kq_init() 136 if (kqueueop->events == NULL) in kq_init() 151 kqueueop->changes, 1, kqueueop->events, NEVENT, NULL) != 1 || in kq_init() 152 (int)kqueueop->events[0].ident != -1 || in kq_init() 153 kqueueop->events[0].flags != EV_ERROR) { in kq_init() 243 newresult = mm_realloc(kqop->events, in kq_grow_events() 247 kqop->events = newresult; in kq_grow_events() 259 struct kevent *events = kqop->events; in kq_dispatch() local 298 events = kqop->events; in kq_dispatch() [all …]
|
D | poll.c | 66 static int poll_add(struct event_base *, int, short old, short events, void *_idx); 67 static int poll_del(struct event_base *, int, short old, short events, void *_idx); 211 poll_add(struct event_base *base, int fd, short old, short events, void *_idx) in poll_add() argument 218 EVUTIL_ASSERT((events & EV_SIGNAL) == 0); in poll_add() 219 if (!(events & (EV_READ|EV_WRITE))) in poll_add() 252 pfd->events = 0; in poll_add() 258 if (events & EV_WRITE) in poll_add() 259 pfd->events |= POLLOUT; in poll_add() 260 if (events & EV_READ) in poll_add() 261 pfd->events |= POLLIN; in poll_add() [all …]
|
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/ |
D | parsed_trace_events.py | 9 def __init__(self, events = None, trace_filename = None): argument 17 if trace_filename and events: 19 if not trace_filename and events == None: 42 events = json.loads(t) 46 if 'traceEvents' in events: 47 events = events['traceEvents'] 49 if not hasattr(events, '__iter__'): 51 self.events = events 56 return len(self.events) 59 return self.events[i] [all …]
|
/external/snakeyaml/src/test/java/org/pyyaml/ |
D | CanonicalParser.java | 21 import org.yaml.snakeyaml.events.AliasEvent; 22 import org.yaml.snakeyaml.events.DocumentEndEvent; 23 import org.yaml.snakeyaml.events.DocumentStartEvent; 24 import org.yaml.snakeyaml.events.Event; 25 import org.yaml.snakeyaml.events.ImplicitTuple; 26 import org.yaml.snakeyaml.events.MappingEndEvent; 27 import org.yaml.snakeyaml.events.MappingStartEvent; 28 import org.yaml.snakeyaml.events.ScalarEvent; 29 import org.yaml.snakeyaml.events.SequenceEndEvent; 30 import org.yaml.snakeyaml.events.SequenceStartEvent; [all …]
|
D | PyEmitterTest.java | 31 import org.yaml.snakeyaml.events.CollectionStartEvent; 32 import org.yaml.snakeyaml.events.Event; 33 import org.yaml.snakeyaml.events.MappingStartEvent; 34 import org.yaml.snakeyaml.events.NodeEvent; 35 import org.yaml.snakeyaml.events.ScalarEvent; 36 import org.yaml.snakeyaml.events.SequenceStartEvent; 67 List<Event> events = parse(input); in _testEmitter() local 74 for (Event event : events) { in _testEmitter() 87 assertEquals(events.size(), newEvents.size()); in _testEmitter() 88 Iterator<Event> iter1 = events.iterator(); in _testEmitter() [all …]
|
/external/v8/test/webkit/ |
D | throw-from-finally.js | 28 var events = []; variable 31 events.push("1:try"); 33 events.push("1:finally"); 40 events.push("2:finally"); 43 events.push(e); 49 events.push(e); 51 events.push("3:finally"); 58 events.push(e); 60 events.push("4:finally"); 64 events.push(e); [all …]
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
D | org.eclipse.ecf.filetransfer_4.0.0.v20100529-0735.jar | ... filetransfer/
org/eclipse/ecf/filetransfer/events/
org/eclipse/ecf/filetransfer/events ... |
/external/dbus/dbus/ |
D | dbus-socket-set-epoll.c | 110 uint32_t events = 0; in watch_flags_to_epoll_events() local 113 events |= EPOLLIN; in watch_flags_to_epoll_events() 115 events |= EPOLLOUT; in watch_flags_to_epoll_events() 117 return events; in watch_flags_to_epoll_events() 121 epoll_events_to_watch_flags (uint32_t events) in epoll_events_to_watch_flags() argument 125 if (events & EPOLLIN) in epoll_events_to_watch_flags() 127 if (events & EPOLLOUT) in epoll_events_to_watch_flags() 129 if (events & EPOLLHUP) in epoll_events_to_watch_flags() 131 if (events & EPOLLERR) in epoll_events_to_watch_flags() 151 event.events = watch_flags_to_epoll_events (flags); in socket_set_epoll_add() [all …]
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/bin/ |
D | instance_events | 57 events = {} 74 if stat.events: 75 for event in stat.events: 76 events[stat.id] = {} 77 events[stat.id]['id'] = stat.id 78 events[stat.id]['dns'] = instanceinfo[stat.id]['dns'] 79 events[stat.id]['zone'] = stat.zone 81 events[stat.id][tag] = instanceinfo[stat.id][tag] 82 events[stat.id]['code'] = event.code 83 events[stat.id]['description'] = event.description [all …]
|
/external/valgrind/callgrind/ |
D | callgrind_control.in | 94 @events = split(/\s+/, $events); 95 %events = (); 97 foreach $event (@events) { 98 $events{$event} = $n; 103 (defined $events{$show_event}) or 107 @show_events = @events; 111 push(@show_order, $events{$show_event}); 124 (@CC <= @events) or die("Line $.: too many event counts\n"); 140 foreach my $event (@events) { 176 my $event = $events[$i]; [all …]
|
/external/chromium-trace/catapult/telemetry/telemetry/timeline/ |
D | trace_event_importer_unittest.py | 14 def FindEventNamed(events, name): argument 15 for event in events: 23 events = [ 38 trace_data = trace_data_module.TraceData(events) 83 events = [ 90 trace_data = trace_data_module.TraceData(events) 100 events = [ 107 trace_data = trace_data_module.TraceData(events) 123 events = [ 133 trace_data = trace_data_module.TraceData(events) [all …]
|
D | trace_event_importer.py | 197 def _ProcessMemoryDumpEvents(self, events): argument 200 for event in events: 318 events = async_event_states_by_name_then_id[name][event_id] 319 events.append(async_event_state) 324 events[0]['event']['cat'], 326 events[0]['event']['ts'] / 1000.0) 329 - (events[0]['event']['ts'] / 1000.0)) 331 async_slice.start_thread = events[0]['thread'] 334 if 'tts' in event and 'tts' in events[0]['event']: 335 async_slice.thread_start = events[0]['event']['tts'] / 1000.0 [all …]
|
/external/autotest/client/bin/input/ |
D | input_device.py | 151 self.events = {} # dict { ev_type : dict { ev_code : Valuator } } 189 elif ev.type not in self.events or ev.code not in self.events[ev.type]: 198 self.events[ev.type][ev.code].value = ev.value 200 self.events[ev.type][ev.code].value = ev.value 253 self.events[ev_type] = {} 264 self.events[ev_type][c] = self._ioctl_absinfo(c) 266 self.events[ev_type][c] = self._ioctl_get_switch(c) 268 self.events[ev_type][c] = Valuator() 305 if c not in self.events[EV_ABS]: 326 ev_abs = self.events[EV_ABS] [all …]
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/util/ |
D | Transcript.java | 10 private List<String> events = new ArrayList<String>(); field in Transcript 13 events.add(event); in add() 17 assertEquals("Expected no events but got " + events + ".", 0, events.size()); in assertNoEventsSoFar() 21 assertEquals(Arrays.asList(expectedEvents), events); in assertEventsSoFar() local 22 events.clear(); in assertEventsSoFar() 26 events.clear(); in clear() 30 return events; in getEvents()
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
D | t059debug.py | 16 self.events = [] 35 self.events.append(['nosocket']) 56 self.events.append(event.split('\t')) 66 self.events.append(['timeout']) 68 self.events.append(['socketerror', exc.args]) 122 lt_events = [event for event in listener.events 133 found = [event for event in listener.events 170 self.assertListEqual(debugger.events, expected) 214 self.assertListEqual(debugger.events, expected) 252 self.assertListEqual(debugger.events, expected) [all …]
|
D | t014parser.py | 18 assert parser.events == [ 23 ], parser.events 37 assert parser.events == [], parser.events 51 assert parser.events == [ 53 ], parser.events 67 assert parser.events == [ 70 ], parser.events
|
/external/mesa3d/include/CL/ |
D | cl.hpp | 1618 waitForEvents(const VECTOR_CLASS<Event>& events) in waitForEvents() argument 1622 (cl_uint) events.size(), (cl_event*)&events.front()), in waitForEvents() 1673 WaitForEvents(const VECTOR_CLASS<Event>& events) in WaitForEvents() argument 1677 (cl_uint) events.size(), (cl_event*)&events.front()), in WaitForEvents() 2618 const VECTOR_CLASS<Event>* events = NULL, in enqueueReadBuffer() argument 2625 (events != NULL) ? (cl_uint) events->size() : 0, in enqueueReadBuffer() 2626 (events != NULL && events->size() > 0) ? (cl_event*) &events->front() : NULL, in enqueueReadBuffer() 2637 const VECTOR_CLASS<Event>* events = NULL, in enqueueWriteBuffer() argument 2644 (events != NULL) ? (cl_uint) events->size() : 0, in enqueueWriteBuffer() 2645 (events != NULL && events->size() > 0) ? (cl_event*) &events->front() : NULL, in enqueueWriteBuffer() [all …]
|
/external/webrtc/webrtc/base/ |
D | httpbase_unittest.cc | 69 events.push_back(e); in onHttpHeaderComplete() 78 events.push_back(e); in onHttpComplete() 83 events.push_back(e); in onHttpClosed() 110 std::vector<Event> events; member in rtc::HttpBaseTest 126 EXPECT_TRUE(events.empty()); in SetupSource() 129 ASSERT_EQ(1U, events.size()); in SetupSource() 130 EXPECT_EQ(E_COMPLETE, events[0].event); in SetupSource() 131 EXPECT_EQ(HM_CONNECT, events[0].mode); in SetupSource() 132 EXPECT_EQ(HE_NONE, events[0].err); in SetupSource() 133 events.clear(); in SetupSource() [all …]
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/ |
D | ParsedEvent.java | 650 ParsedEvent[] events = new ParsedEvent[eventCount]; in parseEventPacket() local 657 events[i] = new Event_VM_START(suspendPolicy, packetCopy); in parseEventPacket() 661 events[i] = new Event_SINGLE_STEP(suspendPolicy, packetCopy); in parseEventPacket() 665 events[i] = new Event_BREAKPOINT(suspendPolicy, packetCopy); in parseEventPacket() 669 events[i] = new Event_METHOD_ENTRY(suspendPolicy, packetCopy); in parseEventPacket() 673 events[i] = new Event_METHOD_EXIT(suspendPolicy, packetCopy); in parseEventPacket() 677 events[i] = new Event_METHOD_EXIT_WITH_RETURN_VALUE(suspendPolicy, packetCopy); in parseEventPacket() 681 events[i] = new Event_MONITOR_CONTENDED_ENTER(suspendPolicy, packetCopy); in parseEventPacket() 685 events[i] = new Event_MONITOR_CONTENDED_ENTERED(suspendPolicy, packetCopy); in parseEventPacket() 689 events[i] = new Event_MONITOR_WAIT(suspendPolicy, packetCopy); in parseEventPacket() [all …]
|
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/debugging/ |
D | debug-mode.rb | 100 lt_events, found = listener.events.partition { |event| event.start_with?( "(look): " ) } 140 debugger.events.should == expected 177 debugger.events.should == expected 210 debugger.events.should == expected 281 debugger.events.should == expected 351 debugger.events.should == expected 388 debugger.events.should == expected 440 debugger.events.should == expected 486 debugger.events.should == expected 526 debugger.events.should == expected [all …]
|
/external/autotest/client/site_tests/hardware_TLBMissCost/ |
D | hardware_TLBMissCost.py | 33 def initialize(self, events=('cycles', 'iTLB-misses')): argument 35 self.events = events 52 self.events = self.events + (self.pw_event,) 54 ','.join(self.events)) 58 if ('iTLB-misses' in self.events): 62 if ('cycles' in self.events):
|