x 188 bsp/drv/arm/gba/swkbd.c int x, y; x 195 bsp/drv/arm/gba/swkbd.c x = ki->pos_x + 108; x 215 bsp/drv/arm/gba/swkbd.c oam[newcur * 4 + 1] = (uint16_t)((oam[newcur * 4 + 1] & 0xfe00) | x); x 64 bsp/drv/include/rtc.h #define FROMBCD(x) (u_char)(((x) >> 4) * 10 + ((x) & 0xf)) x 65 bsp/drv/include/rtc.h #define TOBCD(x) (u_char)(((x) / 10 * 16) + ((x) % 10)) x 17 bsp/drv/lib/endian.c htonl(uint32_t x) x 20 bsp/drv/lib/endian.c u_char *s = (u_char *)&x; x 25 bsp/drv/lib/endian.c htons(uint16_t x) x 28 bsp/drv/lib/endian.c u_char *s = (u_char *) &x; x 33 bsp/drv/lib/endian.c ntohl(uint32_t x) x 36 bsp/drv/lib/endian.c u_char *s = (u_char *)&x; x 41 bsp/drv/lib/endian.c ntohs(uint16_t x) x 44 bsp/drv/lib/endian.c u_char *s = (u_char *) &x; x 40 include/arm/asm.h #define _ENTRY(x) \ x 41 include/arm/asm.h .text; _ALIGN_TEXT; .globl x; .type x,_ASM_TYPE_FUNCTION; x: x 43 include/arm/asm.h #define _C_LABEL(x) x x 44 include/arm/asm.h #define _ASM_LABEL(x) x x 51 include/arm/asm.h #define PIC_SYM(x,y) x ## ( ## y ## ) x 53 include/arm/asm.h #define PIC_SYM(x,y) x x 38 include/ppc/asm.h #define _ENTRY(x) \ x 39 include/ppc/asm.h .text; .align 2; .globl x; .type x,@function; x: x 41 include/ppc/asm.h #define _C_LABEL(x) x x 42 include/ppc/asm.h #define _ASM_LABEL(x) x x 49 include/ppc/asm.h #define PIC_SYM(x,y) x ## ( ## y ## ) x 51 include/ppc/asm.h #define PIC_SYM(x,y) x x 50 include/sys/cdefs.h #define __GNUC_PREREQ__(x, y) \ x 51 include/sys/cdefs.h ((__GNUC__ == (x) && __GNUC_MINOR__ >= (y)) || \ x 52 include/sys/cdefs.h (__GNUC__ > (x))) x 54 include/sys/cdefs.h #define __GNUC_PREREQ__(x, y) 0 x 65 include/sys/cdefs.h #define __CONCAT(x,y) x ## y x 66 include/sys/cdefs.h #define __STRING(x) #x x 255 include/sys/elf.h #define ELF32_ST_BIND(x) ((x) >> 4) x 256 include/sys/elf.h #define ELF32_ST_TYPE(x) (((unsigned int) x) & 0xf) x 426 include/sys/elf.h #define CONCAT(x,y) __CONCAT(x,y) x 427 include/sys/elf.h #define ELFNAME(x) CONCAT(elf,CONCAT(ELFSIZE,CONCAT(_,x))) x 428 include/sys/elf.h #define ELFNAME2(x,y) CONCAT(x,CONCAT(_elf,CONCAT(ELFSIZE,CONCAT(_,y)))) x 429 include/sys/elf.h #define ELFNAMEEND(x) CONCAT(x,CONCAT(_elf,ELFSIZE)) x 430 include/sys/elf.h #define ELFDEFNNAME(x) CONCAT(ELF,CONCAT(ELFSIZE,CONCAT(_,x))) x 60 include/sys/endian.h #define ntohl(x) (x) x 61 include/sys/endian.h #define ntohs(x) (x) x 62 include/sys/endian.h #define htonl(x) (x) x 63 include/sys/endian.h #define htons(x) (x) x 43 include/sys/ioctl.h #define IOCPARM_LEN(x) (((x) >> 16) & IOCPARM_MASK) x 44 include/sys/ioctl.h #define IOCBASECMD(x) ((x) & ~(IOCPARM_MASK << 16)) x 45 include/sys/ioctl.h #define IOCGROUP(x) (((x) >> 8) & 0xff) x 143 include/sys/param.h #define trunc_page(x) ((x) & ~PAGE_MASK) x 144 include/sys/param.h #define round_page(x) (((x) + PAGE_MASK) & ~PAGE_MASK) x 166 include/sys/param.h #define howmany(x, y) (((x)+((y)-1))/(y)) x 168 include/sys/param.h #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) x 169 include/sys/param.h #define rounddown(x,y) (((x)/(y))*(y)) x 170 include/sys/param.h #define powerof2(x) ((((x)-1)&(x))==0) x 298 include/sys/termios.h #define CTRL(x) (cc_t)(x&037) x 119 include/sys/types.h #define howmany(x, y) (((x) + ((y) - 1)) / (y)) x 51 include/sys/wait.h #define _WSTATUS(x) (_W_INT(x) & 0177) x 53 include/sys/wait.h #define WIFSTOPPED(x) (_WSTATUS(x) == _WSTOPPED) x 54 include/sys/wait.h #define WSTOPSIG(x) (_W_INT(x) >> 8) x 55 include/sys/wait.h #define WIFSIGNALED(x) (_WSTATUS(x) != _WSTOPPED && _WSTATUS(x) != 0) x 56 include/sys/wait.h #define WTERMSIG(x) (_WSTATUS(x)) x 57 include/sys/wait.h #define WIFEXITED(x) (_WSTATUS(x) == 0) x 58 include/sys/wait.h #define WEXITSTATUS(x) (_W_INT(x) >> 8) x 60 include/sys/wait.h #define WCOREDUMP(x) (_W_INT(x) & WCOREFLAG) x 39 include/x86/asm.h #define _ENTRY(x) \ x 40 include/x86/asm.h .text; _ALIGN_TEXT; .globl x; .type x,@function; x: x 42 include/x86/asm.h #define _C_LABEL(x) x x 43 include/x86/asm.h #define _ASM_LABEL(x) x x 50 include/x86/asm.h #define PIC_SYM(x,y) x ## ( ## y ## ) x 52 include/x86/asm.h #define PIC_SYM(x,y) x x 51 sys/include/debug.h #define panic(x) machine_abort() x 45 sys/include/kernel.h #define __s(x) __STRING(x) x 53 sys/kern/debug.c #define LOGINDEX(x) ((x) & (LOGBUFSZ - 1)) x 111 usr/include/stdlib.h #define alloca(x) __builtin_alloca(x) /* built-in for gcc */ x 59 usr/lib/libc/stdlib/random.c long x, hi, lo, t; x 68 usr/lib/libc/stdlib/random.c if ((x = randseed) == 0) x 69 usr/lib/libc/stdlib/random.c x = 123459876; x 70 usr/lib/libc/stdlib/random.c hi = x / 127773; x 71 usr/lib/libc/stdlib/random.c lo = x % 127773; x 69 usr/sample/balls/balls.c int x, y; x 76 usr/sample/balls/balls.c x = random() % max_x; x 87 usr/sample/balls/balls.c printf("\33[%d;%dH*", y / 10, x / 10); x 93 usr/sample/balls/balls.c old_x = x; x 95 usr/sample/balls/balls.c x += delta_x; x 97 usr/sample/balls/balls.c if (x < 10 || x >= max_x) x 90 usr/sample/tetris/tetris.h #define RTOD(x) ((x) - 1) x 91 usr/sample/tetris/tetris.h #define CTOD(x) ((x) * 2 + (((Cols - 2 * B_COLS) >> 1) - 1 + 3)) x 46 usr/server/fs/vfs/vfs_task.c #define TASKHASH(x) (int)((x) & (TASK_MAXBUCKETS - 1)) x 58 usr/server/proc/proc.h #define IDHASH(x) ((x) & (ID_MAXBUCKETS - 1))