Home
last modified time | relevance | path

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

/external/u-boot/lib/efi_loader/
Defi_memory.c155 struct efi_mem_list *newlist; in efi_add_memory_map() local
165 newlist = calloc(1, sizeof(*newlist)); in efi_add_memory_map()
166 newlist->desc.type = memory_type; in efi_add_memory_map()
167 newlist->desc.physical_start = start; in efi_add_memory_map()
168 newlist->desc.virtual_start = start; in efi_add_memory_map()
169 newlist->desc.num_pages = pages; in efi_add_memory_map()
174 newlist->desc.attribute = (1 << EFI_MEMORY_WB_SHIFT) | in efi_add_memory_map()
178 newlist->desc.attribute = 1ULL << EFI_MEMORY_RUNTIME_SHIFT; in efi_add_memory_map()
181 newlist->desc.attribute = 1 << EFI_MEMORY_WB_SHIFT; in efi_add_memory_map()
193 r = efi_mem_carve_out(lmem, &newlist->desc, in efi_add_memory_map()
[all …]
/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/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/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/dnsmasq/src/
Doption.c1248 struct server *serv, *newlist = NULL; in one_opt() local
1264 serv->next = newlist; in one_opt()
1265 newlist = serv; in one_opt()
1270 if (!newlist) { in one_opt()
1276 newlist = opt_malloc(sizeof(struct server)); in one_opt()
1277 memset(newlist, 0, sizeof(struct server)); in one_opt()
1281 newlist->flags |= SERV_LITERAL_ADDRESS; in one_opt()
1282 if (!(newlist->flags & SERV_TYPE)) option = '?'; in one_opt()
1286 newlist->flags |= SERV_NO_ADDR; /* no server */ in one_opt()
1287 if (newlist->flags & SERV_LITERAL_ADDRESS) option = '?'; in one_opt()
[all …]
/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/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/curl/src/
Dtool_paramhlp.c487 struct curl_slist *newlist = curl_slist_append(*list, ptr); in add2list() local
488 if(newlist) in add2list()
489 *list = newlist; in add2list()
/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/antlr/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/python/cpython3/Modules/
D_asynciomodule.c932 PyObject *newlist; in _asyncio_Future_remove_done_callback() local
977 newlist = PyList_New(len); in _asyncio_Future_remove_done_callback()
978 if (newlist == NULL) { in _asyncio_Future_remove_done_callback()
989 PyList_SET_ITEM(newlist, j, item); in _asyncio_Future_remove_done_callback()
993 ret = PyList_Append(newlist, item); in _asyncio_Future_remove_done_callback()
1003 Py_DECREF(newlist); in _asyncio_Future_remove_done_callback()
1008 Py_SIZE(newlist) = j; in _asyncio_Future_remove_done_callback()
1010 j = PyList_GET_SIZE(newlist); in _asyncio_Future_remove_done_callback()
1013 if (PyList_SetSlice(self->fut_callbacks, 0, len, newlist) < 0) { in _asyncio_Future_remove_done_callback()
1017 Py_DECREF(newlist); in _asyncio_Future_remove_done_callback()
[all …]
/external/linux-kselftest/tools/testing/selftests/tc-testing/
Dtdc.py509 newlist = list()
514 newlist = list(filter(lambda x: x['id'] in target_ids, testlist))
515 return newlist
/external/python/cpython2/Python/
Dbltinmodule.c2230 PyObject *newlist, *v, *seq, *compare=NULL, *keyfunc=NULL, *newargs; in builtin_sorted() local
2240 newlist = PySequence_List(seq); in builtin_sorted()
2241 if (newlist == NULL) in builtin_sorted()
2244 callable = PyObject_GetAttrString(newlist, "sort"); in builtin_sorted()
2246 Py_DECREF(newlist); in builtin_sorted()
2252 Py_DECREF(newlist); in builtin_sorted()
2261 Py_DECREF(newlist); in builtin_sorted()
2265 return newlist; in builtin_sorted()
/external/python/cpython3/Python/
Dbltinmodule.c2238 PyObject *newlist, *v, *seq, *callable; in builtin_sorted() local
2245 newlist = PySequence_List(seq); in builtin_sorted()
2246 if (newlist == NULL) in builtin_sorted()
2249 callable = _PyObject_GetAttrId(newlist, &PyId_sort); in builtin_sorted()
2251 Py_DECREF(newlist); in builtin_sorted()
2259 Py_DECREF(newlist); in builtin_sorted()
2263 return newlist; in builtin_sorted()
/external/autotest/site_utils/
Dlab_inventory.py1190 newlist = []
1192 newlist.extend([email.strip() for email in arg.split(',')])
1193 return newlist
/external/python/cpython2/Lib/plat-mac/
DEasyDialogs.py557 newlist = []
575 newlist.append(item)
576 return newlist
/external/antlr/runtime/Cpp/include/
Dantlr3tokenstream.inl717 const IntListType& list, TokensListType& newlist) argument
722 this->getTokensSet(start, stop, bitSet, newlist);
729 TokensListType& newlist ) argument
734 this->getTokensSet(start, stop, bitSet, newlist);
/external/arm-optimized-routines/auxiliary/
Dremez.jl572 newlist = vcat(oldlist, [(x,y)])
573 candidate = (newscore, newlist)
/external/libmtp/
DChangeLog253 changed to "priv" and "newlist" making C++ happy.