/plan9/sys/src/libsunrpc/ |
H A D | nfs3.c | 8 nfs3StatusStr(Nfs3Status x) in nfs3StatusStr() 132 nfs3FileTypeStr(Nfs3FileType x) in nfs3FileTypeStr() 155 nfs3HandlePrint(Fmt *fmt, Nfs3Handle *x) in nfs3HandlePrint() 166 nfs3HandleSize(Nfs3Handle *x) in nfs3HandleSize() 174 nfs3HandlePack(uchar *a, uchar *ea, uchar **pa, Nfs3Handle *x) in nfs3HandlePack() 186 nfs3HandleUnpack(uchar *a, uchar *ea, uchar **pa, Nfs3Handle *x) in nfs3HandleUnpack() 206 nfs3TimePrint(Fmt *fmt, Nfs3Time *x) in nfs3TimePrint() 217 nfs3TimeSize(Nfs3Time *x) in nfs3TimeSize() 225 nfs3TimePack(uchar *a, uchar *ea, uchar **pa, Nfs3Time *x) in nfs3TimePack() 236 nfs3TimeUnpack(uchar *a, uchar *ea, uchar **pa, Nfs3Time *x) in nfs3TimeUnpack() [all …]
|
H A D | portmap.c | 7 portMapPrint(Fmt *fmt, PortMap *x) in portMapPrint() 12 portMapSize(PortMap *x) in portMapSize() 20 portMapPack(uchar *a, uchar *ea, uchar **pa, PortMap *x) in portMapPack() 33 portMapUnpack(uchar *a, uchar *ea, uchar **pa, PortMap *x) in portMapUnpack() 46 portTNullPrint(Fmt *fmt, PortTNull *x) in portTNullPrint() 52 portTNullSize(PortTNull *x) in portTNullSize() 60 portTNullPack(uchar *a, uchar *ea, uchar **pa, PortTNull *x) in portTNullPack() 68 portTNullUnpack(uchar *a, uchar *ea, uchar **pa, PortTNull *x) in portTNullUnpack() 76 portRNullPrint(Fmt *fmt, PortRNull *x) in portRNullPrint() 82 portRNullSize(PortRNull *x) in portRNullSize() [all …]
|
H A D | mount3.c | 12 nfsMount3TNullPrint(Fmt *fmt, NfsMount3TNull *x) in nfsMount3TNullPrint() 18 nfsMount3TNullSize(NfsMount3TNull *x) in nfsMount3TNullSize() 26 nfsMount3TNullPack(uchar *a, uchar *ea, uchar **pa, NfsMount3TNull *x) in nfsMount3TNullPack() 34 nfsMount3TNullUnpack(uchar *a, uchar *ea, uchar **pa, NfsMount3TNull *x) in nfsMount3TNullUnpack() 42 nfsMount3RNullPrint(Fmt *fmt, NfsMount3RNull *x) in nfsMount3RNullPrint() 48 nfsMount3RNullSize(NfsMount3RNull *x) in nfsMount3RNullSize() 56 nfsMount3RNullPack(uchar *a, uchar *ea, uchar **pa, NfsMount3RNull *x) in nfsMount3RNullPack() 64 nfsMount3RNullUnpack(uchar *a, uchar *ea, uchar **pa, NfsMount3RNull *x) in nfsMount3RNullUnpack() 72 nfsMount3TMntPrint(Fmt *fmt, NfsMount3TMnt *x) in nfsMount3TMntPrint() 80 nfsMount3TMntSize(NfsMount3TMnt *x) in nfsMount3TMntSize() [all …]
|
/plan9/sys/src/cmd/hoc/ |
H A D | math.c | 9 Log(double x) in Log() 14 Log10(double x) in Log10() 20 Sqrt(double x) in Sqrt() 26 Exp(double x) in Exp() 32 Asin(double x) in Asin() 38 Acos(double x) in Acos() 44 Sinh(double x) in Sinh() 49 Cosh(double x) in Cosh() 54 Pow(double x, double y) in Pow() 60 integer(double x) in integer()
|
/plan9/sys/src/ape/lib/ap/plan9/ |
H A D | _dirconv.c | 6 #define CHAR(x) *p++ = f->x argument 7 #define SHORT(x) p[0] = f->x; p[1] = f->x>>8; p += 2 argument 8 #define LONG(x) p[0] = f->x; p[1] = f->x>>8; p[2] = f->x>>16; p[3] = f->x>>24; p += 4 argument 9 #define VLONG(x) p[0] = f->x; p[1] = f->x>>8; p[2] = f->x>>16; p[3] = f->x>>24;\ argument 11 #define STRING(x,n) memcpy(p, f->x, n); p += n argument 39 #define CHAR(x) f->x = *p++ argument 40 #define SHORT(x) f->x = (p[0] | (p[1]<<8)); p += 2 argument 41 #define LONG(x) f->x = (p[0] | (p[1]<<8) |\ argument 43 #define VLONG(x) f->x = (p[0] | (p[1]<<8) |\ argument 45 #define STRING(x,n) memcpy(f->x, p, n); p += n argument
|
H A D | _fcall.c | 9 #define CHAR(x) *p++ = f->x argument 10 #define SHORT(x) p[0] = f->x; p[1] = f->x>>8; p += 2 argument 11 #define LONG(x) p[0] = f->x; p[1] = f->x>>8; p[2] = f->x>>16; p[3] = f->x>>24; p += 4 argument 12 #define VLONG(x) p[0] = f->x; p[1] = f->x>>8; p[2] = f->x>>16; p[3] = f->x>>24;\ argument 14 #define STRING(x,n) memcpy(p, f->x, n); p += n argument 218 #define CHAR(x) f->x = *p++ argument 219 #define SHORT(x) f->x = (p[0] | (p[1]<<8)); p += 2 argument 220 #define LONG(x) f->x = (p[0] | (p[1]<<8) |\ argument 222 #define VLONG(x) f->x = (p[0] | (p[1]<<8) |\ argument 224 #define STRING(x,n) memcpy(f->x, p, n); p += n argument
|
/plan9/sys/src/cmd/gs/src/ |
H A D | gxfixed.h | 44 #define _fixed_rshift(x) arith_rshift(x,_fixed_shift) argument 77 #define fixed2int(x) ((int)_fixed_rshift(x)) argument 78 #define fixed2int_rounded(x) ((int)_fixed_rshift((x)+_fixed_round_v)) argument 79 #define fixed2int_ceiling(x) ((int)_fixed_rshift((x)+_fixed_fraction_v)) argument 80 #define fixed_pre_pixround(x) ((x)+_fixed_pixround_v) argument 81 #define fixed2int_pixround(x) fixed2int(fixed_pre_pixround(x)) argument 82 #define fixed_is_int(x) !((x)&_fixed_fraction_v) argument 85 # define _fixed_hi(x) *((const uint *)&(x)+1) argument 86 # define _fixed_lo(x) *((const uint *)&(x)) argument 87 # define fixed2int_var(x)\ argument [all …]
|
H A D | ttcalc.h | 109 #define FMulDiv( x, y, z ) ( (Int64)(x) * (y) / (z) ) argument 112 #define FMulDiv_Round( x, y, z ) ( ( (Int64)(x) * (y) + (z)/2 ) / (z) ) argument 114 #define ADD_64( x, y, z ) ( (z) = (x) + (y) ) argument 115 #define SUB_64( x, y, z ) ( (z) = (x) - (y) ) argument 116 #define MUL_64( x, y, z ) ( (z) = (Int64)(x) * (y) ) argument 118 #define DIV_64( x, y ) ( (x) / (y) ) argument 120 #define SQRT_64( x ) Sqrt64( x ) argument 121 #define SQRT_32( x ) Sqrt32( x ) argument 171 #define INT_TO_F26DOT6( x ) ( (Long)(x) << 6 ) argument 172 #define INT_TO_F2DOT14( x ) ( (Long)(x) << 14 ) argument [all …]
|
/plan9/sys/src/games/mp3dec/ |
H A D | fixed.h | 61 # define MAD_F(x) ((mad_fixed_t) (x)) argument 68 # define mad_f_tofixed(x) ((mad_fixed_t) \ argument 70 # define mad_f_todouble(x) ((double) \ argument 73 # define mad_f_intpart(x) ((x) >> MAD_F_FRACBITS) argument 74 # define mad_f_fracpart(x) ((x) & ((1L << MAD_F_FRACBITS) - 1)) argument 77 # define mad_f_fromint(x) ((x) << MAD_F_FRACBITS) argument 79 # define mad_f_add(x, y) ((x) + (y)) argument 80 # define mad_f_sub(x, y) ((x) - (y)) argument 86 # define MAD_F(x) mad_f_todouble(x) argument 88 # define mad_f_mul(x, y) ((x) * (y)) argument [all …]
|
/plan9/sys/src/9/port/ |
H A D | fpi.c | 34 matchexponents(Internal *x, Internal *y) in matchexponents() 97 fpinormalise(Internal *x) in fpinormalise() 104 fpiadd(Internal *x, Internal *y, Internal *i) in fpiadd() 141 fpisub(Internal *x, Internal *y, Internal *i) in fpisub() 179 #define HI(x) ((short)((x)>>CHUNK) & CMASK) argument 180 #define LO(x) ((short)(x) & CMASK) argument 181 #define SPILL(x) ((x)>>CHUNK) argument 182 #define M(x, y) ((long)a[x]*(long)b[y]) argument 186 fpimul(Internal *x, Internal *y, Internal *i) in fpimul() 251 fpidiv(Internal *x, Internal *y, Internal *i) in fpidiv() [all …]
|
/plan9/sys/src/libmach/ |
H A D | 6.c | 10 #define REGOFF(x) offsetof(struct Ureg, x) argument 13 #define FP_CTLS(x) (REGSIZE+2*(x)) argument 14 #define FP_CTL(x) (REGSIZE+4*(x)) argument 15 #define FP_REG(x) (FP_CTL(8)+16*(x)) argument 16 #define XM_REG(x) (FP_CTL(8)+8*16+16*(x)) argument
|
/plan9/sys/src/cmd/disk/kfs/ |
H A D | 9p1lib.c | 4 #define CHAR(x) *p++ = f->x argument 5 #define SHORT(x) { ulong vvv = f->x; p[0] = vvv; p[1] = vvv>>8; p += 2; } argument 7 #define LONG(x) { ulong vvv = f->x; VLONG(vvv); } argument 8 #define BYTES(x,n) memmove(p, f->x, n); p += n argument 9 #define STRING(x,n) strncpy((char*)p, f->x, n); p += n argument 246 #define CHAR(x) f->x = *p++ argument 247 #define SHORT(x) f->x = (p[0] | (p[1]<<8)); p += 2 argument 249 #define LONG(x) VLONG(f->x) argument 250 #define BYTES(x,n) memmove(f->x, p, n); p += n argument 251 #define STRING(x,n) memmove(f->x, p, n); p += n argument
|
/plan9/sys/src/cmd/cwfs/ |
H A D | 9p1lib.c | 9 #define CHAR(x) *p++ = f->x argument 10 #define SHORT(x) { ulong vvv = f->x; *p++ = vvv; *p++ = vvv>>8; } argument 12 #define LONG(x) { ulong vvv = f->x; LONGINT(vvv); } argument 13 #define VLONG(x) { \ argument 19 #define BYTES(x,n) memmove(p, f->x, n); p += n argument 20 #define STRING(x,n) strncpy((char*)p, f->x, n); p += n argument 273 #define CHAR(x) f->x = *p++ argument 274 #define SHORT(x) f->x = (p[0] | (p[1]<<8)); p += 2 argument 275 #define LONG(x) f->x = p[0] | (p[1]<<8) | (p[2]<<16) | (p[3]<<24); p += 4 argument 276 #define VLONG(x) { \ argument [all …]
|
/plan9/sys/src/cmd/unix/u9fs/ |
H A D | oldfcall.c | 9 #define SHORT(x) p[0]=f->x; p[1]=f->x>>8; p += 2 argument 10 #define LONG(x) p[0]=f->x; p[1]=f->x>>8; p[2]=f->x>>16; p[3]=f->x>>24; p += 4 argument 11 #define VLONG(x) p[0]=f->x; p[1]=f->x>>8;\ argument 16 #define STRING(x,n) strecpy((char*)p, (char*)p+n, f->x); p += n; argument 317 #define CHAR(x) f->x = *p++ argument 318 #define SHORT(x) f->x = (p[0] | (p[1]<<8)); p += 2 argument 319 #define LONG(x) f->x = (p[0] | (p[1]<<8) |\ argument 321 #define VLONG(x) f->x = (ulong)(p[0] | (p[1]<<8) |\ argument 325 #define STRING(x,n) f->x = (char*)p; p += n argument
|
/plan9/sys/src/cmd/awk/ |
H A D | parse.c | 34 Node *x; in nodealloc() local 52 Node *x; in node1() local 62 Node *x; in node2() local 73 Node *x; in node3() local 85 Node *x; in node4() local 98 Node *x; in stat1() local 107 Node *x; in stat2() local 116 Node *x; in stat3() local 125 Node *x; in stat4() local 134 Node *x; in op1() local [all …]
|
/plan9/sys/src/libsec/port/ |
H A D | sha2block64.c | 13 #define ROTR(x,n) (((x) >> (n)) | ((x) << (32-(n)))) argument 14 #define sigma0(x) (ROTR((x),7) ^ ROTR((x),18) ^ ((x) >> 3)) argument 15 #define sigma1(x) (ROTR((x),17) ^ ROTR((x),19) ^ ((x) >> 10)) argument 16 #define SIGMA0(x) (ROTR((x),2) ^ ROTR((x),13) ^ ROTR((x),22)) argument 17 #define SIGMA1(x) (ROTR((x),6) ^ ROTR((x),11) ^ ROTR((x),25)) argument 18 #define Ch(x,y,z) (((x) & (y)) ^ ((~(x)) & (z))) argument 19 #define Maj(x,y,z) (((x) & (y)) ^ ((x) & (z)) ^ ((y) & (z))) argument
|
H A D | sha2block128.c | 12 #define ROTR(x,n) (((x) >> (n)) | ((x) << (64-(n)))) argument 13 #define sigma0(x) (ROTR((x),1) ^ ROTR((x),8) ^ ((x) >> 7)) argument 14 #define sigma1(x) (ROTR((x),19) ^ ROTR((x),61) ^ ((x) >> 6)) argument 15 #define SIGMA0(x) (ROTR((x),28) ^ ROTR((x),34) ^ ROTR((x),39)) argument 16 #define SIGMA1(x) (ROTR((x),14) ^ ROTR((x),18) ^ ROTR((x),41)) argument 17 #define Ch(x,y,z) (((x) & (y)) ^ ((~(x)) & (z))) argument 18 #define Maj(x,y,z) (((x) & (y)) ^ ((x) & (z)) ^ ((y) & (z))) argument
|
/plan9/sys/src/ape/cmd/pdksh/ |
H A D | conf-end.h | 50 # define GCC_FUNC_ATTR(x) __attribute__((x)) argument 51 # define GCC_FUNC_ATTR2(x,y) __attribute__((x,y)) argument 53 # define GCC_FUNC_ATTR(x) argument 54 # define GCC_FUNC_ATTR2(x,y) argument
|
/plan9/sys/src/libauthsrv/ |
H A D | convM2TR.c | 5 #define CHAR(x) f->x = *p++ argument 6 #define SHORT(x) f->x = (p[0] | (p[1]<<8)); p += 2 argument 8 #define LONG(x) VLONG(f->x) argument 9 #define STRING(x,n) memmove(f->x, p, n); p += n argument
|
H A D | convM2PR.c | 5 #define CHAR(x) f->x = *p++ argument 6 #define SHORT(x) f->x = (p[0] | (p[1]<<8)); p += 2 argument 8 #define LONG(x) VLONG(f->x) argument 9 #define STRING(x,n) memmove(f->x, p, n); p += n argument
|
H A D | convTR2M.c | 5 #define CHAR(x) *p++ = f->x argument 6 #define SHORT(x) p[0] = f->x; p[1] = f->x>>8; p += 2 argument 8 #define LONG(x) VLONG(f->x) argument 9 #define STRING(x,n) memmove(p, f->x, n); p += n argument
|
/plan9/sys/src/cmd/unix/drawterm/libauthsrv/ |
H A D | convM2TR.c | 5 #define CHAR(x) f->x = *p++ argument 6 #define SHORT(x) f->x = (p[0] | (p[1]<<8)); p += 2 argument 8 #define LONG(x) VLONG(f->x) argument 9 #define STRING(x,n) memmove(f->x, p, n); p += n argument
|
H A D | convM2A.c | 5 #define CHAR(x) f->x = *p++ argument 6 #define SHORT(x) f->x = (p[0] | (p[1]<<8)); p += 2 argument 8 #define LONG(x) VLONG(f->x) argument 9 #define STRING(x,n) memmove(f->x, p, n); p += n argument
|
H A D | convM2PR.c | 5 #define CHAR(x) f->x = *p++ argument 6 #define SHORT(x) f->x = (p[0] | (p[1]<<8)); p += 2 argument 8 #define LONG(x) VLONG(f->x) argument 9 #define STRING(x,n) memmove(f->x, p, n); p += n argument
|
/plan9/sys/src/ape/lib/ap/stdio/ |
H A D | fconv.h | 54 #define word0(x) ((x).ul[1]) argument 55 #define word1(x) ((x).ul[0]) argument 57 #define word0(x) ((x).ul[0]) argument 58 #define word1(x) ((x).ul[1]) argument 111 #define Infinite(x) (word0(x) == 0x7ff00000) /* sufficient test for here */ argument 190 unsigned long x[1]; member 220 #define Balloc(x) _Balloc(x) argument 221 #define Bfree(x) _Bfree(x) argument 222 #define Bcopy(x,y) memcpy((char *)&x->sign, (char *)&y->sign, \ argument 224 #define multadd(x,y,z) _multadd(x,y,z) argument [all …]
|