HelenOS sources
list 113 boot/genarch/src/ofw.c va_list list;
list 114 boot/genarch/src/ofw.c va_start(list, rets);
list 118 boot/genarch/src/ofw.c args.args[i] = va_arg(list, ofw_arg_t);
list 120 boot/genarch/src/ofw.c va_end(list);
list 56 common/adt/list.c bool list_member(const link_t *link, const list_t *list)
list 59 common/adt/list.c link_t *hlp = list->head.next;
list 61 common/adt/list.c while (hlp != &list->head) {
list 80 common/adt/list.c void list_splice(list_t *list, link_t *pos)
list 82 common/adt/list.c if (list_empty(list))
list 86 common/adt/list.c list->head.next->prev = pos;
list 87 common/adt/list.c list->head.prev->next = pos->next;
list 90 common/adt/list.c pos->next->prev = list->head.prev;
list 91 common/adt/list.c pos->next = list->head.next;
list 93 common/adt/list.c list_initialize(list);
list 103 common/adt/list.c size_t list_count(const list_t *list)
list 107 common/adt/list.c link_t *link = list_first(list);
list 110 common/adt/list.c link = list_next(link, list);
list 90 common/include/adt/list.h #define list_foreach(list, member, itype, iterator) \
list 92 common/include/adt/list.h for (link_t *_link = (list).head.next; \
list 94 common/include/adt/list.h _link != &(list).head; _link = _link->next)
list 96 common/include/adt/list.h #define list_foreach_rev(list, member, itype, iterator) \
list 98 common/include/adt/list.h for (link_t *_link = (list).head.prev; \
list 100 common/include/adt/list.h _link != &(list).head; _link = _link->prev)
list 127 common/include/adt/list.h #define list_foreach_safe(list, iterator, next_iter) \
list 128 common/include/adt/list.h for (link_t *iterator = (list).head.next, \
list 130 common/include/adt/list.h iterator != &(list).head; \
list 136 common/include/adt/list.h #define list_pop(list, type, member) \
list 137 common/include/adt/list.h ((type *) list_pop_internal(list, \
list 185 common/include/adt/list.h _NO_TRACE static inline __CONSTEXPR void list_initialize(list_t *list)
list 187 common/include/adt/list.h list->head.prev = &list->head;
list 188 common/include/adt/list.h list->head.next = &list->head;
list 221 common/include/adt/list.h _NO_TRACE static inline void list_prepend(link_t *link, list_t *list)
list 223 common/include/adt/list.h list_insert_after(link, &list->head);
list 234 common/include/adt/list.h _NO_TRACE static inline void list_append(link_t *link, list_t *list)
list 236 common/include/adt/list.h list_insert_before(link, &list->head);
list 264 common/include/adt/list.h _NO_TRACE static inline bool list_empty(const list_t *list)
list 266 common/include/adt/list.h return (list->head.next == &list->head);
list 277 common/include/adt/list.h static inline link_t *list_first(const list_t *list)
list 279 common/include/adt/list.h return ((list->head.next == &list->head) ? NULL : list->head.next);
list 290 common/include/adt/list.h static inline link_t *list_last(const list_t *list)
list 292 common/include/adt/list.h return (list->head.prev == &list->head) ? NULL : list->head.prev;
list 302 common/include/adt/list.h static inline link_t *list_next(const link_t *link, const list_t *list)
list 304 common/include/adt/list.h return (link->next == &list->head) ? NULL : link->next;
list 314 common/include/adt/list.h static inline link_t *list_prev(const link_t *link, const list_t *list)
list 316 common/include/adt/list.h return (link->prev == &list->head) ? NULL : link->prev;
list 419 common/include/adt/list.h static inline link_t *list_nth(const list_t *list, size_t n)
list 423 common/include/adt/list.h link_t *link = list_first(list);
list 429 common/include/adt/list.h link = list_next(link, list);
list 458 common/include/adt/list.h static inline void *list_pop_internal(list_t *list, ptrdiff_t offset)
list 460 common/include/adt/list.h link_t *tmp = list_first(list);
list 56 kernel/generic/common/adt/list.c bool list_member(const link_t *link, const list_t *list)
list 59 kernel/generic/common/adt/list.c link_t *hlp = list->head.next;
list 61 kernel/generic/common/adt/list.c while (hlp != &list->head) {
list 80 kernel/generic/common/adt/list.c void list_splice(list_t *list, link_t *pos)
list 82 kernel/generic/common/adt/list.c if (list_empty(list))
list 86 kernel/generic/common/adt/list.c list->head.next->prev = pos;
list 87 kernel/generic/common/adt/list.c list->head.prev->next = pos->next;
list 90 kernel/generic/common/adt/list.c pos->next->prev = list->head.prev;
list 91 kernel/generic/common/adt/list.c pos->next = list->head.next;
list 93 kernel/generic/common/adt/list.c list_initialize(list);
list 103 kernel/generic/common/adt/list.c size_t list_count(const list_t *list)
list 107 kernel/generic/common/adt/list.c link_t *link = list_first(list);
list 110 kernel/generic/common/adt/list.c link = list_next(link, list);
list 90 kernel/generic/common/include/adt/list.h #define list_foreach(list, member, itype, iterator) \
list 92 kernel/generic/common/include/adt/list.h for (link_t *_link = (list).head.next; \
list 94 kernel/generic/common/include/adt/list.h _link != &(list).head; _link = _link->next)
list 96 kernel/generic/common/include/adt/list.h #define list_foreach_rev(list, member, itype, iterator) \
list 98 kernel/generic/common/include/adt/list.h for (link_t *_link = (list).head.prev; \
list 100 kernel/generic/common/include/adt/list.h _link != &(list).head; _link = _link->prev)
list 127 kernel/generic/common/include/adt/list.h #define list_foreach_safe(list, iterator, next_iter) \
list 128 kernel/generic/common/include/adt/list.h for (link_t *iterator = (list).head.next, \
list 130 kernel/generic/common/include/adt/list.h iterator != &(list).head; \
list 136 kernel/generic/common/include/adt/list.h #define list_pop(list, type, member) \
list 137 kernel/generic/common/include/adt/list.h ((type *) list_pop_internal(list, \
list 185 kernel/generic/common/include/adt/list.h _NO_TRACE static inline __CONSTEXPR void list_initialize(list_t *list)
list 187 kernel/generic/common/include/adt/list.h list->head.prev = &list->head;
list 188 kernel/generic/common/include/adt/list.h list->head.next = &list->head;
list 221 kernel/generic/common/include/adt/list.h _NO_TRACE static inline void list_prepend(link_t *link, list_t *list)
list 223 kernel/generic/common/include/adt/list.h list_insert_after(link, &list->head);
list 234 kernel/generic/common/include/adt/list.h _NO_TRACE static inline void list_append(link_t *link, list_t *list)
list 236 kernel/generic/common/include/adt/list.h list_insert_before(link, &list->head);
list 264 kernel/generic/common/include/adt/list.h _NO_TRACE static inline bool list_empty(const list_t *list)
list 266 kernel/generic/common/include/adt/list.h return (list->head.next == &list->head);
list 277 kernel/generic/common/include/adt/list.h static inline link_t *list_first(const list_t *list)
list 279 kernel/generic/common/include/adt/list.h return ((list->head.next == &list->head) ? NULL : list->head.next);
list 290 kernel/generic/common/include/adt/list.h static inline link_t *list_last(const list_t *list)
list 292 kernel/generic/common/include/adt/list.h return (list->head.prev == &list->head) ? NULL : list->head.prev;
list 302 kernel/generic/common/include/adt/list.h static inline link_t *list_next(const link_t *link, const list_t *list)
list 304 kernel/generic/common/include/adt/list.h return (link->next == &list->head) ? NULL : link->next;
list 314 kernel/generic/common/include/adt/list.h static inline link_t *list_prev(const link_t *link, const list_t *list)
list 316 kernel/generic/common/include/adt/list.h return (link->prev == &list->head) ? NULL : link->prev;
list 419 kernel/generic/common/include/adt/list.h static inline link_t *list_nth(const list_t *list, size_t n)
list 423 kernel/generic/common/include/adt/list.h link_t *link = list_first(list);
list 429 kernel/generic/common/include/adt/list.h link = list_next(link, list);
list 458 kernel/generic/common/include/adt/list.h static inline void *list_pop_internal(list_t *list, ptrdiff_t offset)
list 460 kernel/generic/common/include/adt/list.h link_t *tmp = list_first(list);
list 105 kernel/generic/include/console/chardev.h list_t list;
list 152 kernel/generic/src/console/chardev.c list_initialize(&outdev->list);
list 147 kernel/generic/src/console/console.c list_append(&outdev->link, &stdout->list);
list 152 kernel/generic/src/console/console.c list_foreach(dev->list, link, outdev_t, sink) {
list 160 kernel/generic/src/console/console.c list_foreach(dev->list, link, outdev_t, sink) {
list 168 kernel/generic/src/console/console.c list_foreach(dev->list, link, outdev_t, sink) {
list 176 kernel/generic/src/console/console.c list_foreach(dev->list, link, outdev_t, sink) {
list 896 kernel/generic/src/ipc/ipc.c static void ipc_print_call_list(list_t *list)
list 898 kernel/generic/src/ipc/ipc.c list_foreach(*list, ab_link, call_t, call) {
list 235 kernel/generic/src/proc/scheduler.c list_t list;
list 236 kernel/generic/src/proc/scheduler.c list_initialize(&list);
list 245 kernel/generic/src/proc/scheduler.c list_swap(&CPU->rq[i].rq, &list);
list 258 kernel/generic/src/proc/scheduler.c list_concat(&CPU->rq[start].rq, &list);
list 47 uspace/app/sbi/src/list.c static bool_t list_node_present(list_t *list, list_node_t *node);
list 53 uspace/app/sbi/src/list.c void list_init(list_t *list)
list 55 uspace/app/sbi/src/list.c list->head.prev = &list->head;
list 56 uspace/app/sbi/src/list.c list->head.next = &list->head;
list 63 uspace/app/sbi/src/list.c void list_fini(list_t *list)
list 65 uspace/app/sbi/src/list.c assert(list_is_empty(list));
list 67 uspace/app/sbi/src/list.c list->head.prev = NULL;
list 68 uspace/app/sbi/src/list.c list->head.next = NULL;
list 78 uspace/app/sbi/src/list.c void list_append(list_t *list, void *data)
list 83 uspace/app/sbi/src/list.c list_node_insert_between(node, list->head.prev, &list->head);
list 93 uspace/app/sbi/src/list.c void list_prepend(list_t *list, void *data)
list 98 uspace/app/sbi/src/list.c list_node_insert_between(node, list->head.prev, &list->head);
list 110 uspace/app/sbi/src/list.c void list_remove(list_t *list, list_node_t *node)
list 113 uspace/app/sbi/src/list.c assert(list_node_present(list, node));
list 124 uspace/app/sbi/src/list.c list_node_t *list_first(list_t *list)
list 128 uspace/app/sbi/src/list.c assert(list != NULL);
list 129 uspace/app/sbi/src/list.c node = list->head.next;
list 131 uspace/app/sbi/src/list.c return (node != &list->head) ? node : NULL;
list 139 uspace/app/sbi/src/list.c list_node_t *list_last(list_t *list)
list 143 uspace/app/sbi/src/list.c assert(list != NULL);
list 144 uspace/app/sbi/src/list.c node = list->head.prev;
list 146 uspace/app/sbi/src/list.c return (node != &list->head) ? node : NULL;
list 155 uspace/app/sbi/src/list.c list_node_t *list_next(list_t *list, list_node_t *node)
list 157 uspace/app/sbi/src/list.c (void) list;
list 158 uspace/app/sbi/src/list.c assert(list != NULL);
list 161 uspace/app/sbi/src/list.c return (node->next != &list->head) ? node->next : NULL;
list 170 uspace/app/sbi/src/list.c list_node_t *list_prev(list_t *list, list_node_t *node)
list 172 uspace/app/sbi/src/list.c (void) list;
list 173 uspace/app/sbi/src/list.c assert(list != NULL);
list 176 uspace/app/sbi/src/list.c return (node->prev != &list->head) ? node->prev : NULL;
list 184 uspace/app/sbi/src/list.c bool_t list_is_empty(list_t *list)
list 186 uspace/app/sbi/src/list.c return (list_first(list) == NULL);
list 288 uspace/app/sbi/src/list.c static bool_t list_node_present(list_t *list, list_node_t *node)
list 292 uspace/app/sbi/src/list.c m = list->head.next;
list 293 uspace/app/sbi/src/list.c while (m != &list->head) {
list 35 uspace/app/sbi/src/list.h void list_init(list_t *list);
list 36 uspace/app/sbi/src/list.h void list_fini(list_t *list);
list 37 uspace/app/sbi/src/list.h void list_append(list_t *list, void *data);
list 38 uspace/app/sbi/src/list.h void list_prepend(list_t *list, void *data);
list 39 uspace/app/sbi/src/list.h void list_remove(list_t *list, list_node_t *node);
list 41 uspace/app/sbi/src/list.h list_node_t *list_first(list_t *list);
list 42 uspace/app/sbi/src/list.h list_node_t *list_last(list_t *list);
list 43 uspace/app/sbi/src/list.h list_node_t *list_next(list_t *list, list_node_t *node);
list 44 uspace/app/sbi/src/list.h list_node_t *list_prev(list_t *list, list_node_t *node);
list 45 uspace/app/sbi/src/list.h bool_t list_is_empty(list_t *list);
list 1358 uspace/app/uidemo/uidemo.c rc = ui_list_create(window, false, &demo.list);
list 1367 uspace/app/uidemo/uidemo.c rc = ui_list_entry_append(demo.list, &eattr, NULL);
list 1374 uspace/app/uidemo/uidemo.c rc = ui_list_entry_append(demo.list, &eattr, NULL);
list 1381 uspace/app/uidemo/uidemo.c rc = ui_list_entry_append(demo.list, &eattr, NULL);
list 1388 uspace/app/uidemo/uidemo.c rc = ui_list_entry_append(demo.list, &eattr, NULL);
list 1395 uspace/app/uidemo/uidemo.c rc = ui_list_entry_append(demo.list, &eattr, NULL);
list 1402 uspace/app/uidemo/uidemo.c rc = ui_list_entry_append(demo.list, &eattr, NULL);
list 1421 uspace/app/uidemo/uidemo.c ui_list_set_rect(demo.list, &rect);
list 1423 uspace/app/uidemo/uidemo.c rc = ui_fixed_add(demo.lfixed, ui_list_ctl(demo.list));
list 84 uspace/app/uidemo/uidemo.h ui_list_t *list;
list 163 uspace/app/usbinfo/main.c list();
list 67 uspace/app/usbinfo/usbinfo.h extern void list(void);
list 203 uspace/drv/bus/usb/ohci/hc.c endpoint_list_t *list = &instance->lists[ep->transfer_type];
list 205 uspace/drv/bus/usb/ohci/hc.c assert(list);
list 212 uspace/drv/bus/usb/ohci/hc.c endpoint_list_add_ep(list, ohci_ep);
list 218 uspace/drv/bus/usb/ohci/hc.c endpoint_list_add_ep(list, ohci_ep);
list 225 uspace/drv/bus/usb/ohci/hc.c endpoint_list_add_ep(list, ohci_ep);
list 237 uspace/drv/bus/usb/ohci/hc.c endpoint_list_t *list = &instance->lists[ep->transfer_type];
list 240 uspace/drv/bus/usb/ohci/hc.c assert(list);
list 245 uspace/drv/bus/usb/ohci/hc.c endpoint_list_remove_ep(list, ohci_ep);
list 251 uspace/drv/bus/usb/ohci/hc.c endpoint_list_remove_ep(list, ohci_ep);
list 258 uspace/drv/bus/usb/ohci/hc.c endpoint_list_remove_ep(list, ohci_ep);
list 339 uspace/drv/bus/usb/uhci/hc.c transfer_list_t *list = hc->transfers[ep->device->speed][ep->transfer_type];
list 340 uspace/drv/bus/usb/uhci/hc.c if (!list)
list 349 uspace/drv/bus/usb/uhci/hc.c endpoint_set_online(ep, &list->guard);
list 366 uspace/drv/bus/usb/uhci/hc.c transfer_list_t *list = hc->transfers[ep->device->speed][ep->transfer_type];
list 367 uspace/drv/bus/usb/uhci/hc.c if (!list)
list 374 uspace/drv/bus/usb/uhci/hc.c fibril_mutex_lock(&list->guard);
list 380 uspace/drv/bus/usb/uhci/hc.c fibril_mutex_unlock(&list->guard);
list 388 uspace/drv/bus/usb/uhci/hc.c fibril_mutex_unlock(&list->guard);
list 397 uspace/drv/bus/usb/uhci/hc.c transfer_list_remove_batch(list, batch);
list 399 uspace/drv/bus/usb/uhci/hc.c fibril_mutex_unlock(&list->guard);
list 585 uspace/drv/bus/usb/uhci/hc.c transfer_list_t *const list =
list 588 uspace/drv/bus/usb/uhci/hc.c if (!list)
list 595 uspace/drv/bus/usb/uhci/hc.c return transfer_list_add_batch(list, uhci_batch);
list 51 uspace/drv/bus/usb/usbmid/explore.c static bool interface_in_list(const list_t *list, int interface_no)
list 53 uspace/drv/bus/usb/usbmid/explore.c list_foreach(*list, link, const usbmid_interface_t, iface) {
list 69 uspace/drv/bus/usb/usbmid/explore.c size_t config_descriptor_size, list_t *list, usb_device_t *usb_dev)
list 102 uspace/drv/bus/usb/usbmid/explore.c if (interface_in_list(list, interface->interface_number)) {
list 124 uspace/drv/bus/usb/usbmid/explore.c list_append(&iface->link, list);
list 56 uspace/lib/c/common/adt/list.c bool list_member(const link_t *link, const list_t *list)
list 59 uspace/lib/c/common/adt/list.c link_t *hlp = list->head.next;
list 61 uspace/lib/c/common/adt/list.c while (hlp != &list->head) {
list 80 uspace/lib/c/common/adt/list.c void list_splice(list_t *list, link_t *pos)
list 82 uspace/lib/c/common/adt/list.c if (list_empty(list))
list 86 uspace/lib/c/common/adt/list.c list->head.next->prev = pos;
list 87 uspace/lib/c/common/adt/list.c list->head.prev->next = pos->next;
list 90 uspace/lib/c/common/adt/list.c pos->next->prev = list->head.prev;
list 91 uspace/lib/c/common/adt/list.c pos->next = list->head.next;
list 93 uspace/lib/c/common/adt/list.c list_initialize(list);
list 103 uspace/lib/c/common/adt/list.c size_t list_count(const list_t *list)
list 107 uspace/lib/c/common/adt/list.c link_t *link = list_first(list);
list 110 uspace/lib/c/common/adt/list.c link = list_next(link, list);
list 90 uspace/lib/c/common/include/adt/list.h #define list_foreach(list, member, itype, iterator) \
list 92 uspace/lib/c/common/include/adt/list.h for (link_t *_link = (list).head.next; \
list 94 uspace/lib/c/common/include/adt/list.h _link != &(list).head; _link = _link->next)
list 96 uspace/lib/c/common/include/adt/list.h #define list_foreach_rev(list, member, itype, iterator) \
list 98 uspace/lib/c/common/include/adt/list.h for (link_t *_link = (list).head.prev; \
list 100 uspace/lib/c/common/include/adt/list.h _link != &(list).head; _link = _link->prev)
list 127 uspace/lib/c/common/include/adt/list.h #define list_foreach_safe(list, iterator, next_iter) \
list 128 uspace/lib/c/common/include/adt/list.h for (link_t *iterator = (list).head.next, \
list 130 uspace/lib/c/common/include/adt/list.h iterator != &(list).head; \
list 136 uspace/lib/c/common/include/adt/list.h #define list_pop(list, type, member) \
list 137 uspace/lib/c/common/include/adt/list.h ((type *) list_pop_internal(list, \
list 185 uspace/lib/c/common/include/adt/list.h _NO_TRACE static inline __CONSTEXPR void list_initialize(list_t *list)
list 187 uspace/lib/c/common/include/adt/list.h list->head.prev = &list->head;
list 188 uspace/lib/c/common/include/adt/list.h list->head.next = &list->head;
list 221 uspace/lib/c/common/include/adt/list.h _NO_TRACE static inline void list_prepend(link_t *link, list_t *list)
list 223 uspace/lib/c/common/include/adt/list.h list_insert_after(link, &list->head);
list 234 uspace/lib/c/common/include/adt/list.h _NO_TRACE static inline void list_append(link_t *link, list_t *list)
list 236 uspace/lib/c/common/include/adt/list.h list_insert_before(link, &list->head);
list 264 uspace/lib/c/common/include/adt/list.h _NO_TRACE static inline bool list_empty(const list_t *list)
list 266 uspace/lib/c/common/include/adt/list.h return (list->head.next == &list->head);
list 277 uspace/lib/c/common/include/adt/list.h static inline link_t *list_first(const list_t *list)
list 279 uspace/lib/c/common/include/adt/list.h return ((list->head.next == &list->head) ? NULL : list->head.next);
list 290 uspace/lib/c/common/include/adt/list.h static inline link_t *list_last(const list_t *list)
list 292 uspace/lib/c/common/include/adt/list.h return (list->head.prev == &list->head) ? NULL : list->head.prev;
list 302 uspace/lib/c/common/include/adt/list.h static inline link_t *list_next(const link_t *link, const list_t *list)
list 304 uspace/lib/c/common/include/adt/list.h return (link->next == &list->head) ? NULL : link->next;
list 314 uspace/lib/c/common/include/adt/list.h static inline link_t *list_prev(const link_t *link, const list_t *list)
list 316 uspace/lib/c/common/include/adt/list.h return (link->prev == &list->head) ? NULL : link->prev;
list 419 uspace/lib/c/common/include/adt/list.h static inline link_t *list_nth(const list_t *list, size_t n)
list 423 uspace/lib/c/common/include/adt/list.h link_t *link = list_first(list);
list 429 uspace/lib/c/common/include/adt/list.h link = list_next(link, list);
list 458 uspace/lib/c/common/include/adt/list.h static inline void *list_pop_internal(list_t *list, ptrdiff_t offset)
list 460 uspace/lib/c/common/include/adt/list.h link_t *tmp = list_first(list);
list 41 uspace/lib/c/generic/adt/prodcons.c list_initialize(&pc->list);
list 50 uspace/lib/c/generic/adt/prodcons.c list_append(item, &pc->list);
list 60 uspace/lib/c/generic/adt/prodcons.c while (list_empty(&pc->list))
list 63 uspace/lib/c/generic/adt/prodcons.c link_t *head = list_first(&pc->list);
list 76 uspace/lib/c/generic/pio_trace.c list_t list;
list 83 uspace/lib/c/generic/pio_trace.c .list = LIST_INITIALIZER(regions.list),
list 93 uspace/lib/c/generic/pio_trace.c list_foreach(regions->list, link, region_t, reg) {
list 114 uspace/lib/c/generic/pio_trace.c list_append(®ion->link, ®ions->list);
list 125 uspace/lib/c/generic/pio_trace.c list_foreach_safe(regions->list, it, next) {
list 44 uspace/lib/c/include/adt/prodcons.h list_t list;
list 133 uspace/lib/c/include/device/hw_res_parsed.h static inline void hw_res_list_parsed_clean(hw_res_list_parsed_t *list)
list 135 uspace/lib/c/include/device/hw_res_parsed.h if (list == NULL)
list 138 uspace/lib/c/include/device/hw_res_parsed.h free(list->irqs.irqs);
list 139 uspace/lib/c/include/device/hw_res_parsed.h free(list->io_ranges.ranges);
list 140 uspace/lib/c/include/device/hw_res_parsed.h free(list->mem_ranges.ranges);
list 141 uspace/lib/c/include/device/hw_res_parsed.h free(list->dma_channels.channels);
list 143 uspace/lib/c/include/device/hw_res_parsed.h memset(list, 0, sizeof(hw_res_list_parsed_t));
list 150 uspace/lib/c/include/device/hw_res_parsed.h static inline void hw_res_list_parsed_init(hw_res_list_parsed_t *list)
list 152 uspace/lib/c/include/device/hw_res_parsed.h memset(list, 0, sizeof(hw_res_list_parsed_t));
list 43 uspace/lib/cpp/include/__bits/adt/list.hpp class list;
list 54 uspace/lib/cpp/include/__bits/adt/list.hpp using value_type = typename list<T>::value_type;
list 55 uspace/lib/cpp/include/__bits/adt/list.hpp using reference = typename list<T>::const_reference;
list 56 uspace/lib/cpp/include/__bits/adt/list.hpp using pointer = typename list<T>::const_pointer;
list 57 uspace/lib/cpp/include/__bits/adt/list.hpp using difference_type = typename list<T>::difference_type;
list 58 uspace/lib/cpp/include/__bits/adt/list.hpp using size_type = typename list<T>::size_type;
list 188 uspace/lib/cpp/include/__bits/adt/list.hpp using value_type = typename list<T>::value_type;
list 189 uspace/lib/cpp/include/__bits/adt/list.hpp using reference = typename list<T>::reference;
list 190 uspace/lib/cpp/include/__bits/adt/list.hpp using pointer = typename list<T>::pointer;
list 191 uspace/lib/cpp/include/__bits/adt/list.hpp using difference_type = typename list<T>::difference_type;
list 192 uspace/lib/cpp/include/__bits/adt/list.hpp using size_type = typename list<T>::size_type;
list 368 uspace/lib/cpp/include/__bits/adt/list.hpp : list{allocator_type{}}
list 402 uspace/lib/cpp/include/__bits/adt/list.hpp list(const list& other)
list 403 uspace/lib/cpp/include/__bits/adt/list.hpp : list{other, other.allocator_}
list 406 uspace/lib/cpp/include/__bits/adt/list.hpp list(list&& other)
list 415 uspace/lib/cpp/include/__bits/adt/list.hpp list(const list& other, const allocator_type alloc)
list 421 uspace/lib/cpp/include/__bits/adt/list.hpp list(list&& other, const allocator_type& alloc)
list 441 uspace/lib/cpp/include/__bits/adt/list.hpp list& operator=(const list& other)
list 452 uspace/lib/cpp/include/__bits/adt/list.hpp list& operator=(list&& other)
list 467 uspace/lib/cpp/include/__bits/adt/list.hpp list& operator=(initializer_list<value_type> init)
list 817 uspace/lib/cpp/include/__bits/adt/list.hpp void swap(list& other)
list 834 uspace/lib/cpp/include/__bits/adt/list.hpp void splice(const_iterator position, list& other)
list 861 uspace/lib/cpp/include/__bits/adt/list.hpp void splice(const_iterator position, list&& other)
list 866 uspace/lib/cpp/include/__bits/adt/list.hpp void splice(const_iterator position, list& other, const_iterator it)
list 892 uspace/lib/cpp/include/__bits/adt/list.hpp void splice(const_iterator position, list&& other, const_iterator it)
list 897 uspace/lib/cpp/include/__bits/adt/list.hpp void splice(const_iterator position, list& other,
list 967 uspace/lib/cpp/include/__bits/adt/list.hpp void splice(const_iterator position, list&& other,
list 1044 uspace/lib/cpp/include/__bits/adt/list.hpp void merge(list& other)
list 1050 uspace/lib/cpp/include/__bits/adt/list.hpp void merge(list&& other)
list 1056 uspace/lib/cpp/include/__bits/adt/list.hpp void merge(list& other, Compare comp)
list 1063 uspace/lib/cpp/include/__bits/adt/list.hpp void merge(list&& other, Compare comp)
list 1196 uspace/lib/cpp/include/__bits/adt/list.hpp void swap(list<T, Allocator>& lhs, list<T, Allocator>& rhs)
list 57 uspace/lib/cpp/src/__bits/test/list.cpp std::list<int> l1(6U, 1);
list 64 uspace/lib/cpp/src/__bits/test/list.cpp std::list<int> l2{check2};
list 71 uspace/lib/cpp/src/__bits/test/list.cpp std::list<int> l3{check2.begin(), check2.end()};
list 78 uspace/lib/cpp/src/__bits/test/list.cpp std::list<int> l4{l3};
list 87 uspace/lib/cpp/src/__bits/test/list.cpp std::list<int> l5{std::move(l4)};
list 158 uspace/lib/cpp/src/__bits/test/list.cpp std::list<int> l1{};
list 240 uspace/lib/cpp/src/__bits/test/list.cpp std::list<int> l2{1, 2, 3, 4, 5};
list 241 uspace/lib/cpp/src/__bits/test/list.cpp std::list<int> l3{10, 20, 30, 40, 50};
list 274 uspace/lib/cpp/src/__bits/test/list.cpp std::list<int> l4{1, -1, 2, 5, -2, 5, 3, -3, 5, 4, -4};
list 293 uspace/lib/cpp/src/__bits/test/list.cpp std::list<int> l5{1, 1, 2, 3, 3, 2, 2, 4, 5, 5};
list 304 uspace/lib/cpp/src/__bits/test/list.cpp std::list<int> l6{1, 3, 3, 4, 4, 5, 6, 6, 6, 7, 8, 9, 9};
list 160 uspace/lib/dispcfg/src/dispcfg.c dispcfg_seat_list_t *list;
list 196 uspace/lib/dispcfg/src/dispcfg.c list = calloc(1, sizeof(dispcfg_seat_list_t));
list 197 uspace/lib/dispcfg/src/dispcfg.c if (list == NULL)
list 200 uspace/lib/dispcfg/src/dispcfg.c list->nseats = nseats;
list 201 uspace/lib/dispcfg/src/dispcfg.c list->seats = seats;
list 202 uspace/lib/dispcfg/src/dispcfg.c *rlist = list;
list 210 uspace/lib/dispcfg/src/dispcfg.c void dispcfg_free_seat_list(dispcfg_seat_list_t *list)
list 212 uspace/lib/dispcfg/src/dispcfg.c free(list->seats);
list 213 uspace/lib/dispcfg/src/dispcfg.c free(list);
list 395 uspace/lib/dispcfg/src/dispcfg.c dispcfg_dev_list_t *list;
list 431 uspace/lib/dispcfg/src/dispcfg.c list = calloc(1, sizeof(dispcfg_dev_list_t));
list 432 uspace/lib/dispcfg/src/dispcfg.c if (list == NULL)
list 435 uspace/lib/dispcfg/src/dispcfg.c list->ndevs = ndevs;
list 436 uspace/lib/dispcfg/src/dispcfg.c list->devs = devs;
list 437 uspace/lib/dispcfg/src/dispcfg.c *rlist = list;
list 445 uspace/lib/dispcfg/src/dispcfg.c void dispcfg_free_dev_list(dispcfg_dev_list_t *list)
list 447 uspace/lib/dispcfg/src/dispcfg.c free(list->devs);
list 448 uspace/lib/dispcfg/src/dispcfg.c free(list);
list 62 uspace/lib/dispcfg/src/dispcfg_srv.c dispcfg_seat_list_t *list = NULL;
list 71 uspace/lib/dispcfg/src/dispcfg_srv.c rc = srv->ops->get_seat_list(srv->arg, &list);
list 80 uspace/lib/dispcfg/src/dispcfg_srv.c dispcfg_free_seat_list(list);
list 86 uspace/lib/dispcfg/src/dispcfg_srv.c if (size != sizeof(list->nseats)) {
list 87 uspace/lib/dispcfg/src/dispcfg_srv.c dispcfg_free_seat_list(list);
list 93 uspace/lib/dispcfg/src/dispcfg_srv.c rc = async_data_read_finalize(&call, &list->nseats, size);
list 95 uspace/lib/dispcfg/src/dispcfg_srv.c dispcfg_free_seat_list(list);
list 104 uspace/lib/dispcfg/src/dispcfg_srv.c dispcfg_free_seat_list(list);
list 110 uspace/lib/dispcfg/src/dispcfg_srv.c if (size != list->nseats * sizeof(sysarg_t)) {
list 111 uspace/lib/dispcfg/src/dispcfg_srv.c dispcfg_free_seat_list(list);
list 117 uspace/lib/dispcfg/src/dispcfg_srv.c rc = async_data_read_finalize(&call, list->seats, size);
list 119 uspace/lib/dispcfg/src/dispcfg_srv.c dispcfg_free_seat_list(list);
list 126 uspace/lib/dispcfg/src/dispcfg_srv.c dispcfg_free_seat_list(list);
list 299 uspace/lib/dispcfg/src/dispcfg_srv.c dispcfg_dev_list_t *list = NULL;
list 310 uspace/lib/dispcfg/src/dispcfg_srv.c rc = srv->ops->get_asgn_dev_list(srv->arg, seat_id, &list);
list 319 uspace/lib/dispcfg/src/dispcfg_srv.c dispcfg_free_dev_list(list);
list 325 uspace/lib/dispcfg/src/dispcfg_srv.c if (size != sizeof(list->ndevs)) {
list 326 uspace/lib/dispcfg/src/dispcfg_srv.c dispcfg_free_dev_list(list);
list 332 uspace/lib/dispcfg/src/dispcfg_srv.c rc = async_data_read_finalize(&call, &list->ndevs, size);
list 334 uspace/lib/dispcfg/src/dispcfg_srv.c dispcfg_free_dev_list(list);
list 343 uspace/lib/dispcfg/src/dispcfg_srv.c dispcfg_free_dev_list(list);
list 349 uspace/lib/dispcfg/src/dispcfg_srv.c if (size != list->ndevs * sizeof(sysarg_t)) {
list 350 uspace/lib/dispcfg/src/dispcfg_srv.c dispcfg_free_dev_list(list);
list 356 uspace/lib/dispcfg/src/dispcfg_srv.c rc = async_data_read_finalize(&call, list->devs, size);
list 358 uspace/lib/dispcfg/src/dispcfg_srv.c dispcfg_free_dev_list(list);
list 365 uspace/lib/dispcfg/src/dispcfg_srv.c dispcfg_free_dev_list(list);
list 81 uspace/lib/dispcfg/test/dispcfg.c dispcfg_seat_list_t *list;
list 101 uspace/lib/dispcfg/test/dispcfg.c rc = dispcfg_get_seat_list(dispcfg, &list);
list 117 uspace/lib/dispcfg/test/dispcfg.c dispcfg_seat_list_t *list;
list 144 uspace/lib/dispcfg/test/dispcfg.c rc = dispcfg_get_seat_list(dispcfg, &list);
list 148 uspace/lib/dispcfg/test/dispcfg.c PCUT_ASSERT_INT_EQUALS(2, list->nseats);
list 149 uspace/lib/dispcfg/test/dispcfg.c PCUT_ASSERT_INT_EQUALS(42, list->seats[0]);
list 150 uspace/lib/dispcfg/test/dispcfg.c PCUT_ASSERT_INT_EQUALS(43, list->seats[1]);
list 152 uspace/lib/dispcfg/test/dispcfg.c dispcfg_free_seat_list(list);
list 564 uspace/lib/dispcfg/test/dispcfg.c dispcfg_dev_list_t *list;
list 586 uspace/lib/dispcfg/test/dispcfg.c rc = dispcfg_get_asgn_dev_list(dispcfg, seat_id, &list);
list 603 uspace/lib/dispcfg/test/dispcfg.c dispcfg_dev_list_t *list;
list 632 uspace/lib/dispcfg/test/dispcfg.c rc = dispcfg_get_asgn_dev_list(dispcfg, seat_id, &list);
list 637 uspace/lib/dispcfg/test/dispcfg.c PCUT_ASSERT_INT_EQUALS(2, list->ndevs);
list 638 uspace/lib/dispcfg/test/dispcfg.c PCUT_ASSERT_INT_EQUALS(11, list->devs[0]);
list 639 uspace/lib/dispcfg/test/dispcfg.c PCUT_ASSERT_INT_EQUALS(12, list->devs[1]);
list 641 uspace/lib/dispcfg/test/dispcfg.c dispcfg_free_dev_list(list);
list 460 uspace/lib/hound/src/protocol.c char **list = NULL;
list 474 uspace/lib/hound/src/protocol.c server_iface->server, &list, &count,
list 492 uspace/lib/hound/src/protocol.c sizes[i] = str_size(list[i]);
list 504 uspace/lib/hound/src/protocol.c size_t size = str_size(list[i]);
list 509 uspace/lib/hound/src/protocol.c list[i], size);
list 511 uspace/lib/hound/src/protocol.c free(list[i]);
list 513 uspace/lib/hound/src/protocol.c free(list);
list 69 uspace/lib/http/include/http/http.h list_t list;
list 111 uspace/lib/http/include/http/http.h list_foreach((headers).list, link, http_header_t, (iter))
list 122 uspace/lib/http/include/http/http.h list_append(&header->link, &headers->list);
list 256 uspace/lib/http/src/headers.c list_initialize(&headers->list);
list 365 uspace/lib/http/src/headers.c link_t *link = list_last(&headers->list);
list 375 uspace/lib/http/src/headers.c link_t *link = list_first(&headers->list);
list 377 uspace/lib/http/src/headers.c link_t *next = list_next(link, &headers->list);
list 211 uspace/lib/ieee80211/include/ieee80211_private.h list_t list;
list 377 uspace/lib/ieee80211/include/ieee80211_private.h list_foreach((results).list, link, ieee80211_scan_result_link_t, (iter))
list 382 uspace/lib/ieee80211/include/ieee80211_private.h list_initialize(&results->list);
list 398 uspace/lib/ieee80211/include/ieee80211_private.h list_append(&result->link, &results->list);
list 130 uspace/lib/ieee80211/src/ieee80211_impl.c list_foreach_safe(result_list->list, cur_link, next_link) {
list 124 uspace/lib/nic/include/nic_rx_control.h extern uint64_t nic_rxc_mcast_hash(const nic_address_t *list, size_t count);
list 707 uspace/lib/nic/src/nic_driver.c uint64_t nic_mcast_hash(const nic_address_t *list, size_t count)
list 709 uspace/lib/nic/src/nic_driver.c return nic_rxc_mcast_hash(list, count);
list 90 uspace/lib/posix/include/common/adt/list.h #define list_foreach(list, member, itype, iterator) \
list 92 uspace/lib/posix/include/common/adt/list.h for (link_t *_link = (list).head.next; \
list 94 uspace/lib/posix/include/common/adt/list.h _link != &(list).head; _link = _link->next)
list 96 uspace/lib/posix/include/common/adt/list.h #define list_foreach_rev(list, member, itype, iterator) \
list 98 uspace/lib/posix/include/common/adt/list.h for (link_t *_link = (list).head.prev; \
list 100 uspace/lib/posix/include/common/adt/list.h _link != &(list).head; _link = _link->prev)
list 127 uspace/lib/posix/include/common/adt/list.h #define list_foreach_safe(list, iterator, next_iter) \
list 128 uspace/lib/posix/include/common/adt/list.h for (link_t *iterator = (list).head.next, \
list 130 uspace/lib/posix/include/common/adt/list.h iterator != &(list).head; \
list 136 uspace/lib/posix/include/common/adt/list.h #define list_pop(list, type, member) \
list 137 uspace/lib/posix/include/common/adt/list.h ((type *) list_pop_internal(list, \
list 185 uspace/lib/posix/include/common/adt/list.h _NO_TRACE static inline __CONSTEXPR void list_initialize(list_t *list)
list 187 uspace/lib/posix/include/common/adt/list.h list->head.prev = &list->head;
list 188 uspace/lib/posix/include/common/adt/list.h list->head.next = &list->head;
list 221 uspace/lib/posix/include/common/adt/list.h _NO_TRACE static inline void list_prepend(link_t *link, list_t *list)
list 223 uspace/lib/posix/include/common/adt/list.h list_insert_after(link, &list->head);
list 234 uspace/lib/posix/include/common/adt/list.h _NO_TRACE static inline void list_append(link_t *link, list_t *list)
list 236 uspace/lib/posix/include/common/adt/list.h list_insert_before(link, &list->head);
list 264 uspace/lib/posix/include/common/adt/list.h _NO_TRACE static inline bool list_empty(const list_t *list)
list 266 uspace/lib/posix/include/common/adt/list.h return (list->head.next == &list->head);
list 277 uspace/lib/posix/include/common/adt/list.h static inline link_t *list_first(const list_t *list)
list 279 uspace/lib/posix/include/common/adt/list.h return ((list->head.next == &list->head) ? NULL : list->head.next);
list 290 uspace/lib/posix/include/common/adt/list.h static inline link_t *list_last(const list_t *list)
list 292 uspace/lib/posix/include/common/adt/list.h return (list->head.prev == &list->head) ? NULL : list->head.prev;
list 302 uspace/lib/posix/include/common/adt/list.h static inline link_t *list_next(const link_t *link, const list_t *list)
list 304 uspace/lib/posix/include/common/adt/list.h return (link->next == &list->head) ? NULL : link->next;
list 314 uspace/lib/posix/include/common/adt/list.h static inline link_t *list_prev(const link_t *link, const list_t *list)
list 316 uspace/lib/posix/include/common/adt/list.h return (link->prev == &list->head) ? NULL : link->prev;
list 419 uspace/lib/posix/include/common/adt/list.h static inline link_t *list_nth(const list_t *list, size_t n)
list 423 uspace/lib/posix/include/common/adt/list.h link_t *link = list_first(list);
list 429 uspace/lib/posix/include/common/adt/list.h link = list_next(link, list);
list 458 uspace/lib/posix/include/common/adt/list.h static inline void *list_pop_internal(list_t *list, ptrdiff_t offset)
list 460 uspace/lib/posix/include/common/adt/list.h link_t *tmp = list_first(list);
list 44 uspace/lib/posix/include/libc/adt/prodcons.h list_t list;
list 133 uspace/lib/posix/include/libc/device/hw_res_parsed.h static inline void hw_res_list_parsed_clean(hw_res_list_parsed_t *list)
list 135 uspace/lib/posix/include/libc/device/hw_res_parsed.h if (list == NULL)
list 138 uspace/lib/posix/include/libc/device/hw_res_parsed.h free(list->irqs.irqs);
list 139 uspace/lib/posix/include/libc/device/hw_res_parsed.h free(list->io_ranges.ranges);
list 140 uspace/lib/posix/include/libc/device/hw_res_parsed.h free(list->mem_ranges.ranges);
list 141 uspace/lib/posix/include/libc/device/hw_res_parsed.h free(list->dma_channels.channels);
list 143 uspace/lib/posix/include/libc/device/hw_res_parsed.h memset(list, 0, sizeof(hw_res_list_parsed_t));
list 150 uspace/lib/posix/include/libc/device/hw_res_parsed.h static inline void hw_res_list_parsed_init(hw_res_list_parsed_t *list)
list 152 uspace/lib/posix/include/libc/device/hw_res_parsed.h memset(list, 0, sizeof(hw_res_list_parsed_t));
list 219 uspace/lib/posix/src/stdio.c va_list list;
list 220 uspace/lib/posix/src/stdio.c va_start(list, format);
list 221 uspace/lib/posix/src/stdio.c int result = vdprintf(fildes, format, list);
list 222 uspace/lib/posix/src/stdio.c va_end(list);
list 86 uspace/lib/ui/private/filelist.h ui_list_t *list;
list 50 uspace/lib/ui/private/list.h struct ui_list *list;
list 48 uspace/lib/ui/private/selectdialog.h struct ui_list *list;
list 104 uspace/lib/ui/src/filelist.c rc = ui_list_create(window, active, &flist->list);
list 108 uspace/lib/ui/src/filelist.c ui_list_set_cb(flist->list, &ui_file_list_list_cb, (void *)flist);
list 130 uspace/lib/ui/src/filelist.c ui_list_destroy(flist->list);
list 164 uspace/lib/ui/src/filelist.c ui_list_set_rect(flist->list, rect);
list 174 uspace/lib/ui/src/filelist.c return ui_list_is_active(flist->list);
list 193 uspace/lib/ui/src/filelist.c return ui_list_activate(flist->list);
list 202 uspace/lib/ui/src/filelist.c ui_list_deactivate(flist->list);
list 276 uspace/lib/ui/src/filelist.c rc = ui_list_entry_append(flist->list, &lattr, &lentry);
list 407 uspace/lib/ui/src/filelist.c ui_list_cursor_center(flist->list, cur->entry);
list 431 uspace/lib/ui/src/filelist.c return ui_list_sort(flist->list);
list 466 uspace/lib/ui/src/filelist.c lentry = ui_list_first(flist->list);
list 482 uspace/lib/ui/src/filelist.c lentry = ui_list_last(flist->list);
list 530 uspace/lib/ui/src/filelist.c entry = ui_list_get_cursor(flist->list);
list 644 uspace/lib/ui/src/filelist.c return ui_control_paint(ui_list_ctl(flist->list));
list 680 uspace/lib/ui/src/filelist.c return ui_control_kbd_event(ui_list_ctl(flist->list), event);
list 693 uspace/lib/ui/src/filelist.c return ui_control_pos_event(ui_list_ctl(flist->list), event);
list 701 uspace/lib/ui/src/filelist.c static void ui_file_list_list_activate_req(ui_list_t *list, void *arg)
list 95 uspace/lib/ui/src/list.c ui_list_t *list;
list 98 uspace/lib/ui/src/list.c list = calloc(1, sizeof(ui_list_t));
list 99 uspace/lib/ui/src/list.c if (list == NULL)
list 102 uspace/lib/ui/src/list.c rc = ui_control_new(&ui_list_ctl_ops, (void *)list,
list 103 uspace/lib/ui/src/list.c &list->control);
list 105 uspace/lib/ui/src/list.c free(list);
list 110 uspace/lib/ui/src/list.c ui_sbd_vert, &list->scrollbar);
list 114 uspace/lib/ui/src/list.c ui_scrollbar_set_cb(list->scrollbar, &ui_list_scrollbar_cb,
list 115 uspace/lib/ui/src/list.c (void *) list);
list 117 uspace/lib/ui/src/list.c list->window = window;
list 118 uspace/lib/ui/src/list.c list_initialize(&list->entries);
list 119 uspace/lib/ui/src/list.c list->entries_cnt = 0;
list 120 uspace/lib/ui/src/list.c list->active = active;
list 122 uspace/lib/ui/src/list.c *rlist = list;
list 125 uspace/lib/ui/src/list.c ui_control_delete(list->control);
list 126 uspace/lib/ui/src/list.c free(list);
list 134 uspace/lib/ui/src/list.c void ui_list_destroy(ui_list_t *list)
list 136 uspace/lib/ui/src/list.c ui_list_clear_entries(list);
list 137 uspace/lib/ui/src/list.c ui_control_delete(list->control);
list 138 uspace/lib/ui/src/list.c free(list);
list 147 uspace/lib/ui/src/list.c void ui_list_set_cb(ui_list_t *list, ui_list_cb_t *cb, void *arg)
list 149 uspace/lib/ui/src/list.c list->cb = cb;
list 150 uspace/lib/ui/src/list.c list->cb_arg = arg;
list 158 uspace/lib/ui/src/list.c void *ui_list_get_cb_arg(ui_list_t *list)
list 160 uspace/lib/ui/src/list.c return list->cb_arg;
list 168 uspace/lib/ui/src/list.c gfx_coord_t ui_list_entry_height(ui_list_t *list)
list 175 uspace/lib/ui/src/list.c res = ui_window_get_res(list->window);
list 198 uspace/lib/ui/src/list.c ui_list_t *list = entry->list;
list 199 uspace/lib/ui/src/list.c gfx_context_t *gc = ui_window_get_gc(list->window);
list 200 uspace/lib/ui/src/list.c ui_resource_t *res = ui_window_get_res(list->window);
list 213 uspace/lib/ui/src/list.c line_height = ui_list_entry_height(list);
list 214 uspace/lib/ui/src/list.c ui_list_inside_rect(entry->list, &lrect);
list 218 uspace/lib/ui/src/list.c rows = ui_list_page_size(list) + 1;
list 221 uspace/lib/ui/src/list.c if (entry_idx < list->page_idx ||
list 222 uspace/lib/ui/src/list.c entry_idx >= list->page_idx + rows)
list 234 uspace/lib/ui/src/list.c pos.y = lrect.p0.y + line_height * (entry_idx - list->page_idx);
list 236 uspace/lib/ui/src/list.c if (entry == list->cursor && list->active) {
list 295 uspace/lib/ui/src/list.c errno_t ui_list_paint(ui_list_t *list)
list 297 uspace/lib/ui/src/list.c gfx_context_t *gc = ui_window_get_gc(list->window);
list 298 uspace/lib/ui/src/list.c ui_resource_t *res = ui_window_get_res(list->window);
list 307 uspace/lib/ui/src/list.c rc = gfx_fill_rect(gc, &list->rect);
list 312 uspace/lib/ui/src/list.c rc = ui_paint_inset_frame(res, &list->rect, NULL);
list 317 uspace/lib/ui/src/list.c lines = ui_list_page_size(list) + 1;
list 320 uspace/lib/ui/src/list.c entry = list->page;
list 322 uspace/lib/ui/src/list.c rc = ui_list_entry_paint(entry, list->page_idx + i);
list 330 uspace/lib/ui/src/list.c rc = ui_scrollbar_paint(list->scrollbar);
list 347 uspace/lib/ui/src/list.c ui_evclaim_t ui_list_kbd_event(ui_list_t *list, kbd_event_t *event)
list 349 uspace/lib/ui/src/list.c if (!list->active)
list 356 uspace/lib/ui/src/list.c ui_list_cursor_up(list);
list 359 uspace/lib/ui/src/list.c ui_list_cursor_down(list);
list 362 uspace/lib/ui/src/list.c ui_list_cursor_top(list);
list 365 uspace/lib/ui/src/list.c ui_list_cursor_bottom(list);
list 368 uspace/lib/ui/src/list.c ui_list_page_up(list);
list 371 uspace/lib/ui/src/list.c ui_list_page_down(list);
list 374 uspace/lib/ui/src/list.c ui_list_selected(list->cursor);
list 391 uspace/lib/ui/src/list.c ui_evclaim_t ui_list_pos_event(ui_list_t *list, pos_event_t *event)
list 401 uspace/lib/ui/src/list.c claim = ui_scrollbar_pos_event(list->scrollbar, event);
list 405 uspace/lib/ui/src/list.c line_height = ui_list_entry_height(list);
list 409 uspace/lib/ui/src/list.c if (!gfx_pix_inside_rect(&pos, &list->rect))
list 413 uspace/lib/ui/src/list.c ui_list_inside_rect(list, &irect);
list 421 uspace/lib/ui/src/list.c entry = ui_list_page_nth_entry(list, n, &entry_idx);
list 427 uspace/lib/ui/src/list.c ui_list_cursor_move(list, entry, entry_idx);
list 437 uspace/lib/ui/src/list.c ui_list_page_down(list);
list 439 uspace/lib/ui/src/list.c ui_list_page_up(list);
list 444 uspace/lib/ui/src/list.c if (!list->active && event->type == POS_PRESS)
list 445 uspace/lib/ui/src/list.c ui_list_activate_req(list);
list 455 uspace/lib/ui/src/list.c ui_control_t *ui_list_ctl(ui_list_t *list)
list 457 uspace/lib/ui/src/list.c return list->control;
list 465 uspace/lib/ui/src/list.c void ui_list_set_rect(ui_list_t *list, gfx_rect_t *rect)
list 469 uspace/lib/ui/src/list.c list->rect = *rect;
list 471 uspace/lib/ui/src/list.c ui_list_scrollbar_rect(list, &srect);
list 472 uspace/lib/ui/src/list.c ui_scrollbar_set_rect(list->scrollbar, &srect);
list 480 uspace/lib/ui/src/list.c unsigned ui_list_page_size(ui_list_t *list)
list 485 uspace/lib/ui/src/list.c line_height = ui_list_entry_height(list);
list 486 uspace/lib/ui/src/list.c ui_list_inside_rect(list, &irect);
list 495 uspace/lib/ui/src/list.c void ui_list_inside_rect(ui_list_t *list, gfx_rect_t *irect)
list 497 uspace/lib/ui/src/list.c ui_resource_t *res = ui_window_get_res(list->window);
list 502 uspace/lib/ui/src/list.c rect = list->rect;
list 504 uspace/lib/ui/src/list.c ui_paint_get_inset_frame_inside(res, &list->rect, &rect);
list 523 uspace/lib/ui/src/list.c void ui_list_scrollbar_rect(ui_list_t *list, gfx_rect_t *srect)
list 525 uspace/lib/ui/src/list.c ui_resource_t *res = ui_window_get_res(list->window);
list 530 uspace/lib/ui/src/list.c rect = list->rect;
list 532 uspace/lib/ui/src/list.c ui_paint_get_inset_frame_inside(res, &list->rect, &rect);
list 551 uspace/lib/ui/src/list.c gfx_coord_t ui_list_scrollbar_pos(ui_list_t *list)
list 557 uspace/lib/ui/src/list.c entries = list_count(&list->entries);
list 558 uspace/lib/ui/src/list.c pglen = ui_list_page_size(list);
list 559 uspace/lib/ui/src/list.c sbar_len = ui_scrollbar_move_length(list->scrollbar);
list 562 uspace/lib/ui/src/list.c return sbar_len * list->page_idx / (entries - pglen);
list 571 uspace/lib/ui/src/list.c void ui_list_scrollbar_update(ui_list_t *list)
list 573 uspace/lib/ui/src/list.c ui_scrollbar_set_pos(list->scrollbar,
list 574 uspace/lib/ui/src/list.c ui_list_scrollbar_pos(list));
list 582 uspace/lib/ui/src/list.c bool ui_list_is_active(ui_list_t *list)
list 584 uspace/lib/ui/src/list.c return list->active;
list 593 uspace/lib/ui/src/list.c errno_t ui_list_activate(ui_list_t *list)
list 595 uspace/lib/ui/src/list.c list->active = true;
list 596 uspace/lib/ui/src/list.c (void) ui_list_paint(list);
list 604 uspace/lib/ui/src/list.c void ui_list_deactivate(ui_list_t *list)
list 606 uspace/lib/ui/src/list.c list->active = false;
list 607 uspace/lib/ui/src/list.c (void) ui_list_paint(list);
list 625 uspace/lib/ui/src/list.c ui_list_t *list = (ui_list_t *) arg;
list 627 uspace/lib/ui/src/list.c ui_list_destroy(list);
list 637 uspace/lib/ui/src/list.c ui_list_t *list = (ui_list_t *) arg;
list 639 uspace/lib/ui/src/list.c return ui_list_paint(list);
list 650 uspace/lib/ui/src/list.c ui_list_t *list = (ui_list_t *) arg;
list 652 uspace/lib/ui/src/list.c return ui_list_kbd_event(list, event);
list 663 uspace/lib/ui/src/list.c ui_list_t *list = (ui_list_t *) arg;
list 665 uspace/lib/ui/src/list.c return ui_list_pos_event(list, event);
list 676 uspace/lib/ui/src/list.c errno_t ui_list_entry_append(ui_list_t *list, ui_list_entry_attr_t *attr,
list 685 uspace/lib/ui/src/list.c entry->list = list;
list 696 uspace/lib/ui/src/list.c list_append(&entry->lentries, &list->entries);
list 698 uspace/lib/ui/src/list.c if (list->entries_cnt == 0) {
list 700 uspace/lib/ui/src/list.c list->cursor = entry;
list 701 uspace/lib/ui/src/list.c list->cursor_idx = 0;
list 702 uspace/lib/ui/src/list.c list->page = entry;
list 703 uspace/lib/ui/src/list.c list->page_idx = 0;
list 706 uspace/lib/ui/src/list.c ++list->entries_cnt;
list 719 uspace/lib/ui/src/list.c ui_list_t *list = entry->list;
list 732 uspace/lib/ui/src/list.c if (list->page == entry) {
list 733 uspace/lib/ui/src/list.c list->page = prev;
list 734 uspace/lib/ui/src/list.c } else if (list->page == prev) {
list 735 uspace/lib/ui/src/list.c list->page = entry;
list 743 uspace/lib/ui/src/list.c if (list->cursor == entry) {
list 744 uspace/lib/ui/src/list.c list->cursor = prev;
list 745 uspace/lib/ui/src/list.c ui_list_cursor_move(list, entry, list->cursor_idx - 1);
list 746 uspace/lib/ui/src/list.c } else if (list->cursor == prev) {
list 747 uspace/lib/ui/src/list.c list->cursor = entry;
list 748 uspace/lib/ui/src/list.c ui_list_cursor_move(list, prev, list->cursor_idx + 1);
list 758 uspace/lib/ui/src/list.c ui_list_t *list = entry->list;
list 771 uspace/lib/ui/src/list.c if (list->page == entry) {
list 772 uspace/lib/ui/src/list.c list->page = next;
list 773 uspace/lib/ui/src/list.c } else if (list->page == next) {
list 774 uspace/lib/ui/src/list.c list->page = entry;
list 782 uspace/lib/ui/src/list.c if (list->cursor == entry) {
list 783 uspace/lib/ui/src/list.c list->cursor = next;
list 784 uspace/lib/ui/src/list.c ui_list_cursor_move(list, entry, list->cursor_idx + 1);
list 785 uspace/lib/ui/src/list.c } else if (list->cursor == next) {
list 786 uspace/lib/ui/src/list.c list->cursor = entry;
list 787 uspace/lib/ui/src/list.c ui_list_cursor_move(list, next, list->cursor_idx - 1);
list 799 uspace/lib/ui/src/list.c if (entry->list->cursor == entry)
list 800 uspace/lib/ui/src/list.c entry->list->cursor = NULL;
list 801 uspace/lib/ui/src/list.c if (entry->list->page == entry)
list 802 uspace/lib/ui/src/list.c entry->list->page = NULL;
list 805 uspace/lib/ui/src/list.c --entry->list->entries_cnt;
list 818 uspace/lib/ui/src/list.c ui_list_t *list = entry->list;
list 821 uspace/lib/ui/src/list.c if (entry->list->cursor == entry)
list 822 uspace/lib/ui/src/list.c ui_list_cursor_up(entry->list);
list 823 uspace/lib/ui/src/list.c if (entry->list->cursor == entry)
list 824 uspace/lib/ui/src/list.c ui_list_cursor_down(entry->list);
list 825 uspace/lib/ui/src/list.c if (entry->list->page == entry)
list 826 uspace/lib/ui/src/list.c ui_list_scroll_up(entry->list);
list 827 uspace/lib/ui/src/list.c if (entry->list->page == entry)
list 828 uspace/lib/ui/src/list.c ui_list_scroll_down(entry->list);
list 837 uspace/lib/ui/src/list.c if (list->page == NULL) {
list 838 uspace/lib/ui/src/list.c list->page = ui_list_first(list);
list 839 uspace/lib/ui/src/list.c list->page_idx = 0;
list 845 uspace/lib/ui/src/list.c list->page_idx = ui_list_entry_get_idx(list->page);
list 848 uspace/lib/ui/src/list.c if (list->cursor == NULL) {
list 849 uspace/lib/ui/src/list.c list->cursor = ui_list_first(list);
list 850 uspace/lib/ui/src/list.c list->cursor_idx = 0;
list 856 uspace/lib/ui/src/list.c list->cursor_idx = ui_list_entry_get_idx(list->cursor);
list 877 uspace/lib/ui/src/list.c return entry->list;
list 906 uspace/lib/ui/src/list.c void ui_list_clear_entries(ui_list_t *list)
list 910 uspace/lib/ui/src/list.c entry = ui_list_first(list);
list 913 uspace/lib/ui/src/list.c entry = ui_list_first(list);
list 922 uspace/lib/ui/src/list.c size_t ui_list_entries_cnt(ui_list_t *list)
list 924 uspace/lib/ui/src/list.c return list->entries_cnt;
list 932 uspace/lib/ui/src/list.c ui_list_entry_t *ui_list_first(ui_list_t *list)
list 936 uspace/lib/ui/src/list.c link = list_first(&list->entries);
list 948 uspace/lib/ui/src/list.c ui_list_entry_t *ui_list_last(ui_list_t *list)
list 952 uspace/lib/ui/src/list.c link = list_last(&list->entries);
list 968 uspace/lib/ui/src/list.c link = list_next(&cur->lentries, &cur->list->entries);
list 984 uspace/lib/ui/src/list.c link = list_prev(&cur->lentries, &cur->list->entries);
list 998 uspace/lib/ui/src/list.c ui_list_entry_t *ui_list_page_nth_entry(ui_list_t *list,
list 1005 uspace/lib/ui/src/list.c assert(n <= ui_list_page_size(list));
list 1007 uspace/lib/ui/src/list.c entry = list->page;
list 1011 uspace/lib/ui/src/list.c idx = list->page_idx;
list 1029 uspace/lib/ui/src/list.c ui_list_entry_t *ui_list_get_cursor(ui_list_t *list)
list 1031 uspace/lib/ui/src/list.c return list->cursor;
list 1041 uspace/lib/ui/src/list.c void ui_list_set_cursor(ui_list_t *list, ui_list_entry_t *entry)
list 1046 uspace/lib/ui/src/list.c ui_list_cursor_move(list, entry, idx);
list 1055 uspace/lib/ui/src/list.c void ui_list_cursor_move(ui_list_t *list,
list 1058 uspace/lib/ui/src/list.c gfx_context_t *gc = ui_window_get_gc(list->window);
list 1065 uspace/lib/ui/src/list.c rows = ui_list_page_size(list);
list 1067 uspace/lib/ui/src/list.c old_cursor = list->cursor;
list 1068 uspace/lib/ui/src/list.c old_idx = list->cursor_idx;
list 1070 uspace/lib/ui/src/list.c list->cursor = entry;
list 1071 uspace/lib/ui/src/list.c list->cursor_idx = entry_idx;
list 1073 uspace/lib/ui/src/list.c if (entry_idx >= list->page_idx &&
list 1074 uspace/lib/ui/src/list.c entry_idx < list->page_idx + rows) {
list 1081 uspace/lib/ui/src/list.c ui_list_entry_paint(list->cursor, list->cursor_idx);
list 1090 uspace/lib/ui/src/list.c if (entry_idx < list->page_idx) {
list 1091 uspace/lib/ui/src/list.c list->page = entry;
list 1092 uspace/lib/ui/src/list.c list->page_idx = entry_idx;
list 1096 uspace/lib/ui/src/list.c if (entry_idx >= list->page_idx + rows) {
list 1098 uspace/lib/ui/src/list.c list->page_idx = entry_idx - rows + 1;
list 1107 uspace/lib/ui/src/list.c list->page = e;
list 1109 uspace/lib/ui/src/list.c list->page = ui_list_first(list);
list 1110 uspace/lib/ui/src/list.c list->page_idx = 0;
list 1114 uspace/lib/ui/src/list.c ui_list_scrollbar_update(list);
list 1115 uspace/lib/ui/src/list.c (void) ui_list_paint(list);
list 1123 uspace/lib/ui/src/list.c void ui_list_cursor_up(ui_list_t *list)
list 1128 uspace/lib/ui/src/list.c prev = ui_list_prev(list->cursor);
list 1129 uspace/lib/ui/src/list.c prev_idx = list->cursor_idx - 1;
list 1131 uspace/lib/ui/src/list.c ui_list_cursor_move(list, prev, prev_idx);
list 1138 uspace/lib/ui/src/list.c void ui_list_cursor_down(ui_list_t *list)
list 1143 uspace/lib/ui/src/list.c next = ui_list_next(list->cursor);
list 1144 uspace/lib/ui/src/list.c next_idx = list->cursor_idx + 1;
list 1146 uspace/lib/ui/src/list.c ui_list_cursor_move(list, next, next_idx);
list 1153 uspace/lib/ui/src/list.c void ui_list_cursor_top(ui_list_t *list)
list 1155 uspace/lib/ui/src/list.c ui_list_cursor_move(list, ui_list_first(list), 0);
list 1162 uspace/lib/ui/src/list.c void ui_list_cursor_bottom(ui_list_t *list)
list 1164 uspace/lib/ui/src/list.c ui_list_cursor_move(list, ui_list_last(list),
list 1165 uspace/lib/ui/src/list.c list->entries_cnt - 1);
list 1172 uspace/lib/ui/src/list.c void ui_list_page_up(ui_list_t *list)
list 1174 uspace/lib/ui/src/list.c gfx_context_t *gc = ui_window_get_gc(list->window);
list 1182 uspace/lib/ui/src/list.c rows = ui_list_page_size(list);
list 1184 uspace/lib/ui/src/list.c old_page = list->page;
list 1185 uspace/lib/ui/src/list.c old_cursor = list->cursor;
list 1186 uspace/lib/ui/src/list.c old_idx = list->cursor_idx;
list 1190 uspace/lib/ui/src/list.c entry = ui_list_prev(list->page);
list 1192 uspace/lib/ui/src/list.c list->page = entry;
list 1193 uspace/lib/ui/src/list.c --list->page_idx;
list 1200 uspace/lib/ui/src/list.c entry = ui_list_prev(list->cursor);
list 1202 uspace/lib/ui/src/list.c list->cursor = entry;
list 1203 uspace/lib/ui/src/list.c --list->cursor_idx;
list 1207 uspace/lib/ui/src/list.c if (list->page != old_page) {
list 1209 uspace/lib/ui/src/list.c ui_list_scrollbar_update(list);
list 1210 uspace/lib/ui/src/list.c (void) ui_list_paint(list);
list 1211 uspace/lib/ui/src/list.c } else if (list->cursor != old_cursor) {
list 1214 uspace/lib/ui/src/list.c ui_list_entry_paint(list->cursor, list->cursor_idx);
list 1224 uspace/lib/ui/src/list.c void ui_list_page_down(ui_list_t *list)
list 1226 uspace/lib/ui/src/list.c gfx_context_t *gc = ui_window_get_gc(list->window);
list 1235 uspace/lib/ui/src/list.c rows = ui_list_page_size(list);
list 1237 uspace/lib/ui/src/list.c old_page = list->page;
list 1238 uspace/lib/ui/src/list.c old_cursor = list->cursor;
list 1239 uspace/lib/ui/src/list.c old_idx = list->cursor_idx;
list 1241 uspace/lib/ui/src/list.c if (list->entries_cnt > rows)
list 1242 uspace/lib/ui/src/list.c max_idx = list->entries_cnt - rows;
list 1248 uspace/lib/ui/src/list.c entry = ui_list_next(list->page);
list 1250 uspace/lib/ui/src/list.c if (entry != NULL && list->page_idx < max_idx) {
list 1251 uspace/lib/ui/src/list.c list->page = entry;
list 1252 uspace/lib/ui/src/list.c ++list->page_idx;
list 1259 uspace/lib/ui/src/list.c entry = ui_list_next(list->cursor);
list 1261 uspace/lib/ui/src/list.c list->cursor = entry;
list 1262 uspace/lib/ui/src/list.c ++list->cursor_idx;
list 1266 uspace/lib/ui/src/list.c if (list->page != old_page) {
list 1268 uspace/lib/ui/src/list.c ui_list_scrollbar_update(list);
list 1269 uspace/lib/ui/src/list.c (void) ui_list_paint(list);
list 1270 uspace/lib/ui/src/list.c } else if (list->cursor != old_cursor) {
list 1273 uspace/lib/ui/src/list.c ui_list_entry_paint(list->cursor, list->cursor_idx);
list 1283 uspace/lib/ui/src/list.c void ui_list_scroll_up(ui_list_t *list)
list 1287 uspace/lib/ui/src/list.c if (list->page == NULL)
list 1290 uspace/lib/ui/src/list.c prev = ui_list_prev(list->page);
list 1294 uspace/lib/ui/src/list.c list->page = prev;
list 1295 uspace/lib/ui/src/list.c assert(list->page_idx > 0);
list 1296 uspace/lib/ui/src/list.c --list->page_idx;
list 1298 uspace/lib/ui/src/list.c ui_list_scrollbar_update(list);
list 1299 uspace/lib/ui/src/list.c (void) ui_list_paint(list);
list 1306 uspace/lib/ui/src/list.c void ui_list_scroll_down(ui_list_t *list)
list 1313 uspace/lib/ui/src/list.c if (list->page == NULL)
list 1316 uspace/lib/ui/src/list.c next = ui_list_next(list->page);
list 1320 uspace/lib/ui/src/list.c rows = ui_list_page_size(list);
list 1323 uspace/lib/ui/src/list.c pgend = list->page;
list 1330 uspace/lib/ui/src/list.c list->page = next;
list 1331 uspace/lib/ui/src/list.c ++list->page_idx;
list 1334 uspace/lib/ui/src/list.c ui_list_scrollbar_update(list);
list 1335 uspace/lib/ui/src/list.c (void) ui_list_paint(list);
list 1342 uspace/lib/ui/src/list.c void ui_list_scroll_page_up(ui_list_t *list)
list 1348 uspace/lib/ui/src/list.c prev = ui_list_prev(list->page);
list 1352 uspace/lib/ui/src/list.c rows = ui_list_page_size(list);
list 1355 uspace/lib/ui/src/list.c list->page = prev;
list 1356 uspace/lib/ui/src/list.c assert(list->page_idx > 0);
list 1357 uspace/lib/ui/src/list.c --list->page_idx;
list 1361 uspace/lib/ui/src/list.c ui_list_scrollbar_update(list);
list 1362 uspace/lib/ui/src/list.c (void) ui_list_paint(list);
list 1369 uspace/lib/ui/src/list.c void ui_list_scroll_page_down(ui_list_t *list)
list 1376 uspace/lib/ui/src/list.c next = ui_list_next(list->page);
list 1380 uspace/lib/ui/src/list.c rows = ui_list_page_size(list);
list 1383 uspace/lib/ui/src/list.c pgend = list->page;
list 1390 uspace/lib/ui/src/list.c list->page = next;
list 1391 uspace/lib/ui/src/list.c ++list->page_idx;
list 1396 uspace/lib/ui/src/list.c ui_list_scrollbar_update(list);
list 1397 uspace/lib/ui/src/list.c (void) ui_list_paint(list);
list 1405 uspace/lib/ui/src/list.c void ui_list_scroll_pos(ui_list_t *list, size_t page_idx)
list 1410 uspace/lib/ui/src/list.c entry = ui_list_first(list);
list 1416 uspace/lib/ui/src/list.c list->page = entry;
list 1417 uspace/lib/ui/src/list.c list->page_idx = page_idx;
list 1419 uspace/lib/ui/src/list.c (void) ui_list_paint(list);
list 1428 uspace/lib/ui/src/list.c void ui_list_activate_req(ui_list_t *list)
list 1430 uspace/lib/ui/src/list.c if (list->cb != NULL && list->cb->activate_req != NULL) {
list 1431 uspace/lib/ui/src/list.c list->cb->activate_req(list, list->cb_arg);
list 1437 uspace/lib/ui/src/list.c ui_list_activate(list);
list 1446 uspace/lib/ui/src/list.c errno_t ui_list_sort(ui_list_t *list)
list 1453 uspace/lib/ui/src/list.c emap = calloc(list->entries_cnt, sizeof(ui_list_entry_t *));
list 1458 uspace/lib/ui/src/list.c entry = ui_list_first(list);
list 1461 uspace/lib/ui/src/list.c assert(i < list->entries_cnt);
list 1467 uspace/lib/ui/src/list.c qsort(emap, list->entries_cnt, sizeof(ui_list_entry_t *),
list 1471 uspace/lib/ui/src/list.c entry = ui_list_first(list);
list 1474 uspace/lib/ui/src/list.c entry = ui_list_first(list);
list 1478 uspace/lib/ui/src/list.c for (i = 0; i < list->entries_cnt; i++)
list 1479 uspace/lib/ui/src/list.c list_append(&emap[i]->lentries, &list->entries);
list 1483 uspace/lib/ui/src/list.c list->page = ui_list_first(list);
list 1484 uspace/lib/ui/src/list.c list->page_idx = 0;
list 1485 uspace/lib/ui/src/list.c list->cursor = ui_list_first(list);
list 1486 uspace/lib/ui/src/list.c list->cursor_idx = 0;
list 1515 uspace/lib/ui/src/list.c void ui_list_cursor_center(ui_list_t *list, ui_list_entry_t *entry)
list 1524 uspace/lib/ui/src/list.c list->cursor = entry;
list 1525 uspace/lib/ui/src/list.c list->cursor_idx = idx;
list 1528 uspace/lib/ui/src/list.c list->page = list->cursor;
list 1529 uspace/lib/ui/src/list.c list->page_idx = list->cursor_idx;
list 1531 uspace/lib/ui/src/list.c pg_size = ui_list_page_size(list);
list 1534 uspace/lib/ui/src/list.c prev = ui_list_prev(list->page);
list 1538 uspace/lib/ui/src/list.c list->page = prev;
list 1539 uspace/lib/ui/src/list.c --list->page_idx;
list 1543 uspace/lib/ui/src/list.c if (list->entries_cnt > pg_size)
list 1544 uspace/lib/ui/src/list.c max_idx = list->entries_cnt - pg_size;
list 1548 uspace/lib/ui/src/list.c while (list->page_idx > 0 && list->page_idx > max_idx) {
list 1549 uspace/lib/ui/src/list.c prev = ui_list_prev(list->page);
list 1553 uspace/lib/ui/src/list.c list->page = prev;
list 1554 uspace/lib/ui/src/list.c --list->page_idx;
list 1565 uspace/lib/ui/src/list.c if (entry->list->cb != NULL && entry->list->cb->selected != NULL)
list 1566 uspace/lib/ui/src/list.c entry->list->cb->selected(entry, entry->arg);
list 1576 uspace/lib/ui/src/list.c ui_list_t *list = (ui_list_t *)arg;
list 1577 uspace/lib/ui/src/list.c ui_list_scroll_up(list);
list 1587 uspace/lib/ui/src/list.c ui_list_t *list = (ui_list_t *)arg;
list 1588 uspace/lib/ui/src/list.c ui_list_scroll_down(list);
list 1598 uspace/lib/ui/src/list.c ui_list_t *list = (ui_list_t *)arg;
list 1599 uspace/lib/ui/src/list.c ui_list_scroll_page_up(list);
list 1610 uspace/lib/ui/src/list.c ui_list_t *list = (ui_list_t *)arg;
list 1611 uspace/lib/ui/src/list.c ui_list_scroll_page_down(list);
list 1622 uspace/lib/ui/src/list.c ui_list_t *list = (ui_list_t *)arg;
list 1628 uspace/lib/ui/src/list.c entries = list_count(&list->entries);
list 1629 uspace/lib/ui/src/list.c pglen = ui_list_page_size(list);
list 1630 uspace/lib/ui/src/list.c sbar_len = ui_scrollbar_move_length(list->scrollbar);
list 1637 uspace/lib/ui/src/list.c ui_list_scroll_pos(list, pgstart);
list 1651 uspace/lib/ui/src/list.c return a->list->cb->compare(a, b);
list 102 uspace/lib/ui/src/selectdialog.c ui_list_t *list = NULL;
list 167 uspace/lib/ui/src/selectdialog.c rc = ui_list_create(window, true, &list);
list 171 uspace/lib/ui/src/selectdialog.c ui_list_set_cb(list, &ui_select_dialog_list_cb, dialog);
list 186 uspace/lib/ui/src/selectdialog.c ui_list_set_rect(list, &rect);
list 188 uspace/lib/ui/src/selectdialog.c rc = ui_fixed_add(fixed, ui_list_ctl(list));
list 192 uspace/lib/ui/src/selectdialog.c dialog->list = list;
list 193 uspace/lib/ui/src/selectdialog.c list = NULL;
list 264 uspace/lib/ui/src/selectdialog.c if (list != NULL)
list 265 uspace/lib/ui/src/selectdialog.c ui_list_destroy(list);
list 316 uspace/lib/ui/src/selectdialog.c return ui_list_entry_append(dialog->list, attr, NULL);
list 338 uspace/lib/ui/src/selectdialog.c return dialog->list;
list 372 uspace/lib/ui/src/selectdialog.c entry = ui_list_get_cursor(dialog->list);
list 401 uspace/lib/ui/src/selectdialog.c entry = ui_list_get_cursor(dialog->list);
list 431 uspace/lib/ui/src/selectdialog.c ui_list_t *list;
list 434 uspace/lib/ui/src/selectdialog.c list = ui_list_entry_get_list(entry);
list 435 uspace/lib/ui/src/selectdialog.c dialog = (ui_select_dialog_t *)ui_list_get_cb_arg(list);
list 207 uspace/lib/ui/test/filelist.c PCUT_ASSERT_INT_EQUALS(rect.p0.x, flist->list->rect.p0.x);
list 208 uspace/lib/ui/test/filelist.c PCUT_ASSERT_INT_EQUALS(rect.p0.y, flist->list->rect.p0.y);
list 209 uspace/lib/ui/test/filelist.c PCUT_ASSERT_INT_EQUALS(rect.p1.x, flist->list->rect.p1.x);
list 210 uspace/lib/ui/test/filelist.c PCUT_ASSERT_INT_EQUALS(rect.p1.y, flist->list->rect.p1.y);
list 338 uspace/lib/ui/test/filelist.c PCUT_ASSERT_INT_EQUALS(1, ui_list_entries_cnt(flist->list));
list 345 uspace/lib/ui/test/filelist.c PCUT_ASSERT_INT_EQUALS(2, ui_list_entries_cnt(flist->list));
list 385 uspace/lib/ui/test/filelist.c PCUT_ASSERT_INT_EQUALS(2, ui_list_entries_cnt(flist->list));
list 390 uspace/lib/ui/test/filelist.c PCUT_ASSERT_INT_EQUALS(1, ui_list_entries_cnt(flist->list));
list 395 uspace/lib/ui/test/filelist.c PCUT_ASSERT_INT_EQUALS(0, ui_list_entries_cnt(flist->list));
list 435 uspace/lib/ui/test/filelist.c PCUT_ASSERT_INT_EQUALS(2, ui_list_entries_cnt(flist->list));
list 438 uspace/lib/ui/test/filelist.c PCUT_ASSERT_INT_EQUALS(0, ui_list_entries_cnt(flist->list));
list 495 uspace/lib/ui/test/filelist.c PCUT_ASSERT_INT_EQUALS(2, ui_list_entries_cnt(flist->list));
list 1014 uspace/lib/ui/test/filelist.c PCUT_ASSERT_INT_EQUALS(2, ui_list_entries_cnt(flist->list));
list 43 uspace/lib/ui/test/list.c PCUT_TEST_SUITE(list);
list 70 uspace/lib/ui/test/list.c ui_list_t *list;
list 82 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 85 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 96 uspace/lib/ui/test/list.c ui_list_t *list;
list 109 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 112 uspace/lib/ui/test/list.c ui_list_set_cb(list, &test_cb, &resp);
list 113 uspace/lib/ui/test/list.c PCUT_ASSERT_EQUALS(&test_cb, list->cb);
list 114 uspace/lib/ui/test/list.c PCUT_ASSERT_EQUALS(&resp, list->cb_arg);
list 116 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 127 uspace/lib/ui/test/list.c ui_list_t *list;
list 141 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 144 uspace/lib/ui/test/list.c ui_list_set_cb(list, &test_cb, &resp);
list 145 uspace/lib/ui/test/list.c arg = ui_list_get_cb_arg(list);
list 148 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 159 uspace/lib/ui/test/list.c ui_list_t *list;
list 172 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 176 uspace/lib/ui/test/list.c height = ui_list_entry_height(list);
list 179 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 190 uspace/lib/ui/test/list.c ui_list_t *list;
list 203 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 210 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 213 uspace/lib/ui/test/list.c rc = ui_list_entry_paint(ui_list_first(list), 0);
list 216 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 227 uspace/lib/ui/test/list.c ui_list_t *list;
list 239 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 242 uspace/lib/ui/test/list.c rc = ui_list_paint(list);
list 245 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 256 uspace/lib/ui/test/list.c ui_list_t *list;
list 269 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 272 uspace/lib/ui/test/list.c control = ui_list_ctl(list);
list 275 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 286 uspace/lib/ui/test/list.c ui_list_t *list;
list 302 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 310 uspace/lib/ui/test/list.c claimed = ui_list_kbd_event(list, &event);
list 313 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 326 uspace/lib/ui/test/list.c rc = ui_list_create(window, false, &list);
list 334 uspace/lib/ui/test/list.c claimed = ui_list_kbd_event(list, &event);
list 337 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 348 uspace/lib/ui/test/list.c ui_list_t *list;
list 364 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 372 uspace/lib/ui/test/list.c ui_list_set_rect(list, &rect);
list 377 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 382 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 387 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 390 uspace/lib/ui/test/list.c list->cursor = ui_list_first(list);
list 391 uspace/lib/ui/test/list.c list->cursor_idx = 0;
list 392 uspace/lib/ui/test/list.c list->page = ui_list_first(list);
list 393 uspace/lib/ui/test/list.c list->page_idx = 0;
list 403 uspace/lib/ui/test/list.c claimed = ui_list_pos_event(list, &event);
list 406 uspace/lib/ui/test/list.c PCUT_ASSERT_NOT_NULL(list->cursor);
list 407 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("b", list->cursor->caption);
list 408 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, (intptr_t)list->cursor->arg);
list 413 uspace/lib/ui/test/list.c claimed = ui_list_pos_event(list, &event);
list 416 uspace/lib/ui/test/list.c PCUT_ASSERT_NOT_NULL(list->cursor);
list 417 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("a", list->cursor->caption);
list 418 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(1, (intptr_t)list->cursor->arg);
list 420 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 431 uspace/lib/ui/test/list.c ui_list_t *list;
list 444 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 452 uspace/lib/ui/test/list.c ui_list_set_rect(list, &rect);
list 453 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(rect.p0.x, list->rect.p0.x);
list 454 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(rect.p0.y, list->rect.p0.y);
list 455 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(rect.p1.x, list->rect.p1.x);
list 456 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(rect.p1.y, list->rect.p1.y);
list 458 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 469 uspace/lib/ui/test/list.c ui_list_t *list;
list 482 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 490 uspace/lib/ui/test/list.c ui_list_set_rect(list, &rect);
list 493 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(11, ui_list_page_size(list));
list 495 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 506 uspace/lib/ui/test/list.c ui_list_t *list;
list 520 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 528 uspace/lib/ui/test/list.c ui_list_set_rect(list, &rect);
list 530 uspace/lib/ui/test/list.c ui_list_inside_rect(list, &irect);
list 536 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 547 uspace/lib/ui/test/list.c ui_list_t *list;
list 561 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 569 uspace/lib/ui/test/list.c ui_list_set_rect(list, &rect);
list 571 uspace/lib/ui/test/list.c ui_list_scrollbar_rect(list, &srect);
list 577 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 588 uspace/lib/ui/test/list.c ui_list_t *list;
list 605 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 613 uspace/lib/ui/test/list.c ui_list_set_rect(list, &rect);
list 618 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 623 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 628 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 631 uspace/lib/ui/test/list.c entry = ui_list_next(ui_list_first(list));
list 633 uspace/lib/ui/test/list.c list->cursor = entry;
list 634 uspace/lib/ui/test/list.c list->cursor_idx = 1;
list 635 uspace/lib/ui/test/list.c list->page = entry;
list 636 uspace/lib/ui/test/list.c list->page_idx = 1;
list 638 uspace/lib/ui/test/list.c ui_list_scrollbar_update(list);
list 641 uspace/lib/ui/test/list.c move_len = ui_scrollbar_move_length(list->scrollbar);
list 642 uspace/lib/ui/test/list.c pos = ui_scrollbar_get_pos(list->scrollbar);
list 645 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 656 uspace/lib/ui/test/list.c ui_list_t *list;
list 668 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 670 uspace/lib/ui/test/list.c PCUT_ASSERT_TRUE(ui_list_is_active(list));
list 671 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 673 uspace/lib/ui/test/list.c rc = ui_list_create(window, false, &list);
list 675 uspace/lib/ui/test/list.c PCUT_ASSERT_FALSE(ui_list_is_active(list));
list 676 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 687 uspace/lib/ui/test/list.c ui_list_t *list;
list 699 uspace/lib/ui/test/list.c rc = ui_list_create(window, false, &list);
list 702 uspace/lib/ui/test/list.c PCUT_ASSERT_FALSE(ui_list_is_active(list));
list 703 uspace/lib/ui/test/list.c rc = ui_list_activate(list);
list 705 uspace/lib/ui/test/list.c PCUT_ASSERT_TRUE(ui_list_is_active(list));
list 707 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 718 uspace/lib/ui/test/list.c ui_list_t *list;
list 730 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 733 uspace/lib/ui/test/list.c PCUT_ASSERT_TRUE(ui_list_is_active(list));
list 734 uspace/lib/ui/test/list.c ui_list_deactivate(list);
list 735 uspace/lib/ui/test/list.c PCUT_ASSERT_FALSE(ui_list_is_active(list));
list 737 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 748 uspace/lib/ui/test/list.c ui_list_t *list;
list 763 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 772 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, &entry);
list 777 uspace/lib/ui/test/list.c cursor = ui_list_get_cursor(list);
list 780 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 791 uspace/lib/ui/test/list.c ui_list_t *list;
list 806 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 814 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, &e1);
list 821 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, &e2);
list 828 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 832 uspace/lib/ui/test/list.c PCUT_ASSERT_EQUALS(e1, list->cursor);
list 833 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(0, list->cursor_idx);
list 836 uspace/lib/ui/test/list.c ui_list_set_cursor(list, e2);
list 837 uspace/lib/ui/test/list.c PCUT_ASSERT_EQUALS(e2, list->cursor);
list 838 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(1, list->cursor_idx);
list 840 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 863 uspace/lib/ui/test/list.c ui_list_t *list;
list 877 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 885 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 888 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(1, list_count(&list->entries));
list 894 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, &entry);
list 899 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, list_count(&list->entries));
list 901 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 912 uspace/lib/ui/test/list.c ui_list_t *list;
list 927 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 936 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, &e1);
list 941 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, &e2);
list 946 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, &e3);
list 949 uspace/lib/ui/test/list.c e = ui_list_first(list);
list 955 uspace/lib/ui/test/list.c e = ui_list_first(list);
list 970 uspace/lib/ui/test/list.c e = ui_list_first(list);
list 982 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 993 uspace/lib/ui/test/list.c ui_list_t *list;
list 1008 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 1017 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, &e1);
list 1022 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, &e2);
list 1027 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, &e3);
list 1030 uspace/lib/ui/test/list.c e = ui_list_first(list);
list 1036 uspace/lib/ui/test/list.c e = ui_list_first(list);
list 1051 uspace/lib/ui/test/list.c e = ui_list_first(list);
list 1063 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 1074 uspace/lib/ui/test/list.c ui_list_t *list;
list 1088 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 1093 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 1098 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 1101 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, list_count(&list->entries));
list 1103 uspace/lib/ui/test/list.c entry = ui_list_first(list);
list 1106 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(1, list_count(&list->entries));
list 1108 uspace/lib/ui/test/list.c entry = ui_list_first(list);
list 1111 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(0, list_count(&list->entries));
list 1113 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 1124 uspace/lib/ui/test/list.c ui_list_t *list;
list 1139 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 1148 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, &entry);
list 1155 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 1166 uspace/lib/ui/test/list.c ui_list_t *list;
list 1181 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 1190 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, &entry);
list 1196 uspace/lib/ui/test/list.c PCUT_ASSERT_EQUALS(list, elist);
list 1198 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 1209 uspace/lib/ui/test/list.c ui_list_t *list;
list 1223 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 1232 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, &entry);
list 1241 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 1252 uspace/lib/ui/test/list.c ui_list_t *list;
list 1265 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 1268 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(0, ui_list_entries_cnt(list));
list 1275 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 1278 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(1, ui_list_entries_cnt(list));
list 1283 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 1286 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, ui_list_entries_cnt(list));
list 1288 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 1299 uspace/lib/ui/test/list.c ui_list_t *list;
list 1314 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 1317 uspace/lib/ui/test/list.c ui_list_set_cb(list, &test_cb, &resp);
list 1323 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 1328 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 1333 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 1336 uspace/lib/ui/test/list.c rc = ui_list_sort(list);
list 1339 uspace/lib/ui/test/list.c entry = ui_list_first(list);
list 1351 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 1362 uspace/lib/ui/test/list.c ui_list_t *list;
list 1378 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 1381 uspace/lib/ui/test/list.c ui_list_set_cb(list, &test_cb, &resp);
list 1388 uspace/lib/ui/test/list.c ui_list_set_rect(list, &rect);
list 1390 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(3, ui_list_page_size(list));
list 1396 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, &a);
list 1401 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, &b);
list 1405 uspace/lib/ui/test/list.c ui_list_cursor_center(list, b);
list 1406 uspace/lib/ui/test/list.c PCUT_ASSERT_EQUALS(b, list->cursor);
list 1408 uspace/lib/ui/test/list.c PCUT_ASSERT_EQUALS(a, list->page);
list 1409 uspace/lib/ui/test/list.c PCUT_ASSERT_EQUALS(0, list->page_idx);
list 1415 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, &c);
list 1420 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, &d);
list 1425 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, &e);
list 1428 uspace/lib/ui/test/list.c ui_list_cursor_center(list, c);
list 1429 uspace/lib/ui/test/list.c PCUT_ASSERT_EQUALS(c, list->cursor);
list 1434 uspace/lib/ui/test/list.c PCUT_ASSERT_EQUALS(b, list->page);
list 1435 uspace/lib/ui/test/list.c PCUT_ASSERT_EQUALS(1, list->page_idx);
list 1437 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 1448 uspace/lib/ui/test/list.c ui_list_t *list;
list 1461 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 1467 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 1472 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 1475 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, list_count(&list->entries));
list 1477 uspace/lib/ui/test/list.c ui_list_clear_entries(list);
list 1478 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(0, list_count(&list->entries));
list 1480 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 1491 uspace/lib/ui/test/list.c ui_list_t *list;
list 1505 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 1510 uspace/lib/ui/test/list.c entry = ui_list_first(list);
list 1516 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 1520 uspace/lib/ui/test/list.c entry = ui_list_first(list);
list 1528 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 1532 uspace/lib/ui/test/list.c entry = ui_list_first(list);
list 1537 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 1548 uspace/lib/ui/test/list.c ui_list_t *list;
list 1562 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 1567 uspace/lib/ui/test/list.c entry = ui_list_last(list);
list 1573 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 1577 uspace/lib/ui/test/list.c entry = ui_list_last(list);
list 1585 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 1589 uspace/lib/ui/test/list.c entry = ui_list_last(list);
list 1596 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 1607 uspace/lib/ui/test/list.c ui_list_t *list;
list 1621 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 1629 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 1633 uspace/lib/ui/test/list.c entry = ui_list_first(list);
list 1642 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 1646 uspace/lib/ui/test/list.c entry = ui_list_first(list);
list 1654 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 1665 uspace/lib/ui/test/list.c ui_list_t *list;
list 1679 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 1687 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 1691 uspace/lib/ui/test/list.c entry = ui_list_last(list);
list 1700 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 1704 uspace/lib/ui/test/list.c entry = ui_list_last(list);
list 1712 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 1723 uspace/lib/ui/test/list.c ui_list_t *list;
list 1739 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 1747 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 1752 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 1757 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 1760 uspace/lib/ui/test/list.c list->page = ui_list_next(ui_list_first(list));
list 1761 uspace/lib/ui/test/list.c list->page_idx = 1;
list 1767 uspace/lib/ui/test/list.c ui_list_set_rect(list, &rect);
list 1769 uspace/lib/ui/test/list.c entry = ui_list_page_nth_entry(list, 0, &idx);
list 1774 uspace/lib/ui/test/list.c entry = ui_list_page_nth_entry(list, 1, &idx);
list 1779 uspace/lib/ui/test/list.c entry = ui_list_page_nth_entry(list, 2, &idx);
list 1782 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 1793 uspace/lib/ui/test/list.c ui_list_t *list;
list 1806 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 1813 uspace/lib/ui/test/list.c ui_list_set_rect(list, &rect);
list 1815 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, ui_list_page_size(list));
list 1823 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 1828 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 1833 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 1837 uspace/lib/ui/test/list.c list->cursor = ui_list_last(list);
list 1838 uspace/lib/ui/test/list.c list->cursor_idx = 2;
list 1839 uspace/lib/ui/test/list.c list->page = ui_list_prev(list->cursor);
list 1840 uspace/lib/ui/test/list.c list->page_idx = 1;
list 1843 uspace/lib/ui/test/list.c ui_list_cursor_move(list, ui_list_prev(list->cursor),
list 1844 uspace/lib/ui/test/list.c list->cursor_idx - 1);
list 1847 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("b", list->cursor->caption);
list 1848 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, (intptr_t)list->cursor->arg);
list 1849 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(1, list->cursor_idx);
list 1850 uspace/lib/ui/test/list.c PCUT_ASSERT_EQUALS(list->cursor, list->page);
list 1851 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(1, list->page_idx);
list 1854 uspace/lib/ui/test/list.c ui_list_cursor_move(list, ui_list_first(list), 0);
list 1857 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("a", list->cursor->caption);
list 1858 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(1, (intptr_t)list->cursor->arg);
list 1859 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(0, list->cursor_idx);
list 1860 uspace/lib/ui/test/list.c PCUT_ASSERT_EQUALS(list->cursor, list->page);
list 1861 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(0, list->page_idx);
list 1864 uspace/lib/ui/test/list.c ui_list_cursor_move(list, ui_list_last(list), 2);
list 1867 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("c", list->cursor->caption);
list 1868 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(3, (intptr_t)list->cursor->arg);
list 1869 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, list->cursor_idx);
list 1870 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("b", list->page->caption);
list 1871 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, (intptr_t)list->page->arg);
list 1872 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(1, list->page_idx);
list 1874 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 1885 uspace/lib/ui/test/list.c ui_list_t *list;
list 1898 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 1905 uspace/lib/ui/test/list.c ui_list_set_rect(list, &rect);
list 1907 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, ui_list_page_size(list));
list 1915 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 1920 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 1925 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 1929 uspace/lib/ui/test/list.c list->cursor = ui_list_last(list);
list 1930 uspace/lib/ui/test/list.c list->cursor_idx = 2;
list 1931 uspace/lib/ui/test/list.c list->page = ui_list_prev(list->cursor);
list 1932 uspace/lib/ui/test/list.c list->page_idx = 1;
list 1935 uspace/lib/ui/test/list.c ui_list_cursor_up(list);
list 1938 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("b", list->cursor->caption);
list 1939 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, (intptr_t)list->cursor->arg);
list 1940 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(1, list->cursor_idx);
list 1941 uspace/lib/ui/test/list.c PCUT_ASSERT_EQUALS(list->cursor, list->page);
list 1942 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(1, list->page_idx);
list 1945 uspace/lib/ui/test/list.c ui_list_cursor_up(list);
list 1948 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("a", list->cursor->caption);
list 1949 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(1, (intptr_t)list->cursor->arg);
list 1950 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(0, list->cursor_idx);
list 1951 uspace/lib/ui/test/list.c PCUT_ASSERT_EQUALS(list->cursor, list->page);
list 1952 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(0, list->page_idx);
list 1955 uspace/lib/ui/test/list.c ui_list_cursor_up(list);
list 1958 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("a", list->cursor->caption);
list 1959 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(1, (intptr_t)list->cursor->arg);
list 1960 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(0, list->cursor_idx);
list 1961 uspace/lib/ui/test/list.c PCUT_ASSERT_EQUALS(list->cursor, list->page);
list 1962 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(0, list->page_idx);
list 1964 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 1975 uspace/lib/ui/test/list.c ui_list_t *list;
list 1989 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 1996 uspace/lib/ui/test/list.c ui_list_set_rect(list, &rect);
list 1998 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, ui_list_page_size(list));
list 2006 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2011 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2016 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2020 uspace/lib/ui/test/list.c list->cursor = ui_list_first(list);
list 2021 uspace/lib/ui/test/list.c list->cursor_idx = 0;
list 2022 uspace/lib/ui/test/list.c list->page = list->cursor;
list 2023 uspace/lib/ui/test/list.c list->page_idx = 0;
list 2026 uspace/lib/ui/test/list.c ui_list_cursor_down(list);
list 2029 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("b", list->cursor->caption);
list 2030 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, (intptr_t)list->cursor->arg);
list 2031 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(1, list->cursor_idx);
list 2032 uspace/lib/ui/test/list.c PCUT_ASSERT_EQUALS(ui_list_first(list), list->page);
list 2033 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(0, list->page_idx);
list 2036 uspace/lib/ui/test/list.c ui_list_cursor_down(list);
list 2039 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("c", list->cursor->caption);
list 2040 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(3, (intptr_t)list->cursor->arg);
list 2041 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, list->cursor_idx);
list 2042 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("b", list->page->caption);
list 2043 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, (intptr_t)list->page->arg);
list 2044 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(1, list->page_idx);
list 2047 uspace/lib/ui/test/list.c ui_list_cursor_down(list);
list 2050 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("c", list->cursor->caption);
list 2051 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(3, (intptr_t)list->cursor->arg);
list 2052 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, list->cursor_idx);
list 2053 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("b", list->page->caption);
list 2054 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, (intptr_t)list->page->arg);
list 2055 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(1, list->page_idx);
list 2057 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 2068 uspace/lib/ui/test/list.c ui_list_t *list;
list 2082 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 2089 uspace/lib/ui/test/list.c ui_list_set_rect(list, &rect);
list 2091 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, ui_list_page_size(list));
list 2099 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2104 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2109 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2113 uspace/lib/ui/test/list.c list->cursor = ui_list_last(list);
list 2114 uspace/lib/ui/test/list.c list->cursor_idx = 2;
list 2115 uspace/lib/ui/test/list.c list->page = ui_list_prev(list->cursor);
list 2116 uspace/lib/ui/test/list.c list->page_idx = 1;
list 2119 uspace/lib/ui/test/list.c ui_list_cursor_top(list);
list 2122 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("a", list->cursor->caption);
list 2123 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(1, (intptr_t)list->cursor->arg);
list 2124 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(0, list->cursor_idx);
list 2125 uspace/lib/ui/test/list.c PCUT_ASSERT_EQUALS(list->cursor, list->page);
list 2126 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(0, list->page_idx);
list 2128 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 2139 uspace/lib/ui/test/list.c ui_list_t *list;
list 2153 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 2160 uspace/lib/ui/test/list.c ui_list_set_rect(list, &rect);
list 2162 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, ui_list_page_size(list));
list 2170 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2175 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2180 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2184 uspace/lib/ui/test/list.c list->cursor = ui_list_first(list);
list 2185 uspace/lib/ui/test/list.c list->cursor_idx = 0;
list 2186 uspace/lib/ui/test/list.c list->page = list->cursor;
list 2187 uspace/lib/ui/test/list.c list->page_idx = 0;
list 2190 uspace/lib/ui/test/list.c ui_list_cursor_bottom(list);
list 2193 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("c", list->cursor->caption);
list 2194 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(3, (intptr_t)list->cursor->arg);
list 2195 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, list->cursor_idx);
list 2196 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("b", list->page->caption);
list 2197 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, (intptr_t)list->page->arg);
list 2198 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(1, list->page_idx);
list 2200 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 2211 uspace/lib/ui/test/list.c ui_list_t *list;
list 2225 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 2232 uspace/lib/ui/test/list.c ui_list_set_rect(list, &rect);
list 2234 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, ui_list_page_size(list));
list 2242 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2247 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2252 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2257 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2262 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2266 uspace/lib/ui/test/list.c list->cursor = ui_list_last(list);
list 2267 uspace/lib/ui/test/list.c list->cursor_idx = 4;
list 2268 uspace/lib/ui/test/list.c list->page = ui_list_prev(list->cursor);
list 2269 uspace/lib/ui/test/list.c list->page_idx = 3;
list 2272 uspace/lib/ui/test/list.c ui_list_page_up(list);
list 2275 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("c", list->cursor->caption);
list 2276 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(3, (intptr_t)list->cursor->arg);
list 2277 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, list->cursor_idx);
list 2278 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("b", list->page->caption);
list 2279 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, (intptr_t)list->page->arg);
list 2280 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(1, list->page_idx);
list 2283 uspace/lib/ui/test/list.c ui_list_page_up(list);
list 2286 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("a", list->cursor->caption);
list 2287 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(1, (intptr_t)list->cursor->arg);
list 2288 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(0, list->cursor_idx);
list 2289 uspace/lib/ui/test/list.c PCUT_ASSERT_EQUALS(list->cursor, list->page);
list 2290 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(0, list->page_idx);
list 2293 uspace/lib/ui/test/list.c ui_list_page_up(list);
list 2296 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("a", list->cursor->caption);
list 2297 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(1, (intptr_t)list->cursor->arg);
list 2298 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(0, list->cursor_idx);
list 2299 uspace/lib/ui/test/list.c PCUT_ASSERT_EQUALS(list->cursor, list->page);
list 2300 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(0, list->page_idx);
list 2302 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 2313 uspace/lib/ui/test/list.c ui_list_t *list;
list 2327 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 2334 uspace/lib/ui/test/list.c ui_list_set_rect(list, &rect);
list 2336 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, ui_list_page_size(list));
list 2344 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2349 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2354 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2359 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2364 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2368 uspace/lib/ui/test/list.c list->cursor = ui_list_first(list);
list 2369 uspace/lib/ui/test/list.c list->cursor_idx = 0;
list 2370 uspace/lib/ui/test/list.c list->page = list->cursor;
list 2371 uspace/lib/ui/test/list.c list->page_idx = 0;
list 2374 uspace/lib/ui/test/list.c ui_list_page_down(list);
list 2377 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("c", list->cursor->caption);
list 2378 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(3, (intptr_t)list->cursor->arg);
list 2379 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, list->cursor_idx);
list 2380 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("c", list->page->caption);
list 2381 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(3, (intptr_t)list->page->arg);
list 2382 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, list->page_idx);
list 2385 uspace/lib/ui/test/list.c ui_list_page_down(list);
list 2388 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("e", list->cursor->caption);
list 2389 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(5, (intptr_t)list->cursor->arg);
list 2390 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(4, list->cursor_idx);
list 2391 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("d", list->page->caption);
list 2392 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(4, (intptr_t)list->page->arg);
list 2393 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(3, list->page_idx);
list 2396 uspace/lib/ui/test/list.c ui_list_page_down(list);
list 2399 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("e", list->cursor->caption);
list 2400 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(5, (intptr_t)list->cursor->arg);
list 2401 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(4, list->cursor_idx);
list 2402 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("d", list->page->caption);
list 2403 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(4, (intptr_t)list->page->arg);
list 2404 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(3, list->page_idx);
list 2406 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 2417 uspace/lib/ui/test/list.c ui_list_t *list;
list 2431 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 2438 uspace/lib/ui/test/list.c ui_list_set_rect(list, &rect);
list 2440 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, ui_list_page_size(list));
list 2448 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2453 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2458 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2462 uspace/lib/ui/test/list.c list->cursor = ui_list_last(list);
list 2463 uspace/lib/ui/test/list.c list->cursor_idx = 2;
list 2464 uspace/lib/ui/test/list.c list->page = ui_list_prev(list->cursor);
list 2465 uspace/lib/ui/test/list.c list->page_idx = 1;
list 2468 uspace/lib/ui/test/list.c ui_list_scroll_up(list);
list 2471 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("c", list->cursor->caption);
list 2472 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(3, (intptr_t)list->cursor->arg);
list 2473 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, list->cursor_idx);
list 2474 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("a", list->page->caption);
list 2475 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(1, (intptr_t)list->page->arg);
list 2476 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(0, list->page_idx);
list 2479 uspace/lib/ui/test/list.c ui_list_scroll_up(list);
list 2482 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("c", list->cursor->caption);
list 2483 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(3, (intptr_t)list->cursor->arg);
list 2484 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, list->cursor_idx);
list 2485 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("a", list->page->caption);
list 2486 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(1, (intptr_t)list->page->arg);
list 2487 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(0, list->page_idx);
list 2489 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 2500 uspace/lib/ui/test/list.c ui_list_t *list;
list 2514 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 2521 uspace/lib/ui/test/list.c ui_list_set_rect(list, &rect);
list 2523 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, ui_list_page_size(list));
list 2531 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2536 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2541 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2545 uspace/lib/ui/test/list.c list->cursor = ui_list_first(list);
list 2546 uspace/lib/ui/test/list.c list->cursor_idx = 0;
list 2547 uspace/lib/ui/test/list.c list->page = list->cursor;
list 2548 uspace/lib/ui/test/list.c list->page_idx = 0;
list 2551 uspace/lib/ui/test/list.c ui_list_scroll_down(list);
list 2554 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("a", list->cursor->caption);
list 2555 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(1, (intptr_t)list->cursor->arg);
list 2556 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(0, list->cursor_idx);
list 2557 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("b", list->page->caption);
list 2558 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, (intptr_t)list->page->arg);
list 2559 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(1, list->page_idx);
list 2562 uspace/lib/ui/test/list.c ui_list_scroll_down(list);
list 2565 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("a", list->cursor->caption);
list 2566 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(1, (intptr_t)list->cursor->arg);
list 2567 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(0, list->cursor_idx);
list 2568 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("b", list->page->caption);
list 2569 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, (intptr_t)list->page->arg);
list 2570 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(1, list->page_idx);
list 2572 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 2583 uspace/lib/ui/test/list.c ui_list_t *list;
list 2597 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 2604 uspace/lib/ui/test/list.c ui_list_set_rect(list, &rect);
list 2606 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, ui_list_page_size(list));
list 2614 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2619 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2624 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2629 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2634 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2638 uspace/lib/ui/test/list.c list->cursor = ui_list_last(list);
list 2639 uspace/lib/ui/test/list.c list->cursor_idx = 4;
list 2640 uspace/lib/ui/test/list.c list->page = ui_list_prev(list->cursor);
list 2641 uspace/lib/ui/test/list.c list->page_idx = 3;
list 2644 uspace/lib/ui/test/list.c ui_list_scroll_page_up(list);
list 2647 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("e", list->cursor->caption);
list 2648 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(5, (intptr_t)list->cursor->arg);
list 2649 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(4, list->cursor_idx);
list 2650 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("b", list->page->caption);
list 2651 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, (intptr_t)list->page->arg);
list 2652 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(1, list->page_idx);
list 2655 uspace/lib/ui/test/list.c ui_list_scroll_page_up(list);
list 2658 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("e", list->cursor->caption);
list 2659 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(5, (intptr_t)list->cursor->arg);
list 2660 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(4, list->cursor_idx);
list 2661 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("a", list->page->caption);
list 2662 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(1, (intptr_t)list->page->arg);
list 2663 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(0, list->page_idx);
list 2666 uspace/lib/ui/test/list.c ui_list_scroll_page_up(list);
list 2669 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("e", list->cursor->caption);
list 2670 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(5, (intptr_t)list->cursor->arg);
list 2671 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(4, list->cursor_idx);
list 2672 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("a", list->page->caption);
list 2673 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(1, (intptr_t)list->page->arg);
list 2674 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(0, list->page_idx);
list 2676 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 2687 uspace/lib/ui/test/list.c ui_list_t *list;
list 2701 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 2708 uspace/lib/ui/test/list.c ui_list_set_rect(list, &rect);
list 2710 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, ui_list_page_size(list));
list 2718 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2723 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2728 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2733 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2738 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2742 uspace/lib/ui/test/list.c list->cursor = ui_list_first(list);
list 2743 uspace/lib/ui/test/list.c list->cursor_idx = 0;
list 2744 uspace/lib/ui/test/list.c list->page = ui_list_first(list);
list 2745 uspace/lib/ui/test/list.c list->page_idx = 0;
list 2748 uspace/lib/ui/test/list.c ui_list_scroll_page_down(list);
list 2751 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("a", list->cursor->caption);
list 2752 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(1, (intptr_t)list->cursor->arg);
list 2753 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(0, list->cursor_idx);
list 2754 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("c", list->page->caption);
list 2755 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(3, (intptr_t)list->page->arg);
list 2756 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, list->page_idx);
list 2759 uspace/lib/ui/test/list.c ui_list_scroll_page_down(list);
list 2762 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("a", list->cursor->caption);
list 2763 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(1, (intptr_t)list->cursor->arg);
list 2764 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(0, list->cursor_idx);
list 2765 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("d", list->page->caption);
list 2766 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(4, (intptr_t)list->page->arg);
list 2767 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(3, list->page_idx);
list 2770 uspace/lib/ui/test/list.c ui_list_scroll_page_down(list);
list 2773 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("a", list->cursor->caption);
list 2774 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(1, (intptr_t)list->cursor->arg);
list 2775 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(0, list->cursor_idx);
list 2776 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("d", list->page->caption);
list 2777 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(4, (intptr_t)list->page->arg);
list 2778 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(3, list->page_idx);
list 2780 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 2791 uspace/lib/ui/test/list.c ui_list_t *list;
list 2805 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 2812 uspace/lib/ui/test/list.c ui_list_set_rect(list, &rect);
list 2814 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, ui_list_page_size(list));
list 2822 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2827 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2832 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2837 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2842 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2846 uspace/lib/ui/test/list.c list->cursor = ui_list_first(list);
list 2847 uspace/lib/ui/test/list.c list->cursor_idx = 0;
list 2848 uspace/lib/ui/test/list.c list->page = ui_list_first(list);
list 2849 uspace/lib/ui/test/list.c list->page_idx = 0;
list 2852 uspace/lib/ui/test/list.c ui_list_scroll_pos(list, 1);
list 2855 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("a", list->cursor->caption);
list 2856 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(1, (intptr_t)list->cursor->arg);
list 2857 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(0, list->cursor_idx);
list 2858 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("b", list->page->caption);
list 2859 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(2, (intptr_t)list->page->arg);
list 2860 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(1, list->page_idx);
list 2863 uspace/lib/ui/test/list.c ui_list_scroll_pos(list, 3);
list 2866 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("a", list->cursor->caption);
list 2867 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(1, (intptr_t)list->cursor->arg);
list 2868 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(0, list->cursor_idx);
list 2869 uspace/lib/ui/test/list.c PCUT_ASSERT_STR_EQUALS("d", list->page->caption);
list 2870 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(4, (intptr_t)list->page->arg);
list 2871 uspace/lib/ui/test/list.c PCUT_ASSERT_INT_EQUALS(3, list->page_idx);
list 2873 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 2884 uspace/lib/ui/test/list.c ui_list_t *list;
list 2897 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 2900 uspace/lib/ui/test/list.c ui_list_set_cb(list, &test_cb, &resp);
list 2905 uspace/lib/ui/test/list.c ui_list_activate_req(list);
list 2907 uspace/lib/ui/test/list.c PCUT_ASSERT_EQUALS(list, resp.activate_req_list);
list 2909 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 2920 uspace/lib/ui/test/list.c ui_list_t *list;
list 2935 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 2938 uspace/lib/ui/test/list.c ui_list_set_cb(list, &test_cb, &resp);
list 2944 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, &entry);
list 2954 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 2965 uspace/lib/ui/test/list.c ui_list_t *list;
list 2981 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 2984 uspace/lib/ui/test/list.c ui_list_set_cb(list, &test_cb, &resp);
list 2990 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2995 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, NULL);
list 2998 uspace/lib/ui/test/list.c a = ui_list_first(list);
list 3015 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 3026 uspace/lib/ui/test/list.c ui_list_t *list;
list 3041 uspace/lib/ui/test/list.c rc = ui_list_create(window, true, &list);
list 3044 uspace/lib/ui/test/list.c ui_list_set_cb(list, &test_cb, &resp);
list 3050 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, &a);
list 3055 uspace/lib/ui/test/list.c rc = ui_list_entry_append(list, &attr, &b);
list 3061 uspace/lib/ui/test/list.c ui_list_destroy(list);
list 3066 uspace/lib/ui/test/list.c static void test_list_activate_req(ui_list_t *list, void *arg)
list 3071 uspace/lib/ui/test/list.c resp->activate_req_list = list;
list 3087 uspace/lib/ui/test/list.c PCUT_EXPORT(list);
list 43 uspace/lib/ui/test/main.c PCUT_IMPORT(list);
list 194 uspace/lib/ui/test/selectdialog.c entry = ui_list_first(dialog->list);
list 272 uspace/lib/ui/test/selectdialog.c PCUT_ASSERT_INT_EQUALS(0, dialog->list->entries_cnt);
list 280 uspace/lib/ui/test/selectdialog.c PCUT_ASSERT_INT_EQUALS(1, dialog->list->entries_cnt);
list 313 uspace/lib/ui/test/selectdialog.c PCUT_TEST(list)
list 319 uspace/lib/ui/test/selectdialog.c ui_list_t *list;
list 333 uspace/lib/ui/test/selectdialog.c list = ui_select_dialog_list(dialog);
list 334 uspace/lib/ui/test/selectdialog.c PCUT_ASSERT_NOT_NULL(list);
list 336 uspace/lib/ui/test/selectdialog.c PCUT_ASSERT_INT_EQUALS(0, ui_list_entries_cnt(list));
list 344 uspace/lib/ui/test/selectdialog.c PCUT_ASSERT_INT_EQUALS(1, ui_list_entries_cnt(list));
list 77 uspace/lib/usbhid/include/usb/hid/hiddescriptor.h void usb_hid_descriptor_print_list(list_t *list);
list 865 uspace/lib/usbhid/src/hiddescriptor.c void usb_hid_descriptor_print_list(list_t *list)
list 867 uspace/lib/usbhid/src/hiddescriptor.c if (list == NULL || list_empty(list)) {
list 872 uspace/lib/usbhid/src/hiddescriptor.c list_foreach(*list, ritems_link, usb_hid_report_field_t,
list 345 uspace/lib/usbhost/src/ddf_helpers.c #define ADD_MATCHID_OR_RETURN(list, sc, str, ...) \
list 349 uspace/lib/usbhost/src/ddf_helpers.c clean_match_ids(list); \
list 355 uspace/lib/usbhost/src/ddf_helpers.c clean_match_ids(list); \
list 361 uspace/lib/usbhost/src/ddf_helpers.c add_match_id(list, mid); \
list 159 uspace/lib/wndmgt/src/wndmgt.c wndmgt_window_list_t *list;
list 195 uspace/lib/wndmgt/src/wndmgt.c list = calloc(1, sizeof(wndmgt_window_list_t));
list 196 uspace/lib/wndmgt/src/wndmgt.c if (list == NULL)
list 199 uspace/lib/wndmgt/src/wndmgt.c list->nwindows = nwindows;
list 200 uspace/lib/wndmgt/src/wndmgt.c list->windows = windows;
list 201 uspace/lib/wndmgt/src/wndmgt.c *rlist = list;
list 209 uspace/lib/wndmgt/src/wndmgt.c void wndmgt_free_window_list(wndmgt_window_list_t *list)
list 211 uspace/lib/wndmgt/src/wndmgt.c free(list->windows);
list 212 uspace/lib/wndmgt/src/wndmgt.c free(list);
list 63 uspace/lib/wndmgt/src/wndmgt_srv.c wndmgt_window_list_t *list = NULL;
list 72 uspace/lib/wndmgt/src/wndmgt_srv.c rc = srv->ops->get_window_list(srv->arg, &list);
list 81 uspace/lib/wndmgt/src/wndmgt_srv.c wndmgt_free_window_list(list);
list 87 uspace/lib/wndmgt/src/wndmgt_srv.c if (size != sizeof(list->nwindows)) {
list 88 uspace/lib/wndmgt/src/wndmgt_srv.c wndmgt_free_window_list(list);
list 94 uspace/lib/wndmgt/src/wndmgt_srv.c rc = async_data_read_finalize(&call, &list->nwindows, size);
list 96 uspace/lib/wndmgt/src/wndmgt_srv.c wndmgt_free_window_list(list);
list 105 uspace/lib/wndmgt/src/wndmgt_srv.c wndmgt_free_window_list(list);
list 111 uspace/lib/wndmgt/src/wndmgt_srv.c if (size != list->nwindows * sizeof(sysarg_t)) {
list 112 uspace/lib/wndmgt/src/wndmgt_srv.c wndmgt_free_window_list(list);
list 118 uspace/lib/wndmgt/src/wndmgt_srv.c rc = async_data_read_finalize(&call, list->windows, size);
list 120 uspace/lib/wndmgt/src/wndmgt_srv.c wndmgt_free_window_list(list);
list 127 uspace/lib/wndmgt/src/wndmgt_srv.c wndmgt_free_window_list(list);
list 146 uspace/lib/wndmgt/test/wndmgt.c wndmgt_window_list_t *list;
list 166 uspace/lib/wndmgt/test/wndmgt.c rc = wndmgt_get_window_list(wndmgt, &list);
list 182 uspace/lib/wndmgt/test/wndmgt.c wndmgt_window_list_t *list;
list 209 uspace/lib/wndmgt/test/wndmgt.c rc = wndmgt_get_window_list(wndmgt, &list);
list 213 uspace/lib/wndmgt/test/wndmgt.c PCUT_ASSERT_INT_EQUALS(2, list->nwindows);
list 214 uspace/lib/wndmgt/test/wndmgt.c PCUT_ASSERT_INT_EQUALS(42, list->windows[0]);
list 215 uspace/lib/wndmgt/test/wndmgt.c PCUT_ASSERT_INT_EQUALS(43, list->windows[1]);
list 217 uspace/lib/wndmgt/test/wndmgt.c wndmgt_free_window_list(list);
list 185 uspace/srv/audio/hound/audio_data.c list_initialize(&pipe->list);
list 198 uspace/srv/audio/hound/audio_data.c while (!list_empty(&pipe->list)) {
list 219 uspace/srv/audio/hound/audio_data.c list_append(&alink->link, &pipe->list);
list 236 uspace/srv/audio/hound/audio_data.c link_t *l = list_first(&pipe->list);
list 268 uspace/srv/audio/hound/audio_data.c while (needed_frames > 0 && !list_empty(&pipe->list)) {
list 270 uspace/srv/audio/hound/audio_data.c link_t *l = list_first(&pipe->list);
list 60 uspace/srv/audio/hound/audio_data.h list_t list;
list 55 uspace/srv/audio/hound/hound.c static audio_device_t *find_device_by_name(list_t *list, const char *name)
list 57 uspace/srv/audio/hound/hound.c assert(list);
list 60 uspace/srv/audio/hound/hound.c list_foreach(*list, link, audio_device_t, dev) {
list 76 uspace/srv/audio/hound/hound.c static audio_source_t *find_source_by_name(list_t *list, const char *name)
list 78 uspace/srv/audio/hound/hound.c assert(list);
list 81 uspace/srv/audio/hound/hound.c list_foreach(*list, link, audio_source_t, dev) {
list 97 uspace/srv/audio/hound/hound.c static audio_sink_t *find_sink_by_name(list_t *list, const char *name)
list 99 uspace/srv/audio/hound/hound.c assert(list);
list 102 uspace/srv/audio/hound/hound.c list_foreach(*list, link, audio_sink_t, dev) {
list 419 uspace/srv/audio/hound/hound.c errno_t hound_list_sources(hound_t *hound, char ***list, size_t *size)
list 422 uspace/srv/audio/hound/hound.c if (!list || !size)
list 428 uspace/srv/audio/hound/hound.c *list = NULL;
list 444 uspace/srv/audio/hound/hound.c *list = names;
list 461 uspace/srv/audio/hound/hound.c errno_t hound_list_sinks(hound_t *hound, char ***list, size_t *size)
list 464 uspace/srv/audio/hound/hound.c if (!list || !size)
list 470 uspace/srv/audio/hound/hound.c *list = NULL;
list 486 uspace/srv/audio/hound/hound.c *list = names;
list 75 uspace/srv/audio/hound/hound.h errno_t hound_list_sources(hound_t *hound, char ***list, size_t *size);
list 76 uspace/srv/audio/hound/hound.h errno_t hound_list_sinks(hound_t *hound, char ***list, size_t *size);
list 88 uspace/srv/audio/hound/iface.c static errno_t iface_get_list(void *server, char ***list, size_t *size,
list 94 uspace/srv/audio/hound/iface.c return hound_list_sinks(server, list, size);
list 96 uspace/srv/audio/hound/iface.c return hound_list_sources(server, list, size);
list 76 uspace/srv/hid/display/cfgops.c dispcfg_seat_list_t *list;
list 82 uspace/srv/hid/display/cfgops.c list = calloc(1, sizeof(dispcfg_seat_list_t));
list 83 uspace/srv/hid/display/cfgops.c if (list == NULL)
list 89 uspace/srv/hid/display/cfgops.c list->nseats = 0;
list 92 uspace/srv/hid/display/cfgops.c ++list->nseats;
list 97 uspace/srv/hid/display/cfgops.c list->seats = calloc(list->nseats, sizeof(sysarg_t));
list 98 uspace/srv/hid/display/cfgops.c if (list->seats == NULL) {
list 100 uspace/srv/hid/display/cfgops.c free(list);
list 108 uspace/srv/hid/display/cfgops.c list->seats[i++] = seat->id;
list 113 uspace/srv/hid/display/cfgops.c *rlist = list;
list 310 uspace/srv/hid/display/cfgops.c dispcfg_dev_list_t *list;
list 317 uspace/srv/hid/display/cfgops.c list = calloc(1, sizeof(dispcfg_dev_list_t));
list 318 uspace/srv/hid/display/cfgops.c if (list == NULL)
list 326 uspace/srv/hid/display/cfgops.c free(list);
list 331 uspace/srv/hid/display/cfgops.c list->ndevs = 0;
list 334 uspace/srv/hid/display/cfgops.c ++list->ndevs;
list 339 uspace/srv/hid/display/cfgops.c list->devs = calloc(list->ndevs, sizeof(sysarg_t));
list 340 uspace/srv/hid/display/cfgops.c if (list->devs == NULL) {
list 342 uspace/srv/hid/display/cfgops.c free(list);
list 350 uspace/srv/hid/display/cfgops.c list->devs[i++] = idevcfg->svc_id;
list 355 uspace/srv/hid/display/cfgops.c *rlist = list;
list 69 uspace/srv/hid/display/wmops.c wndmgt_window_list_t *list;
list 75 uspace/srv/hid/display/wmops.c list = calloc(1, sizeof(wndmgt_window_list_t));
list 76 uspace/srv/hid/display/wmops.c if (list == NULL)
list 82 uspace/srv/hid/display/wmops.c list->nwindows = 0;
list 85 uspace/srv/hid/display/wmops.c ++list->nwindows;
list 90 uspace/srv/hid/display/wmops.c list->windows = calloc(list->nwindows, sizeof(sysarg_t));
list 91 uspace/srv/hid/display/wmops.c if (list->windows == NULL) {
list 93 uspace/srv/hid/display/wmops.c free(list);
list 101 uspace/srv/hid/display/wmops.c list->windows[i++] = wnd->id;
list 106 uspace/srv/hid/display/wmops.c *rlist = list;
list 55 uspace/srv/net/tcp/iqueue.c list_initialize(&iqueue->list);
list 81 uspace/srv/net/tcp/iqueue.c link = list_first(&iqueue->list);
list 89 uspace/srv/net/tcp/iqueue.c link = list_next(link, &iqueue->list);
list 95 uspace/srv/net/tcp/iqueue.c list_append(&iqe->link, &iqueue->list);
list 110 uspace/srv/net/tcp/iqueue.c link = list_first(&iqueue->list);
list 123 uspace/srv/net/tcp/iqueue.c link = list_next(link, &iqueue->list);
list 146 uspace/srv/net/tcp/iqueue.c link = list_first(&iqueue->list);
list 164 uspace/srv/net/tcp/iqueue.c link = list_first(&iqueue->list);
list 126 uspace/srv/net/tcp/tcp_type.h list_t list;
list 221 uspace/srv/net/tcp/tcp_type.h list_t list;
list 247 uspace/srv/net/tcp/test/tqueue.c PCUT_ASSERT_INT_EQUALS(2, list_count(&conn->retransmit.list));
list 253 uspace/srv/net/tcp/test/tqueue.c PCUT_ASSERT_INT_EQUALS(1, list_count(&conn->retransmit.list));
list 74 uspace/srv/net/tcp/tqueue.c list_initialize(&tqueue->list);
list 94 uspace/srv/net/tcp/tqueue.c while (!list_empty(&tqueue->list)) {
list 95 uspace/srv/net/tcp/tqueue.c link = list_first(&tqueue->list);
list 150 uspace/srv/net/tcp/tqueue.c list_append(&tqe->link, &conn->retransmit.list);
list 252 uspace/srv/net/tcp/tqueue.c cur = conn->retransmit.list.head.next;
list 254 uspace/srv/net/tcp/tqueue.c while (cur != &conn->retransmit.list.head) {
list 284 uspace/srv/net/tcp/tqueue.c if (list_empty(&conn->retransmit.list))
list 338 uspace/srv/net/tcp/tqueue.c link = list_first(&conn->retransmit.list);
HelenOS homepage, sources at GitHub