Home
last modified time | relevance | path

Searched refs:wl_array_add (Results 1 – 6 of 6) sorted by relevance

/external/wayland/tests/
Darray-test.c52 ptr = wl_array_add(&array, 1); in TEST()
78 struct mydata* ptr = wl_array_add(&array, datasize); in TEST()
113 int *p = wl_array_add(&source, sizeof(int)); in TEST()
146 p = wl_array_add(&array, sizeof *p); in TEST()
Dsanity-test.c114 wl_array_add(&array, 14); in FAIL_TEST()
/external/wayland/src/
Dwayland-util.c109 wl_array_add(struct wl_array *array, size_t size) in wl_array_add() function
144 if (!wl_array_add(array, source->size - array->size)) in wl_array_copy()
214 entry = wl_array_add(entries, sizeof *entry); in wl_map_insert_new()
245 wl_array_add(entries, sizeof *start); in wl_map_insert_at()
280 wl_array_add(entries, sizeof *start); in wl_map_reserve_new()
Dwayland-util.h480 wl_array_add(struct wl_array *array, size_t size);
Dscanner.c1404 p = fail_on_null(wl_array_add(types, sizeof *p)); in emit_types_forward_declarations()
1509 p = fail_on_null(wl_array_add(&types, sizeof *p)); in emit_header()
Dwayland-server.c1599 p = wl_array_add(&display->additional_shm_formats, sizeof *p); in wl_display_add_shm_format()