/freebsd/sys/arm/xilinx/ |
H A D | uart_dev_cdnc.c | 480 uint32_t new, old, modem_ctrl; in cdnc_uart_bus_setsig() local 484 new = old; in cdnc_uart_bus_setsig() 486 SIGCHG(sig & SER_DTR, new, SER_DTR, SER_DDTR); in cdnc_uart_bus_setsig() 489 SIGCHG(sig & SER_RTS, new, SER_RTS, SER_DRTS); in cdnc_uart_bus_setsig() 491 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, new)); in cdnc_uart_bus_setsig() 495 if ((new & SER_DTR) != 0) in cdnc_uart_bus_setsig() 497 if ((new & SER_RTS) != 0) in cdnc_uart_bus_setsig() 615 uint32_t new, old, sig; in cdnc_uart_bus_getsig() local 632 new = sig & ~SER_MASK_DELTA; in cdnc_uart_bus_getsig() 633 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, new)); in cdnc_uart_bus_getsig()
|
/freebsd/crypto/openssh/regress/ |
H A D | hostkey-rotate.sh | 127 ${SSHKEYGEN} -qt ${primary} -f $OBJ/hkr.${primary}-new -N '' || fatal "ssh-keygen ed25519" 128 ( cat $OBJ/sshd_proxy.orig ; echo HostKey $OBJ/hkr.${primary}-new ) \ 134 check_key_present ${primary} $OBJ/hkr.${primary}-new.pub || fail "new key missing" 140 mv $OBJ/hkr.${primary}-new.pub $OBJ/hkr.${primary}.pub 141 mv $OBJ/hkr.${primary}-new $OBJ/hkr.${primary}
|
/freebsd/sys/kern/ |
H A D | kern_clocksource.c | 378 sbintime_t new; local 395 new = timerperiod - tmp; 397 new += timerperiod; 400 (int)(new >> 32), (u_int)(new & 0xffffffff)); 401 *next = new + now; 402 et_start(timer, new, timerperiod); 405 new = getnextevent(state); 406 eq = (new == *next); 408 (int)(new >> 32), (u_int)(new & 0xffffffff), eq); 410 *next = new; [all …]
|
/freebsd/sbin/routed/ |
H A D | rdisc.c | 447 struct rt_spare new; in rdisc_sort() local 508 new = rt->rt_spares[0]; in rdisc_sort() 509 new.rts_metric = HOPCNT_INFINITY; in rdisc_sort() 512 &new, 0); in rdisc_sort() 533 memset(&new, 0, sizeof(new)); in rdisc_sort() 534 new.rts_ifp = new_drp->dr_ifp; in rdisc_sort() 535 new.rts_gate = new_drp->dr_gate; in rdisc_sort() 536 new.rts_router = new_drp->dr_gate; in rdisc_sort() 537 new.rts_metric = HOPCNT_INFINITY-1; in rdisc_sort() 538 new.rts_time = now.tv_sec; in rdisc_sort() [all …]
|
/freebsd/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/ |
H A D | _nvlist.py | 71 nvlistp = _ffi.new("nvlist_t **") 96 nvlistp = _ffi.new("nvlist_t **") 202 nvlistp = _ffi.new('nvlist_t **') 213 c_array.append(_ffi.new('char[]', string)) 243 valptr = _ffi.new(typeinfo.ctype) 244 lenptr = _ffi.new("uint_t *") 256 valptr = _ffi.new(typeinfo.ctype)
|
/freebsd/tools/test/stress2/tools/ |
H A D | bench.c | 156 char file[128], new[128]; in rn1() local 172 snprintf(new, sizeof(new), "%s.%06d.%03d.new", in rn1() 174 if (rename(file, new) == -1) in rn1() 175 err(1, "rename(%s, %s)", file, new); in rn1() 176 if (unlink(new) == -1) in rn1() 177 err(1, "unlink(%s)", new); in rn1()
|
/freebsd/usr.bin/xstr/ |
H A D | xstr.c | 330 hashit(char *str, int new) in hashit() argument 349 hp->hnew = new; in hashit() 360 int old = 0, new = 0; in flushsh() local 365 new++; in flushsh() 368 if (new == 0 && old != 0) in flushsh() 388 found(int new, off_t off, char *str) in found() argument 392 if (!new) in found()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/hexagon/ |
H A D | udivsi3.S | 43 if (!p0.new) r1 = sub(r1,r2) 44 if (!p0.new) r0 = add(r0,r3) 49 if (!p0.new) r0 = add(r0,r3)
|
H A D | dfdiv.S | 184 if (!P_TMP.new) PRODLO = #2 193 if (!P_TMP.new) QL = or(QL,ONE) 233 if (P_TMP.new) jump:nt .Ldiv_ovf 237 if (P_TMP.new) jump:nt .Lpossible_unf // round up to normal possible... 266 if (!P_TMP.new) PRODLO = or(BL,PRODLO) 272 if (!P_TMP.new) TMP = TMP1 344 if (p0.new) B = PROD // go to inf 471 if (!p0.new) A = B 472 if (!p1.new) B = A
|
/freebsd/contrib/llvm-project/clang/lib/Headers/openmp_wrappers/ |
H A D | __clang_openmp_device_functions.h | 78 inline void *operator new(__SIZE_TYPE__ size) { in new() function 84 inline void *operator new[](__SIZE_TYPE__ size) { return ::operator new(size); }
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | SSL_key_update.pod | 50 When called from the client side, SSL_renegotiate() schedules a completely new 55 attempt to resume any session associated with the connection in the new 60 session associated with the current connection in the new handshake. 64 for a new handshake to be sent to the client. The next time an IO operation is 66 appropriate, the request is sent. The client may or may not respond with a new 68 a new handshake is started then this will be handled transparently by calling 74 new handshake. For historical reasons, DTLS clients will not attempt to resume 75 the session in the new handshake.
|
/freebsd/sys/riscv/sifive/ |
H A D | sifive_uart.c | 291 uint32_t new, old, sig; in sfuart_bus_getsig() local 299 new = sig & ~SER_MASK_DELTA; in sfuart_bus_getsig() 300 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, new)); in sfuart_bus_getsig() 308 uint32_t new, old; in sfuart_bus_setsig() local 312 new = old; in sfuart_bus_setsig() 314 SIGCHG(sig & SER_DTR, new, SER_DTR, SER_DDTR); in sfuart_bus_setsig() 317 SIGCHG(sig & SER_RTS, new, SER_RTS, SER_DRTS); in sfuart_bus_setsig() 319 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, new)); in sfuart_bus_setsig()
|
/freebsd/contrib/tcp_wrappers/ |
H A D | environ.c | 129 char *new = malloc(new_len); in cmalloc() local 131 if (new != 0) in cmalloc() 132 memcpy(new, old, old_len); in cmalloc() 133 return (new); in cmalloc()
|
/freebsd/contrib/bmake/mk/ |
H A D | dirdeps-cache-update.mk | 140 x!= echo; echo ${.MAKE.PID} > ${DIRDEPS_CACHE}.new.pid 143 @rm -f ${DIRDEPS_CACHE}.new.pid 166 @test -s ${DYNAMIC_DIRDEPS_CACHE}.new || exit 0; \ 167 pid=`cat ${DYNAMIC_DIRDEPS_CACHE}.new.pid 2> /dev/null`; \
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/ |
H A D | zpool_import_005_pos.ksh | 73 log_must mv $VDEV0 $DEVICE_DIR/vdev0-new 79 log_must mv $VDEV1 $DEVICE_DIR/newdir1/vdev1-new 80 log_must mv $VDEV2 $DEVICE_DIR/newdir2/vdev2-new
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_rename/ |
H A D | zfs_rename_001_pos.ksh | 68 rename_dataset ${dataset[i]} ${dataset[i]}-new 103 if datasetexists ${dataset[i]}-new ; then 104 log_must zfs rename ${dataset[i]}-new ${dataset[i]}
|
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_rename/ |
H A D | zfs_rename_001_pos.ksh | 75 rename_dataset ${dataset[i]} ${dataset[i]}-new 110 if datasetexists ${dataset[i]}-new ; then 111 log_must $ZFS rename ${dataset[i]}-new ${dataset[i]}
|
/freebsd/contrib/llvm-project/libcxx/modules/std/ |
H A D | new.inc | 18 // global operator new control 38 using ::operator new; 40 using ::operator new[];
|
/freebsd/contrib/nvi/ex/ |
H A D | ex_tag.c | 254 SCR *new; in ex_tag_Nswitch() local 264 (void)file_end(new, new->ep, 1); in ex_tag_Nswitch() 265 (void)screen_end(new); in ex_tag_Nswitch() 272 new->ep = sp->ep; in ex_tag_Nswitch() 273 ++new->ep->refcnt; in ex_tag_Nswitch() 275 new->frp = tp->frp; in ex_tag_Nswitch() 279 (void)screen_end(new); in ex_tag_Nswitch() 284 new->cargv = new->argv = ex_buildargv(sp, NULL, tp->frp->name); in ex_tag_Nswitch() 287 F_CLR(new, SC_SCR_TOP); in ex_tag_Nswitch() 288 F_SET(new, SC_SCR_CENTER); in ex_tag_Nswitch() [all …]
|
/freebsd/contrib/diff/src/ |
H A D | util.c | 98 struct msg *new; in message5() local 109 new = xmalloc (total_size); in message5() 111 for (i = 0, p = new->args; i < 5; p += size[i++]) in message5() 114 *msg_chain_end = new; in message5() 115 new->next = 0; in message5() 116 msg_chain_end = &new->next; in message5() 733 char *new = xmalloc (strlen (s1) + strlen (s2) + strlen (s3) + 1); in concat() local 734 sprintf (new, "%s%s%s", s1, s2, s3); in concat() 735 return new; in concat()
|
/freebsd/sbin/dhclient/ |
H A D | dhclient.c | 726 ip->client->new = picked; in state_selecting() 789 ip->client->new = lease; in dhcpack() 812 ip->client->new->expiry = 60; in dhcpack() 826 ip->client->new->renewal = ip->client->new->expiry / 2; in dhcpack() 828 ip->client->new->renewal > ip->client->new->expiry / 2) in dhcpack() 829 ip->client->new->renewal = ip->client->new->expiry / 2; in dhcpack() 840 ip->client->new->rebind = ip->client->new->renewal / 4 * 7; in dhcpack() 842 ip->client->new->rebind > ip->client->new->renewal / 4 * 7) in dhcpack() 843 ip->client->new->rebind = ip->client->new->renewal / 4 * 7; in dhcpack() 897 ip->client->new->medium); in bind_lease() [all …]
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | dmu_redact.c | 141 struct redact_record *new) in record_merge_enqueue() argument 143 if (new->eos_marker) { in record_merge_enqueue() 146 bqueue_enqueue_flush(q, new, sizeof (*new)); in record_merge_enqueue() 150 *build = new; in record_merge_enqueue() 161 kmem_free(new, sizeof (*new)); in record_merge_enqueue() 164 *build = new; in record_merge_enqueue() 608 boolean_t new; in update_redaction_list() local 610 new = B_TRUE; in update_redaction_list() 619 new = B_FALSE; in update_redaction_list() 622 new = B_TRUE; in update_redaction_list() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Instructions.h | 341 void *operator new(size_t S) { return User::operator new(S, 2); } in new() function 465 void *operator new(size_t S) { return User::operator new(S, 0); } 548 void *operator new(size_t S) { return User::operator new(S, 3); } 808 void *operator new(size_t S) { return User::operator new(S, 2); } 2002 void *operator new(size_t S) { return User::operator new(S, 2); } 2494 return new 2611 void *operator new(size_t S) { return User::operator new(S, 2); } 2989 void *operator new(size_t S) { return User::operator new(S); } 3321 void *operator new(size_t S) { return User::operator new(S); } 3713 void *operator new(size_t S) { return User::operator new(S); } [all …]
|
/freebsd/contrib/netbsd-tests/lib/libpthread/ |
H A D | t_preempt.c | 80 pthread_t new; in ATF_TC_BODY() local 102 PTHREAD_REQUIRE(pthread_create(&new, NULL, threadfunc, NULL)); in ATF_TC_BODY() 118 PTHREAD_REQUIRE(pthread_join(new, &joinval)); in ATF_TC_BODY()
|
H A D | t_barrier.c | 76 pthread_t new[COUNT]; in ATF_TC_BODY() local 86 PTHREAD_REQUIRE(pthread_create(&new[i], NULL, threadfunc, in ATF_TC_BODY() 92 PTHREAD_REQUIRE(pthread_join(new[i], &joinval)); in ATF_TC_BODY()
|