Home
last modified time | relevance | path

Searched refs:newlist (Results 1 – 25 of 29) sorted by relevance

12

/external/libmtp/src/
Dplaylist-spl.c264 LIBMTP_playlist_t * const newlist) in update_spl_playlist() argument
266 LIBMTP_PLST_DEBUG("pl->name='%s'\n",newlist->name); in update_spl_playlist()
269 LIBMTP_playlist_t * old = LIBMTP_Get_Playlist(device, newlist->playlist_id); in update_spl_playlist()
278 if(old->no_tracks != newlist->no_tracks) in update_spl_playlist()
280 for(i=0;i<newlist->no_tracks && delta==0;i++) { in update_spl_playlist()
281 if(old->tracks[i] != newlist->tracks[i]) in update_spl_playlist()
293 if(strcmp(old->name,newlist->name) == 0) in update_spl_playlist()
296 LIBMTP_PLST_DEBUG("name is changing too -> %s\n",newlist->name); in update_spl_playlist()
298 return LIBMTP_Create_New_Playlist(device, newlist); in update_spl_playlist()
303 if(strcmp(old->name,newlist->name) != 0) { in update_spl_playlist()
[all …]
Dplaylist-spl.h33 LIBMTP_playlist_t * const newlist);
Dlibmtp.c2958 LIBMTP_devicestorage_t *oldhead, *ptr1, *ptr2, *newlist; in sort_storage_by() local
2967 newlist = NULL; in sort_storage_by()
3001 if(newlist == NULL) { in sort_storage_by()
3002 newlist = ptr2; in sort_storage_by()
3003 newlist->prev = NULL; in sort_storage_by()
3005 ptr2->prev = newlist; in sort_storage_by()
3006 newlist->next = ptr2; in sort_storage_by()
3007 newlist = newlist->next; in sort_storage_by()
3011 if (newlist != NULL) { in sort_storage_by()
3012 newlist->next = NULL; in sort_storage_by()
[all …]
/external/elfutils/libdw/
Ddwarf_entry_breakpoints.c41 Dwarf_Addr *newlist = realloc (*bkpts, ++(*pnbkpts) * sizeof newlist[0]); in add_bkpt() local
42 if (newlist == NULL) in add_bkpt()
49 newlist[*pnbkpts - 1] = pc; in add_bkpt()
50 *bkpts = newlist; in add_bkpt()
/external/dnsmasq/src/
Doption.c1345 struct server *serv, *newlist = NULL; in one_opt() local
1363 serv->next = newlist; in one_opt()
1364 newlist = serv; in one_opt()
1369 if (!newlist) in one_opt()
1378 newlist = opt_malloc(sizeof(struct server)); in one_opt()
1379 memset(newlist, 0, sizeof(struct server)); in one_opt()
1384 newlist->flags |= SERV_LITERAL_ADDRESS; in one_opt()
1385 if (!(newlist->flags & SERV_TYPE)) in one_opt()
1391 newlist->flags |= SERV_NO_ADDR; /* no server */ in one_opt()
1392 if (newlist->flags & SERV_LITERAL_ADDRESS) in one_opt()
[all …]
/external/markdown/markdown/extensions/
Dtoc.py68 newlist = etree.Element("ul")
70 last_li.append(newlist)
72 list_stack[-1].append(newlist)
73 list_stack.append(newlist)
/external/toolchain-utils/cros_utils/
Dpstat.py294 newlist = []
316 newlist.append(item)
317 return newlist
663 newlist = abut(colex(listoflists, sortcols), listoflists)
664 newlist.sort()
670 newlist = colex(newlist, crit)
671 return newlist
827 newlist = []
847 newlist.append(item)
849 new_a = N.array(newlist)
[all …]
Dstats.py344 newlist = copy.deepcopy(inlist)
345 newlist.sort()
346 if len(newlist) % 2 == 0: # if even number of scores, average middle 2
347 index = len(newlist) / 2 # integer division correct
348 median = float(newlist[index] + newlist[index - 1]) / 2
350 index = len(newlist) / 2 # int divsion gives mid value when count from 0
351 median = newlist[index]
1710 newlist = copy.deepcopy(inlist)
1711 for i in range(1, len(newlist)):
1712 newlist[i] = newlist[i] + newlist[i - 1]
[all …]
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_code.c64 struct rc_constant * newlist; in rc_constants_add() local
70 newlist = malloc(sizeof(struct rc_constant) * c->_Reserved); in rc_constants_add()
71 memcpy(newlist, c->Constants, sizeof(struct rc_constant) * c->Count); in rc_constants_add()
74 c->Constants = newlist; in rc_constants_add()
/external/e2fsprogs/lib/support/
Dprofile_helpers.c92 char **newlist; in add_to_list() local
97 newlist = realloc(list->list, newmax * sizeof(char *)); in add_to_list()
98 if (newlist == 0) in add_to_list()
101 list->list = newlist; in add_to_list()
/external/syslinux/com32/lib/syslinux/
Dzonelist.c318 struct syslinux_memmap *newlist = NULL, **nlp = &newlist; in syslinux_dup_memmap() local
324 syslinux_free_memmap(newlist); in syslinux_dup_memmap()
336 return newlist; in syslinux_dup_memmap()
/external/javassist/src/main/javassist/bytecode/
DAnnotationsAttribute.java209 Annotation[] newlist = new Annotation[annotations.length + 1]; in addAnnotation() local
210 System.arraycopy(annotations, 0, newlist, 0, annotations.length); in addAnnotation()
211 newlist[annotations.length] = annotation; in addAnnotation()
212 setAnnotations(newlist); in addAnnotation()
/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3tokenstream.c773 pANTLR3_LIST newlist; in getTokensList() local
777 newlist = tokenStream->getTokensSet(tokenStream, start, stop, bitSet); in getTokensList()
781 return newlist; in getTokensList()
789 pANTLR3_LIST newlist; in getTokensType() local
792 newlist = tokenStream->getTokensSet(tokenStream, start, stop, bitSet); in getTokensType()
796 return newlist; in getTokensType()
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/
Drc_test_helpers.c480 struct rc_constant * newlist; in add_constant() local
484 newlist = malloc(sizeof(struct rc_constant) * constants->_Reserved); in add_constant()
486 memcpy(newlist, constants->Constants, in add_constant()
492 constants->Constants = newlist; in add_constant()
/external/curl/src/
Dtool_paramhlp.c488 struct curl_slist *newlist = curl_slist_append(*list, ptr); in add2list() local
489 if(newlist) in add2list()
490 *list = newlist; in add2list()
/external/python/cpython3/Modules/
D_asynciomodule.c511 PyObject *newlist; in _asyncio_Future_remove_done_callback() local
519 newlist = PyList_New(len); in _asyncio_Future_remove_done_callback()
520 if (newlist == NULL) { in _asyncio_Future_remove_done_callback()
533 PyList_SET_ITEM(newlist, j, item); in _asyncio_Future_remove_done_callback()
538 if (PyList_SetSlice(newlist, j, len, NULL) < 0) { in _asyncio_Future_remove_done_callback()
541 if (PyList_SetSlice(self->fut_callbacks, 0, len, newlist) < 0) { in _asyncio_Future_remove_done_callback()
544 Py_DECREF(newlist); in _asyncio_Future_remove_done_callback()
548 Py_DECREF(newlist); in _asyncio_Future_remove_done_callback()
/external/libvncserver/libvncserver/
Drfbregion.c129 sraSpanList *newlist; in sraSpanListDup() local
133 newlist = sraSpanListCreate(); in sraSpanListDup()
137 sraSpanInsertBefore(newspan, &(newlist->back)); in sraSpanListDup()
141 return newlist; in sraSpanListDup()
/external/python/cpython3/Python/
Dbltinmodule.c2124 PyObject *newlist, *v, *seq, *keyfunc=NULL, **newargs; in builtin_sorted() local
2135 newlist = PySequence_List(seq); in builtin_sorted()
2136 if (newlist == NULL) in builtin_sorted()
2139 callable = _PyObject_GetAttrId(newlist, &PyId_sort); in builtin_sorted()
2141 Py_DECREF(newlist); in builtin_sorted()
2151 Py_DECREF(newlist); in builtin_sorted()
2155 return newlist; in builtin_sorted()
/external/python/cpython2/Python/
Dbltinmodule.c2229 PyObject *newlist, *v, *seq, *compare=NULL, *keyfunc=NULL, *newargs; in builtin_sorted() local
2239 newlist = PySequence_List(seq); in builtin_sorted()
2240 if (newlist == NULL) in builtin_sorted()
2243 callable = PyObject_GetAttrString(newlist, "sort"); in builtin_sorted()
2245 Py_DECREF(newlist); in builtin_sorted()
2251 Py_DECREF(newlist); in builtin_sorted()
2260 Py_DECREF(newlist); in builtin_sorted()
2264 return newlist; in builtin_sorted()
/external/autotest/site_utils/
Dlab_inventory.py1149 newlist = []
1151 newlist.extend([email.strip() for email in arg.split(',')])
1152 return newlist
/external/python/cpython2/Lib/plat-mac/
DEasyDialogs.py557 newlist = []
575 newlist.append(item)
576 return newlist
/external/dhcpcd-6.8.2/
Dif-options.c206 char **newlist; in add_environ() local
265 newlist = realloc(lst, sizeof(char *) * (i + 2)); in add_environ()
266 if (newlist == NULL) { in add_environ()
271 newlist[i] = n; in add_environ()
272 newlist[i + 1] = NULL; in add_environ()
273 ifo->environ = newlist; in add_environ()
274 return newlist[i]; in add_environ()
/external/annotation-tools/asmx/
Djavassist.jarMETA-INF/ META-INF/MANIFEST.MF javassist/ javassist/ByteArrayClassPath.class ByteArrayClassPath ...
/external/libmtp/
DChangeLog253 changed to "priv" and "newlist" making C++ happy.
/external/guice/extensions/persist/lib/
Djavassist.jarMETA-INF/ META-INF/MANIFEST.MF javassist/ javassist/ByteArrayClassPath.class ByteArrayClassPath ...

12