/src/lib/libc/gen/ |
fixunsgen_ieee754.c | 62 UINTXX_T tmp; local in function:FIXUNSNAME 78 tmp = 1; 86 tmp <<= (unsigned int)ebits; 87 tmp |= *frac >> (fracbits - ebits); 90 if (fracbits == sizeof(tmp)*4) { 95 tmp = *frac--; 97 tmp <<= (unsigned int)fracbits; 98 tmp |= *frac--; 105 * If the input was negative, make tmp negative module 2^32. 108 tmp = -tmp [all...] |
dehumanize_number.c | 66 long long tmp, tmp2; local in function:dehumanize_number 106 tmp = strtoll(str, &ep, 10); 111 else if (errno == ERANGE && (tmp == LLONG_MAX || tmp == LLONG_MIN)) 114 tmp2 = tmp * multiplier; 116 if (tmp != tmp2) { 120 tmp *= multiplier; 122 _DIAGASSERT(__type_fit(int64_t, tmp)); 124 *size = (int64_t)tmp;
|
/src/lib/libintl/ |
strhash.c | 48 uint32_t hash = 0, tmp; local in function:__intl_string_hash 53 tmp = hash & 0xF0000000; 54 if (tmp != 0) { 55 hash ^= tmp; 56 hash ^= tmp >> 24;
|
/src/sys/external/bsd/drm2/include/linux/ |
sort.h | 44 void *tmp; local in function:sort 50 tmp = kmem_alloc(elemsize, KM_SLEEP); 51 kheapsort(array, nelem, elemsize, cmp, tmp); 52 kmem_free(tmp, elemsize);
|
/src/lib/libc/citrus/ |
citrus_db_hash.c | 57 uint32_t hash = 0, tmp; local in function:_citrus_db_hash_std 63 tmp = hash & 0xF0000000; 64 if (tmp != 0) { 65 hash ^= tmp; 66 hash ^= tmp >> 24;
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/mc/ |
nouveau_nvkm_subdev_mc_nv44.c | 35 u32 tmp = nvkm_rd32(device, 0x10020c); local in function:nv44_mc_init 39 nvkm_wr32(device, 0x001700, tmp); 42 nvkm_wr32(device, 0x00170c, tmp);
|
/src/games/hack/ |
rnd.c | 96 int tmp = n; local in function:d 99 tmp += RND(x); 100 return (tmp);
|
hack.mhitu.c | 80 int tmp, ctmp; local in function:mhitu 127 tmp = hitu(mtmp, d(mdat->damn, mdat->damd)); 129 tmp = 0; 131 tmp += hitu(mtmp, d(mdat->damn, mdat->damd)); 133 ctmp = tmp && !mtmp->mcan && 152 if (tmp) 156 if (tmp) 245 tmp = hitu(mtmp, rnd(3)); 246 tmp &= hitu(mtmp, rnd(3)); 247 if (tmp) { 406 int tmp, res; local in function:hitu [all...] |
/src/games/warp/ |
warp.c | 154 char tmp, *s, *tcbuf; local in function:main 369 getcmd(&tmp); 370 if (tmp == BREAKCH || tmp == INTRCH) { 375 getcmd(&tmp); 376 if (tmp == 'y' || tmp == 'Y') 377 tmp = 'q'; 379 tmp = 1; 381 } while (tmp != INTRCH && tmp != BREAKCH && !strchr(" qQs",tmp)) [all...] |
/src/lib/libc/quad/ |
fixunsdfdi.c | 64 unsigned int tmp; local in function:__fixunsdfdi 82 tmp = x / ONE; 83 t.ul[L] = (unsigned int) (x - tmp * ONE); 84 t.ul[H] = tmp;
|
floatunditf_ieee754.c | 72 quad_t tmp = x; /* must be signed */ local in function:__floatunditf 82 while (mask != 0 && (tmp >= 0)) { 85 if ((tmp & mask) == 0) { 86 tmp <<= width;
|
/src/lib/libc/stdio/ |
fdopen.c | 67 int flags, oflags, fdflags, tmp; local in function:__weak_alias 89 tmp = fdflags & O_ACCMODE; 90 if (tmp != O_RDWR && (tmp != (oflags & O_ACCMODE))) {
|
tempnam.c | 65 gentemp(char *name, size_t len, const char *tmp, const char *pfx) 67 (void)snprintf(name, len, "%s%s%sXXXXXXXXXX", tmp, trailsl(tmp), pfx); 76 const char *tmp; local in function:tempnam 82 pfx = "tmp."; 84 if ((tmp = getenv("TMPDIR")) != NULL && 85 (f = gentemp(name, (size_t)MAXPATHLEN, tmp, pfx)) != NULL)
|
vdprintf.c | 66 int ret, fdflags, tmp; local in function:__weak_alias 85 tmp = fdflags & O_ACCMODE; 86 if (tmp != O_RDWR && tmp != O_WRONLY) {
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/gr/ |
nouveau_nvkm_engine_gr_ctxgm20b.c | 35 int i, tmp; local in function:gm20b_grctx_generate_main 56 for (tmp = 0, i = 0; i < gr->gpc_nr; i++) 57 tmp |= ((1 << gr->tpc_nr[i]) - 1) << (i * 4); 58 nvkm_wr32(device, 0x4041c4, tmp);
|
/src/tests/fs/common/ |
fstest_rumpfs.c | 51 char tmp[64]; local in function:rumpfs_fstest_newfs 54 snprintf(tmp, sizeof(tmp), "%"PRId64, size); 55 res = setenv("RUMP_MEMLIMIT", tmp, 0);
|
/src/tests/lib/libc/gen/posix_spawn/ |
h_spawnattr.c | 53 char tmp; local in function:main 79 rd = read(parent_pipe, &tmp, 1); 82 getprogname(), tmp);
|
/src/usr.bin/nice/ |
nice.c | 68 long tmp; local in function:main 84 tmp = strtol(optarg, &ep, 10); 85 if (*ep != '\0' || tmp < INT_MIN || tmp > INT_MAX) 88 niceness = (int)tmp;
|
/src/share/doc/papers/sysperf/ |
Makefile | 9 OBJS= paper.tmp appendix.tmp 15 paper.tmp: ${SRCS} 16 ${TOOL_TBL} ${SRCS} | ${TOOL_EQN} > paper.tmp 18 appendix.tmp: a1.t a2.t 20 { if (cnt) cnt -= 1; else print $$0; } ' > appendix.tmp 22 { if (cnt) cnt -= 1; else print $$0; } ' >> appendix.tmp
|
/src/bin/stty/ |
gfmt.c | 78 long tmp; local in function:gread 89 (void)sscanf(ep, "%lx", &tmp); 93 tp->c_cflag = tmp; 97 tp->c_iflag = tmp; 102 (void)sscanf(ep, "%ld", &tmp); 103 tp->c_ispeed = tmp; 108 tp->c_lflag = tmp; 112 tp->c_oflag = tmp; 117 (void)sscanf(ep, "%ld", &tmp); 118 tp->c_ospeed = tmp; [all...] |
/src/dist/pf/sbin/pflogd/ |
privsep_fdpass.c | 54 char tmp[CMSG_SPACE(sizeof(int))]; local in function:send_fd 63 msg.msg_control = (caddr_t)tmp; 90 char tmp[CMSG_SPACE(sizeof(int))]; local in function:receive_fd 102 msg.msg_control = tmp; 103 msg.msg_controllen = sizeof(tmp);
|
/src/games/battlestar/ |
save.c | 47 int tmp; local in function:restore 58 fread(&tmp, sizeof tmp, 1, fp); 59 location = tmp ? dayfile : nightfile; 99 int tmp; local in function:save 112 tmp = location == dayfile; 113 fwrite(&tmp, sizeof tmp, 1, fp);
|
/src/lib/librefuse/ |
refuse_compat.c | 138 struct fuse_cmdline_opts tmp; variable in typeref:struct:fuse_cmdline_opts 140 if (fuse_parse_cmdline_v30(args, &tmp) != 0) 143 memcpy(opts, &tmp, sizeof(*opts));
|
/src/sys/arch/dreamcast/dreamcast/ |
kloader_machdep.c | 81 int tmp = 0; local in function:kloader_dreamcast_boot 87 "ldc %1, sr" : : "r"(0x500000f0), "r"(tmp));
|
/src/sys/arch/landisk/landisk/ |
kloader_machdep.c | 84 int tmp = 0; local in function:kloader_landisk_boot 90 "ldc %1, sr" : : "r" (0x500000f0), "r" (tmp));
|