/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/ |
H A D | cyclic_oper.h | 44 #define _ABS_DIFF(x, y) ((x) > (y) ? (x) - (y) : (y) - (x)) argument 46 static __inline u8_t _cyclic_lt(u32_t x, u32_t y, u32_t d) in _cyclic_lt() 52 static __inline u8_t _cyclic_le(u32_t x, u32_t y, u32_t d) in _cyclic_le() 58 #define CYCLIC_LT_8(x, y) (_cyclic_lt(x, y, 128)) argument 59 #define CYCLIC_LT_16(x, y) (_cyclic_lt(x, y, 32768)) argument 60 #define CYCLIC_LT_24(x, y) (_cyclic_lt(x, y, 8388608)) argument 61 #define CYCLIC_LT_32(x, y) (_cyclic_lt(x, y, 2147483648)) argument 63 #define CYCLIC_LE_8(x, y) (_cyclic_le(x, y, 128)) argument 64 #define CYCLIC_LE_16(x, y) (_cyclic_le(x, y, 32768)) argument 65 #define CYCLIC_LE_24(x, y) (_cyclic_le(x, y, 8388608)) argument [all …]
|
/illumos-gate/usr/src/tools/smatch/src/validation/backend/ |
H A D | cmp-ops.c | 1 static int sete(int x, int y) in sete() 6 static int setne(int x, int y) in setne() 11 static int setl(int x, int y) in setl() 16 static int setg(int x, int y) in setg() 21 static int setle(int x, int y) in setle() 26 static int setge(int x, int y) in setge() 31 static int setb(unsigned int x, unsigned int y) in setb() 36 static int seta(unsigned int x, unsigned int y) in seta() 41 static int setbe(unsigned int x, unsigned int y) in setbe() 46 static int setae(unsigned int x, unsigned int y) in setae() [all …]
|
H A D | arithmetic-ops.c | 1 static int add(int x, int y) in add() 6 static unsigned int uadd(unsigned int x, unsigned int y) in uadd() 11 static float fadd(float x, float y) in fadd() 16 static double dadd(double x, double y) in dadd() 21 static int sub(int x, int y) in sub() 26 static unsigned int usub(unsigned int x, unsigned int y) in usub() 31 static float fsub(float x, float y) in fsub() 36 static double dsub(double x, double y) in dsub() 41 static int mul(int x, int y) in mul() 46 static unsigned int umul(unsigned int x, unsigned int y) in umul() [all …]
|
H A D | bitwise-ops.c | 1 static int shl(int x, int y) in shl() 6 static unsigned int ushl(unsigned int x, unsigned int y) in ushl() 11 static int shr(int x, int y) in shr() 16 static unsigned int ushr(unsigned int x, unsigned int y) in ushr() 21 static int and(int x, int y) in and() 26 static unsigned int uand(unsigned int x, unsigned int y) in uand() 31 static int or(int x, int y) in or() 36 static unsigned int uor(unsigned int x, unsigned int y) in uor() 41 static int xor(int x, int y) in xor() 46 static unsigned int uxor(unsigned int x, unsigned int y) in uxor()
|
H A D | pointer-cmp.c | 1 int cmpint( int x, int y) { return x == y; } in cmpint() 2 int cmpflt( float x, float y) { return x == y; } in cmpflt() 3 int cmpvptr(void *x, void *y) { return x == y; } in cmpvptr() 4 int cmpiptr(int *x, int *y) { return x == y; } in cmpiptr() 6 int cmpmptr(long x, int *y) { return (int*)x == y; } in cmpmptr() 7 int cmpnptr(int *x, long y) { return x == (int*)y; } in cmpnptr()
|
H A D | logical-ops.c | 1 static int and_bool(int x, int y) in and_bool() 6 static unsigned int uand_bool(unsigned int x, unsigned int y) in uand_bool() 11 static int or_bool(int x, int y) in or_bool() 16 static unsigned int uor_bool(unsigned int x, unsigned int y) in uor_bool()
|
/illumos-gate/usr/src/tools/smatch/src/validation/optim/ |
H A D | canonical-add.c | 1 int xpc_add_ypc(int x, int y) in xpc_add_ypc() 6 int xmc_add_ypc(int x, int y) in xmc_add_ypc() 11 int xpc_add_ymc(int x, int y) in xpc_add_ymc() 16 int xmc_add_ymc(int x, int y) in xmc_add_ymc() 21 int xpc_sub_ypc(int x, int y) in xpc_sub_ypc() 26 int xmc_sub_ypc(int x, int y) in xmc_sub_ypc() 31 int xpc_sub_ymc(int x, int y) in xpc_sub_ymc() 36 int xmc_sub_ymc(int x, int y) in xmc_sub_ymc()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | ioccom.h | 63 #define _IO(x, y) (IOC_VOID|(x<<8)|y) argument 64 #define _IOR(x, y, t) \ argument 68 #define _IORN(x, y, t) ((int)((uint32_t)(IOC_OUT|(((t)&IOCPARM_MASK)<<16)| \ argument 71 #define _IOW(x, y, t) \ argument 75 #define _IOWN(x, y, t) ((int32_t)(uint32_t)(IOC_IN|(((t)&IOCPARM_MASK)<<16)| \ argument 78 #define _IOWR(x, y, t) \ argument 82 #define _IOWRN(x, y, t) \ argument
|
H A D | debug.h | 114 #define VERIFY3B(x, y, z) VERIFY3_IMPL(x, y, z, boolean_t) argument 115 #define VERIFY3S(x, y, z) VERIFY3_IMPL(x, y, z, int64_t) argument 116 #define VERIFY3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) argument 117 #define VERIFY3P(x, y, z) VERIFY3_IMPL(x, y, z, uintptr_t) argument 121 #define ASSERT3B(x, y, z) VERIFY3_IMPL(x, y, z, boolean_t) argument 122 #define ASSERT3S(x, y, z) VERIFY3_IMPL(x, y, z, int64_t) argument 123 #define ASSERT3U(x, y, z) VERIFY3_IMPL(x, y, z, uint64_t) argument 124 #define ASSERT3P(x, y, z) VERIFY3_IMPL(x, y, z, uintptr_t) argument 127 #define ASSERT3B(x, y, z) ((void)0) argument 128 #define ASSERT3S(x, y, z) ((void)0) argument [all …]
|
/illumos-gate/usr/src/lib/libxcurses2/h/ |
H A D | curses.h | 338 #define getyx(w, y, x) (y = (w)->_cury, x = (w)->_curx) argument 339 #define getbegyx(w, y, x) (y = (w)->_begy, x = (w)->_begx) argument 340 #define getmaxyx(w, y, x) (y = (w)->_maxy, x = (w)->_maxx) argument 341 #define getparyx(w, y, x) (y = __m_getpary(w), x = __m_getparx(w)) argument 734 #define mvaddch(y, x, ch) (move(y, x) ? ((ch), ERR) : addch(ch)) argument 735 #define mvwaddch(w, y, x, ch) \ argument 739 #define mvadd_wch(y, x, cp) (move(y, x) ? ((cp), ERR) : add_wch(cp)) argument 740 #define mvwadd_wch(w, y, x, cp) \ argument 745 #define mvaddchnstr(y, x, chs, n) \ argument 748 #define mvaddchstr(y, x, chs) \ argument [all …]
|
/illumos-gate/usr/src/lib/libxcurses/h/ |
H A D | curses.h | 353 #define getyx(w,y,x) (y = (w)->_cury, x = (w)->_curx) argument 354 #define getbegyx(w,y,x) (y = (w)->_begy, x = (w)->_begx) argument 355 #define getmaxyx(w,y,x) (y = (w)->_maxy, x = (w)->_maxx) argument 356 #define getparyx(w,y,x) (y = __m_getpary(w), x = __m_getparx(w)) argument 833 #define mvaddch(y,x,ch) (move(y,x)?ERR:addch(ch)) argument 834 #define mvwaddch(w,y,x,ch) (wmove(w,y,x)?ERR:waddch(w,ch)) argument 837 #define mvadd_wch(y,x,cp) (move(y,x)?ERR:add_wch(cp)) argument 838 #define mvwadd_wch(w,y,x,cp) (wmove(w,y,x)?ERR:wadd_wch(w,cp)) argument 842 #define mvaddchnstr(y,x,chs,n) (move(y,x)?ERR:addchnstr(chs,n)) argument 843 #define mvaddchstr(y,x,chs) (move(y,x)?ERR:addchstr(chs)) argument [all …]
|
/illumos-gate/usr/src/boot/include/ |
H A D | math.h | 118 #define isgreater(x, y) __builtin_isgreater((x), (y)) argument 119 #define isgreaterequal(x, y) __builtin_isgreaterequal((x), (y)) argument 120 #define isless(x, y) __builtin_isless((x), (y)) argument 121 #define islessequal(x, y) __builtin_islessequal((x), (y)) argument 122 #define islessgreater(x, y) __builtin_islessgreater((x), (y)) argument 123 #define isunordered(x, y) __builtin_isunordered((x), (y)) argument 125 #define isgreater(x, y) (!isunordered((x), (y)) && (x) > (y)) argument 126 #define isgreaterequal(x, y) (!isunordered((x), (y)) && (x) >= (y)) argument 127 #define isless(x, y) (!isunordered((x), (y)) && (x) < (y)) argument 128 #define islessequal(x, y) (!isunordered((x), (y)) && (x) <= (y)) argument [all …]
|
/illumos-gate/usr/src/lib/libc/sparc/fp/ |
H A D | _Q_fcc.c | 44 _Q_feq(const union longdouble *x, const union longdouble *y) in _Q_feq() 75 _Q_fne(const union longdouble *x, const union longdouble *y) in _Q_fne() 105 _Q_flt(const union longdouble *x, const union longdouble *y) in _Q_flt() 148 _Q_fle(const union longdouble *x, const union longdouble *y) in _Q_fle() 192 _Q_fgt(const union longdouble *x, const union longdouble *y) in _Q_fgt() 235 _Q_fge(const union longdouble *x, const union longdouble *y) in _Q_fge()
|
/illumos-gate/usr/src/ucbhead/ |
H A D | curses.h | 110 #define move(y, x) VOID(wmove(stdscr, y, x)) argument 127 #define mvwaddch(win, y, x, ch) VOID(wmove(win, y, x) == ERR ? \ argument 129 #define mvwgetch(win, y, x) VOID(wmove(win, y, x) == ERR?ERR:wgetch(win)) argument 130 #define mvwaddstr(win, y, x, str) VOID(wmove(win, y, x) == ERR? \ argument 132 #define mvwgetstr(win, y, x, str) VOID(wmove(win, y, x) == ERR? \ argument 134 #define mvwinch(win, y, x) VOID(wmove(win, y, x) == ERR ? ERR : winch(win)) argument 135 #define mvwdelch(win, y, x) VOID(wmove(win, y, x) == ERR ? \ argument 137 #define mvwinsch(win, y, x, c) VOID(wmove(win, y, x) == ERR ? \ argument 139 #define mvaddch(y, x, ch) mvwaddch(stdscr, y, x, ch) argument 140 #define mvgetch(y, x) mvwgetch(stdscr, y, x) argument [all …]
|
/illumos-gate/usr/src/head/ |
H A D | tgmath.h | 69 #define pow(x, y) __tgmath_pow(x, y) argument 79 #define atan2(y, x) __tgmath_atan2(y, x) argument 85 #define copysign(x, y) __tgmath_copysign(x, y) argument 95 #define fdim(x, y) __tgmath_fdim(x, y) argument 99 #define fma(x, y, z) __tgmath_fma(x, y, z) argument 101 #define fmax(x, y) __tgmath_fmax(x, y) argument 103 #define fmin(x, y) __tgmath_fmin(x, y) argument 105 #define fmod(x, y) __tgmath_fmod(x, y) argument 109 #define hypot(x, y) __tgmath_hypot(x, y) argument 135 #define nextafter(x, y) __tgmath_nextafter(x, y) argument [all …]
|
/illumos-gate/usr/src/tools/smatch/src/validation/ |
H A D | fp-ops.c | 1 double fadd(double x, double y) { return x + y; } in fadd() 2 double fsub(double x, double y) { return x - y; } in fsub() 3 double fmul(double x, double y) { return x * y; } in fmul() 4 double fdiv(double x, double y) { return x / y; } in fdiv()
|
/illumos-gate/usr/src/common/ficl/ |
H A D | double.c | 51 ficl2UnsignedDivide(ficl2Unsigned q, ficlUnsigned y) in ficl2UnsignedDivide() 127 ficl2IntegerMultiply(ficlInteger x, ficlInteger y) in ficl2IntegerMultiply() 163 ficl2UnsignedAdd(ficl2Unsigned x, ficl2Unsigned y) in ficl2UnsignedAdd() 182 ficl2UnsignedMultiply(ficlUnsigned x, ficlUnsigned y) in ficl2UnsignedMultiply() 204 ficl2UnsignedSubtract(ficl2Unsigned x, ficl2Unsigned y) in ficl2UnsignedSubtract() 260 ficl2UnsignedOr(ficl2Unsigned x, ficl2Unsigned y) in ficl2UnsignedOr() 275 ficl2UnsignedCompare(ficl2Unsigned x, ficl2Unsigned y) in ficl2UnsignedCompare() 299 ficl2UnsignedDivide(ficl2Unsigned q, ficlUnsigned y) in ficl2UnsignedDivide()
|
/illumos-gate/usr/src/head/iso/ |
H A D | math_c99.h | 124 #define isgreater(x, y) __builtin_isgreater(x, y) argument 126 #define isgreaterequal(x, y) __builtin_isgreaterequal(x, y) argument 128 #define isless(x, y) __builtin_isless(x, y) argument 130 #define islessequal(x, y) __builtin_islessequal(x, y) argument 132 #define islessgreater(x, y) __builtin_islessgreater(x, y) argument 134 #define isunordered(x, y) __builtin_isunordered(x, y) argument
|
/illumos-gate/usr/src/cmd/sendmail/include/sm/ |
H A D | cdefs.h | 49 # define __CONCAT(x,y) x ## y argument 53 # define __CONCAT(x,y) x/**/y argument 133 # define PRINTFLIKE(x,y) __attribute__ ((__format__ (__printf__, x, y))) argument 135 # define PRINTFLIKE(x,y) argument 141 # define SCANFLIKE(x,y) __attribute__ ((__format__ (__scanf__, x, y))) argument 143 # define SCANFLIKE(x,y) argument
|
/illumos-gate/usr/src/compat/bhyve/sys/ |
H A D | cdefs.h | 72 #define _Static_assert(x, y) static_assert(x, y) argument 76 #define _Static_assert(x, y) __Static_assert(x, __COUNTER__) argument 77 #define __Static_assert(x, y) ___Static_assert(x, y) argument 78 #define ___Static_assert(x, y) typedef char __assert_ ## y[(x) ? 1 : -1] \ argument 81 #define _Static_assert(x, y) struct __hack argument 84 #define static_assert(x, y) _Static_assert(x, y) argument
|
H A D | param.h | 42 #define rounddown(x,y) (((x)/(y))*(y)) argument 43 #define rounddown2(x, y) ((x)&(~((y)-1))) /* if y is power of two */ argument 44 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) /* to any y */ argument 45 #define roundup2(x,y) (((x)+((y)-1))&(~((y)-1))) /* if y is powers of two */ argument
|
/illumos-gate/usr/src/cmd/audio/include/ |
H A D | AudioTypes.h | 154 inline double min(const Double& x, const Double& y) { in min() 158 inline double min(const Double& x, double y) { in min() 161 inline double min(double x, const Double& y) { in min() 165 inline double max(const Double& x, const Double& y) { in max() 168 inline double max(const Double& x, double y) { in max() 171 inline double max(double x, const Double& y) { in max()
|
/illumos-gate/usr/src/lib/libm1/common/ |
H A D | libmv1.c | 96 __libm__rem_pio2(double x, double *y) { in __libm__rem_pio2() 102 __libm__rem_pio2m(double *x, double *y, int e0, int nx, int p, const int *ip) { in __libm__rem_pio2m() 138 __atan2(double y, double x) { in __atan2() 162 __copysign(double x, double y) { in __copysign() 216 __fmod(double x, double y) { in __fmod() 234 __hypot(double x, double y) { in __hypot() 264 __jn(int n, double y) { in __jn() 306 __nextafter(double x, double y) { in __nextafter() 312 __pow(double x, double y) { in __pow() 318 __remainder(double x, double y) { in __remainder() [all …]
|
/illumos-gate/usr/src/contrib/bhyve/sys/ |
H A D | tree.h | 281 #define SPLAY_INSERT(name, x, y) name##_SPLAY_INSERT(x, y) argument 282 #define SPLAY_REMOVE(name, x, y) name##_SPLAY_REMOVE(x, y) argument 283 #define SPLAY_FIND(name, x, y) name##_SPLAY_FIND(x, y) argument 284 #define SPLAY_NEXT(name, x, y) name##_SPLAY_NEXT(x, y) argument 726 #define RB_INSERT(name, x, y) name##_RB_INSERT(x, y) argument 727 #define RB_REMOVE(name, x, y) name##_RB_REMOVE(x, y) argument 728 #define RB_FIND(name, x, y) name##_RB_FIND(x, y) argument 729 #define RB_NFIND(name, x, y) name##_RB_NFIND(x, y) argument 730 #define RB_NEXT(name, x, y) name##_RB_NEXT(y) argument 731 #define RB_PREV(name, x, y) name##_RB_PREV(y) argument [all …]
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | hln.c | 63 mvhline(int y, int x, chtype h, int n) in mvhline() 80 mvwhline(WINDOW *w, int y, int x, chtype h, int n) in mvwhline() 113 mvvline(int y, int x, chtype v, int n) in mvvline() 130 mvwvline(WINDOW *w, int y, int x, chtype v, int n) in mvwvline()
|