Searched refs:ELEMENTSOF (Results 1 – 15 of 15) sorted by relevance
/third_party/eudev/src/udev/ |
D | udev-builtin.c | 54 for (i = 0; i < ELEMENTSOF(builtins); i++) in udev_builtin_init() 67 for (i = 0; i < ELEMENTSOF(builtins); i++) in udev_builtin_exit() 77 for (i = 0; i < ELEMENTSOF(builtins); i++) in udev_builtin_validate() 86 for (i = 0; i < ELEMENTSOF(builtins); i++) in udev_builtin_list() 107 for (i = 0; i < ELEMENTSOF(builtins); i++) in udev_builtin_lookup()
|
D | udevadm.c | 67 for (i = 0; i < ELEMENTSOF(udevadm_cmds); i++) in adm_help() 121 for (i = 0; i < ELEMENTSOF(udevadm_cmds); i++) in main()
|
D | udev-builtin-keyboard.c | 224 if (release_count < ELEMENTSOF(release)-1) in builtin_keyboard()
|
D | udevadm-monitor.c | 250 fdcount = epoll_wait(fd_ep, ev, ELEMENTSOF(ev), -1); in adm_monitor()
|
D | udev-event.c | 138 for (i = 0; i < ELEMENTSOF(map); i++) { in udev_event_apply_format() 154 for (i = 0; i < ELEMENTSOF(map); i++) { in udev_event_apply_format() 513 fdcount = epoll_wait(fd_ep, ev, ELEMENTSOF(ev), timeout); in spawn_read()
|
D | udevadm-info.c | 49 for (i = 0; i < ELEMENTSOF(skip); i++) in skip_attribute()
|
D | udevd.c | 383 fdcount = epoll_wait(fd_ep, ev, ELEMENTSOF(ev), -1); in worker_spawn() 1405 fdcount = epoll_wait(fd_ep, ev, ELEMENTSOF(ev), timeout); in main()
|
D | udev-rules.c | 1006 if (rule_tmp->token_cur >= ELEMENTSOF(rule_tmp->token)) { in rule_add_key() 1277 for (i = 0; i < ELEMENTSOF(blacklist); i++) { in add_rule()
|
/third_party/eudev/src/shared/ |
D | util.h | 158 if (i < 0 || i >= (type) ELEMENTSOF(name##_table)) \ 168 for (i = 0; i < (type)ELEMENTSOF(name##_table); i++) \ 192 if (i < (type) ELEMENTSOF(name##_table)) { \ 208 for (i = 0; i < (type)ELEMENTSOF(name##_table); i++) \ 230 …intf(buf, fmt, ...) assert_se((size_t) snprintf(buf, ELEMENTSOF(buf), fmt, __VA_ARGS__) < ELEMENTS… 378 for (_i_ = 0; _i_ < ELEMENTSOF(_appendees_) && _appendees_[_i_]; _i_++) \ 381 for (_i_ = 0; _i_ < ELEMENTSOF(_appendees_) && _appendees_[_i_]; _i_++) \
|
D | log.c | 314 .msg_iovlen = ELEMENTSOF(iovec), in write_to_syslog() 354 (size_t) n >= IOVEC_TOTAL_SIZE(iovec, ELEMENTSOF(iovec))) in write_to_syslog() 357 IOVEC_INCREMENT(iovec, ELEMENTSOF(iovec), n); in write_to_syslog() 391 if (writev(kmsg_fd, iovec, ELEMENTSOF(iovec)) < 0) in write_to_kmsg()
|
D | time-util.c | 117 for (i = 0; i < ELEMENTSOF(table); i++) { in format_timespan()
|
D | macro.h | 77 #define ELEMENTSOF(x) (sizeof(x)/sizeof((x)[0])) macro
|
D | selinux-util.c | 93 label_hnd = selabel_open(SELABEL_CTX_FILE, options, ELEMENTSOF(options)); in mac_selinux_init()
|
/third_party/eudev/test/ |
D | test-udev.c | 77 for (i = 0; i < ELEMENTSOF(fakefss); i++) { in fake_filesystems()
|
/third_party/eudev/src/libudev/ |
D | libudev-monitor.c | 324 if (i+1 >= ELEMENTSOF(ins)) in udev_monitor_filter_update()
|