Home
last modified time | relevance | path

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

12

/external/libunwind/src/
DLos-common.c48 move_cached_elf_data (struct map_info *old_list, struct map_info *new_list) in move_cached_elf_data() argument
61 while (new_list && old_list->start <= new_list->start) in move_cached_elf_data()
63 if (old_list->start == new_list->start in move_cached_elf_data()
64 && old_list->end == new_list->end) in move_cached_elf_data()
68 new_list->ei = old_list->ei; in move_cached_elf_data()
78 new_list = new_list->next; in move_cached_elf_data()
94 struct map_info *new_list; in rebuild_if_necessary() local
98 new_list = map_create_list (UNW_MAP_CREATE_LOCAL, getpid()); in rebuild_if_necessary()
99 map = map_find_from_addr (new_list, addr); in rebuild_if_necessary()
115 move_cached_elf_data (local_map_list, new_list); in rebuild_if_necessary()
[all …]
/external/webrtc/webrtc/modules/desktop_capture/
Dwindow_capturer_unittest.cc76 WindowCapturer::WindowList new_list; in TEST_F() local
77 EXPECT_TRUE(capturer_->GetWindowList(&new_list)); in TEST_F()
78 for (WindowCapturer::WindowList::iterator new_list_it = new_list.begin(); in TEST_F()
79 new_list_it != new_list.end(); ++new_list_it) { in TEST_F()
/external/v8/src/zone/
Dzone-handle-set.h67 List* new_list = new (zone->New(sizeof(List))) 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(bit_cast<intptr_t>(new_list), kPointerAlignment)); in insert()
80 data_ = bit_cast<intptr_t>(new_list) | kListTag; in insert()
/external/e2fsprogs/lib/ext2fs/
Dfinddev.c133 struct dir_list *list = 0, *new_list = 0; in ext2fs_find_block_device() local
151 scan_dir(current->name, device, &new_list, &ret_path); in ext2fs_find_block_device()
161 list = new_list; in ext2fs_find_block_device()
162 new_list = 0; in ext2fs_find_block_device()
169 free_dirlist(&new_list); in ext2fs_find_block_device()
/external/toolchain-utils/crosperf/
Dsuite_runner.py23 new_list = []
27 new_list.append(arg)
28 args_list = new_list
31 new_list = []
38 new_list.append(new_arg)
40 new_list.append(arg)
41 args_list = new_list
Dgenerate_report_unittest.py85 for original_list, new_list in zip(original_runs, bench_runs):
86 self.assertEqual(len(original_list), len(new_list))
87 for original_keyvals, sub_keyvals in zip(original_list, new_list):
/external/e2fsprogs/lib/blkid/
Ddevno.c147 struct dir_list *list = NULL, *new_list = NULL; in blkid_devno_to_devname() local
163 blkid__scan_dir(current->name, devno, &new_list, &devname); in blkid_devno_to_devname()
173 list = new_list; in blkid_devno_to_devname()
174 new_list = NULL; in blkid_devno_to_devname()
178 free_dirlist(&new_list); in blkid_devno_to_devname()
/external/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()
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_ev_driver.cc240 fd_node* new_list = nullptr; in grpc_ares_notify_on_event_locked() local
265 fdn->next = new_list; in grpc_ares_notify_on_event_locked()
266 new_list = fdn; in grpc_ares_notify_on_event_locked()
301 cur->next = new_list; in grpc_ares_notify_on_event_locked()
302 new_list = cur; in grpc_ares_notify_on_event_locked()
305 ev_driver->fds = new_list; in grpc_ares_notify_on_event_locked()
307 if (new_list == nullptr) { in grpc_ares_notify_on_event_locked()
/external/mesa3d/src/gallium/drivers/vc5/
Dvc5_bufmgr.c287 struct list_head *new_list = in vc5_bo_last_unreference_locked_timed() local
296 list_inithead(&new_list[i]); in vc5_bo_last_unreference_locked_timed()
298 new_list[i].next = old_head->next; in vc5_bo_last_unreference_locked_timed()
299 new_list[i].prev = old_head->prev; in vc5_bo_last_unreference_locked_timed()
300 new_list[i].next->prev = &new_list[i]; in vc5_bo_last_unreference_locked_timed()
301 new_list[i].prev->next = &new_list[i]; in vc5_bo_last_unreference_locked_timed()
305 list_inithead(&new_list[i]); in vc5_bo_last_unreference_locked_timed()
307 cache->size_list = new_list; in vc5_bo_last_unreference_locked_timed()
/external/freetype/src/tools/docmaker/
Dutils.py42 new_list = order_list[:]
45 new_list.append( id )
46 return new_list
/external/toolchain-utils/cros_utils/
Dmanifest_versions.py82 new_list = copy.deepcopy(pp)
85 new_list[i] = 'paladin'
86 chrome_path = '/'.join(new_list)
93 wild_path = os.path.join('/', '/'.join(new_list[:-1]), new_base)
/external/blktrace/btt/
Doutput.c333 struct seek_mode_info *p, *this, *new_list = NULL; in output_seek_mode_info() local
339 if (new_list == NULL || this->nseeks > new_list->nseeks) in output_seek_mode_info()
340 new_list = this; in output_seek_mode_info()
341 else if (this->nseeks == new_list->nseeks) { in output_seek_mode_info()
342 for (p = new_list; p != NULL; p = p->next) in output_seek_mode_info()
349 this->next = new_list; in output_seek_mode_info()
350 new_list = this; in output_seek_mode_info()
356 sip->median / sip->nseeks, new_list->mode, new_list->nseeks); in output_seek_mode_info()
358 if (new_list->next) { in output_seek_mode_info()
360 for (p = new_list->next; p != NULL; p = p->next) in output_seek_mode_info()
/external/python/cpython2/Lib/
Dpstats.py294 new_list = list
300 return new_list, msg
301 new_list = []
304 new_list.append(func)
309 new_list = list[:count]
312 new_list = list[:count]
313 if len(list) != len(new_list):
315 len(list), len(new_list), sel)
317 return new_list, msg
/external/python/cpython3/Lib/
Dpstats.py311 new_list = list
317 return new_list, msg
318 new_list = []
321 new_list.append(func)
326 new_list = list[:count]
329 new_list = list[:count]
330 if len(list) != len(new_list):
332 len(list), len(new_list), sel)
334 return new_list, msg
/external/pdfium/third_party/libpng16/
Dpngset.c1326 png_bytep new_list; in png_set_keep_unknown_chunks() local
1411 new_list = png_voidcast(png_bytep, png_malloc(png_ptr, in png_set_keep_unknown_chunks()
1415 memcpy(new_list, png_ptr->chunk_list, 5*old_num_chunks); in png_set_keep_unknown_chunks()
1419 new_list = png_ptr->chunk_list; in png_set_keep_unknown_chunks()
1422 new_list = NULL; in png_set_keep_unknown_chunks()
1429 if (new_list != NULL) in png_set_keep_unknown_chunks()
1437 old_num_chunks = add_one_chunk(new_list, old_num_chunks, in png_set_keep_unknown_chunks()
1443 for (i=0, inlist=outlist=new_list; i<old_num_chunks; ++i, inlist += 5) in png_set_keep_unknown_chunks()
1457 if (png_ptr->chunk_list != new_list) in png_set_keep_unknown_chunks()
1458 png_free(png_ptr, new_list); in png_set_keep_unknown_chunks()
[all …]
/external/python/cpython2/Modules/_sqlite/
Dconnection.c801 PyObject* new_list; in _pysqlite_drop_unused_statement_references() local
812 new_list = PyList_New(0); in _pysqlite_drop_unused_statement_references()
813 if (!new_list) { in _pysqlite_drop_unused_statement_references()
820 if (PyList_Append(new_list, weakref) != 0) { in _pysqlite_drop_unused_statement_references()
821 Py_DECREF(new_list); in _pysqlite_drop_unused_statement_references()
827 Py_SETREF(self->statements, new_list); in _pysqlite_drop_unused_statement_references()
832 PyObject* new_list; in _pysqlite_drop_unused_cursor_references() local
843 new_list = PyList_New(0); in _pysqlite_drop_unused_cursor_references()
844 if (!new_list) { in _pysqlite_drop_unused_cursor_references()
851 if (PyList_Append(new_list, weakref) != 0) { in _pysqlite_drop_unused_cursor_references()
[all …]
/external/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 …]
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_cmdline.c76 struct exec_list new_list; in sort_varyings() local
77 exec_list_make_empty(&new_list); in sort_varyings()
80 insert_sorted(&new_list, var); in sort_varyings()
82 exec_list_move_nodes_to(&new_list, var_list); in sort_varyings()
/external/protobuf/python/google/protobuf/pyext/
Drepeated_scalar_container.cc486 ScopedPyObjectPtr new_list(Subscript(self, full_slice.get())); in AssSubscript() local
487 if (new_list == NULL) { in AssSubscript()
490 if (PySequence_SetSlice(new_list.get(), from, to, value) < 0) { in AssSubscript()
494 return InternalAssignRepeatedField(self, new_list.get()); in AssSubscript()
532 ScopedPyObjectPtr new_list(Subscript(self, full_slice.get())); in Insert() local
533 if (PyList_Insert(new_list.get(), index, value) < 0) { in Insert()
536 int ret = InternalAssignRepeatedField(self, new_list.get()); in Insert()
/external/python/cpython3/Modules/_sqlite/
Dconnection.c751 PyObject* new_list; in _pysqlite_drop_unused_statement_references() local
762 new_list = PyList_New(0); in _pysqlite_drop_unused_statement_references()
763 if (!new_list) { in _pysqlite_drop_unused_statement_references()
770 if (PyList_Append(new_list, weakref) != 0) { in _pysqlite_drop_unused_statement_references()
771 Py_DECREF(new_list); in _pysqlite_drop_unused_statement_references()
777 Py_SETREF(self->statements, new_list); in _pysqlite_drop_unused_statement_references()
782 PyObject* new_list; in _pysqlite_drop_unused_cursor_references() local
793 new_list = PyList_New(0); in _pysqlite_drop_unused_cursor_references()
794 if (!new_list) { in _pysqlite_drop_unused_cursor_references()
801 if (PyList_Append(new_list, weakref) != 0) { in _pysqlite_drop_unused_cursor_references()
[all …]
/external/freetype/src/cache/
Dftccache.c126 FTC_Node new_list = NULL; in ftc_cache_resize() local
156 node->link = new_list; in ftc_cache_resize()
157 new_list = node; in ftc_cache_resize()
163 cache->buckets[p + mask + 1] = new_list; in ftc_cache_resize()
/external/tensorflow/tensorflow/python/autograph/operators/
Ddata_structures_test.py34 l = data_structures.new_list()
40 l = data_structures.new_list([3, 4, 5])
101 l = data_structures.new_list()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/codegen/
Dgen_backends.py83 new_list = [output_combinations[x][i] for i in range(len(output_combinations[x]))]
86 for i in new_list:
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_nir.cpp407 struct exec_list new_list; in sort_varyings() local
408 exec_list_make_empty(&new_list); in sort_varyings()
411 insert_sorted(&new_list, var); in sort_varyings()
413 exec_list_move_nodes_to(&new_list, var_list); in sort_varyings()

12