x 110 common/gcc-millicode/longlong.h #define HHALF(x) ((unsigned int)(x) >> HALF_BITS)
x 111 common/gcc-millicode/longlong.h #define LHALF(x) ((unsigned int)(x) & (((int)1 << HALF_BITS) - 1))
x 112 common/gcc-millicode/longlong.h #define LHUP(x) ((unsigned int)(x) << HALF_BITS)
x 408 common/libc/printf/__printf.c char *x; /* Current pointer into buf. */
x 414 common/libc/printf/__printf.c x = buf+sizeof(buf)-1;
x 417 common/libc/printf/__printf.c *x-- = 0;
x 431 common/libc/printf/__printf.c *x = digits[xnum % pf->base];
x 436 common/libc/printf/__printf.c x--;
x 454 common/libc/printf/__printf.c x++;
x 477 common/libc/printf/__printf.c __pf_printstuff(pf, sprefix, bprefix, x);
x 539 common/libc/printf/__printf.c char x[2];
x 541 common/libc/printf/__printf.c x[0] = va_arg(pf->ap, int);
x 544 common/libc/printf/__printf.c x[0] = ch;
x 546 common/libc/printf/__printf.c x[1] = 0;
x 547 common/libc/printf/__printf.c __pf_printstuff(pf, "", "", x);
x 67 kern/arch/mips/include/spinlock.h spinlock_data_t x;
x 89 kern/arch/mips/include/spinlock.h : "=r" (x), "+r" (y) : "r" (sd));
x 93 kern/arch/mips/include/spinlock.h return x;
x 130 kern/arch/mips/thread/cpu.c #define GET_STATUS(x) __asm volatile("mfc0 %0,$12" : "=r" (x))
x 131 kern/arch/mips/thread/cpu.c #define SET_STATUS(x) __asm volatile("mtc0 %0,$12" :: "r" (x))
x 139 kern/arch/mips/thread/cpu.c uint32_t x;
x 141 kern/arch/mips/thread/cpu.c GET_STATUS(x);
x 142 kern/arch/mips/thread/cpu.c x |= CST_IEc;
x 143 kern/arch/mips/thread/cpu.c SET_STATUS(x);
x 152 kern/arch/mips/thread/cpu.c uint32_t x;
x 154 kern/arch/mips/thread/cpu.c GET_STATUS(x);
x 155 kern/arch/mips/thread/cpu.c x &= ~(uint32_t)CST_IEc;
x 156 kern/arch/mips/thread/cpu.c SET_STATUS(x);
x 166 kern/arch/mips/thread/cpu.c uint32_t x, xon, xoff;
x 168 kern/arch/mips/thread/cpu.c GET_STATUS(x);
x 169 kern/arch/mips/thread/cpu.c xon = x | CST_IEc;
x 170 kern/arch/mips/thread/cpu.c xoff = x & ~(uint32_t)CST_IEc;
x 60 kern/dev/lamebus/lscreen.c splitxy(uint32_t xy, unsigned *x, unsigned *y)
x 62 kern/dev/lamebus/lscreen.c *x = xy >> 16;
x 70 kern/dev/lamebus/lscreen.c mergexy(unsigned x, unsigned y)
x 72 kern/dev/lamebus/lscreen.c uint32_t val = x;
x 86 kern/dev/lamebus/lscreen.c uint32_t ch, x;
x 90 kern/dev/lamebus/lscreen.c x = bus_read_register(sc->ls_busdata, sc->ls_buspos, LSCR_REG_RIRQ);
x 91 kern/dev/lamebus/lscreen.c if (x & LSCR_IRQ_ACTIVE) {
x 50 kern/dev/lamebus/lser.c uint32_t x;
x 57 kern/dev/lamebus/lser.c x = bus_read_register(sc->ls_busdata, sc->ls_buspos, LSER_REG_WIRQ);
x 58 kern/dev/lamebus/lser.c if (x & LSER_IRQ_ACTIVE) {
x 59 kern/dev/lamebus/lser.c x = LSER_IRQ_ENABLE;
x 63 kern/dev/lamebus/lser.c LSER_REG_WIRQ, x);
x 66 kern/dev/lamebus/lser.c x = bus_read_register(sc->ls_busdata, sc->ls_buspos, LSER_REG_RIRQ);
x 67 kern/dev/lamebus/lser.c if (x & LSER_IRQ_ACTIVE) {
x 68 kern/dev/lamebus/lser.c x = LSER_IRQ_ENABLE;
x 73 kern/dev/lamebus/lser.c LSER_REG_RIRQ, x);
x 42 kern/include/array.h #define ARRAYASSERT(x) ((void)(x))
x 42 kern/include/cdefs.h #define COMPILE_ASSERT(x) ((void)sizeof(struct { unsigned : ((x)?1:-1); }))
x 52 kern/include/endian.h void split64to32(uint64_t x, uint32_t *y1, uint32_t *y2);
x 54 kern/include/kern/wait.h #define _WWHAT(x) ((x)&3) /* lower two bits say what happened */
x 55 kern/include/kern/wait.h #define _WVAL(x) ((x)>>2) /* the rest is the value */
x 56 kern/include/kern/wait.h #define _MKWVAL(x) ((x)<<2) /* encode a value */
x 65 kern/include/kern/wait.h #define WIFEXITED(x) (_WWHAT(x)==__WEXITED)
x 66 kern/include/kern/wait.h #define WIFSIGNALED(x) (_WWHAT(x)==__WSIGNALED || _WWHAT(x)==__WCORED)
x 67 kern/include/kern/wait.h #define WIFSTOPPED(x) (_WWHAT(x)==__WSTOPPED)
x 68 kern/include/kern/wait.h #define WEXITSTATUS(x) (_WVAL(x))
x 69 kern/include/kern/wait.h #define WTERMSIG(x) (_WVAL(x))
x 70 kern/include/kern/wait.h #define WSTOPSIG(x) (_WVAL(x))
x 71 kern/include/kern/wait.h #define WCOREDUMP(x) (_WWHAT(x)==__WCORED)
x 74 kern/include/kern/wait.h #define _MKWAIT_EXIT(x) (_MKWVAL(x)|__WEXITED)
x 75 kern/include/kern/wait.h #define _MKWAIT_SIG(x) (_MKWVAL(x)|__WSIGNALED)
x 76 kern/include/kern/wait.h #define _MKWAIT_CORE(x) (_MKWVAL(x)|__WCORED)
x 77 kern/include/kern/wait.h #define _MKWAIT_STOP(x) (_MKWVAL(x)|__WSTOPPED)
x 150 kern/lib/bswap.c split64to32(uint64_t x, uint32_t *y1, uint32_t *y2)
x 153 kern/lib/bswap.c *y1 = x >> 32;
x 154 kern/lib/bswap.c *y2 = x & 0xffffffff;
x 156 kern/lib/bswap.c *y1 = x & 0xffffffff;
x 157 kern/lib/bswap.c *y2 = x >> 32;
x 405 kern/startup/menu.c showmenu(const char *name, const char *x[])
x 412 kern/startup/menu.c for (i=ct=0; x[i]; i++) {
x 418 kern/startup/menu.c kprintf(" %-36s", x[i]);
x 420 kern/startup/menu.c kprintf("%s", x[i+half]);
x 42 kern/test/bitmaptest.c uint32_t x;
x 92 kern/test/bitmaptest.c while (bitmap_alloc(b, &x)==0) {
x 93 kern/test/bitmaptest.c KASSERT(x < TESTSIZE);
x 94 kern/test/bitmaptest.c KASSERT(bitmap_isset(b, x));
x 95 kern/test/bitmaptest.c KASSERT(data[x]==1);
x 96 kern/test/bitmaptest.c data[x] = 0;
x 50 user/include/assert.h #define assert(x) ((void)(x)) /* retain any side effects of X */
x 52 user/include/assert.h #define assert(x) ((void)0) /* mysteriously hide any side effects of X */
x 56 user/include/assert.h #define assert(x) ((x) ? (void)0 : __bad_assert(__FILE__, __LINE__, #x))
x 150 user/lib/libc/stdlib/malloc.c void *x;
x 171 user/lib/libc/stdlib/malloc.c x = sbrk(0);
x 172 user/lib/libc/stdlib/malloc.c if (x==(void *)-1) {
x 175 user/lib/libc/stdlib/malloc.c if (x==(void *) 0) {
x 178 user/lib/libc/stdlib/malloc.c __heapbase = __heaptop = (uintptr_t)x;
x 189 user/lib/libc/stdlib/malloc.c x = sbrk(adjust);
x 190 user/lib/libc/stdlib/malloc.c if (x==(void *)-1) {
x 193 user/lib/libc/stdlib/malloc.c if ((uintptr_t)x != __heapbase) {
x 265 user/lib/libc/stdlib/malloc.c void *x;
x 267 user/lib/libc/stdlib/malloc.c x = sbrk(size);
x 268 user/lib/libc/stdlib/malloc.c if (x == (void *)-1) {
x 272 user/lib/libc/stdlib/malloc.c if ((uintptr_t)x != __heaptop) {
x 276 user/lib/libc/stdlib/malloc.c (unsigned long) (uintptr_t) x);
x 279 user/lib/libc/stdlib/malloc.c return x;
x 440 user/lib/libc/stdlib/malloc.c uint32_t *x = ptr;
x 443 user/lib/libc/stdlib/malloc.c x[i] = 0xdeadbeef;
x 482 user/lib/libc/stdlib/malloc.c free(void *x)
x 486 user/lib/libc/stdlib/malloc.c if (x==NULL) {
x 499 user/lib/libc/stdlib/malloc.c if ((uintptr_t)x < __heapbase || (uintptr_t)x >= __heaptop) {
x 500 user/lib/libc/stdlib/malloc.c errx(1, "free: Invalid pointer %p freed (out of range)", x);
x 504 user/lib/libc/stdlib/malloc.c warnx("free: about to free %p", x);
x 508 user/lib/libc/stdlib/malloc.c mh = ((struct mheader *)x)-1;
x 510 user/lib/libc/stdlib/malloc.c errx(1, "free: Invalid pointer %p freed (corrupt header)", x);
x 514 user/lib/libc/stdlib/malloc.c errx(1, "free: Invalid pointer %p freed (already free)", x);
x 536 user/lib/libc/stdlib/malloc.c warnx("free: freed %p", x);
x 232 user/lib/libc/stdlib/random.c srandom_unlocked(unsigned long x)
x 237 user/lib/libc/stdlib/random.c state[0] = x;
x 239 user/lib/libc/stdlib/random.c state[0] = x;
x 250 user/lib/libc/stdlib/random.c srandom(unsigned long x)
x 254 user/lib/libc/stdlib/random.c srandom_unlocked(x);
x 47 user/sbin/dumpsfs/dumpsfs.c #define SWAPL(x) ntohl(x)
x 48 user/sbin/dumpsfs/dumpsfs.c #define SWAPS(x) ntohs(x)
x 52 user/sbin/dumpsfs/dumpsfs.c #define SWAPL(x) (x)
x 53 user/sbin/dumpsfs/dumpsfs.c #define SWAPS(x) (x)
x 46 user/sbin/mksfs/mksfs.c #define SWAPL(x) ntohl(x)
x 47 user/sbin/mksfs/mksfs.c #define SWAPS(x) ntohs(x)
x 51 user/sbin/mksfs/mksfs.c #define SWAPL(x) (x)
x 52 user/sbin/mksfs/mksfs.c #define SWAPS(x) (x)
x 46 user/sbin/sfsck/sfsck.c #define SWAPL(x) ntohl(x)
x 47 user/sbin/sfsck/sfsck.c #define SWAPS(x) ntohs(x)
x 51 user/sbin/sfsck/sfsck.c #define SWAPL(x) (x)
x 52 user/sbin/sfsck/sfsck.c #define SWAPS(x) (x)
x 162 user/sbin/sfsck/sfsck.c void *x;
x 163 user/sbin/sfsck/sfsck.c x = malloc(len);
x 164 user/sbin/sfsck/sfsck.c if (x==NULL) {
x 167 user/sbin/sfsck/sfsck.c return x;
x 277 user/sbin/sfsck/sfsck.c uint8_t x;
x 280 user/sbin/sfsck/sfsck.c for (x=1; x; x<<=1) {
x 281 user/sbin/sfsck/sfsck.c if (val & x) ct++;
x 290 user/sbin/sfsck/sfsck.c uint8_t x, y;
x 293 user/sbin/sfsck/sfsck.c for (x=1, y=0; x; x<<=1, y++) {
x 294 user/sbin/sfsck/sfsck.c if (val & x) {
x 733 user/sbin/sfsck/sfsck.c #define BMAP_D(sfi, x) ((sfi)->sfi_direct[(x)])
x 737 user/sbin/sfsck/sfsck.c #define BMAP_I(sfi, x) ((sfi)->sfi_indirect[(x)])
x 740 user/sbin/sfsck/sfsck.c #define BMAP_I(sfi, x) ((void)(x), (sfi)->sfi_indirect)
x 745 user/sbin/sfsck/sfsck.c #define BMAP_II(sfi, x) ((sfi)->sfi_dindirect[(x)])
x 749 user/sbin/sfsck/sfsck.c #define BMAP_II(sfi, x) ((void)(x), (sfi)->sfi_dindirect)
x 752 user/sbin/sfsck/sfsck.c #define BMAP_II(sfi, x) ((void)(x), (void)(sfi), 0)
x 758 user/sbin/sfsck/sfsck.c #define BMAP_III(sfi, x) ((sfi)->sfi_tindirect[(x)])
x 762 user/sbin/sfsck/sfsck.c #define BMAP_III(sfi, x) ((void)(x), (sfi)->sfi_tindirect)
x 765 user/sbin/sfsck/sfsck.c #define BMAP_III(sfi, x) ((void)(x), (void)(sfi), 0)
x 47 user/testbin/badcall/bad_waitpid.c int rv, x;
x 48 user/testbin/badcall/bad_waitpid.c rv = waitpid(pid, &x, 0);
x 56 user/testbin/badcall/bad_waitpid.c int rv, pid, x;
x 69 user/testbin/badcall/bad_waitpid.c waitpid(pid, &x, 0);
x 76 user/testbin/badcall/bad_waitpid.c int rv, pid, x;
x 98 user/testbin/badcall/bad_waitpid.c waitpid(pid, &x, 0);
x 106 user/testbin/badcall/bad_waitpid.c int rv, x, pid;
x 117 user/testbin/badcall/bad_waitpid.c rv = waitpid(pid, &x, 309429);
x 119 user/testbin/badcall/bad_waitpid.c waitpid(pid, &x, 0);
x 126 user/testbin/badcall/bad_waitpid.c int rv, x;
x 127 user/testbin/badcall/bad_waitpid.c rv = waitpid(getpid(), &x, 0);
x 135 user/testbin/badcall/bad_waitpid.c int mypid, childpid, rv, x;
x 145 user/testbin/badcall/bad_waitpid.c rv = waitpid(mypid, &x, 0);
x 149 user/testbin/badcall/bad_waitpid.c rv = waitpid(childpid, &x, 0);
x 159 user/testbin/badcall/bad_waitpid.c int pids[2], mypid, otherpid, fd, rv, x;
x 202 user/testbin/badcall/bad_waitpid.c rv = waitpid(otherpid, &x, 0);
x 210 user/testbin/badcall/bad_waitpid.c int pids[2], fd, rv, x;
x 254 user/testbin/badcall/bad_waitpid.c rv = waitpid(pids[0], &x, 0);
x 258 user/testbin/badcall/bad_waitpid.c rv = waitpid(pids[1], &x, 0);
x 65 user/testbin/crash/crash.c volatile int x;
x 66 user/testbin/crash/crash.c x = *null;
x 74 user/testbin/crash/crash.c volatile int x;
x 75 user/testbin/crash/crash.c x = *ptr;
x 83 user/testbin/crash/crash.c volatile int x;
x 84 user/testbin/crash/crash.c x = *ptr;
x 107 user/testbin/crash/crash.c INSN_TYPE *x = (INSN_TYPE *)write_to_code;
x 108 user/testbin/crash/crash.c *x = INVAL_INSN;
x 159 user/testbin/crash/crash.c int x;
x 160 user/testbin/crash/crash.c int *ptr = &x;
x 171 user/testbin/crash/crash.c volatile int x = 6;
x 175 user/testbin/crash/crash.c a = x/z;
x 182 user/testbin/crash/crash.c volatile int x = 6;
x 186 user/testbin/crash/crash.c a = x%z;
x 287 user/testbin/dirseek/dirseek.c int n, i, x;
x 296 user/testbin/dirseek/dirseek.c x = (int)(random()%n);
x 297 user/testbin/dirseek/dirseek.c doreadone(x);
x 58 user/testbin/f_test/f_test.c #define LETTER(x) ('a' + (x % 31))
x 104 user/testbin/forktest/forktest.c int x;
x 116 user/testbin/forktest/forktest.c if (waitpid(pid, &x, 0)<0) {
x 119 user/testbin/forktest/forktest.c else if (WIFSIGNALED(x)) {
x 120 user/testbin/forktest/forktest.c warnx("pid %d: signal %d", pid, WTERMSIG(x));
x 122 user/testbin/forktest/forktest.c else if (WEXITSTATUS(x) != 0) {
x 123 user/testbin/forktest/forktest.c warnx("pid %d: exit %d", pid, WEXITSTATUS(x));
x 174 user/testbin/malloctest/malloctest.c volatile unsigned *x;
x 178 user/testbin/malloctest/malloctest.c x = malloc(BIGSIZE);
x 179 user/testbin/malloctest/malloctest.c if (x==NULL) {
x 184 user/testbin/malloctest/malloctest.c markblock(x, BIGSIZE, 0, 0);
x 185 user/testbin/malloctest/malloctest.c if (checkblock(x, BIGSIZE, 0, 0)) {
x 190 user/testbin/malloctest/malloctest.c free((void *)x);
x 232 user/testbin/malloctest/malloctest.c volatile unsigned *x;
x 241 user/testbin/malloctest/malloctest.c for (size = HUGESIZE; (x = malloc(size))==NULL; size = size/2) {
x 249 user/testbin/malloctest/malloctest.c markblock(x, size, 0, 1);
x 252 user/testbin/malloctest/malloctest.c if (checkblock(x, size, 0, 1)) {
x 260 user/testbin/malloctest/malloctest.c free((void *)x);
x 264 user/testbin/malloctest/malloctest.c x = malloc(size);
x 265 user/testbin/malloctest/malloctest.c if (x==NULL) {
x 269 user/testbin/malloctest/malloctest.c free((void *)x);
x 300 user/testbin/malloctest/malloctest.c void *x;
x 327 user/testbin/malloctest/malloctest.c x = malloc(SMALLSIZE);
x 328 user/testbin/malloctest/malloctest.c if (x != NULL) {
x 333 user/testbin/malloctest/malloctest.c x = malloc(MEDIUMSIZE);
x 334 user/testbin/malloctest/malloctest.c if (x != NULL) {
x 339 user/testbin/malloctest/malloctest.c x = malloc(BIGSIZE);
x 340 user/testbin/malloctest/malloctest.c if (x != NULL) {
x 366 user/testbin/malloctest/malloctest.c x = malloc(MEDIUMSIZE);
x 367 user/testbin/malloctest/malloctest.c if (x == NULL) {
x 371 user/testbin/malloctest/malloctest.c free(x);
x 391 user/testbin/malloctest/malloctest.c void *x, *y, *z;
x 400 user/testbin/malloctest/malloctest.c x = malloc(SMALLSIZE);
x 401 user/testbin/malloctest/malloctest.c if (x==NULL) {
x 418 user/testbin/malloctest/malloctest.c lx = (unsigned long)x;
x 478 user/testbin/malloctest/malloctest.c free(x);
x 83 user/testbin/randcall/main.c void *x;
x 84 user/testbin/randcall/main.c fillrand(&x, sizeof(x));
x 85 user/testbin/randcall/main.c return x;
x 91 user/testbin/randcall/main.c int x;
x 92 user/testbin/randcall/main.c fillrand(&x, sizeof(x));
x 93 user/testbin/randcall/main.c return x;
x 99 user/testbin/randcall/main.c off_t x;
x 100 user/testbin/randcall/main.c fillrand(&x, sizeof(x));
x 101 user/testbin/randcall/main.c return x;
x 107 user/testbin/randcall/main.c size_t x;
x 108 user/testbin/randcall/main.c fillrand(&x, sizeof(x));
x 109 user/testbin/randcall/main.c return x;
x 60 user/testbin/tictac/tictac.c bool is_win(int x, int y);
x 65 user/testbin/tictac/tictac.c bool win_diag_left(int x, int y, int marker);
x 66 user/testbin/tictac/tictac.c bool win_diag_right(int x, int y, int marker);
x 67 user/testbin/tictac/tictac.c bool win_row(int x, int marker);
x 215 user/testbin/tictac/tictac.c int x, y;
x 229 user/testbin/tictac/tictac.c x = cx - '0';
x 230 user/testbin/tictac/tictac.c if (x < 0 || x >= DIM) {
x 245 user/testbin/tictac/tictac.c if (board[x][y] != EMPTY) {
x 251 user/testbin/tictac/tictac.c board[x][y] = player == X_PLAYER ? X_MARKER : O_MARKER;
x 253 user/testbin/tictac/tictac.c return(is_win(x, y));
x 280 user/testbin/tictac/tictac.c is_win(int x, int y)
x 284 user/testbin/tictac/tictac.c marker = board[x][y];
x 292 user/testbin/tictac/tictac.c return(win_row(x, marker) || win_column(y, marker) ||
x 293 user/testbin/tictac/tictac.c win_diag_left(x, y, marker) || win_diag_right(x, y, marker));
x 310 user/testbin/tictac/tictac.c win_row(int x, int marker)
x 314 user/testbin/tictac/tictac.c if (board[x][i] != marker)
x 320 user/testbin/tictac/tictac.c win_diag_left(int x, int y, int marker)
x 325 user/testbin/tictac/tictac.c if (x != y)
x 335 user/testbin/tictac/tictac.c win_diag_right(int x, int y, int marker)
x 340 user/testbin/tictac/tictac.c if (x + y != DIM - 1)
x 24 user/uw-testbin/romemwrite/romemwrite.c unsigned int *x = (unsigned int *) main;
x 30 user/uw-testbin/romemwrite/romemwrite.c *x = INVAL_INSN;
x 8 user/uw-testbin/segments/segments.c int x = 0xdeadbeef;
x 28 user/uw-testbin/segments/segments.c count = x + t1;
x 8 user/uw-testbin/syscall/syscall.c int x;
x 9 user/uw-testbin/syscall/syscall.c x = close(999);
x 10 user/uw-testbin/syscall/syscall.c if (x < 0) {
x 13 user/uw-testbin/syscall/syscall.c return x;
x 16 user/uw-testbin/vm-crash1/vm-crash1.c INSN_TYPE *x = (INSN_TYPE *) main;
x 17 user/uw-testbin/vm-crash1/vm-crash1.c *x = INVAL_INSN;
x 21 user/uw-testbin/vm-crash3/vm-crash3.c INSN_TYPE *x = (INSN_TYPE *) func_150;
x 22 user/uw-testbin/vm-crash3/vm-crash3.c *x = INVAL_INSN;