/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/
|
H A D | msdosfstest-2.sh | 6 mkdir /tmp/msdosfstest/ 10 mount_msdosfs /dev/md10a /tmp/msdosfstest/ 11 cat /tmp/msdosfstest/foo 12 touch /tmp/msdosfstest/FOO 13 cat /tmp/msdosfstest/foo 19 umount /tmp/msdosfstest/ 21 rmdir /tmp/msdosfstest/
|
H A D | msdosfstest-6.sh | 6 mkdir /tmp/msdosfstest/ 10 mount_msdosfs -L zh_TW.Big5 -D CP950 /dev/md10a /tmp/msdosfstest/ 16 mkdir /tmp/msdosfstest/$subdir 17 cd /tmp/msdosfstest/$subdir 23 cd /tmp 24 umount /tmp/msdosfstest/ 26 rm -rf /tmp/msdosfstest/
|
/freebsd/sys/contrib/ncsw/Peripherals/FM/Pcd/ |
H A D | fman_prs.c | 74 uint32_t tmp; in fman_prs_init() local 87 tmp = 0; in fman_prs_init() 89 tmp |= FM_PCD_PRS_DOUBLE_ECC; in fman_prs_init() 90 iowrite32be(tmp, ®s->fmpr_perer); in fman_prs_init() 99 uint32_t tmp; in fman_prs_enable() local 101 tmp = ioread32be(®s->fmpr_rpimac) | FM_PCD_PRS_RPIMAC_EN; in fman_prs_enable() 102 iowrite32be(tmp, ®s->fmpr_rpimac); in fman_prs_enable() 107 uint32_t tmp; in fman_prs_disable() local 109 tmp = ioread32be(®s->fmpr_rpimac) & ~FM_PCD_PRS_RPIMAC_EN; in fman_prs_disable() 110 iowrite32be(tmp, ®s->fmpr_rpimac); in fman_prs_disable()
|
/freebsd/share/examples/libvgl/ |
H A D | demo.c | 41 VGLBitmap *tmp; in main() local 59 tmp = VGLBitmapCreate(MEMBUF, 256, 256, NULL); in main() 60 VGLBitmapAllocateBits(tmp); in main() 61 VGLClear(tmp, 0); in main() 92 tmp->Bitmap[i+256*j] = i%16; in main() 93 VGLBitmapCopy(tmp, 0, 0, VGLDisplay, 0, 0, 128, 128); in main() 96 tmp->Bitmap[i+256*j] = j%16; in main() 97 VGLBitmapCopy(tmp, 0, 0, VGLDisplay, 3, 128, 128, 128); in main() 99 VGLBitmapCopy(VGLDisplay, 237, 311, tmp, 64, 64, 128, 128); in main() 100 VGLBitmapCopy(tmp, 32, 32, VGLDisplay, 400, 128, 128, 128); in main()
|
/freebsd/contrib/bearssl/src/rsa/ |
H A D | rsa_i62_priv.c | 41 uint64_t tmp[TLEN]; in br_rsa_i62_private() local 94 mq = (uint32_t *)tmp; in br_rsa_i62_private() 100 t1 = (uint32_t *)(tmp + fwlen); in br_rsa_i62_private() 108 t2 = (uint32_t *)(tmp + 2 * fwlen); in br_rsa_i62_private() 121 t3 = (uint32_t *)(tmp + 4 * fwlen); in br_rsa_i62_private() 137 mp = (uint32_t *)(tmp + 2 * fwlen); in br_rsa_i62_private() 144 s2 = (uint32_t *)(tmp + fwlen); in br_rsa_i62_private() 147 tmp + 3 * fwlen, TLEN - 3 * fwlen); in br_rsa_i62_private() 153 s1 = (uint32_t *)(tmp + 3 * fwlen); in br_rsa_i62_private() 171 t1 = (uint32_t *)(tmp + 4 * fwlen); in br_rsa_i62_private() [all …]
|
/freebsd/tools/tools/sysbuild/ |
H A D | sysbuild.sh | 168 set `cat /tmp/_sb_log` 188 true > /tmp/_.plist 189 true > /tmp/_.plist.tdone 235 echo "$d" >> /tmp/_.plist 435 echo $T0 $T0 > /tmp/_sb_log 440 rm -rf /tmp/sysbuild/ports 444 ports_prefetch /tmp 625 cp /tmp/_sb_log ${SBMNT}/tmp 633 cp ${SBMNT}/tmp/_sb_log /tmp 663 cp /tmp/_sb_log ${SBMNT}/tmp [all …]
|
/freebsd/tools/test/stress2/misc/ |
H A D | unionfs2.sh | 31 [ -d /var/tmp/unionfs ] || mkdir -p /var/tmp/unionfs 32 mount_unionfs /var/tmp/unionfs /tmp/stressX 34 export RUNDIR=/var/tmp/unionfs/stressX 39 umount /tmp/stressX > /dev/null 2>&1 41 rm -rf /var/tmp/unionfs
|
H A D | syzkaller22.sh | 30 cat > /tmp/syzkaller22.c <<EOF 63 mycc -o /tmp/syzkaller22 -Wall -Wextra -O0 /tmp/syzkaller22.c || 66 (cd /tmp; timeout 1m ./syzkaller22) 68 rm -f /tmp/syzkaller22 /tmp/syzkaller22.c /tmp/syzkaller22.core /tmp/file0
|
H A D | fsck13.sh | 37 cc -o /tmp/flip -Wall -Wextra -O2 ../tools/flip.c || exit 1 40 echo 'int sync(void) { return (0); }' > /tmp/fsck_preload.c 41 mycc -o /tmp/fsck_preload.so -shared -fpic /tmp/fsck_preload.c || exit 1 42 rm /tmp/fsck_preload.c 58 core=/tmp/$prog.core.`date +%Y%m%dT%H%M%S` 89 LD_PRELOAD=/tmp/fsck_preload.so \ 95 LD_PRELOAD=/tmp/fsck_preload.so \ 119 /tmp/flip -n 50 $diskimage 147 [ $s -ne 0 ] && { gzip $backup; cp -v $backup.gz /tmp; } 148 cd /tmp [all …]
|
H A D | mmap26.sh | 39 dir=/tmp 47 cp /tmp/mmap26 /tmp/mmap26.inputfile 52 (cd /tmp; /tmp/mmap26 /tmp/mmap26.inputfile) 55 rm -f /tmp/mmap26 /tmp/mmap26.inputfile /tmp/mmap26.core
|
H A D | fexecve.sh | 36 cat > /tmp/fexecve.c <<EOF 90 cc -o /tmp/fexecve -Wall -Wextra -O2 /tmp/fexecve.c || exit 1 92 (cd /tmp; /tmp/fexecve) 94 rm -f /tmp/fexecve /tmp/fexecve.c /tmp/fexecve.??????
|
H A D | callout_reset_on2.sh | 33 rm -f /tmp/crwriter2 /tmp/crlogger2 || exit 1 35 cat > /tmp/crwriter2.c <<EOF 74 mycc -o /tmp/crwriter2 -Wall -Wextra -O2 -g /tmp/crwriter2.c 75 rm -f /tmp/crwriter2.c 77 cat > /tmp/crlogger2.c <<EOF 291 mycc -o /tmp/crlogger2 -Wall -Wextra -O2 -g /tmp/crlogger2.c 292 rm -f /tmp/crlogger2.c 295 cd /tmp 297 /tmp/crwriter2 | /tmp/crlogger2 1236$j & 300 rm -f /tmp/crwriter2 /tmp/crlogger2
|
H A D | tmpfs5.sh | 36 cd /tmp 37 sed '1,/^EOF/d' < $here/umountf2.sh > /tmp/fsx.c 38 mycc -o /tmp/fsx -O2 /tmp/fsx.c || exit 1 45 /tmp/fsx -q -N 100000 $mntpoint/file.1 & 46 /tmp/fsx -q -N 100000 $mntpoint/file.2 & 53 rm -f /tmp/fsx
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | getipnodebyaddr.c | 46 struct hostent *tmp; in getipnodebyaddr() local 48 tmp = gethostbyaddr (src, len, af); in getipnodebyaddr() 49 if (tmp == NULL) { in getipnodebyaddr() 65 tmp = copyhostent (tmp); in getipnodebyaddr() 66 if (tmp == NULL) { in getipnodebyaddr() 70 return tmp; in getipnodebyaddr()
|
/freebsd/crypto/heimdal/lib/wind/ |
H A D | test-normalize.c | 91 uint32_t *tmp; in test() local 113 tmp = malloc(norm_len * sizeof(uint32_t)); in test() 114 if (tmp == NULL && norm_len != 0) in test() 116 ret = _wind_stringprep_normalize(in, in_len, tmp, &norm_len); in test() 119 free(tmp); in test() 125 dump_vector("Received", tmp, norm_len); in test() 126 free(tmp); in test() 129 if (memcmp(out, tmp, out_len * sizeof(uint32_t)) != 0) { in test() 132 dump_vector("Received", tmp, norm_len); in test() 133 free(tmp); in test() [all …]
|
/freebsd/crypto/heimdal/lib/krb5/ |
H A D | addr_families.c | 90 memset (&tmp, 0, sizeof(tmp)); in ipv4_addr2sockaddr() 94 memcpy(sa, &tmp, min(sizeof(tmp), *sa_size)); in ipv4_addr2sockaddr() 106 memset (&tmp, 0, sizeof(tmp)); in ipv4_h_addr2sockaddr() 110 memcpy(sa, &tmp, min(sizeof(tmp), *sa_size)); in ipv4_h_addr2sockaddr() 156 memset (&tmp, 0, sizeof(tmp)); in ipv4_anyaddr() 160 memcpy(sa, &tmp, min(sizeof(tmp), *sa_size)); in ipv4_anyaddr() 283 memset (&tmp, 0, sizeof(tmp)); in ipv6_addr2sockaddr() 287 memcpy(sa, &tmp, min(sizeof(tmp), *sa_size)); in ipv6_addr2sockaddr() 299 memset (&tmp, 0, sizeof(tmp)); in ipv6_h_addr2sockaddr() 303 memcpy(sa, &tmp, min(sizeof(tmp), *sa_size)); in ipv6_h_addr2sockaddr() [all …]
|
/freebsd/contrib/unifdef/win32/ |
H A D | win32.c | 42 mktempmode(char *tmp, int mode) in mktempmode() argument 45 return (fopen(_mktemp(tmp), "wb")); in mktempmode() 66 char *tmp; in c99_snprintf() local 80 tmp = (char *)malloc(tmplen); in c99_snprintf() 81 if (tmp == NULL) in c99_snprintf() 84 _vsnprintf(tmp, tmplen, format, ap); in c99_snprintf() 86 memcpy(buf, tmp, cpylen); in c99_snprintf() 88 free(tmp); in c99_snprintf()
|
/freebsd/sys/contrib/ck/include/gcc/arm/ |
H A D | ck_pr.h | 190 T tmp; \ 215 int tmp; \ 259 T tmp; \ 301 void *previous, *tmp; in ck_pr_cas_ptr_value() local 310 "=&r" (tmp) in ck_pr_cas_ptr_value() 322 void *previous, *tmp; in ck_pr_cas_ptr() local 331 "=&r" (tmp) in ck_pr_cas_ptr() 400 T tmp = 0; \ 431 T tmp = 0; \ 472 T tmp = 0; \ [all …]
|
/freebsd/sys/sys/ |
H A D | tree.h | 850 parent = tmp; \ 869 while (tmp) { \ 872 tmp = RB_LEFT(tmp, field); \ 874 tmp = RB_RIGHT(tmp, field); \ 892 res = tmp; \ 893 tmp = RB_LEFT(tmp, field); \ 896 tmp = RB_RIGHT(tmp, field); \ 942 elm = tmp; \ 979 elm = tmp; \ 994 tmp = RB_LEFT(tmp, field); \ [all …]
|
/freebsd/sys/arm/arm/ |
H A D | cpuinfo.c | 94 uint32_t tmp; in cpuinfo_init() local 211 if (tmp >= 1) in cpuinfo_init() 213 if (tmp >= 2) in cpuinfo_init() 217 if (tmp >= 1) in cpuinfo_init() 221 if (tmp >= 1) in cpuinfo_init() 225 if (tmp >= 5) in cpuinfo_init() 230 if (tmp >= 1) in cpuinfo_init() 232 if (tmp >= 2) in cpuinfo_init() 236 if (tmp >= 1) in cpuinfo_init() 240 if (tmp >= 1) in cpuinfo_init() [all …]
|
/freebsd/sys/fs/tarfs/ |
H A D | tarfs_subr.c | 61 unsigned int tmp; in tarfs_sysctl_handle_ioshift() local 65 if ((error = SYSCTL_OUT(req, &tmp, sizeof(tmp))) != 0) in tarfs_sysctl_handle_ioshift() 68 if ((error = SYSCTL_IN(req, &tmp, sizeof(tmp))) != 0) in tarfs_sysctl_handle_ioshift() 70 if (tmp == 0) in tarfs_sysctl_handle_ioshift() 73 tmp = TARFS_IOSHIFT_MIN; in tarfs_sysctl_handle_ioshift() 75 tmp = TARFS_IOSHIFT_MAX; in tarfs_sysctl_handle_ioshift() 179 tnp->tmp = tmp; in tarfs_alloc_node() 256 tmp->nfiles++; in tarfs_alloc_node() 381 struct tarfs_mount *tmp; in tarfs_free_node() local 384 tmp = tnp->tmp; in tarfs_free_node() [all …]
|
/freebsd/crypto/heimdal/kdc/ |
H A D | mit_dump.c | 240 int tmp; in mit_prop_dump() local 268 tmp = getint(&p); in mit_prop_dump() 269 if(tmp != 38) { in mit_prop_dump() 282 if(tmp != 0) { in mit_prop_dump() 284 *ent.entry.max_life = tmp; in mit_prop_dump() 287 if(tmp != 0) { in mit_prop_dump() 289 *ent.entry.max_renew = tmp; in mit_prop_dump() 292 if(tmp != 0 && tmp != 2145830400) { in mit_prop_dump() 297 if(tmp != 0) { in mit_prop_dump() 299 *ent.entry.pw_end = tmp; in mit_prop_dump() [all …]
|
/freebsd/lib/libcompat/4.3/ |
H A D | rexec.c | 134 char *hdir, buf[BUFSIZ], *tmp; in ruserpass() local 230 tmp = macros[macnum].mac_name; in ruserpass() 231 *tmp++ = c; in ruserpass() 234 *tmp++ = c; in ruserpass() 240 *tmp = '\0'; in ruserpass() 260 *tmp = c; in ruserpass() 261 if (*tmp == '\n') { in ruserpass() 262 if (*(tmp-1) == '\0') { in ruserpass() 266 *tmp = '\0'; in ruserpass() 268 tmp++; in ruserpass() [all …]
|
/freebsd/contrib/ncurses/ncurses/base/ |
H A D | lib_screen.c | 505 WINDOW tmp, *nwin; in NCURSES_SP_NAME() local 538 if (tmp._maxy == 0 || in NCURSES_SP_NAME() 539 tmp._maxy > MAX_SIZE || in NCURSES_SP_NAME() 540 tmp._maxx == 0 || in NCURSES_SP_NAME() 541 tmp._maxx > MAX_SIZE) { in NCURSES_SP_NAME() 547 tmp._maxy + 1, in NCURSES_SP_NAME() 548 tmp._maxx + 1); in NCURSES_SP_NAME() 551 tmp._maxy + 1, in NCURSES_SP_NAME() 564 nwin->_curx = tmp._curx; in NCURSES_SP_NAME() 565 nwin->_cury = tmp._cury; in NCURSES_SP_NAME() [all …]
|