Home
last modified time | relevance | path

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

12

/third_party/gstreamer/gstreamer/gst/
Dgstbufferlist.h90 gst_buffer_list_replace (GstBufferList **old_list, GstBufferList *new_list) in gst_buffer_list_replace() argument
93 (GstMiniObject *) new_list); in gst_buffer_list_replace()
97 gst_buffer_list_take (GstBufferList **old_list, GstBufferList *new_list) in gst_buffer_list_take() argument
100 (GstMiniObject *) new_list); in gst_buffer_list_take()
117 GstBufferList * new_list);
121 GstBufferList * new_list);
Dgstpluginfeature.c264 GList *new_list = NULL; in gst_plugin_feature_list_copy() local
269 new_list = g_list_alloc (); in gst_plugin_feature_list_copy()
270 new_list->data = gst_object_ref (list->data); in gst_plugin_feature_list_copy()
271 new_list->prev = NULL; in gst_plugin_feature_list_copy()
272 last = new_list; in gst_plugin_feature_list_copy()
284 return new_list; in gst_plugin_feature_list_copy()
Dgstbufferlist.c639 gst_buffer_list_replace (GstBufferList ** old_list, GstBufferList * new_list) in gst_buffer_list_replace() argument
642 (GstMiniObject *) new_list); in gst_buffer_list_replace()
661 gst_buffer_list_take (GstBufferList ** old_list, GstBufferList * new_list) in gst_buffer_list_take() argument
664 (GstMiniObject *) new_list); in gst_buffer_list_take()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_bo.c347 struct list_head *new_list = in reallocate_size_list() local
351 if (!new_list) { in reallocate_size_list()
363 list_inithead(&new_list[i]); in reallocate_size_list()
365 new_list[i].next = old_head->next; in reallocate_size_list()
366 new_list[i].prev = old_head->prev; in reallocate_size_list()
367 new_list[i].next->prev = &new_list[i]; in reallocate_size_list()
368 new_list[i].prev->next = &new_list[i]; in reallocate_size_list()
372 list_inithead(&new_list[i]); in reallocate_size_list()
374 cache->size_list = new_list; in reallocate_size_list()
/third_party/node/deps/v8/src/zone/
Dzone-handle-set.h67 List* new_list = zone->New<List>(zone); in insert() local
68 new_list->reserve(old_list->size() + 1); in insert()
72 new_list->push_back(old_list->at(i)); in insert()
74 new_list->push_back(value); in insert()
76 new_list->push_back(old_list->at(i)); in insert()
78 DCHECK_EQ(old_list->size() + 1, new_list->size()); in insert()
79 DCHECK(IsAligned(reinterpret_cast<Address>(new_list), kPointerAlignment)); in insert()
80 data_ = reinterpret_cast<Address>(new_list) | kListTag; in insert()
/third_party/selinux/libsepol/cil/src/
Dcil_list.c49 struct cil_list *new_list = cil_malloc(sizeof(*new_list)); in cil_list_init() local
50 new_list->head = NULL; in cil_list_init()
51 new_list->tail = NULL; in cil_list_init()
52 new_list->flavor = flavor; in cil_list_init()
53 *list = new_list; in cil_list_init()
Dcil_post.c2030 struct cil_list *new_list; member
2037 struct cil_list *new_list = perm_args->new_list; in __perm_bits_to_list() local
2045 cil_list_append(new_list, CIL_DATUM, d); in __perm_bits_to_list()
2050 …tab, symtab_t *common_symtab, unsigned int num_perms, struct cil_list **new_list, struct cil_db *d… in __evaluate_perm_expression() argument
2067 cil_list_init(new_list, flavor); in __evaluate_perm_expression()
2071 args.new_list = *new_list; in __evaluate_perm_expression()
2092 struct cil_list *new_list = NULL; in __evaluate_classperms() local
2098 …erm_expression(cp->perms, CIL_PERM, &class->perms, common_symtab, class->num_perms, &new_list, db); in __evaluate_classperms()
2103 if (new_list == NULL) { in __evaluate_classperms()
2109 cp->perms = new_list; in __evaluate_classperms()
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3d_bufmgr.c287 struct list_head *new_list = in v3d_bo_last_unreference_locked_timed() local
296 list_inithead(&new_list[i]); in v3d_bo_last_unreference_locked_timed()
298 new_list[i].next = old_head->next; in v3d_bo_last_unreference_locked_timed()
299 new_list[i].prev = old_head->prev; in v3d_bo_last_unreference_locked_timed()
300 new_list[i].next->prev = &new_list[i]; in v3d_bo_last_unreference_locked_timed()
301 new_list[i].prev->next = &new_list[i]; in v3d_bo_last_unreference_locked_timed()
305 list_inithead(&new_list[i]); in v3d_bo_last_unreference_locked_timed()
307 cache->size_list = new_list; in v3d_bo_last_unreference_locked_timed()
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_auth.c89 sctp_auth_chklist_t *new_list; in sctp_copy_chunklist() local
95 new_list = sctp_alloc_chunklist(); in sctp_copy_chunklist()
96 if (new_list == NULL) in sctp_copy_chunklist()
99 memcpy(new_list, list, sizeof(*new_list)); in sctp_copy_chunklist()
101 return (new_list); in sctp_copy_chunklist()
639 sctp_hmaclist_t *new_list; in sctp_alloc_hmaclist() local
642 alloc_size = sizeof(*new_list) + num_hmacs * sizeof(new_list->hmac[0]); in sctp_alloc_hmaclist()
643 SCTP_MALLOC(new_list, sctp_hmaclist_t *, alloc_size, in sctp_alloc_hmaclist()
645 if (new_list == NULL) { in sctp_alloc_hmaclist()
649 new_list->max_algo = num_hmacs; in sctp_alloc_hmaclist()
[all …]
/third_party/node/tools/gyp/tools/
Dpretty_vcproj.py118 new_list = []
126 new_list.append(filename)
128 new_list.append(os.path.abspath(filename))
129 return new_list
146 new_list = FixFilenames(path_list, os.path.dirname(ARGUMENTS[1]))
147 node.setAttribute(name, ";".join(new_list))
/third_party/node/deps/npm/node_modules/node-gyp/gyp/tools/
Dpretty_vcproj.py118 new_list = []
126 new_list.append(filename)
128 new_list.append(os.path.abspath(filename))
129 return new_list
146 new_list = FixFilenames(path_list, os.path.dirname(ARGUMENTS[1]))
147 node.setAttribute(name, ";".join(new_list))
/third_party/mesa3d/src/gallium/drivers/lima/standalone/
Dlima_compiler_cmdline.c64 struct exec_list new_list; in sort_varyings() local
65 exec_list_make_empty(&new_list); in sort_varyings()
68 insert_sorted(&new_list, var); in sort_varyings()
70 exec_list_append(&nir->variables, &new_list); in sort_varyings()
/third_party/alsa-lib/src/pcm/
Dpcm_extplug.c87 unsigned int *new_list; in snd_ext_parm_set_list() local
89 new_list = malloc(sizeof(*new_list) * num_list); in snd_ext_parm_set_list()
90 if (new_list == NULL) in snd_ext_parm_set_list()
92 memcpy(new_list, list, sizeof(*new_list) * num_list); in snd_ext_parm_set_list()
93 qsort(new_list, num_list, sizeof(*new_list), val_compar); in snd_ext_parm_set_list()
97 parm->list = new_list; in snd_ext_parm_set_list()
/third_party/mesa3d/src/asahi/compiler/
Dcmdline.c62 struct exec_list new_list; in sort_varyings() local
63 exec_list_make_empty(&new_list); in sort_varyings()
66 insert_sorted(&new_list, var); in sort_varyings()
68 exec_list_append(&nir->variables, &new_list); in sort_varyings()
/third_party/python/Lib/
Dpstats.py329 new_list = list
335 return new_list, msg
336 new_list = []
339 new_list.append(func)
344 new_list = list[:count]
347 new_list = list[:count]
348 if len(list) != len(new_list):
350 len(list), len(new_list), sel)
352 return new_list, msg
/third_party/openssl/engines/
De_devcrypto.c1136 int *new_list; in devcrypto_ctrl() local
1167 new_list=OPENSSL_zalloc(sizeof(selected_ciphers)); in devcrypto_ctrl()
1168 if (!CONF_parse_list(p, ',', 1, cryptodev_select_cipher_cb, new_list)) { in devcrypto_ctrl()
1169 OPENSSL_free(new_list); in devcrypto_ctrl()
1172 memcpy(selected_ciphers, new_list, sizeof(selected_ciphers)); in devcrypto_ctrl()
1173 OPENSSL_free(new_list); in devcrypto_ctrl()
1187 new_list=OPENSSL_zalloc(sizeof(selected_digests)); in devcrypto_ctrl()
1188 if (!CONF_parse_list(p, ',', 1, cryptodev_select_digest_cb, new_list)) { in devcrypto_ctrl()
1189 OPENSSL_free(new_list); in devcrypto_ctrl()
1192 memcpy(selected_digests, new_list, sizeof(selected_digests)); in devcrypto_ctrl()
[all …]
/third_party/node/deps/openssl/openssl/engines/
De_devcrypto.c1136 int *new_list; in devcrypto_ctrl() local
1167 new_list=OPENSSL_zalloc(sizeof(selected_ciphers)); in devcrypto_ctrl()
1168 if (!CONF_parse_list(p, ',', 1, cryptodev_select_cipher_cb, new_list)) { in devcrypto_ctrl()
1169 OPENSSL_free(new_list); in devcrypto_ctrl()
1172 memcpy(selected_ciphers, new_list, sizeof(selected_ciphers)); in devcrypto_ctrl()
1173 OPENSSL_free(new_list); in devcrypto_ctrl()
1187 new_list=OPENSSL_zalloc(sizeof(selected_digests)); in devcrypto_ctrl()
1188 if (!CONF_parse_list(p, ',', 1, cryptodev_select_digest_cb, new_list)) { in devcrypto_ctrl()
1189 OPENSSL_free(new_list); in devcrypto_ctrl()
1192 memcpy(selected_digests, new_list, sizeof(selected_digests)); in devcrypto_ctrl()
[all …]
/third_party/mesa3d/src/panfrost/bifrost/
Dcmdline.c95 struct exec_list new_list; in sort_varyings() local
96 exec_list_make_empty(&new_list); in sort_varyings()
99 insert_sorted(&new_list, var); in sort_varyings()
101 exec_list_append(&nir->variables, &new_list); in sort_varyings()
/third_party/skia/third_party/externals/libpng/
Dpngset.c1375 png_bytep new_list; in png_set_keep_unknown_chunks() local
1461 new_list = png_voidcast(png_bytep, png_malloc(png_ptr, in png_set_keep_unknown_chunks()
1465 memcpy(new_list, png_ptr->chunk_list, 5*old_num_chunks); in png_set_keep_unknown_chunks()
1469 new_list = png_ptr->chunk_list; in png_set_keep_unknown_chunks()
1472 new_list = NULL; in png_set_keep_unknown_chunks()
1479 if (new_list != NULL) in png_set_keep_unknown_chunks()
1487 old_num_chunks = add_one_chunk(new_list, old_num_chunks, in png_set_keep_unknown_chunks()
1493 for (i=0, inlist=outlist=new_list; i<old_num_chunks; ++i, inlist += 5) in png_set_keep_unknown_chunks()
1507 if (png_ptr->chunk_list != new_list) in png_set_keep_unknown_chunks()
1508 png_free(png_ptr, new_list); in png_set_keep_unknown_chunks()
[all …]
/third_party/protobuf/python/google/protobuf/pyext/
Drepeated_scalar_container.cc480 ScopedPyObjectPtr new_list(Subscript(pself, full_slice.get())); in Subscript() local
481 if (new_list == NULL) { in Subscript()
484 if (PySequence_SetSlice(new_list.get(), from, to, value) < 0) { in Subscript()
488 return InternalAssignRepeatedField(self, new_list.get()); in Subscript()
529 ScopedPyObjectPtr new_list(Subscript(pself, full_slice.get())); in Subscript() local
530 if (PyList_Insert(new_list.get(), index, value) < 0) { in Subscript()
533 int ret = InternalAssignRepeatedField(self, new_list.get()); in Subscript()
/third_party/python/Modules/_sqlite/
Dconnection.c810 PyObject* new_list; in _pysqlite_drop_unused_statement_references() local
821 new_list = PyList_New(0); in _pysqlite_drop_unused_statement_references()
822 if (!new_list) { in _pysqlite_drop_unused_statement_references()
829 if (PyList_Append(new_list, weakref) != 0) { in _pysqlite_drop_unused_statement_references()
830 Py_DECREF(new_list); in _pysqlite_drop_unused_statement_references()
836 Py_SETREF(self->statements, new_list); in _pysqlite_drop_unused_statement_references()
841 PyObject* new_list; in _pysqlite_drop_unused_cursor_references() local
852 new_list = PyList_New(0); in _pysqlite_drop_unused_cursor_references()
853 if (!new_list) { in _pysqlite_drop_unused_cursor_references()
860 if (PyList_Append(new_list, weakref) != 0) { in _pysqlite_drop_unused_cursor_references()
[all …]
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir.cpp150 struct exec_list new_list; in sort_uniforms() local
151 exec_list_make_empty(&new_list); in sort_uniforms()
155 insert_uniform_sorted(&new_list, var); in sort_uniforms()
157 exec_list_append(&shader->variables, &new_list); in sort_uniforms()
178 struct exec_list new_list; in sort_fsoutput() local
179 exec_list_make_empty(&new_list); in sort_fsoutput()
183 insert_fsoutput_sorted(&new_list, var); in sort_fsoutput()
187 nir_foreach_variable_in_list(var, &new_list) in sort_fsoutput()
190 exec_list_append(&shader->variables, &new_list); in sort_fsoutput()
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_cmdline.c83 struct exec_list new_list; in sort_varyings() local
84 exec_list_make_empty(&new_list); in sort_varyings()
87 insert_sorted(&new_list, var); in sort_varyings()
89 exec_list_append(&nir->variables, &new_list); in sort_varyings()
/third_party/skia/third_party/externals/freetype/src/cache/
Dftccache.c124 FTC_Node new_list = NULL; in ftc_cache_resize() local
154 node->link = new_list; in ftc_cache_resize()
155 new_list = node; in ftc_cache_resize()
161 cache->buckets[p + mask + 1] = new_list; in ftc_cache_resize()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_bufmgr.c347 struct list_head *new_list = in vc4_bo_last_unreference_locked_timed() local
354 list_replace(&cache->size_list[i], &new_list[i]); in vc4_bo_last_unreference_locked_timed()
356 list_inithead(&new_list[i]); in vc4_bo_last_unreference_locked_timed()
358 cache->size_list = new_list; in vc4_bo_last_unreference_locked_timed()

12