| /xsrc/external/mit/libXi/dist/src/ |
| H A D | XFreeLst.c | 49 * XFreeDeviceList - free the input device list. 62 * Free the list of input devices. 66 XFreeDeviceList(XDeviceList *list) argument 68 if (list != NULL) { 69 XFree((list->name) - sizeof(XDeviceList)); 70 XFree((XDeviceList *) list);
|
| /xsrc/external/mit/xf86-video-amdgpu/dist/src/ |
| H A D | simple_list.h | 5 * Intended to work with a list sentinel which is created as an empty 6 * list. Insert & delete are O(1). 45 * Remove an element from list. 56 * Insert an element to the list head. 58 * \param list list. 61 #define insert_at_head(list, elem) \ 63 (elem)->prev = list; \ 64 (elem)->next = (list)->next; \ 65 (list) [all...] |
| /xsrc/external/mit/xf86-video-ati/dist/src/ |
| H A D | simple_list.h | 5 * Intended to work with a list sentinal which is created as an empty 6 * list. Insert & delete are O(1). 46 * Remove an element from list. 57 * Insert an element to the list head. 59 * \param list list. 62 #define insert_at_head(list, elem) \ 64 (elem)->prev = list; \ 65 (elem)->next = (list)->next; \ 66 (list) [all...] |
| /xsrc/external/mit/xf86-video-ati-kms/dist/src/ |
| H A D | simple_list.h | 5 * Intended to work with a list sentinel which is created as an empty 6 * list. Insert & delete are O(1). 46 * Remove an element from list. 57 * Insert an element to the list head. 59 * \param list list. 62 #define insert_at_head(list, elem) \ 64 (elem)->prev = list; \ 65 (elem)->next = (list)->next; \ 66 (list) [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/util/ |
| H A D | simple_list.h | 5 * Intended to work with a list sentinal which is created as an empty 6 * list. Insert & delete are O(1). 50 * Remove an element from list. 62 * Insert an element to the list head. 64 * \param list list. 67 #define insert_at_head(list, elem) \ 69 (elem)->prev = list; \ 70 (elem)->next = (list)->next; \ 71 (list) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/util/ |
| H A D | simple_list.h | 5 * Intended to work with a list sentinal which is created as an empty 6 * list. Insert & delete are O(1). 50 * Remove an element from list. 62 * Insert an element to the list head. 64 * \param list list. 67 #define insert_at_head(list, elem) \ 69 (elem)->prev = list; \ 70 (elem)->next = (list)->next; \ 71 (list) [all...] |
| /xsrc/external/mit/libxcb/dist/src/ |
| H A D | xcb_list.c | 26 /* A generic implementation of a list of void-pointers. */ 52 _xcb_map *list; local in function:_xcb_map_new 53 list = malloc(sizeof(_xcb_map)); 54 if(!list) 56 list->head = 0; 57 list->tail = &list->head; 58 return list; 61 void _xcb_map_delete(_xcb_map *list, xcb_list_free_func_t do_free) argument 63 if(!list) 76 _xcb_map_put(_xcb_map * list,uint64_t key,void * data) argument 89 _xcb_map_remove(_xcb_map * list,uint64_t key) argument [all...] |
| /xsrc/external/mit/xauth/dist/tests/ |
| H A D | 020-xauth-add-local.script | 14 xauth list | wc -l | xargs echo 17 xauth list unix:0 | awk '{print $3}' 18 xauth list 127.0.0.1:1 | awk '{print $3}' 19 xauth list 127.0.0.1:2 | awk '{print $3}' 20 xauth list 127.0.0.1:3.6 | awk '{print $3}' 21 xauth list :4 | awk '{print $3}'
|
| /xsrc/external/mit/xf86-video-intel/dist/src/ |
| H A D | intel_list.h | 36 * @file Classic doubly-link circular list implementation. 37 * For real usage examples of the linked list, see the file test/list.c 40 * We need to keep a list of struct foo in the parent struct bar, i.e. what 49 * We need one list head in bar and a list element in all list_of_foos (both are of 50 * data type 'struct list'). 54 * struct list list_of_foos; 60 * struct list entry; 64 * Now we initialize the list hea 114 struct list { struct 127 list_init(struct list * list) argument 244 list_move(struct list * list,struct list * head) argument 252 list_move_tail(struct list * list,struct list * head) argument 380 list_move(struct list * list,struct list * head) argument 388 list_move_tail(struct list * list,struct list * head) argument 413 __list_splice(const struct list * list,struct list * prev,struct list * next) argument 427 list_splice(const struct list * list,struct list * head) argument 434 list_splice_tail(const struct list * list,struct list * head) argument 441 list_is_singular(const struct list * list) argument [all...] |
| /xsrc/external/mit/fontconfig/dist/src/ |
| H A D | fcptrlist.c | 33 FcPtrListEntry *list; member in struct:_FcPtrList 36 const FcPtrList *list; member in struct:_FcPtrListIterPrivate 49 ret->list = NULL; 56 FcPtrListDestroy (FcPtrList *list) argument 60 if (list) 62 FcPtrListIterInit (list, &iter); 65 if (FcPtrListIterGetValue (list, &iter)) 66 list->destroy_func (FcPtrListIterGetValue (list, &iter)); 67 FcPtrListIterRemove (list, 75 FcPtrListIterInit(const FcPtrList * list,FcPtrListIter * iter) argument 86 FcPtrListIterInitAtLast(FcPtrList * list,FcPtrListIter * iter) argument 102 FcPtrListIterNext(const FcPtrList * list,FcPtrListIter * iter) argument 116 FcPtrListIterIsValid(const FcPtrList * list,const FcPtrListIter * iter) argument 125 FcPtrListIterGetValue(const FcPtrList * list,const FcPtrListIter * iter) argument 138 FcPtrListIterAdd(FcPtrList * list,FcPtrListIter * iter,void * data) argument 179 FcPtrListIterRemove(FcPtrList * list,FcPtrListIter * iter) argument [all...] |
| /xsrc/external/mit/libdrm/dist/tests/ |
| H A D | drmsl.c | 1 /* drmsl.c -- Skip list test 30 * This file contains a straightforward skip list implementation.n 47 static void print(void* list) argument 52 if (drmSLFirst(list, &key, &value)) { 55 } while (drmSLNext(list, &key, &value)); 61 void *list; local in function:do_time 71 list = drmSLCreate(); 76 drmSLInsert(list, keys[i], NULL); 80 if (drmSLFirst(list, &key, &value)) { 86 } while (drmSLNext(list, 109 print_neighbors(void * list,unsigned long key,unsigned long expected_prev,unsigned long expected_next) argument 138 void* list; local in function:main [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/nine/ |
| H A D | nine_shader.h | 127 nine_shader_variant_get(struct nine_shader_variant *list, argument 132 while (list->key != key && list->next) 133 list = list->next; 134 if (list->key == key) { 135 *const_ranges = list->const_ranges; 136 *const_used_size = list->const_used_size; 137 return list->cso; 143 nine_shader_variant_add(struct nine_shader_variant *list, argument 164 nine_shader_variants_free(struct nine_shader_variant * list) argument 182 nine_shader_variant_so_get(struct nine_shader_variant_so * list,struct NineVertexDeclaration9 * vdecl,struct pipe_stream_output_info * so) argument 196 nine_shader_variant_so_add(struct nine_shader_variant_so * list,struct NineVertexDeclaration9 * vdecl,struct pipe_stream_output_info * so,void * cso) argument 222 nine_shader_variants_so_free(struct nine_shader_variant_so * list) argument 244 nine_shader_constant_combination_key(struct nine_shader_constant_combination ** list,boolean * int_slots_used,boolean * bool_slots_used,int * const_i,BOOL * const_b) argument 291 nine_shader_constant_combination_get(struct nine_shader_constant_combination * list,uint8_t index) argument 307 nine_shader_constant_combination_free(struct nine_shader_constant_combination * list) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/nine/ |
| H A D | nine_shader.h | 134 nine_shader_variant_get(struct nine_shader_variant *list, argument 139 while (list->key != key && list->next) 140 list = list->next; 141 if (list->key == key) { 142 *const_ranges = list->const_ranges; 143 *const_used_size = list->const_used_size; 144 return list->cso; 150 nine_shader_variant_add(struct nine_shader_variant *list, argument 171 nine_shader_variants_free(struct nine_shader_variant * list) argument 189 nine_shader_variant_so_get(struct nine_shader_variant_so * list,struct NineVertexDeclaration9 * vdecl,struct pipe_stream_output_info * so) argument 203 nine_shader_variant_so_add(struct nine_shader_variant_so * list,struct NineVertexDeclaration9 * vdecl,struct pipe_stream_output_info * so,void * cso) argument 229 nine_shader_variants_so_free(struct nine_shader_variant_so * list) argument 251 nine_shader_constant_combination_key(struct nine_shader_constant_combination ** list,boolean * int_slots_used,boolean * bool_slots_used,int * const_i,BOOL * const_b) argument 298 nine_shader_constant_combination_get(struct nine_shader_constant_combination * list,uint8_t index) argument 314 nine_shader_constant_combination_free(struct nine_shader_constant_combination * list) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/compiler/ |
| H A D | radeon_list.c | 45 void rc_list_add(struct rc_list ** list, struct rc_list * new_value) argument 49 if (*list == NULL) { 50 *list = new_value; 54 for (temp = *list; temp->Next; temp = temp->Next); 60 void rc_list_remove(struct rc_list ** list, struct rc_list * rm_value) argument 62 if (*list == rm_value) { 63 *list = rm_value->Next; 73 unsigned int rc_list_count(struct rc_list * list) argument 76 while (list) { 78 list 83 rc_list_print(struct rc_list * list) argument [all...] |
| H A D | radeon_list.h | 40 void rc_list_add(struct rc_list ** list, struct rc_list * new_value); 41 void rc_list_remove(struct rc_list ** list, struct rc_list * rm_value); 42 unsigned int rc_list_count(struct rc_list * list); 43 void rc_list_print(struct rc_list * list);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/compiler/ |
| H A D | radeon_list.c | 45 void rc_list_add(struct rc_list ** list, struct rc_list * new_value) argument 49 if (*list == NULL) { 50 *list = new_value; 54 for (temp = *list; temp->Next; temp = temp->Next); 60 void rc_list_remove(struct rc_list ** list, struct rc_list * rm_value) argument 62 if (*list == rm_value) { 63 *list = rm_value->Next; 73 unsigned int rc_list_count(struct rc_list * list) argument 76 while (list) { 78 list 83 rc_list_print(struct rc_list * list) argument [all...] |
| H A D | radeon_list.h | 40 void rc_list_add(struct rc_list ** list, struct rc_list * new_value); 41 void rc_list_remove(struct rc_list ** list, struct rc_list * rm_value); 42 unsigned int rc_list_count(struct rc_list * list); 43 void rc_list_print(struct rc_list * list);
|
| /xsrc/external/mit/libdrm/dist/tests/radeon/ |
| H A D | radeon_ttm.c | 37 struct list_head list; local in function:ttm_starve_kernel_private_memory 42 list_inithead(&list); 50 list_add(&bo->list, &list); 52 LIST_FOR_EACH_ENTRY_SAFE(bo, tmp, &list, list) { 53 list_del(&bo->list);
|
| /xsrc/external/mit/libXaw/dist/src/ |
| H A D | List.c | 28 * This is a List widget. It allows the user to select an item in a list and 52 #define HeightFree(w) !(((ListWidget)(w))->list.freedoms & HeightLock) 53 #define WidthFree(w) !(((ListWidget)(w))->list.freedoms & WidthLock) 54 #define LongestFree(w) !(((ListWidget)(w))->list.freedoms & LongestLock) 106 offset(list.foreground), 124 offset(list.font), 133 offset(list.fontset), 142 offset(list.list), 155 offset(list 1196 XawListChange(Widget w,String * list,int nitems,int longest,int resize_it) argument [all...] |
| /xsrc/external/mit/freetype/dist/src/cache/ |
| H A D | ftcmru.c | 168 FTC_MruList_Init( FTC_MruList list, argument 174 list->num_nodes = 0; 175 list->max_nodes = max_nodes; 176 list->nodes = NULL; 177 list->clazz = *clazz; 178 list->data = data; 179 list->memory = memory; 184 FTC_MruList_Reset( FTC_MruList list ) argument 186 while ( list->nodes ) 187 FTC_MruList_Remove( list, lis 194 FTC_MruList_Done(FTC_MruList list) argument 202 FTC_MruList_Find(FTC_MruList list,FT_Pointer key) argument 235 FTC_MruList_New(FTC_MruList list,FT_Pointer key,FTC_MruNode * anode) argument 290 FTC_MruList_Lookup(FTC_MruList list,FT_Pointer key,FTC_MruNode * anode) argument 307 FTC_MruList_Remove(FTC_MruList list,FTC_MruNode node) argument 326 FTC_MruList_RemoveSelection(FTC_MruList list,FTC_MruNode_CompareFunc selection,FT_Pointer key) argument [all...] |
| /xsrc/external/mit/xorg-server.old/dist/include/ |
| H A D | list.h | 29 /* classic doubly-link circular list */ 30 struct list { struct 31 struct list *next, *prev; 35 list_init(struct list *list) argument 37 list->next = list->prev = list; 41 __list_add(struct list *entry, 42 struct list *pre [all...] |
| /xsrc/external/mit/xf86-video-intel-2014/dist/src/ |
| H A D | intel_list.h | 36 * @file Classic doubly-link circular list implementation. 37 * For real usage examples of the linked list, see the file test/list.c 40 * We need to keep a list of struct foo in the parent struct bar, i.e. what 49 * We need one list head in bar and a list element in all list_of_foos (both are of 50 * data type 'struct list'). 54 * struct list list_of_foos; 60 * struct list entry; 64 * Now we initialize the list hea 114 struct list { struct 127 list_init(struct list * list) argument 244 list_move(struct list * list,struct list * head) argument 252 list_move_tail(struct list * list,struct list * head) argument 392 list_move(struct list * list,struct list * head) argument 400 list_move_tail(struct list * list,struct list * head) argument 420 list_is_singular(const struct list * list) argument [all...] |
| /xsrc/external/mit/libX11/dist/src/xkb/ |
| H A D | XKBList.c | 105 XkbComponentListPtr list; local in function:XkbListComponents 190 list = _XkbTypedCalloc(1, XkbComponentListRec); 193 return list; 198 list = _XkbTypedCalloc(1, XkbComponentListRec); 199 if (!list) { 203 list->num_keymaps = rep.nKeymaps; 204 list->num_keycodes = rep.nKeycodes; 205 list->num_types = rep.nTypes; 206 list->num_compat = rep.nCompatMaps; 207 list 237 XkbFreeComponentList(XkbComponentListPtr list) argument [all...] |
| /xsrc/external/mit/libX11/dist/src/ |
| H A D | ListExt.c | 39 char **list = NULL; local in function:XListExtensions 58 list = Xmallocarray (rep.nExtensions, sizeof (char *)); 65 if ((!list) || (!ch)) { 66 Xfree(list); 82 list[i] = ch+1; /* skip over length */ 88 Xfree(list); 90 list = NULL; 93 list[i] = NULL; 100 return (list); 104 XFreeExtensionList (char **list) argument [all...] |
| /xsrc/external/mit/xorg-server/dist/include/ |
| H A D | optionstr.h | 3 #include "list.h" 6 GenericListRec list; member in struct:_InputOption
|