/freebsd/tools/tools/kernelcruft/ |
H A D | kernelcruft.sh | 13 ' | sort -u > /tmp/_0 19 ' | sort -u > /tmp/_1 21 find * -name '*.[ch]' -print | xargs grep 'include.*c[>"]' > /tmp/_2 27 ' > /tmp/_3 29 comm -13 /tmp/_0 /tmp/_1 | while read f 32 if grep $b /tmp/_2 > /dev/null ; then 36 if grep $b /tmp/_3 > /dev/null ; then
|
/freebsd/contrib/libedit/ |
H A D | Makefile | 73 CLEANFILES+=common.h.tmp emacs.h.tmp fcns.h.tmp func.h.tmp 74 CLEANFILES+=help.h.tmp vi.h.tmp tc1.o tc1 .depend 94 > ${.TARGET}.tmp && \ 95 mv ${.TARGET}.tmp ${.TARGET} 100 > ${.TARGET}.tmp && \ 101 mv ${.TARGET}.tmp ${.TARGET} 106 > ${.TARGET}.tmp && \ 107 mv ${.TARGET}.tmp ${.TARGET} 112 mv ${.TARGET}.tmp ${.TARGET} 117 mv ${.TARGET}.tmp ${.TARGET} [all …]
|
/freebsd/sys/dev/bwn/ |
H A D | if_bwn_phy_lp.c | 901 tmp[4] = ((tmp[3] + tmp[2]) / (tmp[2] << 1)) - 8; in bwn_phy_lp_b2063_switch_channel() 904 tmp[4] = ((tmp[3] + (tmp[2] >> 1)) / tmp[2]) - 8; in bwn_phy_lp_b2063_switch_channel() 996 tmp[5] = tmp[2] / tmp[3]; in bwn_phy_lp_b2062_switch_channel() 997 tmp[6] = tmp[2] % tmp[3]; in bwn_phy_lp_b2062_switch_channel() 1000 tmp[5] = tmp[4] / tmp[3]; in bwn_phy_lp_b2062_switch_channel() 1001 tmp[6] = tmp[4] % tmp[3]; in bwn_phy_lp_b2062_switch_channel() 1004 tmp[5] = tmp[4] / tmp[3]; in bwn_phy_lp_b2062_switch_channel() 1005 tmp[6] = tmp[4] % tmp[3]; in bwn_phy_lp_b2062_switch_channel() 1008 tmp[5] = tmp[4] / tmp[3]; in bwn_phy_lp_b2062_switch_channel() 1009 tmp[6] = tmp[4] % tmp[3]; in bwn_phy_lp_b2062_switch_channel() [all …]
|
/freebsd/crypto/openssl/crypto/aes/asm/ |
H A D | aes-586.pl | 458 &movz ($tmp,&BP(-128,$te,$tmp,1)); 467 &movz ($tmp,&BP(-128,$te,$tmp,1)); 475 &movz ($tmp,&BP(-128,$te,$tmp,1)); 829 &mov ($tmp,&DWP(0,$te,$tmp,8)); 838 &mov ($tmp,&DWP(0,$te,$tmp,8)); 846 &mov ($tmp,&DWP(2,$te,$tmp,8)); 1256 &movz ($tmp,&BP(-128,$td,$tmp,1)); 1264 &movz ($tmp,&BP(-128,$td,$tmp,1)); 1654 &movz ($tmp,&BP(0,$td,$tmp,1)); 1662 &movz ($tmp,&BP(0,$td,$tmp,1)); [all …]
|
/freebsd/sys/fs/tarfs/ |
H A D | tarfs_vfsops.c | 405 MPASS(tmp != NULL); in tarfs_free_mount() 418 mp = tmp->vfs; in tarfs_free_mount() 871 tmp = NULL; in tarfs_alloc_mount() 887 tmp = malloc(sizeof(*tmp), M_TARFSMNT, M_WAITOK | M_ZERO); in tarfs_alloc_mount() 889 mp->mnt_data = tmp; in tarfs_alloc_mount() 894 tmp->ino_unr = new_unrhdr(TARFS_MININO, INT_MAX, &tmp->allnode_lock); in tarfs_alloc_mount() 895 tmp->vp = vp; in tarfs_alloc_mount() 896 tmp->vfs = mp; in tarfs_alloc_mount() 909 tmp->root = root; in tarfs_alloc_mount() 920 *tmpp = tmp; in tarfs_alloc_mount() [all …]
|
/freebsd/contrib/mandoc/ |
H A D | gmdiff | 48 $ROFF -mandoc $file | $COLPIPE 2> /tmp/roff.err > /tmp/roff.out 50 2> /tmp/mandoc.err > /tmp/mandoc.out 52 [ -s /tmp/$i.err ] && echo "$i errors:" && cat /tmp/$i.err 54 diff -au $DIFFOPT /tmp/roff.out /tmp/mandoc.out 2>&1
|
/freebsd/share/examples/sound/ |
H A D | ossinit.h | 147 int tmp; in oss_init() local 176 tmp = 0; in oss_init() 177 ioctl(config->fd, SNDCTL_DSP_COOKEDMODE, &tmp); in oss_init() 184 tmp = config->channels; in oss_init() 190 fprintf(stderr, ", set to %d!\n", tmp); in oss_init() 192 config->channels = tmp; in oss_init() 195 tmp = config->format; in oss_init() 196 error = ioctl(config->fd, SNDCTL_DSP_SETFMT, &tmp); in oss_init() 198 if (tmp != config->format) { in oss_init() 204 tmp = config->sample_rate; in oss_init() [all …]
|
/freebsd/contrib/ee/ |
H A D | new_curse.c | 2080 tmp = tmp->next_screen; 2503 tmp = tmp->next_screen; 2510 tmp = tmp->next_screen; 2604 tmp = tmp->next_screen; 2608 tmp = tmp->next_screen; 2982 tmp = tmp->next_screen; 2990 tmp = tmp->next_screen; 3002 tmp = tmp->next_screen; 3005 tmp = tmp->next_screen; 3049 tmp = tmp->next_screen; [all …]
|
/freebsd/sys/arm64/include/ |
H A D | asm.h | 81 #define SET_FAULT_HANDLER(handler, tmp) \ argument 82 ldr tmp, [x18, #PC_CURTHREAD]; /* Load curthread */ \ 83 ldr tmp, [tmp, #TD_PCB]; /* Load the pcb */ \ 84 str handler, [tmp, #PCB_ONFAULT] /* Set the handler */ 86 #define ENTER_USER_ACCESS(reg, tmp) \ argument 87 ldr tmp, =has_pan; /* Get the addr of has_pan */ \ 88 ldr reg, [tmp]; /* Read it */ \ 98 #define EXIT_USER_ACCESS_CHECK(reg, tmp) \ argument 99 ldr tmp, =has_pan; /* Get the addr of has_pan */ \ 100 ldr reg, [tmp]; /* Read it */ \
|
/freebsd/usr.sbin/iscsid/ |
H A D | login.c | 333 int which, tmp; in login_negotiate_key() local 342 tmp = strtoul(value, NULL, 10); in login_negotiate_key() 343 if (tmp < 0 || tmp > 31) in login_negotiate_key() 394 if (tmp <= 0) in login_negotiate_key() 399 "from %d to %d", tmp, in login_negotiate_key() 406 if (tmp <= 0) in login_negotiate_key() 416 if (tmp <= 0) in login_negotiate_key() 447 if (tmp <= 0) in login_negotiate_key() 452 "from %d to %d", tmp, in login_negotiate_key() 461 if (tmp <= 0) { in login_negotiate_key() [all …]
|
/freebsd/crypto/openssl/test/ |
H A D | x509_internal_test.c | 33 const X509V3_EXT_METHOD **tmp; in test_standard_exts() local 35 tmp = standard_exts; in test_standard_exts() 36 for (i = 0; i < OSSL_NELEM(standard_exts); i++, tmp++) { in test_standard_exts() 37 if ((*tmp)->ext_nid < prev) in test_standard_exts() 39 prev = (*tmp)->ext_nid; in test_standard_exts() 43 tmp = standard_exts; in test_standard_exts() 45 for (i = 0; i < STANDARD_EXTENSION_COUNT; i++, tmp++) in test_standard_exts() 46 TEST_note("%d : %s", (*tmp)->ext_nid, OBJ_nid2sn((*tmp)->ext_nid)); in test_standard_exts()
|
/freebsd/tools/test/stress2/misc/ |
H A D | quota5.sh | 33 if ! grep /tmp /etc/fstab | grep -q quota ; then 37 edquota -u -f /tmp -e /tmp:1500000:1400000:200000:180000 $testuser 38 edquota -g -f /tmp -e /tmp:1500000:1400000:200000:180000 $testuser 39 quotaon /tmp 44 quotaoff /tmp
|
H A D | snap.sh | 35 rm -f /tmp/.snap/stress2 40 mksnap_ffs /tmp /tmp/.snap/stress2 41 mdconfig -a -t vnode -f /tmp/.snap/stress2 -u $mdstart -o readonly || s=1 48 rm -f /tmp/.snap/stress2 52 mksnap_ffs /tmp /tmp/.snap/stress2 53 rm -f /tmp/.snap/stress2
|
H A D | syzkaller63.sh | 44 cat > /tmp/$prog.c <<EOF 69 mycc -o /tmp/$prog -Wall -Wextra -O0 /tmp/$prog.c || exit 1 71 (cd /tmp; timeout -k 3s 2s ./$prog) 73 rm -rf /tmp/$prog /tmp/$prog.c /tmp/$prog.core \ 74 /tmp/syzkaller.??????
|
H A D | oovm2.sh | 55 dir=/tmp 63 (cd /tmp; /tmp/oovm2 $d1) & 64 (cd /tmp; /tmp/oovm2 $d2) & 65 (cd /tmp; /tmp/oovm2 $d3) & 66 (cd /tmp; /tmp/oovm2 $d4) & 69 rm -f /tmp/oovm2 /tmp/oovm2.core
|
/freebsd/contrib/wpa/src/tls/ |
H A D | rsa.c | 259 struct bignum *tmp, *a = NULL, *b = NULL; in crypto_rsa_exptmod() local 266 tmp = bignum_init(); in crypto_rsa_exptmod() 267 if (tmp == NULL) in crypto_rsa_exptmod() 272 if (bignum_cmp(key->n, tmp) < 0) { in crypto_rsa_exptmod() 305 if (bignum_sub(a, b, tmp) < 0 || in crypto_rsa_exptmod() 306 bignum_mulmod(tmp, key->iqmp, key->p, tmp) < 0) in crypto_rsa_exptmod() 310 if (bignum_mul(tmp, key->q, tmp) < 0 || in crypto_rsa_exptmod() 311 bignum_add(tmp, b, tmp) < 0) in crypto_rsa_exptmod() 316 if (bignum_exptmod(tmp, key->e, key->n, tmp) < 0) in crypto_rsa_exptmod() 332 tmp, out + in crypto_rsa_exptmod() [all …]
|
/freebsd/sys/contrib/zstd/doc/educational_decoder/ |
H A D | Makefile | 47 @$(ZSTD) -f README.md -o tmp.zst 48 @./harness tmp.zst tmp 49 @$(DIFF) -s tmp README.md 50 @$(RM) tmp* 59 @$(ZSTD) -f README.md -D dictionary -o tmp.zst 60 @./harness tmp.zst tmp dictionary 61 @$(DIFF) -s tmp README.md 62 @$(RM) tmp* dictionary
|
/freebsd/sys/dev/ral/ |
H A D | rt2860.c | 239 uint32_t tmp; in rt2860_attach() local 254 if (tmp != 0 && tmp != 0xffffffff) in rt2860_attach() 820 if ((tmp & (1 << 29)) && (tmp & (1 << 7 | 1 << 5))) { in rt2860_updatestats() 993 return (addr & 2) ? tmp >> 16 : tmp & 0xffff; in rt3090_efuse_read_2() 2203 tmp = (tmp >> (slot * 8)) & 0xff; in rt2860_mcu_cmd() 2391 tmp = (tmp & ~0x00001000) | 0x00000010; in rt2860_select_chan_group() 2579 tmp = rf; in rt5390_set_chan() 2868 tmp = (tmp & ~0x1f000000) | 0x0d000000; in rt3090_rf_wakeup() 2904 tmp = (tmp & ~0x1f000000) | 0x0d000000; in rt5390_rf_wakeup() 3031 tmp = (tmp & 0xffff) | ms << RT2860_GP_TIMER_SHIFT; in rt2860_set_gp_timer() [all …]
|
/freebsd/sys/contrib/libfdt/ |
H A D | libfdt.h | 1196 fdt32_t tmp = cpu_to_fdt32(val); in fdt_setprop_inplace_u32() local 1197 return fdt_setprop_inplace(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_inplace_u32() 1231 fdt64_t tmp = cpu_to_fdt64(val); in fdt_setprop_inplace_u64() local 1232 return fdt_setprop_inplace(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_inplace_u64() 1308 fdt32_t tmp = cpu_to_fdt32(val); in fdt_property_u32() local 1309 return fdt_property(fdt, name, &tmp, sizeof(tmp)); in fdt_property_u32() 1314 return fdt_property(fdt, name, &tmp, sizeof(tmp)); in fdt_property_u64() 1517 return fdt_setprop(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_u32() 1552 return fdt_setprop(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_u64() 1689 return fdt_appendprop(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_appendprop_u32() [all …]
|
/freebsd/contrib/unifdef/ |
H A D | unifdefall.sh | 43 tmp=$(mktemp -d "${TMPDIR:-/tmp}/${0##*/}.XXXXXXXXXX") || exit 2 49 "$unifdef" $debug -s "$@" | sort -u | sed 's/^/#undef /' >"$tmp/undefs" 51 cc -E -dM "$@" | sort >"$tmp/defs" 54 -d) cat "$tmp/undefs" "$tmp/defs" 1>&2 58 "$unifdef" $debug -k -f "$tmp/undefs" -f "$tmp/defs" "$@"
|
/freebsd/sys/contrib/ncsw/Peripherals/FM/MAC/ |
H A D | fman_dtsec_mii_acc.c | 94 uint32_t tmp; in fman_dtsec_mii_write_reg() local 103 tmp = ioread32be(®s->miimcom); in fman_dtsec_mii_write_reg() 107 tmp = (uint32_t)((addr << MIIMADD_PHY_ADDR_SHIFT) | reg); in fman_dtsec_mii_write_reg() 108 iowrite32be(tmp, ®s->miimadd); in fman_dtsec_mii_write_reg() 114 tmp = ioread32be(®s->miimcon); in fman_dtsec_mii_write_reg() 128 uint32_t tmp; in fman_dtsec_mii_read_reg() local 135 tmp = (uint32_t)((addr << MIIMADD_PHY_ADDR_SHIFT) | reg); in fman_dtsec_mii_read_reg() 136 iowrite32be(tmp, ®s->miimadd); in fman_dtsec_mii_read_reg() 142 tmp = ioread32be(®s->miimcom); in fman_dtsec_mii_read_reg() 156 tmp = ioread32be(®s->miimcom); in fman_dtsec_mii_read_reg()
|
/freebsd/sys/contrib/zlib/ |
H A D | adler32.c | 27 unsigned long tmp = a >> 16; \ 29 a += (tmp << 4) - tmp; \ 43 z_off64_t tmp = a >> 32; \ 45 a += (tmp << 8) - (tmp << 5) + tmp; \ 46 tmp = a >> 16; \ 48 a += (tmp << 4) - tmp; \ 49 tmp = a >> 16; \ 51 a += (tmp << 4) - tmp; \
|
/freebsd/tools/regression/msdosfs/ |
H A D | msdosfstest-3.sh | 6 mkdir /tmp/msdosfstest/ 10 mount_msdosfs -L zh_TW.Big5 -D CP950 /dev/md10a /tmp/msdosfstest/ 13 mkdir /tmp/msdosfstest/012345678_$'\250\270\264\143\244\247\254\374' 14 cd /tmp/msdosfstest/012345678_$'\250\270\264\143\244\247\254\374' 20 cd /tmp 21 umount /tmp/msdosfstest/ 23 rmdir /tmp/msdosfstest/
|
/freebsd/crypto/heimdal/lib/gssapi/krb5/ |
H A D | import_name.c | 66 char *tmp; in import_krb5_name() local 69 if (tmp == NULL) { in import_krb5_name() 73 memcpy (tmp, in import_krb5_name() 76 tmp[input_name_buffer->length] = '\0'; in import_krb5_name() 79 free(tmp); in import_krb5_name() 138 char *tmp, *p, *host = NULL; in import_hostbased_name() local 141 if (tmp == NULL) { in import_hostbased_name() 145 memcpy (tmp, in import_hostbased_name() 148 tmp[input_name_buffer->length] = '\0'; in import_hostbased_name() 150 p = strchr (tmp, '@'); in import_hostbased_name() [all …]
|
/freebsd/crypto/heimdal/lib/krb5/ |
H A D | salt-des.c | 125 DES_cblock tmp; in DES_AFS3_string_to_key() local 127 krb5_DES_AFS3_Transarc_string_to_key(password, salt.saltvalue, &tmp); in DES_AFS3_string_to_key() 129 krb5_DES_AFS3_CMU_string_to_key(password, salt.saltvalue, &tmp); in DES_AFS3_string_to_key() 131 krb5_data_copy(&key->keyvalue, tmp, sizeof(tmp)); in DES_AFS3_string_to_key() 151 unsigned char tmp = data[i]; in DES_string_to_key_int() local 153 *p++ ^= (tmp << 1); in DES_string_to_key_int() 155 *--p ^= (swap[tmp & 0xf] << 4) | swap[(tmp & 0xf0) >> 4]; in DES_string_to_key_int() 180 DES_cblock tmp; in krb5_DES_string_to_key() local 200 DES_string_to_key_int(s, len, &tmp); in krb5_DES_string_to_key() 202 krb5_data_copy(&key->keyvalue, tmp, sizeof(tmp)); in krb5_DES_string_to_key() [all …]
|