/third_party/ltp/tools/sparse/sparse-src/ |
D | ptrlist.c | 238 struct ptr_list *newlist = __alloc_ptrlist(0); in split_ptr_list_head() local 243 newlist->next = next; in split_ptr_list_head() 244 next->prev = newlist; in split_ptr_list_head() 245 newlist->prev = head; in split_ptr_list_head() 246 head->next = newlist; in split_ptr_list_head() 247 newlist->nr = nr; in split_ptr_list_head() 248 memcpy(newlist->list, head->list + old, nr * sizeof(void *)); in split_ptr_list_head() 268 struct ptr_list *newlist = __alloc_ptrlist(0); in __add_ptr_list() local 270 newlist->next = newlist; in __add_ptr_list() 271 newlist->prev = newlist; in __add_ptr_list() [all …]
|
/third_party/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()
|
/third_party/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()
|
/third_party/openssl/Configurations/ |
D | common.tmpl | 23 my @newlist = (); 29 push @newlist, $item, resolvedepends($item, @listsofar, $item); 32 @newlist; 36 my @newlist = (); 49 push @newlist, $item; 52 map { $replace{$_} // $_; } @newlist;
|
/third_party/curl/src/ |
D | tool_paramhlp.c | 492 struct curl_slist *newlist = curl_slist_append(*list, ptr); in add2list() local 493 if(newlist) in add2list() 494 *list = newlist; in add2list()
|
/third_party/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()
|
/third_party/gettext/gettext-tools/src/ |
D | format-lisp.c | 236 struct format_arg_list *newlist; in copy_list() local 242 newlist = XMALLOC (struct format_arg_list); in copy_list() 244 newlist->initial.count = newlist->initial.allocated = list->initial.count; in copy_list() 247 newlist->initial.element = NULL; in copy_list() 250 newlist->initial.element = in copy_list() 251 XNMALLOC (newlist->initial.allocated, struct format_arg); in copy_list() 254 copy_element (&newlist->initial.element[i], in copy_list() 260 newlist->initial.length = length; in copy_list() 262 newlist->repeated.count = newlist->repeated.allocated = list->repeated.count; in copy_list() 265 newlist->repeated.element = NULL; in copy_list() [all …]
|
D | format-scheme.c | 238 struct format_arg_list *newlist; in copy_list() local 244 newlist = XMALLOC (struct format_arg_list); in copy_list() 246 newlist->initial.count = newlist->initial.allocated = list->initial.count; in copy_list() 249 newlist->initial.element = NULL; in copy_list() 252 newlist->initial.element = in copy_list() 253 XNMALLOC (newlist->initial.allocated, struct format_arg); in copy_list() 256 copy_element (&newlist->initial.element[i], in copy_list() 262 newlist->initial.length = length; in copy_list() 264 newlist->repeated.count = newlist->repeated.allocated = list->repeated.count; in copy_list() 267 newlist->repeated.element = NULL; in copy_list() [all …]
|
/third_party/python/Modules/ |
D | _asynciomodule.c | 981 PyObject *newlist; in _asyncio_Future_remove_done_callback() local 1026 newlist = PyList_New(len); in _asyncio_Future_remove_done_callback() 1027 if (newlist == NULL) { in _asyncio_Future_remove_done_callback() 1038 PyList_SET_ITEM(newlist, j, item); in _asyncio_Future_remove_done_callback() 1042 ret = PyList_Append(newlist, item); in _asyncio_Future_remove_done_callback() 1052 Py_DECREF(newlist); in _asyncio_Future_remove_done_callback() 1057 Py_SET_SIZE(newlist, j); in _asyncio_Future_remove_done_callback() 1059 j = PyList_GET_SIZE(newlist); in _asyncio_Future_remove_done_callback() 1062 if (PyList_SetSlice(self->fut_callbacks, 0, len, newlist) < 0) { in _asyncio_Future_remove_done_callback() 1066 Py_DECREF(newlist); in _asyncio_Future_remove_done_callback() [all …]
|
/third_party/node/lib/ |
D | dgram.js | 496 const newlist = new Array(list.length); 501 newlist[i] = Buffer.from(buf); 505 newlist[i] = Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength); 508 return newlist;
|
/third_party/FreeBSD/sys/kern/ |
D | subr_bus.c | 948 device_t *newlist, *oldlist; in devclass_alloc_unit() local 953 newlist = bsd_malloc(sizeof(device_t) * newsize, M_BUS, M_NOWAIT); in devclass_alloc_unit() 954 PDEBUG(("oldlist %p, newlist %p, newsize %d", oldlist, newlist, newsize)); in devclass_alloc_unit() 955 if (!newlist) in devclass_alloc_unit() 959 … (void)memcpy_s(newlist, sizeof(device_t) * dc->maxunit, oldlist, sizeof(device_t) * dc->maxunit); in devclass_alloc_unit() 961 (void)memset_s(newlist + dc->maxunit, sizeof(device_t) * (newsize - dc->maxunit), 0, in devclass_alloc_unit() 963 dc->devices = newlist; in devclass_alloc_unit()
|
/third_party/python/Python/ |
D | bltinmodule.c | 2338 PyObject *newlist, *v, *seq, *callable; in builtin_sorted() local 2345 newlist = PySequence_List(seq); in builtin_sorted() 2346 if (newlist == NULL) in builtin_sorted() 2349 callable = _PyObject_GetAttrId(newlist, &PyId_sort); in builtin_sorted() 2351 Py_DECREF(newlist); in builtin_sorted() 2359 Py_DECREF(newlist); in builtin_sorted() 2363 return newlist; in builtin_sorted()
|
/third_party/optimized-routines/math/tools/ |
D | remez.jl | 572 newlist = vcat(oldlist, [(x,y)]) 573 candidate = (newscore, newlist)
|
/third_party/gstreamer/gstplugins_good/gst/avi/ |
D | gstavimux.c | 328 GSList *node, *newlist = NULL; in gst_avi_mux_reset() local 340 newlist = g_slist_append (newlist, avipad); in gst_avi_mux_reset() 349 avimux->sinkpads = newlist; in gst_avi_mux_reset()
|