Home
last modified time | relevance | path

Searched refs:new_list (Results 1 – 10 of 10) sorted by relevance

/external/bluetooth/glib/glib/
Dglist.c119 GList *new_list; in g_list_append() local
122 new_list = _g_list_alloc (); in g_list_append()
123 new_list->data = data; in g_list_append()
124 new_list->next = NULL; in g_list_append()
130 last->next = new_list; in g_list_append()
131 new_list->prev = last; in g_list_append()
137 new_list->prev = NULL; in g_list_append()
138 return new_list; in g_list_append()
167 GList *new_list; in g_list_prepend() local
169 new_list = _g_list_alloc (); in g_list_prepend()
[all …]
Dgslist.c114 GSList *new_list; in g_slist_append() local
117 new_list = _g_slist_alloc (); in g_slist_append()
118 new_list->data = data; in g_slist_append()
119 new_list->next = NULL; in g_slist_append()
125 last->next = new_list; in g_slist_append()
130 return new_list; in g_slist_append()
158 GSList *new_list; in g_slist_prepend() local
160 new_list = _g_slist_alloc (); in g_slist_prepend()
161 new_list->data = data; in g_slist_prepend()
162 new_list->next = list; in g_slist_prepend()
[all …]
/external/e2fsprogs/lib/ext2fs/
Dfinddev.c127 struct dir_list *list = 0, *new_list = 0; in ext2fs_find_block_device() local
144 scan_dir(current->name, device, &new_list, &ret_path); in ext2fs_find_block_device()
154 list = new_list; in ext2fs_find_block_device()
155 new_list = 0; in ext2fs_find_block_device()
159 free_dirlist(&new_list); in ext2fs_find_block_device()
/external/e2fsprogs/lib/blkid/
Ddevno.c148 struct dir_list *list = NULL, *new_list = NULL; in blkid_devno_to_devname() local
164 scan_dir(current->name, devno, &new_list, &devname); in blkid_devno_to_devname()
174 list = new_list; in blkid_devno_to_devname()
175 new_list = NULL; in blkid_devno_to_devname()
179 free_dirlist(&new_list); in blkid_devno_to_devname()
/external/blktrace/btt/
Doutput.c331 struct seek_mode_info *p, *this, *new_list = NULL; in output_seek_mode_info() local
337 if (new_list == NULL || this->nseeks > new_list->nseeks) in output_seek_mode_info()
338 new_list = this; in output_seek_mode_info()
339 else if (this->nseeks == new_list->nseeks) { in output_seek_mode_info()
340 for (p = new_list; p != NULL; p = p->next) in output_seek_mode_info()
347 this->next = new_list; in output_seek_mode_info()
348 new_list = this; in output_seek_mode_info()
354 sip->median / sip->nseeks, new_list->mode, new_list->nseeks); in output_seek_mode_info()
356 if (new_list->next) { in output_seek_mode_info()
358 for (p = new_list->next; p != NULL; p = p->next) in output_seek_mode_info()
/external/bluetooth/glib/gio/xdgmime/
Dxdgmimemagic.c730 XdgMimeMagicMatchlet *new_list; in _xdg_mime_magic_matchlet_mirror() local
736 new_list = NULL; in _xdg_mime_magic_matchlet_mirror()
744 matchlet->next = new_list; in _xdg_mime_magic_matchlet_mirror()
745 new_list = matchlet; in _xdg_mime_magic_matchlet_mirror()
748 return new_list; in _xdg_mime_magic_matchlet_mirror()
/external/tesseract/ccmain/
Dfixspace.h49 void initialise_search(WERD_RES_LIST &src_list, WERD_RES_LIST &new_list);
Dfixspace.cpp196 void initialise_search(WERD_RES_LIST &src_list, WERD_RES_LIST &new_list) { in initialise_search() argument
198 WERD_RES_IT new_it(&new_list); in initialise_search()
/external/qemu/distrib/libpng-1.2.19/
Dpngset.c1109 png_bytep new_list, p; in png_set_keep_unknown_chunks() local
1129 new_list=(png_bytep)png_malloc(png_ptr, in png_set_keep_unknown_chunks()
1133 png_memcpy(new_list, png_ptr->chunk_list, in png_set_keep_unknown_chunks()
1138 png_memcpy(new_list+5*old_num_chunks, chunk_list, in png_set_keep_unknown_chunks()
1140 for (p=new_list+5*old_num_chunks+4, i=0; i<num_chunks; i++, p+=5) in png_set_keep_unknown_chunks()
1143 png_ptr->chunk_list=new_list; in png_set_keep_unknown_chunks()
/external/libpng/
Dpngset.c1118 png_bytep new_list, p; in png_set_keep_unknown_chunks() local
1138 new_list=(png_bytep)png_malloc(png_ptr, in png_set_keep_unknown_chunks()
1143 png_memcpy(new_list, png_ptr->chunk_list, in png_set_keep_unknown_chunks()
1148 png_memcpy(new_list + 5*old_num_chunks, chunk_list, in png_set_keep_unknown_chunks()
1150 for (p = new_list + 5*old_num_chunks + 4, i = 0; i<num_chunks; i++, p += 5) in png_set_keep_unknown_chunks()
1153 png_ptr->chunk_list = new_list; in png_set_keep_unknown_chunks()