/haiku/src/add-ons/kernel/file_systems/websearchfs/ |
H A D | attrs.h | 2 …x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x,… 3 , 0x----------------------------------------------- 6 …0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x-, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0… 18 , 0x42, 0x65, 0x2D, 0x62, 0x6F, 0x6F, 0x6B, 0x6D-61, 0x72, 0x6B, 0x22, 0x29, 0x29, 0x00, 0x, 0x, 0x 19 …x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x-, 0x, 0x, 0x, 0x… 20 …0x00, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x-, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x,… 30 …0x00, 0x00, 0x00, 0x00, 0x00-, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x,… 31 …, 0x6B, 0x6D, 0x61, 0x72, 0x6B-00, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x,… 32 …0x46, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x-, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x,… 35 …0x00, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x-, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x, 0x,… [all …]
|
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | endians.h | 89 #define __ntfs_bswap_constant_16(x) \ argument 90 (u16)((((u16)(x) & 0xff00) >> 8) | \ 91 (((u16)(x) & 0x00ff) << 8)) 93 #define __ntfs_bswap_constant_32(x) \ argument 94 (u32)((((u32)(x) & 0xff000000u) >> 24) | \ 95 (((u32)(x) & 0x00ff0000u) >> 8) | \ 96 (((u32)(x) & 0x0000ff00u) << 8) | \ 97 (((u32)(x) & 0x000000ffu) << 24)) 99 #define __ntfs_bswap_constant_64(x) \ argument 100 (u64)((((u64)(x) & 0xff00000000000000ull) >> 56) | \ [all …]
|
/haiku/headers/private/debugger/ |
H A D | Tracing.h | 14 #define WARNING(x...) fprintf(stderr, x) argument 15 #define ERROR(x...) fprintf(stderr, x) argument 19 # define TRACE_DIE(x...) printf(x) argument 20 # define TRACE_DIE_ONLY(x) x argument 22 # define TRACE_DIE(x...) (void)0 argument 23 # define TRACE_DIE_ONLY(x) argument 27 # define TRACE_LINES(x...) printf(x) argument 28 # define TRACE_LINES_ONLY(x) x argument 30 # define TRACE_LINES(x...) (void)0 argument 31 # define TRACE_LINES_ONLY(x) argument [all …]
|
/haiku/headers/private/graphics/radeon_hd/ |
H A D | r700_reg.h | 72 #define R700_BACKEND_DISABLE(x) ((x) << 16) argument 87 #define STQ_SPLIT(x) ((x) << 0) argument 92 #define R700_ROQ_IB1_START(x) ((x) << 0) argument 93 #define R700_ROQ_IB2_START(x) ((x) << 8) argument 97 #define R700_RB_BUFSZ(x) ((x) << 0) argument 98 #define R700_RB_BLKSZ(x) ((x) << 8) argument 113 #define R700_DB_CLK_OFF_DELAY(x) ((x) << 11) argument 118 #define R700_PIPE_TILING(x) ((x) << 1) argument 119 #define R700_BANK_TILING(x) ((x) << 4) argument 120 #define R700_GROUP_SIZE(x) ((x) << 6) argument [all …]
|
H A D | ni_reg.h | 30 # define NI_GRPH_INPUT_GAMMA_MODE(x) (((x) & 0x3) << 0) argument 35 # define NI_OVL_INPUT_GAMMA_MODE(x) (((x) & 0x3) << 4) argument 44 # define NI_INPUT_CSC_GRPH_MODE(x) (((x) & 0x3) << 0) argument 48 # define NI_INPUT_CSC_OVL_MODE(x) (((x) & 0x3) << 4) argument 51 # define NI_OUTPUT_CSC_GRPH_MODE(x) (((x) & 0x7) << 0) argument 58 # define NI_OUTPUT_CSC_OVL_MODE(x) (((x) & 0x7) << 4) argument 61 # define NI_GRPH_DEGAMMA_MODE(x) (((x) & 0x3) << 0) argument 65 # define NI_OVL_DEGAMMA_MODE(x) (((x) & 0x3) << 4) argument 66 # define NI_ICON_DEGAMMA_MODE(x) (((x) & 0x3) << 8) argument 67 # define NI_CURSOR_DEGAMMA_MODE(x) (((x) & 0x3) << 12) argument [all …]
|
H A D | si_reg.h | 36 #define SI_ASIC_MAX_TEMP(x) ((x) << 0) argument 39 #define SI_CTF_TEMP(x) ((x) << 9) argument 74 #define SI_L2_CACHE_PTE_ENDIAN_SWAP_MODE(x) ((x) << 2) argument 75 #define SI_L2_CACHE_PDE_ENDIAN_SWAP_MODE(x) ((x) << 4) argument 78 #define SI_EFFECTIVE_L2_QUEUE_SIZE(x) (((x) & 7) << 15) argument 79 #define SI_CONTEXT1_IDENTITY_ACCESS_MODE(x) (((x) & 3) << 19) argument 83 #define SI_INVALIDATE_CACHE_MODE(x) ((x) << 26) argument 88 #define SI_BANK_SELECT(x) ((x) << 0) argument 89 #define SI_L2_CACHE_UPDATE_MODE(x) ((x) << 6) argument 90 #define SI_L2_CACHE_BIGK_FRAGMENT_SIZE(x) ((x) << 15) argument [all …]
|
/haiku/headers/posix/ |
H A D | math.h | 135 extern float acosf(float x); 136 extern float acoshf(float x); 137 extern float asinf(float x); 138 extern float asinhf(float x); 139 extern float atan2f(float y, float x); 140 extern float atanf(float x); 141 extern float atanhf(float x); 142 extern float cbrtf(float x); 143 extern float ceilf(float x); 144 extern float copysignf(float x, float y); [all …]
|
/haiku/src/add-ons/kernel/busses/usb/ |
H A D | xhci_hardware.h | 115 #define XHCI_ERSTS_SET(x) ((x) & 0xFFFF) argument 128 #define XHCI_DOORBELL_TARGET(x) ((x) & 0xff) argument 129 #define XHCI_DOORBELL_TARGET_GET(x) ((x) & 0xff) argument 130 #define XHCI_DOORBELL_STREAMID(x) (((x) & 0xffff) << 16) argument 131 #define XHCI_DOORBELL_STREAMID_GET(x) (((x) >> 16) & 0xffff) argument 135 #define XECP_ID(x) ((x) & 0xff) argument 136 #define HCS0_XECP(x) (((x) >> 16) & 0xffff) argument 137 #define XECP_NEXT(x) (((x) >> 8) & 0xff) argument 147 #define XHCI_SUPPORTED_PROTOCOLS_0_MINOR(x) (((x) >> 16) & 0xff) argument 148 #define XHCI_SUPPORTED_PROTOCOLS_0_MAJOR(x) (((x) >> 24) & 0xff) argument [all …]
|
/haiku/src/system/libroot/posix/crypt/ |
H A D | crypto_scrypt_smix.cpp | 73 uint32_t x[16]; in salsa20_8() local 76 blkcpy(x, B, 64); in salsa20_8() 80 x[ 4] ^= R(x[ 0]+x[12], 7); x[ 8] ^= R(x[ 4]+x[ 0], 9); in salsa20_8() 81 x[12] ^= R(x[ 8]+x[ 4],13); x[ 0] ^= R(x[12]+x[ 8],18); in salsa20_8() 83 x[ 9] ^= R(x[ 5]+x[ 1], 7); x[13] ^= R(x[ 9]+x[ 5], 9); in salsa20_8() 84 x[ 1] ^= R(x[13]+x[ 9],13); x[ 5] ^= R(x[ 1]+x[13],18); in salsa20_8() 86 x[14] ^= R(x[10]+x[ 6], 7); x[ 2] ^= R(x[14]+x[10], 9); in salsa20_8() 87 x[ 6] ^= R(x[ 2]+x[14],13); x[10] ^= R(x[ 6]+x[ 2],18); in salsa20_8() 89 x[ 3] ^= R(x[15]+x[11], 7); x[ 7] ^= R(x[ 3]+x[15], 9); in salsa20_8() 90 x[11] ^= R(x[ 7]+x[ 3],13); x[15] ^= R(x[11]+x[ 7],18); in salsa20_8() [all …]
|
/haiku/src/system/libroot/posix/musl/math/ |
H A D | atanl.c | 20 long double atanl(long double x) in atanl() argument 22 return atan(x); in atanl() 59 static long double T_even(long double x) in T_even() argument 61 return aT[0] + x * (aT[2] + x * (aT[4] + x * (aT[6] + in T_even() 62 x * (aT[8] + x * (aT[10] + x * aT[12]))))); in T_even() 65 static long double T_odd(long double x) in T_odd() argument 67 return aT[1] + x * (aT[3] + x * (aT[5] + x * (aT[7] + in T_odd() 68 x * (aT[9] + x * aT[11])))); in T_odd() 114 static long double T_even(long double x) in T_even() argument 116 return (aT[0] + x * (aT[2] + x * (aT[4] + x * (aT[6] + x * (aT[8] + in T_even() [all …]
|
H A D | tgamma.c | 30 static double sinpi(double x) in sinpi() argument 36 x = x * 0.5; in sinpi() 37 x = 2 * (x - floor(x)); in sinpi() 40 n = 4 * x; in sinpi() 42 x -= n * 0.5; in sinpi() 44 x *= pi; in sinpi() 48 return __sin(x, 0, 0); in sinpi() 50 return __cos(x, 0); in sinpi() 52 return __sin(-x, 0, 0); in sinpi() 54 return -__cos(x, 0); in sinpi() [all …]
|
H A D | tgammal.c | 54 long double tgammal(long double x) in tgammal() argument 56 return tgamma(x); in tgammal() 178 static long double stirf(long double x) in stirf() argument 182 w = 1.0/x; in stirf() 184 if (x > 1024.0) in stirf() 194 y = expl(x); in stirf() 195 if (x > MAXSTIR) { /* Avoid overflow in pow() */ in stirf() 196 v = powl(x, 0.5L * x - 0.25L); in stirf() 199 y = powl(x, x - 0.5L) / y; in stirf() 205 long double tgammal(long double x) in tgammal() argument [all …]
|
H A D | log2l.c | 58 long double log2l(long double x) in log2l() argument 60 return log2(x); in log2l() 109 long double log2l(long double x) in log2l() argument 114 if (isnan(x)) in log2l() 115 return x; in log2l() 116 if (x == INFINITY) in log2l() 117 return x; in log2l() 118 if (x <= 0.0) { in log2l() 119 if (x == 0.0) in log2l() 120 return -1/(x*x); /* -inf with divbyzero */ in log2l() [all …]
|
H A D | log10l.c | 63 long double log10l(long double x) in log10l() argument 65 return log10(x); in log10l() 118 long double log10l(long double x) in log10l() argument 123 if (isnan(x)) in log10l() 124 return x; in log10l() 125 if(x <= 0.0) { in log10l() 126 if(x == 0.0) in log10l() 127 return -1.0 / (x*x); in log10l() 128 return (x - x) / 0.0; in log10l() 130 if (x == INFINITY) in log10l() [all …]
|
H A D | logl.c | 58 long double logl(long double x) in logl() argument 60 return log(x); in logl() 108 long double logl(long double x) in logl() argument 113 if (isnan(x)) in logl() 114 return x; in logl() 115 if (x == INFINITY) in logl() 116 return x; in logl() 117 if (x <= 0.0) { in logl() 118 if (x == 0.0) in logl() 119 return -1/(x*x); /* -inf with divbyzero */ in logl() [all …]
|
H A D | expm1l.c | 53 long double expm1l(long double x) in expm1l() argument 55 return expm1(x); in expm1l() 82 long double expm1l(long double x) in expm1l() argument 87 if (isnan(x)) in expm1l() 88 return x; in expm1l() 89 if (x > maxarg) in expm1l() 90 return x*0x1p16383L; /* overflow, unless x==inf */ in expm1l() 91 if (x == 0.0) in expm1l() 92 return x; in expm1l() 93 if (x < minarg) in expm1l() [all …]
|
H A D | log1pl.c | 54 long double log1pl(long double x) in log1pl() argument 56 return log1p(x); in log1pl() 106 long double x, y, z; in log1pl() local 116 x = xm1 + 1.0; in log1pl() 119 if (x <= 0.0) { in log1pl() 120 if (x == 0.0) in log1pl() 121 return -1/(x*x); /* -inf with divbyzero */ in log1pl() 127 x = frexpl(x, &e); in log1pl() 132 if (x < SQRTH) { /* 2(2x-1)/(2x+1) */ in log1pl() 134 z = x - 0.5; in log1pl() [all …]
|
H A D | asinhl.c | 4 long double asinhl(long double x) in asinhl() argument 6 return asinh(x); in asinhl() 10 long double asinhl(long double x) in asinhl() argument 12 union ldshape u = {x}; in asinhl() 18 x = u.f; in asinhl() 22 x = logl(x) + 0.693147180559945309417232121458176568L; in asinhl() 25 x = logl(2*x + 1/(sqrtl(x*x+1)+x)); in asinhl() 28 x = log1pl(x + x*x/(sqrtl(x*x+1)+1)); in asinhl() 31 FORCE_EVAL(x + 0x1p120f); in asinhl() 33 return s ? -x : x; in asinhl() [all …]
|
/haiku/headers/compatibility/bsd/ |
H A D | endian.h | 31 #define bswap16(x) __builtin_bswap16(x) argument 32 #define bswap32(x) __builtin_bswap32(x) argument 33 #define bswap64(x) __builtin_bswap64(x) argument 35 #define bswap16(x) __swap_int16(x) 36 #define bswap32(x) __swap_int32(x) 37 #define bswap64(x) __swap_int64(x) 45 #define htobe16(x) bswap16((x)) argument 46 #define htobe32(x) bswap32((x)) argument 47 #define htobe64(x) bswap64((x)) argument 48 #define htole16(x) ((uint16_t)(x)) argument [all …]
|
/haiku/headers/libs/agg/ |
H A D | agg_image_filters.h | 59 double x = double(i) / double(image_subpixel_scale); variable 60 double y = filter.calc_weight(x); 116 static double calc_weight(double x) in calc_weight() 118 return 1.0 - x; in calc_weight() 127 static double calc_weight(double x) in calc_weight() 129 return 0.5 + 0.5 * cos(pi * x); in calc_weight() 138 static double calc_weight(double x) in calc_weight() 140 return 0.54 + 0.46 * cos(pi * x); in calc_weight() 148 static double calc_weight(double x) in calc_weight() 150 return (2.0 * x - 3.0) * x * x + 1.0; in calc_weight() [all …]
|
H A D | agg_renderer_markers.h | 71 bool visible(int x, int y, int r) const in visible() argument 73 rect_i rc(x-r, y-r, x+y, y+r); in visible() 78 void square(int x, int y, int r) in square() argument 80 if(visible(x, y, r)) in square() 82 if(r) base_type::outlined_rectangle(x-r, y-r, x+r, y+r); in square() 83 else base_type::ren().blend_pixel(x, y, base_type::fill_color(), cover_full); in square() 88 void diamond(int x, int y, int r) in diamond() argument 90 if(visible(x, y, r)) in diamond() 98 … base_type::ren().blend_pixel(x - dx, y + dy, base_type::line_color(), cover_full); in diamond() 99 … base_type::ren().blend_pixel(x + dx, y + dy, base_type::line_color(), cover_full); in diamond() [all …]
|
/haiku/src/libs/compat/freebsd_network/compat/sys/ |
H A D | endian.h | 44 #define __bswap16(x) __swap_int16(x) argument 45 #define __bswap32(x) __swap_int32(x) argument 46 #define __bswap64(x) __swap_int64(x) argument 51 #define bswap16(x) __bswap16(x) argument 52 #define bswap32(x) __bswap32(x) argument 53 #define bswap64(x) __bswap64(x) argument 60 #define htobe16(x) bswap16((x)) argument 61 #define htobe32(x) bswap32((x)) argument 62 #define htobe64(x) bswap64((x)) argument 63 #define htole16(x) ((uint16_t)(x)) argument [all …]
|
/haiku/src/system/libroot/posix/musl/internal/ |
H A D | atomic.h | 18 static inline int a_ctz_32(uint32_t x) in a_ctz_32() argument 21 return 31-a_clz_32(x&-x); in a_ctz_32() 27 return debruijn32[(x&-x)*0x076be629 >> 27]; in a_ctz_32() 34 static inline int a_ctz_64(uint64_t x) in a_ctz_64() argument 43 uint32_t y = x; in a_ctz_64() 45 y = x>>32; in a_ctz_64() 50 return debruijn64[(x&-x)*0x022fdd63cc95386dull >> 58]; in a_ctz_64() 54 static inline int a_ctz_l(unsigned long x) in a_ctz_l() argument 56 return (sizeof(long) < 8) ? a_ctz_32(x) : a_ctz_64(x); in a_ctz_l() 61 static inline int a_clz_64(uint64_t x) in a_clz_64() argument [all …]
|
/haiku/src/system/kernel/arch/riscv64/ |
H A D | arch_user_debugger.cpp | 50 frame->ra = cpuState->x[ 0]; in arch_set_debug_cpu_state() 51 frame->sp = cpuState->x[ 1]; in arch_set_debug_cpu_state() 52 frame->gp = cpuState->x[ 2]; in arch_set_debug_cpu_state() 53 frame->tp = cpuState->x[ 3]; in arch_set_debug_cpu_state() 54 frame->t0 = cpuState->x[ 4]; in arch_set_debug_cpu_state() 55 frame->t1 = cpuState->x[ 5]; in arch_set_debug_cpu_state() 56 frame->t2 = cpuState->x[ 6]; in arch_set_debug_cpu_state() 57 frame->fp = cpuState->x[ 7]; in arch_set_debug_cpu_state() 58 frame->s1 = cpuState->x[ 8]; in arch_set_debug_cpu_state() 59 frame->a0 = cpuState->x[ 9]; in arch_set_debug_cpu_state() [all …]
|
/haiku/src/tests/add-ons/kernel/file_systems/udf/udf_shell/ |
H A D | Debug.h | 27 # define DEBUGGER(x) debugger x argument 29 # define DEBUGGER(x) kernel_debugger x argument 32 # define DEBUGGER(x) ; argument 36 # define DIE(x) debugger x argument 38 # define DIE(x) kernel_debugger x argument 60 #define PRINT(x) { __out("udf: "); __out x; } argument 63 #define FATAL(x) { __out("udf: "); __out x; } argument 64 #define INFORM(x) { __out("udf: "); __out x; } argument 66 #define FUNCTION_START(x) { __out("udf: %s() ",__FUNCTION__); __out x; } argument 69 #define D(x) {x;}; argument [all …]
|