| /freebsd/usr.bin/jot/tests/ |
| H A D | regress.ed.out | 1 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/usr.bin/find/ |
| H A D | function.c | 89 PLAN *new; in palloc() local 91 if ((new = malloc(sizeof(PLAN))) == NULL) in palloc() 93 new->execute = option->execute; in palloc() 94 new->flags = option->flags; in palloc() 95 new->next = NULL; in palloc() 96 return new; in palloc() 274 PLAN *new; in c_Xmin() local 279 new = palloc(option); in c_Xmin() 280 new->t_data.tv_sec = find_parsenum(new, option->name, nmins, NULL); in c_Xmin() 281 new->t_data.tv_nsec = 0; in c_Xmin() [all …]
|
| H A D | find.c | 71 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/contrib/sendmail/src/ |
| H A D | recipient.c | 466 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/lib/libc/locale/ |
| H A D | xlocale.c | 196 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 D | diff3.c | 108 struct range new; member 290 (*dd)[i].new.from = c; in readin() 291 (*dd)[i].new.to = d; in readin() 294 (*dd)[i].new.from < (*dd)[i - 1].new.to) in readin() 300 (*dd)[i].new.from = (*dd)[i].new.to = (*dd)[i - 1].new.to; in readin() 387 if (!t2 || (t1 && d1->new.to < d2->new.from)) { in merge() 392 keep(2, &d1->new); in merge() 393 change(3, &d1->new, false); in merge() 398 de[j].new = d1->new; in merge() 404 (d1->new.to - d1->new.from); in merge() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Headers/ |
| H A D | hexagon_types.h | 344 #define HEXAGON_V64_PUT_D(v, new) (new) argument 350 #define HEXAGON_V64_PUT_W0(v, new) \ argument 357 _HEXAGON_V64_internal_union.w[0] = (new); \ 360 #define HEXAGON_V64_PUT_W1(v, new) \ argument 367 _HEXAGON_V64_internal_union.w[1] = (new); \ 373 #define HEXAGON_V64_PUT_W0(v, new) \ argument 374 (((v) & 0xffffffff00000000LL) | ((HEXAGON_Vect64)((unsigned int)(new)))) 375 #define HEXAGON_V64_PUT_W1(v, new) \ argument 376 (((v) & 0x00000000ffffffffLL) | (((HEXAGON_Vect64)(new)) << 32LL)) 384 #define HEXAGON_V64_PUT_H0(v, new) \ argument [all …]
|
| /freebsd/tools/tools/iso/ |
| H A D | check-iso639.pl | 41 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/tools/ifnet/ |
| H A D | convert_ifapi.sh | 71 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 D | vs_split.c | 41 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/lib/libc/isc/ |
| H A D | ev_streams.c | 66 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/contrib/nvi/ex/ |
| H A D | ex_edit.c | 111 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/sys/vm/ |
| H A D | vm_unix.c | 89 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/sys/contrib/openzfs/module/zfs/ |
| H A D | zfs_rlock.c | 158 zfs_rangelock_enter_writer(zfs_rangelock_t *rl, zfs_locked_range_t *new, in zfs_rangelock_enter_writer() argument 164 uint64_t orig_off = new->lr_offset; in zfs_rangelock_enter_writer() 165 uint64_t orig_len = new->lr_length; in zfs_rangelock_enter_writer() 166 zfs_rangelock_type_t orig_type = new->lr_type; in zfs_rangelock_enter_writer() 175 rl->rl_cb(new, rl->rl_arg); in zfs_rangelock_enter_writer() 182 ASSERT3U(new->lr_type, ==, RL_WRITER); in zfs_rangelock_enter_writer() 188 avl_add(tree, new); in zfs_rangelock_enter_writer() 195 lr = avl_find(tree, new, &where); in zfs_rangelock_enter_writer() 201 lr->lr_offset < new->lr_offset + new->lr_length) in zfs_rangelock_enter_writer() 206 lr->lr_offset + lr->lr_length > new->lr_offset) in zfs_rangelock_enter_writer() [all …]
|
| /freebsd/contrib/llvm-project/lldb/bindings/python/ |
| H A D | python-swigsafecast.swig | 17 return ToSWIGWrapper(std::unique_ptr<lldb::SBValue>(new lldb::SBValue(value_sp))); 21 return ToSWIGHelper(new lldb::SBTarget(std::move(target_sp)), 26 return ToSWIGHelper(new lldb::SBProcess(std::move(process_sp)), 31 return ToSWIGHelper(new lldb::SBModule(std::move(module_sp)), 36 return ToSWIGHelper(new lldb::SBThreadPlan(std::move(thread_plan_sp)), 41 return ToSWIGHelper(new lldb::SBBreakpoint(std::move(breakpoint_sp)), 46 return ToSWIGHelper(new lldb::SBError(std::move(status)), SWIGTYPE_p_lldb__SBError); 54 …return ToSWIGWrapper(std::unique_ptr<lldb::SBStructuredData>(new lldb::SBStructuredData(data_impl)… 58 return ToSWIGHelper(new lldb::SBThread(std::move(thread_sp)), 63 return ToSWIGHelper(new lldb::SBFrame(std::move(frame_sp)), [all …]
|
| /freebsd/contrib/tcsh/ |
| H A D | ma.setp.c | 347 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/tools/test/stress2/misc/ |
| H A D | tmpfs8.sh | 72 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/tcpdump/ |
| H A D | makemib | 182 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 D | hash.c | 146 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/crypto/openssl/crypto/hashtable/ |
| H A D | hashtable.c | 179 HT *new = OPENSSL_zalloc(sizeof(*new)); in ossl_ht_new() local 181 if (new == NULL) in ossl_ht_new() 184 new->atomic_lock = CRYPTO_THREAD_lock_new(); in ossl_ht_new() 185 if (new->atomic_lock == NULL) in ossl_ht_new() 188 memcpy(&new->config, conf, sizeof(*conf)); in ossl_ht_new() 190 if (new->config.init_neighborhoods != 0) { in ossl_ht_new() 191 new->wpd.neighborhood_len = new->config.init_neighborhoods; in ossl_ht_new() 193 new->wpd.neighborhood_len--; in ossl_ht_new() 194 new->wpd.neighborhood_len |= new->wpd.neighborhood_len >> 1; in ossl_ht_new() 195 new->wpd.neighborhood_len |= new->wpd.neighborhood_len >> 2; in ossl_ht_new() [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_rename/ |
| H A D | zfs_rename_013_pos.ksh | 50 datasetexists $TESTPOOL/$TESTCTR@snap-new && \ 51 destroy_dataset $TESTPOOL/$TESTCTR@snap-new -f 56 datasetexists $TESTPOOL@snap-new && \ 57 destroy_dataset $TESTPOOL@snap-new -f 69 log_must zfs rename -r $TESTPOOL/$TESTCTR@snap $TESTPOOL/$TESTCTR@snap-new 70 log_must datasetexists $TESTPOOL/$TESTCTR@snap-new 73 log_must zfs rename -r $TESTPOOL@snap $TESTPOOL@snap-new 74 log_must datasetexists $TESTPOOL/$TESTCTR@snap-new 75 log_must datasetexists $TESTPOOL@snap-new 77 log_must zfs destroy -f $TESTPOOL/$TESTCTR@snap-new [all …]
|
| /freebsd/crypto/openssl/crypto/ |
| H A D | threads_win.c | 129 struct rcu_qp *new = OPENSSL_zalloc(sizeof(*new) * count); in allocate_new_qp_group() local 132 return new; in allocate_new_qp_group() 137 struct rcu_lock_st *new; in ossl_rcu_lock_new() local 149 new = OPENSSL_zalloc(sizeof(*new)); in ossl_rcu_lock_new() 151 if (new == NULL) in ossl_rcu_lock_new() 154 new->ctx = ctx; in ossl_rcu_lock_new() 155 new->rw_lock = CRYPTO_THREAD_lock_new(); in ossl_rcu_lock_new() 156 new->write_lock = ossl_crypto_mutex_new(); in ossl_rcu_lock_new() 157 new->alloc_signal = ossl_crypto_condvar_new(); in ossl_rcu_lock_new() 158 new->prior_signal = ossl_crypto_condvar_new(); in ossl_rcu_lock_new() [all …]
|
| /freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_rename/ |
| H A D | zfs_rename_013_pos.ksh | 64 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 D | shlib-compat-dirs.sh | 12 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 D | ip_reass_test.c | 192 (uintmax_t)old.ips_ ## counter, (uintmax_t)new.ips_## counter); 206 struct ipstat old, new; in ATF_TC_BODY() local 245 get_ipstat(&new); in ATF_TC_BODY() 246 CHECK_IP_COUNTER(&old, &new, fragdropped); in ATF_TC_BODY() 253 get_ipstat(&new); in ATF_TC_BODY() 254 CHECK_IP_COUNTER(&old, &new, fragdropped); in ATF_TC_BODY() 259 get_ipstat(&new); in ATF_TC_BODY() 260 CHECK_IP_COUNTER(&old, &new, fragdropped); in ATF_TC_BODY() 265 get_ipstat(&new); in ATF_TC_BODY() 266 CHECK_IP_COUNTER(&old, &new, fragdropped); in ATF_TC_BODY() [all …]
|