Home
last modified time | relevance | path

Searched refs:ev (Results 1 – 25 of 159) sorted by relevance

1234567

/external/libedit/src/
Dhistory.c81 #define HNEXT(h, ev) (*(h)->h_next)((h)->h_ref, ev) argument
82 #define HFIRST(h, ev) (*(h)->h_first)((h)->h_ref, ev) argument
83 #define HPREV(h, ev) (*(h)->h_prev)((h)->h_ref, ev) argument
84 #define HLAST(h, ev) (*(h)->h_last)((h)->h_ref, ev) argument
85 #define HCURR(h, ev) (*(h)->h_curr)((h)->h_ref, ev) argument
86 #define HSET(h, ev, n) (*(h)->h_set)((h)->h_ref, ev, n) argument
87 #define HCLEAR(h, ev) (*(h)->h_clear)((h)->h_ref, ev) argument
88 #define HENTER(h, ev, str) (*(h)->h_enter)((h)->h_ref, ev, str) argument
89 #define HADD(h, ev, str) (*(h)->h_add)((h)->h_ref, ev, str) argument
90 #define HDEL(h, ev, n) (*(h)->h_del)((h)->h_ref, ev, n) argument
[all …]
Dreadline.c199 HistEvent ev; in _move_history() local
202 if (history(h, &ev, op) != 0) in _move_history()
205 rl_he.line = ev.str; in _move_history()
287 HistEvent ev; in rl_initialize() local
316 history(h, &ev, H_SETSIZE, INT_MAX); /* unlimited */ in rl_initialize()
386 HistEvent ev; in readline() local
434 history(h, &ev, H_GETSIZE); in readline()
435 history_length = ev.num; in readline()
514 HistEvent ev; in get_history_event() local
522 if (history(h, &ev, H_FIRST) != 0) in get_history_event()
[all …]
/external/mesa3d/src/gallium/state_trackers/clover/api/
Devent.cpp42 clSetUserEventStatus(cl_event ev, cl_int status) { in clSetUserEventStatus() argument
43 if (!dynamic_cast<soft_event *>(ev)) in clSetUserEventStatus()
49 if (ev->status() <= 0) in clSetUserEventStatus()
53 ev->abort(status); in clSetUserEventStatus()
55 ev->trigger(); in clSetUserEventStatus()
65 std::for_each(evs, evs + num_evs, [&](const cl_event ev) { in clWaitForEvents() argument
66 if (!ev) in clWaitForEvents()
69 if (&ev->ctx != &evs[0]->ctx) in clWaitForEvents()
72 if (ev->status() < 0) in clWaitForEvents()
91 clGetEventInfo(cl_event ev, cl_event_info param, in clGetEventInfo() argument
[all …]
Dtransfer.cpp46 if (any_of([&](const cl_event ev) { in validate_base() argument
47 return &ev->ctx != &q->ctx; in validate_base()
141 cl_event *ev) try { in clEnqueueReadBuffer() argument
155 ret_object(ev, hev); in clEnqueueReadBuffer()
166 cl_event *ev) try { in clEnqueueWriteBuffer() argument
180 ret_object(ev, hev); in clEnqueueWriteBuffer()
195 cl_event *ev) try { in clEnqueueReadBufferRect() argument
211 ret_object(ev, hev); in clEnqueueReadBufferRect()
226 cl_event *ev) try { in clEnqueueWriteBufferRect() argument
242 ret_object(ev, hev); in clEnqueueWriteBufferRect()
[all …]
/external/libcxx/src/
Dsystem_error.cpp32 error_category::default_error_condition(int ev) const _NOEXCEPT in default_error_condition()
34 return error_condition(ev, *this); in default_error_condition()
50 __do_message::message(int ev) const in message()
52 return string(strerror(ev)); in message()
60 virtual string message(int ev) const;
70 __generic_error_category::message(int ev) const in message()
73 if (ev > _LIBCPP_ELAST) in message()
76 return __do_message::message(ev); in message()
91 virtual string message(int ev) const;
92 virtual error_condition default_error_condition(int ev) const _NOEXCEPT;
[all …]
/external/tinyalsa/
Dmixer.c302 struct snd_ctl_elem_value ev; in mixer_ctl_get_value() local
308 memset(&ev, 0, sizeof(ev)); in mixer_ctl_get_value()
309 ev.id.numid = ctl->info->id.numid; in mixer_ctl_get_value()
310 ret = ioctl(ctl->mixer->fd, SNDRV_CTL_IOCTL_ELEM_READ, &ev); in mixer_ctl_get_value()
316 return !!ev.value.integer.value[id]; in mixer_ctl_get_value()
319 return ev.value.integer.value[id]; in mixer_ctl_get_value()
322 return ev.value.enumerated.item[id]; in mixer_ctl_get_value()
325 return ev.value.bytes.data[id]; in mixer_ctl_get_value()
336 struct snd_ctl_elem_value ev; in mixer_ctl_get_array() local
344 memset(&ev, 0, sizeof(ev)); in mixer_ctl_get_array()
[all …]
/external/libvncserver/x11vnc/
Dselection.c63 void selection_request(XEvent *ev, char *type);
66 void selection_send(XEvent *ev);
90 void selection_request(XEvent *ev, char *type) { in selection_request() argument
93 if (!ev || !type) {} in selection_request()
121 req_event = &(ev->xselectionrequest); in selection_request()
161 if (ev->xselectionrequest.target == XA_LENGTH) { in selection_request()
166 ret = XChangeProperty(ev->xselectionrequest.display, in selection_request()
167 ev->xselectionrequest.requestor, in selection_request()
168 ev->xselectionrequest.property, in selection_request()
169 ev->xselectionrequest.target, 32, PropModeReplace, in selection_request()
[all …]
Duinput.c712 struct input_event ev; in ptr_move() local
719 memset(&ev, 0, sizeof(ev)); in ptr_move()
723 gettimeofday(&ev.time, NULL); in ptr_move()
724 ev.type = EV_REL; in ptr_move()
725 ev.code = REL_Y; in ptr_move()
726 ev.value = dy; in ptr_move()
727 write(d, &ev, sizeof(ev)); in ptr_move()
729 ev.type = EV_REL; in ptr_move()
730 ev.code = REL_X; in ptr_move()
731 ev.value = dx; in ptr_move()
[all …]
/external/libvncserver/examples/android/jni/
Dfbvncserver.c220 struct input_event ev; in injectKeyEvent() local
221 memset(&ev, 0, sizeof(ev)); in injectKeyEvent()
222 gettimeofday(&ev.time,0); in injectKeyEvent()
223 ev.type = EV_KEY; in injectKeyEvent()
224 ev.code = code; in injectKeyEvent()
225 ev.value = value; in injectKeyEvent()
226 if(write(kbdfd, &ev, sizeof(ev)) < 0) in injectKeyEvent()
309 struct input_event ev; in injectTouchEvent() local
319 memset(&ev, 0, sizeof(ev)); in injectTouchEvent()
322 gettimeofday(&ev.time,0); in injectTouchEvent()
[all …]
/external/toybox/toys/posix/
Denv.c26 char **ev; in env_main() local
31 for (ev = toys.optargs; *ev != NULL; ev++) { in env_main()
32 char *env = strtok(*ev, del), *val = 0; in env_main()
36 else xexec(ev); in env_main()
39 if (environ) for (ev = environ; *ev; ev++) xputs(*ev); in env_main()
/external/compiler-rt/lib/tsan/tests/rtl/
Dtsan_test_util_linux.cc235 void send(Event *ev);
236 void HandleEvent(Event *ev);
239 void ScopedThread::Impl::HandleEvent(Event *ev) { in HandleEvent() argument
241 expect_report = ev->expect_report; in HandleEvent()
243 expect_report_type = ev->report_type; in HandleEvent()
244 switch (ev->type) { in HandleEvent()
248 if (ev->type == Event::READ) { in HandleEvent()
249 switch (ev->arg /*size*/) { in HandleEvent()
257 switch (ev->arg /*size*/) { in HandleEvent()
272 tsan_mop(ev->ptr); in HandleEvent()
[all …]
/external/libvncserver/x11vnc/misc/
Duinput.pl159 my $ev = gtod();
160 $ev .= pack("S", $EV_SYN);
161 $ev .= pack("S", $SYN_REPORT);
162 $ev .= pack("i", 0);
164 my $ret = syswrite(FD, $ev, length($ev));
172 my $ev = gtod();
173 $ev .= pack("S", $EV_KEY);
174 $ev .= pack("S", $key);
175 $ev .= pack("i", $down);
177 my $ret = syswrite(FD, $ev, length($ev));
[all …]
Dqt_tslib_inject.pl267 my $ev = gtod();
268 $ev .= pack("S", $EV_SYN);
269 $ev .= pack("S", $SYN_REPORT);
270 $ev .= pack("i", 0);
272 my $ret = syswrite(FD, $ev, length($ev));
281 my $ev = gtod();
282 $ev .= pack("S", $EV_KEY);
283 $ev .= pack("S", $key);
284 $ev .= pack("i", $down);
286 my $ret = syswrite(FD, $ev, length($ev));
[all …]
/external/icu/icu4c/source/data/locales/
Det.txt335 NoonMarker{"keskpäev"}
409 "pühapäev",
410 "esmaspäev",
411 "teisipäev",
412 "kolmapäev",
413 "neljapäev",
415 "laupäev",
447 "pühapäev",
448 "esmaspäev",
449 "teisipäev",
[all …]
/external/ltrace/
Dlibltrace.c156 dispatch_callbacks(Event * ev) { in dispatch_callbacks() argument
159 if (ev->type==EVENT_SIGNAL && in dispatch_callbacks()
160 exiting && ev->e_un.signum == SIGSTOP) { in dispatch_callbacks()
164 if (ev->proc && ev->proc->state == STATE_IGNORED) { in dispatch_callbacks()
167 for (i=0; i<num_ltrace_callbacks[ev->type]; i++) { in dispatch_callbacks()
168 ltrace_callbacks[ev->type][i](ev); in dispatch_callbacks()
174 Event * ev; in ltrace_main() local
176 ev = next_event(); in ltrace_main()
177 dispatch_callbacks(ev); in ltrace_main()
178 handle_event(ev); in ltrace_main()
/external/libedit/examples/
Dtc1.c138 HistEvent ev; in main() local
148 history(hist, &ev, H_SETSIZE, 100); in main()
222 if (history(hist, &ev, H_SET, lastevent) == -1) in main()
223 err(1, "%d: %s", lastevent, ev.str); in main()
224 history(hist, &ev, H_ADD , buf); in main()
226 history(hist, &ev, H_ENTER, buf); in main()
227 lastevent = ev.num; in main()
231 history(hist, &ev, continuation ? H_APPEND : H_ENTER, buf); in main()
254 for (rv = history(hist, &ev, H_LAST); rv != -1; in main()
255 rv = history(hist, &ev, H_PREV)) in main()
[all …]
Dwtc1.c115 HistEventW ev; in main() local
128 history_w(hist, &ev, H_SETSIZE, 100); /* Remember 100 events */ in main()
129 history_w(hist, &ev, H_LOAD, hfile); in main()
193 history_w(hist, &ev, continuation ? H_APPEND : H_ENTER, line); in main()
214 for(rc = history_w(hist, &ev, H_LAST); in main()
216 rc = history_w(hist, &ev, H_PREV)) in main()
218 ev.num, ev.str); in main()
222 history_w(hist, &ev, H_CLEAR); in main()
228 history_w(hist, &ev, H_LOAD, in main()
231 history_w(hist, &ev, H_SAVE, in main()
[all …]
/external/mesa3d/src/gallium/state_trackers/clover/core/
Devent.cpp33 for (auto ev : deps) in _cl_event() local
34 ev->chain(this); in _cl_event()
69 _cl_event::chain(clover::event *ev) { in chain() argument
71 ev->wait_count++; in chain()
72 __chain.push_back(ev); in chain()
73 ev->deps.push_back(this); in chain()
79 _cl_event(q.ctx, deps, action, [](event &ev){}), in hard_event() argument
149 any_of([](const ref_ptr<event> &ev) { in status() argument
150 return ev->status() != CL_COMPLETE; in status()
170 for (auto ev : deps) in wait() local
[all …]
Dqueue.cpp53 [](event_ptr &ev) { return !ev->signalled(); }); in flush() argument
57 std::for_each(first, last, [&](event_ptr &ev) { ev->fence(fence); }); in flush() argument
64 _cl_command_queue::sequence(clover::hard_event *ev) { in sequence() argument
66 queued_events.back()->chain(ev); in sequence()
68 queued_events.push_back(ev); in sequence()
/external/javassist/sample/duplicate/
DViewer.java34 public void mouseClicked(MouseEvent ev) { in mouseClicked() argument
35 ball.move(ev.getX(), ev.getY()); in mouseClicked()
39 public void mouseEntered(MouseEvent ev) {} in mouseEntered() argument
41 public void mouseExited(MouseEvent ev) {} in mouseExited() argument
43 public void mousePressed(MouseEvent ev) {} in mousePressed() argument
45 public void mouseReleased(MouseEvent ev) {} in mouseReleased() argument
/external/libcxx/test/std/input.output/iostreams.base/ios.base/ios.base.cons/
Ddtor.pass.cpp35 void f1(std::ios_base::event ev, std::ios_base& stream, int index) in f1() argument
37 if (ev == std::ios_base::erase_event) in f1()
48 void f2(std::ios_base::event ev, std::ios_base& stream, int index) in f2() argument
50 if (ev == std::ios_base::erase_event) in f2()
61 void f3(std::ios_base::event ev, std::ios_base& stream, int index) in f3() argument
63 if (ev == std::ios_base::erase_event) in f3()
/external/libcxx/test/std/input.output/iostreams.base/ios.base/ios.base.locales/
Dimbue.pass.cpp37 void f1(std::ios_base::event ev, std::ios_base& stream, int index) in f1() argument
39 if (ev == std::ios_base::imbue_event) in f1()
50 void f2(std::ios_base::event ev, std::ios_base& stream, int index) in f2() argument
52 if (ev == std::ios_base::imbue_event) in f2()
63 void f3(std::ios_base::event ev, std::ios_base& stream, int index) in f3() argument
65 if (ev == std::ios_base::imbue_event) in f3()
/external/libcxx/test/std/input.output/iostreams.base/ios/basic.ios.members/
Dcopyfmt.pass.cpp37 void f1(std::ios_base::event ev, std::ios_base& stream, int index) in f1() argument
39 if (ev == std::ios_base::erase_event) in f1()
52 void f2(std::ios_base::event ev, std::ios_base& stream, int index) in f2() argument
54 if (ev == std::ios_base::erase_event) in f2()
67 void g1(std::ios_base::event ev, std::ios_base& stream, int index) in g1() argument
69 if (ev == std::ios_base::copyfmt_event) in g1()
82 void g2(std::ios_base::event ev, std::ios_base& stream, int index) in g2() argument
84 if (ev == std::ios_base::copyfmt_event) in g2()
97 void g3(std::ios_base::event ev, std::ios_base& stream, int index) in g3() argument
99 if (ev == std::ios_base::copyfmt_event) in g3()
Dmove.pass.cpp44 void f1(std::ios_base::event ev, std::ios_base& stream, int index) in f1() argument
49 void f2(std::ios_base::event ev, std::ios_base& stream, int index) in f2() argument
54 void g1(std::ios_base::event ev, std::ios_base& stream, int index) in g1() argument
56 if (ev == std::ios_base::imbue_event) in g1()
63 void g2(std::ios_base::event ev, std::ios_base& stream, int index) in g2() argument
65 if (ev == std::ios_base::imbue_event) in g2()
72 void g3(std::ios_base::event ev, std::ios_base& stream, int index) in g3() argument
74 if (ev == std::ios_base::imbue_event) in g3()
/external/valgrind/callgrind/
Dmain.c276 static void init_Event ( Event* ev ) { in init_Event() argument
277 VG_(memset)(ev, 0, sizeof(Event)); in init_Event()
280 static IRAtom* get_Event_dea ( Event* ev ) { in get_Event_dea() argument
281 switch (ev->tag) { in get_Event_dea()
282 case Ev_Dr: return ev->Ev.Dr.ea; in get_Event_dea()
283 case Ev_Dw: return ev->Ev.Dw.ea; in get_Event_dea()
284 case Ev_Dm: return ev->Ev.Dm.ea; in get_Event_dea()
289 static Int get_Event_dszB ( Event* ev ) { in get_Event_dszB() argument
290 switch (ev->tag) { in get_Event_dszB()
291 case Ev_Dr: return ev->Ev.Dr.szB; in get_Event_dszB()
[all …]

1234567