| /src/lib/libc/gen/ |
| fixunsgen_ieee754.c | 62 UINTXX_T tmp; local 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 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 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 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 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 39 nvkm_wr32(device, 0x001700, tmp); 42 nvkm_wr32(device, 0x00170c, tmp);
|
| /src/games/hack/ |
| rnd.c | 96 int tmp = n; local 99 tmp += RND(x); 100 return (tmp);
|
| hack.mhitu.c | 80 int tmp, ctmp; local 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 [all...] |
| /src/games/warp/ |
| warp.c | 154 char tmp, *s, *tcbuf; local 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 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 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 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 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 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 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 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 79 rd = read(parent_pipe, &tmp, 1); 82 getprogname(), tmp);
|
| /src/usr.bin/nice/ |
| nice.c | 68 long tmp; local 84 tmp = strtol(optarg, &ep, 10); 85 if (*ep != '\0' || tmp < INT_MIN || tmp > INT_MAX) 88 niceness = (int)tmp;
|
| /src/bin/stty/ |
| gfmt.c | 78 long tmp; local 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 63 msg.msg_control = (caddr_t)tmp; 90 char tmp[CMSG_SPACE(sizeof(int))]; local 102 msg.msg_control = tmp; 103 msg.msg_controllen = sizeof(tmp);
|
| /src/games/battlestar/ |
| save.c | 47 int tmp; local 58 fread(&tmp, sizeof tmp, 1, fp); 59 location = tmp ? dayfile : nightfile; 99 int tmp; local 112 tmp = location == dayfile; 113 fwrite(&tmp, sizeof tmp, 1, fp);
|
| /src/sys/arch/dreamcast/dreamcast/ |
| kloader_machdep.c | 81 int tmp = 0; local 87 "ldc %1, sr" : : "r"(0x500000f0), "r"(tmp));
|
| /src/sys/arch/landisk/landisk/ |
| kloader_machdep.c | 84 int tmp = 0; local 90 "ldc %1, sr" : : "r" (0x500000f0), "r" (tmp));
|
| /src/sys/arch/mips/alchemy/dev/ |
| ohci_aubus.c | 77 uint32_t x, tmp; local 122 tmp = bus_space_read_4(sc->iot, sc->ioh, usbh_enable); 123 if (tmp&UE_RD)
|
| /src/sys/arch/powerpc/ibm4xx/ |
| copyinstr.c | 51 int rv, msr, pid, tmp, ctx; local 77 "li %[tmp],0x20;" /* Disable IMMU */ 78 "andc %[tmp],%[msr],%[tmp];" 79 "mtmsr %[tmp];" 85 "lbz %[tmp],0(%[uaddr]);" /* Load byte */ 91 "stb %[tmp],0(%[kaddr]);" /* Store kernel byte */ 93 "or. %[tmp],%[tmp],%[tmp];" [all...] |