/external/ltp/testcases/kernel/syscalls/fanotify/ |
D | fanotify15.c | 48 static struct event_t event_set[EVENT_MAX]; variable 75 event_set[count].mask = FAN_CREATE | FAN_MOVED_FROM | FAN_MOVED_TO | \ in do_test() 77 event_set[count].handle.handle_bytes = MAX_HANDLE_SZ; in do_test() 78 fanotify_get_fid(TEST_DIR, &event_set[count].fsid, in do_test() 79 &event_set[count].handle); in do_test() 87 event_set[count].mask = FAN_ATTRIB | FAN_DELETE_SELF; in do_test() 88 event_set[count].handle.handle_bytes = MAX_HANDLE_SZ; in do_test() 89 fanotify_get_fid(FILE2, &event_set[count].fsid, in do_test() 90 &event_set[count].handle); in do_test() 102 event_set[count].mask = FAN_ONDIR | FAN_CREATE | FAN_MOVED_FROM | \ in do_test() [all …]
|
D | fanotify13.c | 94 static struct event_t event_set[EVENT_MAX]; variable 112 event_set[i].handle.handle_bytes = MAX_HANDLE_SZ; in get_object_stats() 113 fanotify_get_fid(objects[i].path, &event_set[i].fsid, in get_object_stats() 114 &event_set[i].handle); in get_object_stats() 133 !event_set[i].fsid.val[0] && in setup_marks() 134 !event_set[i].fsid.val[1]) { in setup_marks() 148 event_set[i].expected_mask = tc->mask; in setup_marks() 150 event_set[i].expected_mask &= ~FAN_ONDIR; in setup_marks() 221 if (metadata->mask != event_set[i].expected_mask) in do_test() 226 event_set[i].expected_mask); in do_test() [all …]
|
D | fanotify02.c | 39 static unsigned long long event_set[EVENT_MAX]; variable 64 event_set[tst_count] = FAN_OPEN; in test01() 68 event_set[tst_count] = FAN_MODIFY; in test01() 72 event_set[tst_count] = FAN_CLOSE_WRITE; in test01() 84 event_set[tst_count] = FAN_OPEN; in test01() 88 event_set[tst_count] = FAN_ACCESS; in test01() 92 event_set[tst_count] = FAN_CLOSE_NOWRITE; in test01() 121 event_set[tst_count] = FAN_OPEN; in test01() 125 event_set[tst_count] = FAN_CLOSE_NOWRITE; in test01() 154 } else if (!(event->mask & event_set[test_num])) { in test01() [all …]
|
D | fanotify01.c | 78 static unsigned long long event_set[EVENT_MAX]; variable 122 event_set[tst_count] = FAN_OPEN; in test_fanotify() 126 event_set[tst_count] = FAN_ACCESS; in test_fanotify() 130 event_set[tst_count] = FAN_CLOSE_NOWRITE; in test_fanotify() 141 event_set[tst_count] = FAN_OPEN; in test_fanotify() 145 event_set[tst_count] = FAN_MODIFY; in test_fanotify() 149 event_set[tst_count] = FAN_CLOSE_WRITE; in test_fanotify() 174 event_set[tst_count] = FAN_OPEN; in test_fanotify() 190 event_set[tst_count] = FAN_MODIFY; in test_fanotify() 198 event_set[tst_count] = FAN_ACCESS; in test_fanotify() [all …]
|
D | fanotify03.c | 68 struct event event_set[EVENT_SET_MAX]; member 262 struct event *event_set = tc->event_set; in test_fanotify() local 297 if (event->mask != event_set[test_num].mask) { in test_fanotify() 302 event_set[test_num].mask, in test_fanotify() 320 if (event_set[test_num].mask & LTP_ALL_PERM_EVENTS) { in test_fanotify() 324 resp.response = event_set[test_num].response; in test_fanotify() 338 event_set[test_num].mask); in test_fanotify()
|
D | fanotify12.c | 49 unsigned long long event_set[EVENT_SET_BUF]; member 218 if (event->mask != *(tc->event_set + event_num)) { in do_test() 223 *(tc->event_set + event_num), in do_test()
|
/external/ltp/testcases/kernel/syscalls/inotify/ |
D | inotify02.c | 51 static struct event_t event_set[EVENT_MAX]; variable 65 event_set[test_cnt].mask = IN_ISDIR | IN_ATTRIB; in verify_inotify() 66 strcpy(event_set[test_cnt].name, ""); in verify_inotify() 74 event_set[test_cnt].mask = IN_CREATE; in verify_inotify() 75 strcpy(event_set[test_cnt].name, FILE_NAME1); in verify_inotify() 77 event_set[test_cnt].mask = IN_OPEN; in verify_inotify() 78 strcpy(event_set[test_cnt].name, FILE_NAME1); in verify_inotify() 82 event_set[test_cnt].mask = IN_CLOSE_WRITE; in verify_inotify() 83 strcpy(event_set[test_cnt].name, FILE_NAME1); in verify_inotify() 87 event_set[test_cnt].mask = IN_MOVED_FROM; in verify_inotify() [all …]
|
D | inotify04.c | 47 struct event_t event_set[EVENT_MAX]; variable 96 event_set[test_cnt].mask = IN_DELETE_SELF; in verify_inotify() 97 strcpy(event_set[test_cnt].name, ""); in verify_inotify() 99 event_set[test_cnt].mask = IN_IGNORED; in verify_inotify() 100 strcpy(event_set[test_cnt].name, ""); in verify_inotify() 114 event_set[test_cnt].mask = IN_ATTRIB; in verify_inotify() 115 strcpy(event_set[test_cnt].name, ""); in verify_inotify() 119 event_set[test_cnt].mask = IN_DELETE_SELF; in verify_inotify() 120 strcpy(event_set[test_cnt].name, TEST_FILE); in verify_inotify() 122 event_set[test_cnt].mask = IN_IGNORED; in verify_inotify() [all …]
|
D | inotify07.c | 63 static struct event_t event_set[EVENT_MAX]; variable 74 event_set[test_cnt].mask = IN_ISDIR | IN_ATTRIB; in verify_inotify() 75 strcpy(event_set[test_cnt].name, ""); in verify_inotify() 79 event_set[test_cnt].mask = IN_OPEN; in verify_inotify() 80 strcpy(event_set[test_cnt].name, FILE_NAME); in verify_inotify() 82 event_set[test_cnt].mask = IN_CLOSE_WRITE; in verify_inotify() 83 strcpy(event_set[test_cnt].name, FILE_NAME); in verify_inotify() 85 event_set[test_cnt].mask = IN_ATTRIB; in verify_inotify() 86 strcpy(event_set[test_cnt].name, FILE_NAME); in verify_inotify() 107 } else if ((event_set[test_num].mask == event->mask) in verify_inotify() [all …]
|
D | inotify01.c | 40 static unsigned int event_set[EVENT_MAX]; variable 52 event_set[test_cnt] = IN_ATTRIB; in verify_inotify() 59 event_set[test_cnt] = IN_OPEN; in verify_inotify() 66 event_set[test_cnt] = IN_ACCESS; in verify_inotify() 70 event_set[test_cnt] = IN_CLOSE_NOWRITE; in verify_inotify() 77 event_set[test_cnt] = IN_OPEN; in verify_inotify() 84 event_set[test_cnt] = IN_MODIFY; in verify_inotify() 88 event_set[test_cnt] = IN_CLOSE_WRITE; in verify_inotify() 114 } else if (event_set[test_num] == event->mask) { in verify_inotify() 132 event_set[test_num], in verify_inotify() [all …]
|
D | inotify08.c | 61 static struct event_t event_set[EVENT_MAX]; variable 72 event_set[test_cnt].mask = IN_ATTRIB; in verify_inotify() 77 event_set[test_cnt].mask = IN_OPEN; in verify_inotify() 80 event_set[test_cnt].mask = IN_CLOSE_WRITE; in verify_inotify() 105 } else if (event_set[test_num].mask == event->mask && in verify_inotify() 117 event_set[test_num].mask, in verify_inotify() 127 event_set[test_num].mask); in verify_inotify()
|
D | inotify03.c | 42 static unsigned int event_set[EVENT_MAX]; variable 63 event_set[test_cnt] = IN_UNMOUNT; in verify_inotify() 65 event_set[test_cnt] = IN_IGNORED; in verify_inotify() 98 } else if (event_set[test_num] == event->mask) { in verify_inotify() 108 event_set[test_num], in verify_inotify() 116 event_set[test_num]); in verify_inotify()
|
/external/libevent/ |
D | poll.c | 76 struct pollfd *event_set; member 124 EVUTIL_ASSERT(pop->event_set[idx].fd == i); in poll_check_ok() 127 struct pollfd *pfd = &pop->event_set[i]; in poll_check_ok() 141 struct pollfd *event_set; in poll_dispatch() local 164 memcpy(pop->event_set_copy, pop->event_set, in poll_dispatch() 166 event_set = pop->event_set_copy; in poll_dispatch() 168 event_set = pop->event_set; in poll_dispatch() 171 event_set = pop->event_set; in poll_dispatch() 182 res = poll(event_set, nfds, msec); in poll_dispatch() 205 what = event_set[i].revents; in poll_dispatch() [all …]
|
D | whatsnew-2.0.txt | 91 Functions like "event_set" that worked with the "current" event_base 104 functions. For example, instead of malloc and event_set, you 118 event_set(ev, fd, EV_READ, cb, NULL);
|
/external/libevent/include/event2/ |
D | event_compat.h | 184 void event_set(struct event *, evutil_socket_t, short, void (*)(evutil_socket_t, short, void *), vo… 186 #define evtimer_set(ev, cb, arg) event_set((ev), -1, 0, (cb), (arg)) 188 event_set((ev), (x), EV_SIGNAL|EV_PERSIST, (cb), (arg)) 199 #define timeout_set(ev, cb, arg) event_set((ev), -1, 0, (cb), (arg)) 214 event_set((ev), (x), EV_SIGNAL|EV_PERSIST, (cb), (arg))
|
/external/libchrome/base/message_loop/ |
D | message_pump_libevent.cc | 171 event_set(evt.get(), fd, event_mask, OnLibeventNotification, controller); in WatchFileDescriptor() 244 event_set(timer_event.get(), -1, 0, timer_callback, event_base_); in Run() 294 event_set(wakeup_event_, wakeup_pipe_out_, EV_READ | EV_PERSIST, in Init()
|
/external/libevent/test/ |
D | test-weof.c | 106 event_set(&ev, pair[1], EV_WRITE, write_cb, &ev); in main()
|
D | test-eof.c | 109 event_set(&ev, pair[1], EV_READ | EV_TIMEOUT, read_cb, &ev); in main()
|
D | regress.c | 309 event_set(&ev, pair[1], EV_READ, simple_read_cb, &ev); in test_simpleread() 325 event_set(&ev, pair[0], EV_WRITE, simple_write_cb, &ev); in test_simplewrite() 354 event_set(&one, pair[1], EV_READ, simpleread_multiple_cb, NULL); in test_simpleread_multiple() 357 event_set(&two, pair[1], EV_READ, simpleread_multiple_cb, NULL); in test_simpleread_multiple() 538 event_set(&ev, pair[0], EV_WRITE, multiple_write_cb, &ev); in test_multiple() 541 event_set(&ev2, pair[1], EV_READ, multiple_read_cb, &ev2); in test_multiple() 567 event_set(&ev, pair[0], EV_WRITE|EV_PERSIST, multiple_write_cb, &ev); in test_persistent() 570 event_set(&ev2, pair[1], EV_READ|EV_PERSIST, multiple_read_cb, &ev2); in test_persistent() 595 event_set(&r1.ev, pair[0], EV_READ, combined_read_cb, &r1); in test_combined() 596 event_set(&w1.ev, pair[0], EV_WRITE, combined_write_cb, &w1); in test_combined() [all …]
|
D | bench_cascade.c | 111 event_set(&events[i], cp[0], EV_READ, read_cb, in run_once()
|
/external/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_cmd_buffer.c | 850 cmd->u.event_set.event = event; in lvp_CmdSetEvent() 851 cmd->u.event_set.value = true; in lvp_CmdSetEvent() 852 cmd->u.event_set.flush = !!(stageMask == VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT); in lvp_CmdSetEvent() 869 cmd->u.event_set.event = event; in lvp_CmdResetEvent() 870 cmd->u.event_set.value = false; in lvp_CmdResetEvent() 871 cmd->u.event_set.flush = !!(stageMask == VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT); in lvp_CmdResetEvent()
|
D | lvp_private.h | 942 struct lvp_cmd_event_set event_set; member
|
/external/webrtc/rtc_base/ |
D | task_queue_libevent.cc | 88 event_set(ev, fd, events, callback, arg); in EventAssign()
|
/external/python/cpython2/Modules/ |
D | _elementtree.c | 2830 PyObject* event_set = Py_None; local 2832 &event_set)) 2855 if (event_set == Py_None) { 2861 if (!PyTuple_Check(event_set)) /* FIXME: handle arbitrary sequences */ 2864 for (i = 0; i < PyTuple_GET_SIZE(event_set); i++) { 2865 PyObject* item = PyTuple_GET_ITEM(event_set, i);
|
/external/mesa3d/src/broadcom/vulkan/ |
D | v3dv_cmd_buffer.c | 4947 job->cpu.event_set.event = event; in v3dv_CmdSetEvent() 4948 job->cpu.event_set.state = 1; in v3dv_CmdSetEvent() 4973 job->cpu.event_set.event = event; in v3dv_CmdResetEvent() 4974 job->cpu.event_set.state = 0; in v3dv_CmdResetEvent()
|