Home
last modified time | relevance | path

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

12345678910>>...87

/freebsd/usr.bin/jot/tests/
H A Dregress.ed.out1 2s/old/new/
2 7s/old/new/
3 12s/old/new/
4 17s/old/new/
5 22s/old/new/
6 27s/old/new/
7 32s/old/new/
8 37s/old/new/
9 42s/old/new/
10 47s/old/new/
[all …]
/freebsd/contrib/sendmail/src/
H A Drecipient.c466 recipient(new, sendq, aliaslevel, e) in recipient() argument
467 register ADDRESS *new; in recipient()
491 initialdontsend = QS_IS_DEAD(new->q_state);
492 e->e_to = new->q_paddr;
493 m = new->q_mailer;
496 new->q_flags |= QPRIMARY;
500 printaddr(sm_debug_file(), new, false);
504 if (new->q_alias == NULL)
507 e->e_origrcpt = new->q_paddr;
508 else if (e->e_origrcpt != new->q_paddr)
[all …]
/freebsd/usr.bin/find/
H A Dfunction.c85 PLAN *new; in palloc() local
87 if ((new = malloc(sizeof(PLAN))) == NULL) in palloc()
89 new->execute = option->execute; in palloc()
90 new->flags = option->flags; in palloc()
91 new->next = NULL; in palloc()
92 return new; in palloc()
270 PLAN *new; in c_Xmin() local
275 new = palloc(option); in c_Xmin()
276 new->t_data.tv_sec = find_parsenum(new, option->name, nmins, NULL); in c_Xmin()
277 new->t_data.tv_nsec = 0; in c_Xmin()
[all …]
H A Dfind.c71 PLAN *plan, *tail, *new; in find_formplan() local
90 if (!(new = find_create(&argv))) in find_formplan()
93 tail = plan = new; in find_formplan()
95 tail->next = new; in find_formplan()
96 tail = new; in find_formplan()
111 new = (p->create)(p, &argv1); in find_formplan()
112 tail = plan = new; in find_formplan()
115 new = (p->create)(p, &argv1); in find_formplan()
116 new->next = plan; in find_formplan()
117 plan = new; in find_formplan()
[all …]
/freebsd/lib/libc/locale/
H A Dxlocale.c196 locale_t new = calloc(sizeof(struct _xlocale), 1); in alloc_locale() local
198 if (new == NULL) in alloc_locale()
201 new->header.destructor = destruct_locale; in alloc_locale()
202 new->monetary_locale_changed = 1; in alloc_locale()
203 new->numeric_locale_changed = 1; in alloc_locale()
204 return (new); in alloc_locale()
208 copyflags(locale_t new, locale_t old) in copyflags() argument
210 new->using_monetary_locale = old->using_monetary_locale; in copyflags()
211 new->using_numeric_locale = old->using_numeric_locale; in copyflags()
212 new->using_time_locale = old->using_time_locale; in copyflags()
[all …]
/freebsd/usr.bin/diff3/
H A Ddiff3.c102 struct range new; member
286 (*dd)[i].new.from = c; in readin()
287 (*dd)[i].new.to = d; in readin()
290 (*dd)[i].new.from < (*dd)[i - 1].new.to) in readin()
296 (*dd)[i].new.from = (*dd)[i].new.to = (*dd)[i - 1].new.to; in readin()
377 if (!t2 || (t1 && d1->new.to < d2->new.from)) { in merge()
382 keep(2, &d1->new); in merge()
383 change(3, &d1->new, false); in merge()
391 if (!t1 || (t2 && d2->new.to < d1->new.from)) { in merge()
394 keep(1, &d2->new); in merge()
[all …]
/freebsd/tools/tools/iso/
H A Dcheck-iso639.pl41 my %new = ();
57 $new{$bib}{a2} = $a2;
58 $new{$bib}{bib} = $bib;
59 $new{$bib}{term} = $term;
60 $new{$bib}{name} = $name;
67 next if (defined $new{$bib});
76 foreach my $bib (sort(keys(%new))) {
78 print "In new but not old: $new{$bib}{a2}\t$new{$bib}{bib}\t$new{$bib}{term}\t$new{$bib}{name}\n";
87 next if (!defined $new{$bib});
88 next if ($old{$bib}{a2} eq $new{$bib}{a2} &&
[all …]
/freebsd/contrib/llvm-project/clang/lib/Headers/
H A Dhexagon_types.h340 #define HEXAGON_V64_PUT_D(v, new) (new) argument
346 #define HEXAGON_V64_PUT_W0(v, new) \ argument
353 _HEXAGON_V64_internal_union.w[0] = (new); \
356 #define HEXAGON_V64_PUT_W1(v, new) \ argument
363 _HEXAGON_V64_internal_union.w[1] = (new); \
369 #define HEXAGON_V64_PUT_W0(v, new) \ argument
370 (((v) & 0xffffffff00000000LL) | ((HEXAGON_Vect64)((unsigned int)(new))))
371 #define HEXAGON_V64_PUT_W1(v, new) \ argument
372 (((v) & 0x00000000ffffffffLL) | (((HEXAGON_Vect64)(new)) << 32LL))
380 #define HEXAGON_V64_PUT_H0(v, new) \ argument
[all …]
/freebsd/tools/ifnet/
H A Dconvert_ifapi.sh71 new=`echo if_set$word"\($__ifp__,"$value");"`
72 new=`echo $new | sed -e 's/&/\\\&/'`
74 line=`echo $line| sed -e's/'$old'/'$new'/g'`
86 new=`echo if_inc$word"\($__ifp__,"$value");"`
87 new=`echo $new | sed -e 's/&/\\\&/'`
88 line=`echo $line| sed -e's/'$old'/'$new'/g'`
99 new=`echo if_inc$word"\($__ifp__,$value);"`
100 new=`echo $new | sed -e 's/&/\\\&/'`
102 line=`echo $line| sed -e's/'$old'/'$new'/g'`
114 new=`echo if_set${word}bit"($__ifp__,$value, 0);"`
[all …]
/freebsd/contrib/nvi/vi/
H A Dvs_split.c41 SCR *new, in vs_split() argument
63 CALLOC(sp, _HMAP(new), SIZE_HMAP(sp), sizeof(SMAP)); in vs_split()
64 if (_HMAP(new) == NULL) in vs_split()
66 _HMAP(new)->lno = sp->lno; in vs_split()
67 _HMAP(new)->coff = 0; in vs_split()
68 _HMAP(new)->soff = 1; in vs_split()
82 new->coff = sp->coff; in vs_split()
83 new->cols = sp->cols; in vs_split()
98 new->rows = sp->rows - half; /* New. */ in vs_split()
99 new->roff = sp->roff; in vs_split()
[all …]
/freebsd/contrib/nvi/ex/
H A Dex_edit.c111 SCR *new; in ex_N_edit() local
114 if (screen_init(sp->gp, sp, &new)) in ex_N_edit()
116 if ((cmdp->cmd == &cmds[C_VSPLIT] && vs_vsplit(sp, new)) || in ex_N_edit()
117 (cmdp->cmd != &cmds[C_VSPLIT] && vs_split(sp, new, 0))) { in ex_N_edit()
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()
129 new->frp->flags = sp->frp->flags; in ex_N_edit()
131 new->lno = sp->lno; in ex_N_edit()
[all …]
/freebsd/lib/libc/isc/
H A Dev_streams.c66 evStream *new; in evWrite() local
69 OKNEW(new); in evWrite()
70 new->func = func; in evWrite()
71 new->uap = uap; in evWrite()
72 new->fd = fd; in evWrite()
73 new->flags = 0; in evWrite()
74 if (evSelectFD(opaqueCtx, fd, EV_WRITE, writable, new, &new->file) < 0) in evWrite()
76 if (copyvec(new, iov, iocnt) < 0) in evWrite()
78 new->prevDone = NULL; in evWrite()
79 new->nextDone = NULL; in evWrite()
[all …]
/freebsd/sys/vm/
H A Dvm_unix.c89 vm_offset_t new, old, base; in kern_break() local
98 new = round_page(*addr); in kern_break()
103 if (new > base) { in kern_break()
108 if (new - base > datalim && new > old) { in kern_break()
112 if (new > vm_map_max(map)) { in kern_break()
116 } else if (new < base) { in kern_break()
124 new = old; in kern_break()
128 if (new > old) { in kern_break()
131 (new - old) > lmemlim) { in kern_break()
136 if (map->size + (new - old) > vmemlim) { in kern_break()
[all …]
/freebsd/usr.sbin/keyserv/
H A Dsetkey.c293 struct secretkey_netname_list *new; in store_netname() local
300 new = (struct secretkey_netname_list *)malloc(sizeof (*new)); in store_netname()
301 if (new == NULL) { in store_netname()
304 new->uid = uid; in store_netname()
305 new->next = NULL; in store_netname()
306 *l = new; in store_netname()
308 new = *l; in store_netname()
309 if (new->keynetdata.st_netname) in store_netname()
310 (void) free (new->keynetdata.st_netname); in store_netname()
312 memcpy(new->keynetdata.st_priv_key, netstore->st_priv_key, in store_netname()
[all …]
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzfs_rlock.c157 zfs_rangelock_enter_writer(zfs_rangelock_t *rl, zfs_locked_range_t *new, in zfs_rangelock_enter_writer() argument
163 uint64_t orig_off = new->lr_offset; in zfs_rangelock_enter_writer()
164 uint64_t orig_len = new->lr_length; in zfs_rangelock_enter_writer()
165 zfs_rangelock_type_t orig_type = new->lr_type; in zfs_rangelock_enter_writer()
174 rl->rl_cb(new, rl->rl_arg); in zfs_rangelock_enter_writer()
181 ASSERT3U(new->lr_type, ==, RL_WRITER); in zfs_rangelock_enter_writer()
187 avl_add(tree, new); in zfs_rangelock_enter_writer()
194 lr = avl_find(tree, new, &where); in zfs_rangelock_enter_writer()
200 lr->lr_offset < new->lr_offset + new->lr_length) in zfs_rangelock_enter_writer()
205 lr->lr_offset + lr->lr_length > new->lr_offset) in zfs_rangelock_enter_writer()
[all …]
/freebsd/contrib/llvm-project/lldb/bindings/python/
H A Dpython-swigsafecast.swig13 return ToSWIGWrapper(std::unique_ptr<lldb::SBValue>(new lldb::SBValue(value_sp)));
17 return ToSWIGHelper(new lldb::SBTarget(std::move(target_sp)),
22 return ToSWIGHelper(new lldb::SBProcess(std::move(process_sp)),
27 return ToSWIGHelper(new lldb::SBThreadPlan(std::move(thread_plan_sp)),
32 return ToSWIGHelper(new lldb::SBBreakpoint(std::move(breakpoint_sp)),
37 return ToSWIGHelper(new lldb::SBError(status), SWIGTYPE_p_lldb__SBError);
45 …return ToSWIGWrapper(std::unique_ptr<lldb::SBStructuredData>(new lldb::SBStructuredData(data_impl)…
49 return ToSWIGHelper(new lldb::SBThread(std::move(thread_sp)),
54 return ToSWIGHelper(new lldb::SBFrame(std::move(frame_sp)),
59 return ToSWIGHelper(new lldb::SBDebugger(std::move(debugger_sp)),
[all …]
/freebsd/tools/test/stress2/misc/
H A Dtmpfs8.sh72 char new[128];
90 stat(new, &sb);
115 sprintf(new, "test.log.%05d", i);
116 if ((fd = open(new, O_RDWR | O_CREAT | O_TRUNC, 0644)) == -1)
117 err(1, "creat(%s)", new);
120 if ((r3 = stat(new, &sb3)) == -1)
121 err(1, "stat(%s)", new);
123 if (rename(logfile, new) == -1)
124 warn("rename(%s, %s)", logfile, new);
127 if (link(logfile, new) == -1)
[all …]
/freebsd/contrib/tcsh/
H A Dma.setp.c347 char *new, *p; in tcsh_rcmd() local
352 new = newbuf; in tcsh_rcmd()
353 *new = '\0'; in tcsh_rcmd()
355 *new = ':'; in tcsh_rcmd()
356 (void) strcpy(new + 1, localsyspath); in tcsh_rcmd()
357 (void) strcat(new, pe->psuf); in tcsh_rcmd()
359 (void) strcat(new, pe->pdef); in tcsh_rcmd()
369 new = index(p = new, ':'); in tcsh_rcmd()
370 done = (new == NULL); in tcsh_rcmd()
372 *new++ = '\0'; in tcsh_rcmd()
[all …]
/freebsd/contrib/tcpdump/
H A Dmakemib182 function oidadd(new, parent, value) {
187 print "/* oidadd" inn(FILENAME) ":", new, "in", parent, "as", value, "line", $0, "*/"
189 gsub(/[-&\/]/,"",new)
194 inn(FILENAME), parent, new, value
198 if (oid[new] > 0 && oid[new] != value) {
200 inn(FILENAME), parent, new, value, oid[new]
207 if (new != sib)
211 inn(FILENAME), new, parent, \
217 oid[new]=value
219 child[parent] = new
[all …]
/freebsd/libexec/revnetgroup/
H A Dhash.c146 struct group_entry *new; in store() local
151 new = (struct group_entry *)malloc(sizeof(struct group_entry)); in store()
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
197 new = (struct member_entry *)malloc(sizeof(struct member_entry)); in mstore()
198 new->key = strdup(key); in mstore()
199 new->domain = domain ? strdup(domain) : "*"; in mstore()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_rename/
H A Dzfs_rename_013_pos.ksh49 datasetexists $TESTPOOL/$TESTCTR@snap-new && \
50 destroy_dataset $TESTPOOL/$TESTCTR@snap-new -f
55 datasetexists $TESTPOOL@snap-new && \
56 destroy_dataset $TESTPOOL@snap-new -f
68 log_must zfs rename -r $TESTPOOL/$TESTCTR@snap $TESTPOOL/$TESTCTR@snap-new
69 log_must datasetexists $TESTPOOL/$TESTCTR@snap-new
72 log_must zfs rename -r $TESTPOOL@snap $TESTPOOL@snap-new
73 log_must datasetexists $TESTPOOL/$TESTCTR@snap-new
74 log_must datasetexists $TESTPOOL@snap-new
76 log_must zfs destroy -f $TESTPOOL/$TESTCTR@snap-new
[all …]
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_rename/
H A Dzfs_rename_013_pos.ksh64 if datasetexists $TESTPOOL/$TESTCTR@snap-new ; then
65 log_must $ZFS destroy -f $TESTPOOL/$TESTCTR@snap-new
72 if datasetexists $TESTPOOL@snap-new ; then
73 log_must $ZFS destroy -f $TESTPOOL@snap-new
87 log_must $ZFS rename -r $TESTPOOL/$TESTCTR@snap $TESTPOOL/$TESTCTR@snap-new
88 log_must datasetexists $TESTPOOL/$TESTCTR@snap-new
91 log_must $ZFS rename -r $TESTPOOL@snap $TESTPOOL@snap-new
92 log_must datasetexists $TESTPOOL/$TESTCTR@snap-new
93 log_must datasetexists $TESTPOOL@snap-new
95 log_must $ZFS destroy -f $TESTPOOL/$TESTCTR@snap-new
[all …]
/freebsd/tools/tools/shlib-compat/
H A Dshlib-compat-dirs.sh12 new=$2
34 rnew=`realpath $new`
38 test_file $orig/$i $new/$i || continue
39 $SHLIB_COMPAT --out-orig $out/$i.orig.c --out-new $out/$i.new.c -v "$@" \
40 $orig/$i $new/$i > $out/$i.cmp 2> $out/$i.err || true
41 remove_empty $out/$i.orig.c $out/$i.new.c $out/$i.cmp $out/$i.err
42 if [ -f $out/$i.orig.c -a -f $out/$i.new.c ]; then
43 astyle --quiet --style=bsd -k3 $out/$i.orig.c $out/$i.new.c
44 rm -f $out/$i.orig.c.orig $out/$i.new.c.orig
45 diff -u $out/$i.orig.c $out/$i.new.c > $out/$i.diff || true
/freebsd/tests/sys/netinet/
H A Dip_reass_test.c184 (uintmax_t)old.ips_ ## counter, (uintmax_t)new.ips_## counter);
198 struct ipstat old, new; in ATF_TC_BODY() local
237 get_ipstat(&new); in ATF_TC_BODY()
238 CHECK_IP_COUNTER(&old, &new, fragdropped); in ATF_TC_BODY()
245 get_ipstat(&new); in ATF_TC_BODY()
246 CHECK_IP_COUNTER(&old, &new, fragdropped); in ATF_TC_BODY()
251 get_ipstat(&new); in ATF_TC_BODY()
252 CHECK_IP_COUNTER(&old, &new, fragdropped); in ATF_TC_BODY()
257 get_ipstat(&new); in ATF_TC_BODY()
258 CHECK_IP_COUNTER(&old, &new, fragdropped); in ATF_TC_BODY()
[all …]
/freebsd/sys/kern/
H A Dsysv_ipc.c162 ipcperm_old2new(struct ipc_perm_old *old, struct ipc_perm *new) in ipcperm_old2new() argument
165 new->cuid = old->cuid; in ipcperm_old2new()
166 new->cgid = old->cgid; in ipcperm_old2new()
167 new->uid = old->uid; in ipcperm_old2new()
168 new->gid = old->gid; in ipcperm_old2new()
169 new->mode = old->mode; in ipcperm_old2new()
170 new->seq = old->seq; in ipcperm_old2new()
171 new->key = old->key; in ipcperm_old2new()
175 ipcperm_new2old(struct ipc_perm *new, struct ipc_perm_old *old) in ipcperm_new2old() argument
179 old->cuid = new->cuid; in ipcperm_new2old()
[all …]

12345678910>>...87