/frameworks/base/core/jni/ |
android_util_FileObserver.cpp | 53 char event_buf[512]; local 59 int num_bytes = read(fd, event_buf, sizeof(event_buf)); 73 event = (struct inotify_event *)(event_buf + event_pos);
|
/external/ltp/testcases/kernel/syscalls/inotify/ |
inotify05.c | 62 static char event_buf[EVENT_BUF_LEN]; variable 93 len = read(fd_notify, event_buf, EVENT_BUF_LEN); 107 event = (struct inotify_event *)&event_buf[i];
|
inotify01.c | 67 static char event_buf[EVENT_BUF_LEN]; variable 140 if ((len = read(fd_notify, event_buf, EVENT_BUF_LEN)) < 0) { 152 event = (struct inotify_event *)&event_buf[i];
|
inotify03.c | 70 static char event_buf[EVENT_BUF_LEN]; variable 113 len = read(fd_notify, event_buf, EVENT_BUF_LEN); 124 event = (struct inotify_event *)&event_buf[i];
|
inotify04.c | 76 char event_buf[EVENT_BUF_LEN]; variable 198 len = read(fd_notify, event_buf, EVENT_BUF_LEN); 207 event = (struct inotify_event *)&event_buf[i];
|
inotify02.c | 78 static char event_buf[EVENT_BUF_LEN]; variable 186 if ((len = read(fd_notify, event_buf, EVENT_BUF_LEN)) == -1) { 195 event = (struct inotify_event *)&event_buf[i];
|
/external/ltp/testcases/kernel/syscalls/fanotify/ |
fanotify01.c | 65 static char event_buf[EVENT_BUF_LEN]; variable 107 ret = SAFE_READ(cleanup, 0, fd_notify, event_buf, EVENT_BUF_LEN); 125 ret = SAFE_READ(cleanup, 0, fd_notify, event_buf + len, 153 ret = SAFE_READ(cleanup, 0, fd_notify, event_buf + len, 176 ret = SAFE_READ(cleanup, 0, fd_notify, event_buf + len, 209 ret = SAFE_READ(cleanup, 0, fd_notify, event_buf + len, 229 ret = SAFE_READ(cleanup, 0, fd_notify, event_buf + len, 246 event = (struct fanotify_event_metadata *)&event_buf[i];
|
fanotify02.c | 65 static char event_buf[EVENT_BUF_LEN]; variable 110 ret = SAFE_READ(cleanup, 0, fd_notify, event_buf, 129 ret = SAFE_READ(cleanup, 0, fd_notify, event_buf + len, 162 ret = SAFE_READ(cleanup, 0, fd_notify, event_buf + len, 178 event = (struct fanotify_event_metadata *)&event_buf[i];
|
fanotify06.c | 82 static char event_buf[EVENT_BUF_LEN]; variable 197 ret = read(fd_notify[0][i], event_buf, EVENT_BUF_LEN); 212 event = (struct fanotify_event_metadata *)event_buf; 223 ret = read(fd_notify[p][i], event_buf, EVENT_BUF_LEN);
|
fanotify03.c | 71 static char event_buf[EVENT_BUF_LEN]; variable 201 ret = read(fd_notify, event_buf + len, 213 event = (struct fanotify_event_metadata *)&event_buf[i];
|
fanotify04.c | 66 static char event_buf[EVENT_BUF_LEN]; variable 141 ret = SAFE_READ(cleanup, 0, fd_notify, event_buf + len, 143 event = (struct fanotify_event_metadata *)&event_buf[len]; 179 ret = read(fd_notify, event_buf + len, EVENT_BUF_LEN - len); 183 event = (struct fanotify_event_metadata *)&event_buf[len];
|
/frameworks/base/libs/usb/tests/accessorytest/ |
hid.c | 162 char event_buf[512]; local 167 int count = read(inotify_fd, event_buf, sizeof(event_buf)); 175 event = (struct inotify_event *)(event_buf + event_pos);
|
/system/core/sdcard/ |
sdcard.cpp | 111 char event_buf[512]; local 145 ssize_t res = TEMP_FAILURE_RETRY(read(nfd, event_buf, sizeof(event_buf))); 151 << sizeof(event_buf); 157 event = reinterpret_cast<struct inotify_event*>(event_buf + event_pos);
|
/external/wpa_supplicant_8/src/drivers/ |
driver_privsep.c | 529 u8 *buf, *event_buf; local 557 event_buf = &buf[sizeof(int)]; 572 event_buf, event_len); 579 event_buf, event_len); 583 drv->ctx, event_buf, event_len); 586 wpa_driver_privsep_event_interface_status(drv->ctx, event_buf, 590 wpa_driver_privsep_event_pmkid_candidate(drv->ctx, event_buf, 594 wpa_driver_privsep_event_stkstart(drv->ctx, event_buf, 598 wpa_driver_privsep_event_ft_response(drv->ctx, event_buf, 602 wpa_driver_privsep_event_rx_eapol(drv->ctx, event_buf, [all...] |
driver_bsd.c | 54 char *event_buf; member in struct:bsd_driver_global 785 n = read(sock, global->event_buf, global->event_buf_len); 793 rtm = (struct rt_msghdr *) global->event_buf; 1224 n = read(sock, global->event_buf, global->event_buf_len); 1232 rtm = (struct rt_msghdr *) global->event_buf; [all...] |
/system/core/toolbox/ |
getevent.c | 436 char event_buf[512]; local 441 res = read(nfd, event_buf, sizeof(event_buf)); 455 event = (struct inotify_event *)(event_buf + event_pos);
|
/system/core/libusbhost/ |
usbhost.c | 234 char event_buf[512]; local 240 ret = read(context->fd, event_buf, sizeof(event_buf)); 243 event = (struct inotify_event*)&event_buf[offset];
|
/frameworks/native/services/inputflinger/ |
EventHub.cpp | 1604 char event_buf[512]; local [all...] |