/external/u-boot/lib/efi_loader/ |
D | efi_memory.c | 155 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/ |
D | playlist-spl.c | 264 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 …]
|
D | playlist-spl.h | 33 LIBMTP_playlist_t * const newlist);
|
D | libmtp.c | 2958 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/ |
D | dwarf_entry_breakpoints.c | 41 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/ |
D | toc.py | 68 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/ |
D | radeon_code.c | 64 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/ |
D | option.c | 1248 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/ |
D | profile_helpers.c | 92 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/ |
D | pstat.py | 294 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 …]
|
D | stats.py | 344 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/ |
D | tool_paramhlp.c | 487 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/ |
D | rc_test_helpers.c | 480 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/ |
D | antlr3tokenstream.c | 773 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.c | 932 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/ |
D | tdc.py | 509 newlist = list() 514 newlist = list(filter(lambda x: x['id'] in target_ids, testlist)) 515 return newlist
|
/external/python/cpython2/Python/ |
D | bltinmodule.c | 2230 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/ |
D | bltinmodule.c | 2238 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/ |
D | lab_inventory.py | 1190 newlist = [] 1192 newlist.extend([email.strip() for email in arg.split(',')]) 1193 return newlist
|
/external/python/cpython2/Lib/plat-mac/ |
D | EasyDialogs.py | 557 newlist = [] 575 newlist.append(item) 576 return newlist
|
/external/antlr/runtime/Cpp/include/ |
D | antlr3tokenstream.inl | 717 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/ |
D | remez.jl | 572 newlist = vcat(oldlist, [(x,y)]) 573 candidate = (newscore, newlist)
|
/external/libmtp/ |
D | ChangeLog | 253 changed to "priv" and "newlist" making C++ happy.
|