Home
last modified time | relevance | path

Searched refs:new (Results 1 – 25 of 1133) sorted by relevance

12345678910>>...46

/dragonfly/usr.bin/find/
H A Dfunction.c85 PLAN *new; in palloc() local
92 return new; in palloc()
265 PLAN *new; in c_Xmin() local
274 return new; in c_Xmin()
310 PLAN *new; in c_Xtime() local
320 return new; in c_Xtime()
336 PLAN *new; in c_mXXdepth() local
452 PLAN *new; in c_depth() local
653 new->e_ppos = new->e_pbnum = cnt - 2; in c_exec()
704 new->e_psize = new->e_pbsize; in c_exec()
[all …]
H A Dfind.c76 PLAN *plan, *tail, *new; in find_formplan() local
98 tail = plan = new; in find_formplan()
100 tail->next = new; in find_formplan()
101 tail = new; in find_formplan()
117 tail = plan = new; in find_formplan()
121 new->next = plan; in find_formplan()
122 plan = new; in find_formplan()
125 tail->next = new; in find_formplan()
126 tail = new; in find_formplan()
129 tail->next = new; in find_formplan()
[all …]
/dragonfly/lib/libc/locale/
H A Dxlocale.c198 return (new); in alloc_locale()
216 new->components[type] = constructors[type](src->locale, new); in dupcomponent()
253 if (NULL == new) { in newlocale()
258 copyflags(new, base); in newlocale()
308 new->components[type] = in newlocale()
326 xlocale_release(new); in newlocale()
327 new = NULL; in newlocale()
330 return (new); in newlocale()
340 if (NULL == new) { in duplocale()
345 copyflags(new, base); in duplocale()
[all …]
/dragonfly/contrib/nvi2/vi/
H A Dvs_split.c117 new->t_maxrows = IS_ONELINE(new) ? 1 : new->rows - 1; in vs_split()
139 if (new->t_rows > new->t_maxrows) in vs_split()
140 new->t_rows = new->t_maxrows; in vs_split()
141 if (new->t_minrows > new->t_maxrows) in vs_split()
142 new->t_minrows = new->t_maxrows; in vs_split()
153 if (new->t_rows > new->rows - 1) in vs_split()
154 new->t_minrows = new->t_rows = in vs_split()
155 IS_ONELINE(new) ? 1 : new->rows - 1; in vs_split()
161 _TMAP(new) = IS_ONELINE(new) ? in vs_split()
162 _HMAP(new) : _HMAP(new) + (new->t_rows - 1); in vs_split()
[all …]
/dragonfly/lib/libc/isc/
H A Dev_streams.c66 evStream *new; in evWrite() local
69 OKNEW(new); in evWrite()
71 new->uap = uap; in evWrite()
72 new->fd = fd; in evWrite()
73 new->flags = 0; in evWrite()
90 FREE(new); in evWrite()
100 evStream *new; in evRead() local
103 OKNEW(new); in evRead()
105 new->uap = uap; in evRead()
106 new->fd = fd; in evRead()
[all …]
/dragonfly/contrib/nvi2/ex/
H A Dex_edit.c111 SCR *new; in ex_N_edit() local
118 (void)screen_end(new); in ex_N_edit()
125 new->ep = sp->ep; in ex_N_edit()
126 ++new->ep->refcnt; in ex_N_edit()
128 new->frp = frp; in ex_N_edit()
131 new->lno = sp->lno; in ex_N_edit()
132 new->cno = sp->cno; in ex_N_edit()
142 (void)vs_discard(new, NULL); in ex_N_edit()
143 (void)screen_end(new); in ex_N_edit()
148 new->cargv = new->argv = ex_buildargv(sp, NULL, frp->name); in ex_N_edit()
[all …]
/dragonfly/bin/sh/pregenerated/
H A Dnodes.c233 union node *new; in copynode() local
237 new = state->block; in copynode()
254 new->npipe.backgnd = n->npipe.backgnd; in copynode()
260 new->nredir.n = copynode(n->nredir.n, state); in copynode()
265 new->nif.test = copynode(n->nif.test, state); in copynode()
295 new->nfile.fd = n->nfile.fd; in copynode()
300 new->ndup.dupfd = n->ndup.dupfd; in copynode()
302 new->ndup.fd = n->ndup.fd; in copynode()
308 new->nhere.fd = n->nhere.fd; in copynode()
314 new->type = n->type; in copynode()
[all …]
/dragonfly/usr.sbin/keyserv/
H A Dsetkey.c334 new = (struct secretkey_netname_list *)malloc(sizeof (*new)); in store_netname()
338 new->uid = uid; in store_netname()
339 new->next = NULL; in store_netname()
340 *l = new; in store_netname()
342 new = *l; in store_netname()
415 new = (struct secretkey_netname_list *) malloc(sizeof (*new)); in storesecretkey()
419 new->uid = uid; in storesecretkey()
423 new->next = NULL; in storesecretkey()
424 *l = new; in storesecretkey()
426 new = *l; in storesecretkey()
[all …]
/dragonfly/gnu/usr.bin/gdb/kgdb/
H A Dkld.c369 new = xmalloc(sizeof(*new)); in kld_current_sos()
370 memset(new, 0, sizeof(*new)); in kld_current_sos()
372 new->lm_info = xmalloc(sizeof(*new->lm_info)); in kld_current_sos()
381 free_so(new); in kld_current_sos()
398 new->so_original_name, in kld_current_sos()
400 strlcpy(new->so_name, new->so_original_name, in kld_current_sos()
408 strlcpy(new->so_name, new->so_original_name, in kld_current_sos()
409 sizeof(new->so_name)); in kld_current_sos()
417 free_so(new); in kld_current_sos()
422 *prev = new; in kld_current_sos()
[all …]
/dragonfly/contrib/gcc-8.0/gcc/
H A Dhsa-gen.c1066 dest = new hsa_op_reg (dtype); in get_in_type()
1079 dest = new hsa_op_reg (m_type); in get_in_type()
2180 return new hsa_op_address (sym); in gen_hsa_addr_for_arg()
2286 return new hsa_op_immed (op); in hsa_reg_or_immed_for_gimple_op()
2820 mem = new hsa_insn_mem (BRIG_OPCODE_ST, t, new hsa_op_immed (c, t), in gen_hsa_memory_set()
3439 cbr = new hsa_insn_cbr (ctrl); in gen_hsa_insns_for_cond_stmt()
4999 dest = new hsa_op_reg (hsa_type); in gen_hsa_atomic_for_builtin()
5410 dest = new hsa_op_reg (mtype); in gen_hsa_insns_for_call()
5544 dest = new hsa_op_reg (atype); in gen_hsa_insns_for_call()
5878 return new (m) hsa_bb (bb); in hsa_init_new_bb()
[all …]
/dragonfly/crypto/libressl/crypto/x509/
H A Dx509_issuer_cache.c157 struct x509_issuer *new; in x509_issuer_cache_add() local
168 memcpy(new->parent_md, parent_md, EVP_MAX_MD_SIZE); in x509_issuer_cache_add()
169 if ((new->child_md = calloc(1, EVP_MAX_MD_SIZE)) == NULL) in x509_issuer_cache_add()
171 memcpy(new->child_md, child_md, EVP_MAX_MD_SIZE); in x509_issuer_cache_add()
173 new->valid = valid; in x509_issuer_cache_add()
180 TAILQ_INSERT_HEAD(&x509_issuer_lru, new, queue); in x509_issuer_cache_add()
182 new = NULL; in x509_issuer_cache_add()
187 if (new != NULL) { in x509_issuer_cache_add()
188 free(new->parent_md); in x509_issuer_cache_add()
189 free(new->child_md); in x509_issuer_cache_add()
[all …]
/dragonfly/libexec/revnetgroup/
H A Dhash.c146 struct group_entry *new; in store() local
152 new->key = strdup(key); in store()
153 new->data = strdup(data); in store()
154 new->next = table[i]; in store()
155 table[i] = new; in store()
175 struct member_entry *cur, *new; in mstore() local
198 new->key = strdup(key); in mstore()
199 new->domain = domain ? strdup(domain) : "*"; in mstore()
200 new->groups = tmp; in mstore()
201 new->next = table[i]; in mstore()
[all …]
/dragonfly/sys/netinet6/
H A Dnd6_rtr.c668 if ((dr = defrouter_lookup(&new->rtaddr, new->ifp)) != NULL) { in defrtrlist_update()
695 *n = *new; in defrtrlist_update()
727 new = kmalloc(sizeof(*new), M_IP6NDP, M_INTWAIT | M_ZERO); in pfxrtr_add()
728 new->router = dr; in pfxrtr_add()
765 new = kmalloc(sizeof(*new), M_IP6NDP, M_INTWAIT); in nd6_prelist_add()
766 *new = *pr; in nd6_prelist_add()
768 *newp = new; in nd6_prelist_add()
772 in6_prefixlen2mask(&new->ndpr_mask, new->ndpr_plen); in nd6_prelist_add()
798 pfxrtr_add(new, dr); in nd6_prelist_add()
922 if (new->ndpr_raf_onlink == 0 && new->ndpr_raf_auto == 0) in prelist_update()
[all …]
/dragonfly/usr.bin/window/
H A Dtth29.c59 h29_setmodes(int new) in h29_setmodes() argument
63 if (new & WWM_REV) in h29_setmodes()
65 if (new & WWM_BLK) in h29_setmodes()
67 if (new & WWM_DIM) in h29_setmodes()
69 if (new & WWM_UL) in h29_setmodes()
71 if (new & WWM_USR) in h29_setmodes()
75 if (new & WWM_GRP) { in h29_setmodes()
81 tt.tt_modes = new; in h29_setmodes()
/dragonfly/sys/vm/
H A Dvm_unix.c179 vm_offset_t new, old, base; in sys_obreak() local
188 new = round_page((vm_offset_t)uap->nsize); in sys_obreak()
191 if (new > base) { in sys_obreak()
196 if (new > old && in sys_obreak()
201 if (new >= VM_MAX_USER_ADDRESS) { in sys_obreak()
205 } else if (new < base) { in sys_obreak()
215 if (new > old) { in sys_obreak()
218 diff = new - old; in sys_obreak()
238 } else if (new < old) { in sys_obreak()
241 rv = vm_map_remove(&vm->vm_map, new, old); in sys_obreak()
[all …]
/dragonfly/lib/libthread_xu/thread/
H A Dthr_clean.c45 struct pthread_cleanup *new; in _pthread_cleanup_push() local
47 new = __malloc(sizeof(struct pthread_cleanup)); in _pthread_cleanup_push()
48 if (new != NULL) { in _pthread_cleanup_push()
49 new->routine = routine; in _pthread_cleanup_push()
50 new->routine_arg = routine_arg; in _pthread_cleanup_push()
51 new->onstack = 0; in _pthread_cleanup_push()
52 new->next = curthread->cleanup; in _pthread_cleanup_push()
54 curthread->cleanup = new; in _pthread_cleanup_push()
/dragonfly/test/pcpu/
H A Dcpustat.c92 cputime_get_diff(struct kinfo_cputime *old, struct kinfo_cputime *new, in cputime_get_diff() argument
95 delta->cp_user = new->cp_user - old->cp_user; in cputime_get_diff()
96 delta->cp_nice = new->cp_nice - old->cp_nice; in cputime_get_diff()
97 delta->cp_sys = new->cp_sys - old->cp_sys; in cputime_get_diff()
98 delta->cp_intr = new->cp_intr - old->cp_intr; in cputime_get_diff()
99 delta->cp_idle = new->cp_idle - old->cp_idle; in cputime_get_diff()
121 struct kinfo_cputime *old, *new, delta; in main() local
129 error = cputime_get(&new); in main()
136 cputime_get_diff(&old[i], &new[i], &delta); in main()
146 free(new); in main()
/dragonfly/contrib/lvm2/dist/daemons/cmirrord/
H A Dcluster.c368 new = malloc(sizeof(*new)); in prepare_checkpoint()
369 if (!new) { in prepare_checkpoint()
374 memset(new, 0, sizeof(*new)); in prepare_checkpoint()
384 free(new); in prepare_checkpoint()
395 free(new); in prepare_checkpoint()
407 free(new); in prepare_checkpoint()
411 SHORT_UUID(new->uuid), new->requester); in prepare_checkpoint()
414 return new; in prepare_checkpoint()
1473 new = malloc(sizeof(*new)); in create_cluster_cpg()
1478 memset(new, 0, sizeof(*new)); in create_cluster_cpg()
[all …]
/dragonfly/sbin/routed/
H A Dtrace.c636 struct rt_spare *new) in trace_upslot() argument
649 if (new->rts_gate == 0) { in trace_upslot()
663 rts->rts_tag != new->rts_tag, in trace_upslot()
668 (new->rts_gate != rts->rts_gate in trace_upslot()
670 print_rts(new, in trace_upslot()
683 print_rts(new, 0,0,0,0, in trace_upslot()
745 struct rt_spare *new, in trace_change() argument
768 (rt->rt_gate != new->rts_gate in trace_change()
770 print_rts(new, in trace_change()
774 rt->rt_tag != new->rts_tag, in trace_change()
[all …]
/dragonfly/contrib/gdb-7/readline/
H A Ddisplay.c109 #define CR_FASTER(new, cur) (((new) + 1) < ((cur) - (new))) argument
1352 old[0] = new[0];
1358 if (new[0])
1430 nls = new + _rl_find_prev_mbchar (new, ne - new, MB_FIND_ANY);
1439 _rl_adjust_point (new, nls - new, &ps_new);
1449 nls = new + _rl_find_prev_mbchar (new, nls - new, MB_FIND_ANY);
1492 nls = new + _rl_find_next_mbchar (new, nls - new, 1, MB_FIND_ANY);
1568 …col_lendiff = _rl_col_width (new, nfd - new, nls - new, 1) - _rl_col_width (old, ofd - old, ols - …
1593 col_temp = _rl_col_width (new, nfd - new, ne - new, 1);
1903 int new; in _rl_move_cursor_relative()
[all …]
/dragonfly/contrib/gcc-4.7/libstdc++-v3/libsupc++/
H A Dnew28 /** @file new
51 * @brief Exception possibly thrown by @c new.
55 * errors from the throwing forms of @c new. */
73 /** If you write your own error handler to be called by @c new, it must
85 * - normal array new and delete (same)
88 * - @c nothrow array new and delete (same)
90 * Placement new and delete signatures (take a memory address argument,
93 void* operator new(std::size_t) _GLIBCXX_THROW (std::bad_alloc)
95 void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
110 // Default placement versions of operator new.
[all …]
/dragonfly/contrib/gcc-8.0/libstdc++-v3/libsupc++/
H A Dnew26 /** @file new
49 * @brief Exception possibly thrown by @c new.
53 * errors from the throwing forms of @c new. */
104 /// Return the current new handler.
112 * - normal array new and delete (same)
115 * - @c nothrow array new and delete (same)
120 void* operator new(std::size_t) _GLIBCXX_THROW (std::bad_alloc)
122 void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
143 void* operator new(std::size_t, std::align_val_t)
151 void* operator new[](std::size_t, std::align_val_t)
[all …]
/dragonfly/sys/dev/drm/include/linux/
H A Dlist.h107 new->next = old->next; in list_replace()
108 new->next->prev = new; in list_replace()
109 new->prev = old->prev; in list_replace()
110 new->prev->next = new; in list_replace()
116 list_replace(old, new); in list_replace_init()
125 next->prev = new; in _list_add()
126 new->next = next; in _list_add()
127 new->prev = prev; in _list_add()
128 prev->next = new; in _list_add()
370 if (new->first) in hlist_move_list()
[all …]
/dragonfly/usr.bin/tset/
H A Dtset.c229 u_int old, new; in report() local
231 new = mode.c_cc[which]; in report()
234 if (old == new && old == def) in report()
237 (void)fprintf(stderr, "%s %s ", name, old == new ? "is" : "set to"); in report()
239 if (new == 010) in report()
241 else if (new == 0177) in report()
243 else if (new < 040) { in report()
244 new ^= 0100; in report()
245 (void)fprintf(stderr, "control-%c (^%c).\n", new, new); in report()
247 (void)fprintf(stderr, "%c.\n", new); in report()
/dragonfly/sys/netbt/
H A Drfcomm_dlc.c75 struct rfcomm_dlc *new, *dlc, *any, *best; in rfcomm_dlc_newconn() local
89 new = NULL; in rfcomm_dlc_newconn()
123 if (new == NULL) { in rfcomm_dlc_newconn()
128 new->rd_dlci = dlci; in rfcomm_dlc_newconn()
129 new->rd_mtu = rfcomm_mtu_default; in rfcomm_dlc_newconn()
130 new->rd_mode = dlc->rd_mode; in rfcomm_dlc_newconn()
133 new->rd_laddr.bt_channel = chan; in rfcomm_dlc_newconn()
136 new->rd_raddr.bt_channel = chan; in rfcomm_dlc_newconn()
138 new->rd_session = rs; in rfcomm_dlc_newconn()
139 new->rd_state = RFCOMM_DLC_WAIT_CONNECT; in rfcomm_dlc_newconn()
[all …]

12345678910>>...46