/third_party/gettext/libtextstyle/gnulib-local/lib/glib/ |
D | glist.c | 96 GList *new_list; in g_list_append() local 99 new_list = _g_list_alloc (); in g_list_append() 100 new_list->data = data; in g_list_append() 101 new_list->next = NULL; in g_list_append() 107 last->next = new_list; in g_list_append() 108 new_list->prev = last; in g_list_append() 114 new_list->prev = NULL; in g_list_append() 115 return new_list; in g_list_append() 123 GList *new_list; in g_list_prepend() local 125 new_list = _g_list_alloc (); in g_list_prepend() [all …]
|
/third_party/glib/glib/ |
D | gslist.c | 236 GSList *new_list; in g_slist_append() local 239 new_list = _g_slist_alloc (); in g_slist_append() 240 new_list->data = data; in g_slist_append() 241 new_list->next = NULL; in g_slist_append() 247 last->next = new_list; in g_slist_append() 252 return new_list; in g_slist_append() 278 GSList *new_list; in g_slist_prepend() local 280 new_list = _g_slist_alloc (); in g_slist_prepend() 281 new_list->data = data; in g_slist_prepend() 282 new_list->next = list; in g_slist_prepend() [all …]
|
D | glist.c | 282 GList *new_list; in g_list_append() local 285 new_list = _g_list_alloc (); in g_list_append() 286 new_list->data = data; in g_list_append() 287 new_list->next = NULL; in g_list_append() 293 last->next = new_list; in g_list_append() 294 new_list->prev = last; in g_list_append() 300 new_list->prev = NULL; in g_list_append() 301 return new_list; in g_list_append() 333 GList *new_list; in g_list_prepend() local 335 new_list = _g_list_alloc (); in g_list_prepend() [all …]
|
/third_party/mindspore/tests/st/model_zoo_tests/retinaface_resnet50/ |
D | test_retinaface_resnet50.py | 42 new_list = ["'epoch': 1,", 47 utils.exec_sed_command(old_list, new_list, os.path.join(cur_model_path, "src/config.py")) 49 new_list = ["sink_mode=True, sink_size=100", "model.train(4,"] 50 utils.exec_sed_command(old_list, new_list, os.path.join(cur_model_path, "train.py")) 52 new_list = ["python train.py --distributed 1 --device_target GPU"] 53 …utils.exec_sed_command(old_list, new_list, os.path.join(cur_model_path, "scripts/run_distribute_gp…
|
/third_party/gstreamer/gstreamer/gst/ |
D | gstbufferlist.h | 90 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);
|
D | gstpluginfeature.c | 264 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()
|
/third_party/mindspore/tests/st/model_zoo_tests/ssd_mobilenet_fpn/ |
D | test_ssd_modelnet_fpn.py | 34 …new_list = [os.path.join(utils.data_root, "coco/coco2017"), "mindrecord_train/ssd_mindrecord", ".", 36 …utils.exec_sed_command(old_list, new_list, os.path.join(cur_model_path, "config/ssd_mobilenet_v1_f… 38 new_list = ["5", "dataset_sink_mode=dataset_sink_mode, sink_size=20"] 39 utils.exec_sed_command(old_list, new_list, os.path.join(cur_model_path, "train.py"))
|
/third_party/mindspore/tests/st/model_zoo_tests/centernet/ |
D | test_centernet.py | 32 new_list = ['5, dataset', '20'] 33 utils.exec_sed_command(old_list, new_list, os.path.join(cur_model_path, "train.py")) 38 new_list = ["device_ips = {}\\n '''", "device_ip.strip()\\n '''", 44 utils.exec_sed_command(old_list, new_list, os.path.join(cur_model_path, generator_cmd_file))
|
/third_party/mindspore/tests/st/model_zoo_tests/deeplabv3/ |
D | test_DeeplabV3_voc2007.py | 34 new_list = [os.path.join(utils.data_root, "voc/voc2012/mindrecord_train/vocaug_mindrecord0"), 36 utils.exec_sed_command(old_list, new_list, 41 new_list = ['model.train(30', 43 utils.exec_sed_command(old_list, new_list, os.path.join(cur_model_path, "train.py"))
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_bo.c | 348 struct list_head *new_list = in reallocate_size_list() local 352 if (!new_list) { in reallocate_size_list() 364 list_inithead(&new_list[i]); in reallocate_size_list() 366 new_list[i].next = old_head->next; in reallocate_size_list() 367 new_list[i].prev = old_head->prev; in reallocate_size_list() 368 new_list[i].next->prev = &new_list[i]; in reallocate_size_list() 369 new_list[i].prev->next = &new_list[i]; in reallocate_size_list() 373 list_inithead(&new_list[i]); in reallocate_size_list() 375 cache->size_list = new_list; in reallocate_size_list()
|
/third_party/e2fsprogs/lib/ext2fs/ |
D | finddev.c | 133 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()
|
/third_party/mindspore/tests/st/model_zoo_tests/bgcf/ |
D | test_BGCF_amazon_beauty.py | 33 new_list = ["num_epoch: 50"] 34 utils.exec_sed_command(old_list, new_list, os.path.join(cur_model_path, "default_config.yaml")) 37 new_list = ["context.set_context()", 39 utils.exec_sed_command(old_list, new_list, os.path.join(cur_model_path, "train.py"))
|
/third_party/e2fsprogs/lib/blkid/ |
D | devno.c | 147 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()
|
/third_party/selinux/libsepol/cil/src/ |
D | cil_list.c | 49 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()
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
D | v3d_bufmgr.c | 287 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/mindspore/tests/st/model_zoo_tests/resnet50/ |
D | test_resnet50_cifar10.py | 33 new_list = ["total_epochs=10", "10"] 34 utils.exec_sed_command(old_list, new_list, os.path.join(cur_model_path, "train.py")) 64 new_list = ["total_epochs=10", "10"] 65 utils.exec_sed_command(old_list, new_list, os.path.join(cur_model_path, "train.py"))
|
/third_party/mindspore/tests/st/model_zoo_tests/ |
D | utils.py | 32 def exec_sed_command(old_list, new_list, file): argument 35 if isinstance(new_list, str): 36 old_list = [new_list] 37 if len(old_list) != len(new_list): 39 for old, new in zip(old_list, new_list):
|
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/ |
D | sctp_auth.c | 89 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/mindspore/mindspore/ccsrc/backend/optimizer/common/ |
D | visit.cc | 37 std::shared_ptr<VectorRef> new_list = std::make_shared<VectorRef>(); in ExpandList() local 41 new_list->insert(new_list->end(), seq.begin(), seq.end()); in ExpandList() 43 new_list->push_back(item); in ExpandList() 46 return new_list; in ExpandList()
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/tools/ |
D | pretty_vcproj.py | 122 new_list = [] 130 new_list.append(filename) 132 new_list.append(os.path.abspath(filename)) 133 return new_list 146 new_list = FixFilenames(path_list, os.path.dirname(ARGUMENTS[1])) 147 node.setAttribute(name, ';'.join(new_list))
|
/third_party/node/tools/gyp/tools/ |
D | pretty_vcproj.py | 124 new_list = [] 132 new_list.append(filename) 134 new_list.append(os.path.abspath(filename)) 135 return new_list 152 new_list = FixFilenames(path_list, os.path.dirname(ARGUMENTS[1])) 153 node.setAttribute(name, ";".join(new_list))
|
/third_party/mindspore/tests/st/model_zoo_tests/yolov3_darknet53/ |
D | test_yolov3_darknet53.py | 229 new_list = ["--lr_scheduler=cosine_annealing --training_shape=416 --log_interval=10"] 230 utils.exec_sed_command(old_list, new_list, 233 new_list = ["max_epoch=1"] 234 utils.exec_sed_command(old_list, new_list, train_file) 236 new_list = ["sampler=distributed_sampler, num_samples=100*batch_size"] 237 utils.exec_sed_command(old_list, new_list, os.path.join(cur_model_path, "src/yolo_dataset.py"))
|
/third_party/mesa3d/src/gallium/drivers/lima/standalone/ |
D | lima_compiler_cmdline.c | 64 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/ |
D | pcm_extplug.c | 87 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/ |
D | cmdline.c | 62 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()
|