/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | endians.h | 89 #define __ntfs_bswap_constant_16(x) \ argument 93 #define __ntfs_bswap_constant_32(x) \ argument 99 #define __ntfs_bswap_constant_64(x) \ argument 112 # define bswap_16(x) __ntfs_bswap_constant_16(x) argument 113 # define bswap_32(x) __ntfs_bswap_constant_32(x) argument 114 # define bswap_64(x) __ntfs_bswap_constant_64(x) argument 119 #define __le16_to_cpu(x) (x) argument 120 #define __le32_to_cpu(x) (x) argument 121 #define __le64_to_cpu(x) (x) argument 123 #define __cpu_to_le16(x) (x) argument [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/src/add-ons/kernel/file_systems/bfs/ |
H A D | Debug.h | 22 # define DEBUGGER(x) debugger x argument 24 # define DEBUGGER(x) kernel_debugger x argument 27 # define DEBUGGER(x) ; argument 31 # define DIE(x) debugger x argument 33 # define DIE(x) kernel_debugger x argument 51 #define PRINT(x) { __out("bfs: "); __out x; } argument 55 #define FATAL(x) { __out("bfs: "); __out x; } argument 56 #define INFORM(x) { __out("bfs: "); __out x; } argument 58 #define FUNCTION_START(x) { __out("bfs: %s() ",__FUNCTION__); __out x; } argument 61 #define D(x) {x;}; argument [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 …]
|
/haiku/src/add-ons/kernel/drivers/network/ether/usb_davicom/ |
H A D | Settings.h | 15 #define TRACE(x...) usb_davicom_trace(false, __func__, x) argument 16 #define TRACE_ALWAYS(x...) usb_davicom_trace(true, __func__, x) argument 25 #define TRACE_STATE(x...) usb_davicom_trace(gTraceState, NULL, x) argument 26 #define TRACE_STATS(x...) usb_davicom_trace(gTraceStats, NULL, x) argument 27 #define TRACE_RX(x...) usb_davicom_trace(gTraceRX, NULL, x) argument 28 #define TRACE_TX(x...) usb_davicom_trace(gTraceTX, NULL, x) argument 32 #define TRACE_STATE(x...) argument 33 #define TRACE_STATS(x...) argument 34 #define TRACE_RX(x...) argument 35 #define TRACE_TX(x...) argument
|
/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 …]
|
H A D | types.h | 24 #define __bitcount64(x) __builtin_popcountll((u_int64_t)(x)) argument 25 #define __bitcount32(x) __builtin_popcount((u_int32_t)(x)) argument 26 #define __bitcount16(x) __builtin_popcount((u_int16_t)(x)) argument 27 #define __bitcountl(x) __builtin_popcountl((unsigned long)(x)) argument 28 #define __bitcount(x) __builtin_popcount((unsigned int)(x)) argument 71 #define __bitcountl(x) __bitcount64((unsigned long)(x)) argument 80 #define __bitcountl(x) __bitcount32((unsigned long)(x)) argument 82 #define __bitcount(x) __bitcount32((unsigned int)(x)) argument
|
/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 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 49 #define htole32(x) ((uint32_t)(x)) argument 50 #define htole64(x) ((uint64_t)(x)) argument 52 #define be16toh(x) bswap16((x)) argument [all …]
|
/haiku/src/libs/compat/openbsd_network/compat/sys/ |
H A D | endian.h | 13 #define betoh16(x) be16toh(x) argument 14 #define betoh32(x) be32toh(x) argument 15 #define betoh64(x) be64toh(x) argument 16 #define letoh16(x) le16toh(x) argument 17 #define letoh32(x) le32toh(x) argument 18 #define letoh64(x) le64toh(x) argument 20 #define swap16(x) bswap16(x) argument 21 #define swap32(x) bswap32(x) argument 22 #define swap64(x) bswap64(x) argument
|
/haiku/src/add-ons/media/media-add-ons/opensound/ |
H A D | driver_io.h | 36 #define DRIVER_GET_DESCRIPTION(x...) ioctl( fd, B_MULTI_GET_DESCRIPTION, x ) argument 37 #define DRIVER_GET_ENABLED_CHANNELS(x...) ioctl( fd, B_MULTI_GET_ENABLED_CHANNELS, x ) argument 38 #define DRIVER_SET_ENABLED_CHANNELS(x...) ioctl( fd, B_MULTI_SET_ENABLED_CHANNELS, x ) argument 39 #define DRIVER_SET_GLOBAL_FORMAT(x...) ioctl( fd, B_MULTI_SET_GLOBAL_FORMAT, x ) argument 40 #define DRIVER_GET_BUFFERS(x...) ioctl( fd, B_MULTI_GET_BUFFERS, x ) argument 41 #define DRIVER_BUFFER_EXCHANGE(x...) ioctl( fd, B_MULTI_BUFFER_EXCHANGE, x ) argument 43 #define DRIVER_LIST_MIX_CONTROLS(x...) ioctl( fd, B_MULTI_LIST_MIX_CONTROLS, x ) argument 44 #define DRIVER_SET_MIX(x...) ioctl( fd, B_MULTI_SET_MIX, x ) argument 45 #define DRIVER_GET_MIX(x...) ioctl( fd, B_MULTI_GET_MIX, x ) argument
|
/haiku/src/servers/registrar/ |
H A D | Debug.h | 38 #define PRINT(x...) { __out(DEBUG_APP ": " x); } argument 56 #define FATAL(x...) { __out(DEBUG_APP ": " x); } argument 57 #define ERROR(x...) { __out(DEBUG_APP ": " x); } argument 58 #define WARNING(x...) { __out(DEBUG_APP ": " x); } argument 59 #define INFORM(x...) { __out(DEBUG_APP ": " x); } argument 60 #define FUNCTION(x) { __out(DEBUG_APP ": %s() ",__FUNCTION__); __out x; } argument 63 #define D(x) {x;}; argument 65 #define PRINT(x...) ; argument 69 #define FATAL(x...) { __out(DEBUG_APP ": " x); } argument 70 #define ERROR(x...) { __out(DEBUG_APP ": " x); } argument [all …]
|
/haiku/src/add-ons/kernel/file_systems/netfs/headers/shared/ |
H A D | DebugSupport.h | 100 #define DEBUG_CONTEXT(x) \ argument 107 #define DEBUG_CONTEXT_FUNCTION(prefix, x) \ argument 115 #define DEBUG_CONTEXT_LINE(x) \ argument 124 #define TPRINT(x...) DEBUG_CONTEXT( __out(x) ) argument 141 #define TFUNCTION(x...) DEBUG_CONTEXT_FUNCTION( ": ", __out(x) ) argument 146 #define PRINT(x...) TPRINT(x) argument 150 #define FATAL(x...) DEBUG_CONTEXT( __out(x) ) argument 151 #define ERROR(x...) DEBUG_CONTEXT( __out(x) ) argument 152 #define WARN(x...) DEBUG_CONTEXT( __out(x) ) argument 153 #define INFORM(x...) DEBUG_CONTEXT( __out(x) ) argument [all …]
|
/haiku/src/servers/package/ |
H A D | DebugSupport.h | 104 #define DEBUG_CONTEXT(x) \ argument 112 #define DEBUG_CONTEXT_FUNCTION(prefix, x) \ argument 120 #define DEBUG_CONTEXT_LINE(x) \ argument 129 #define TPRINT(x...) DEBUG_CONTEXT( __out(x) ) argument 146 #define TFUNCTION(x...) DEBUG_CONTEXT_FUNCTION( ": ", __out(x) ) argument 151 #define PRINT(x...) TPRINT(x) argument 155 #define FATAL(x...) DEBUG_CONTEXT( __out(x) ) argument 156 #define ERROR(x...) DEBUG_CONTEXT( __out(x) ) argument 157 #define WARN(x...) DEBUG_CONTEXT( __out(x) ) argument 158 #define INFORM(x...) DEBUG_CONTEXT( __out(x) ) argument [all …]
|
/haiku/headers/private/userlandfs/shared/ |
H A D | Debug.h | 94 #define DEBUG_CONTEXT(x) { dbg_printf_begin(); __out(DEBUG_APP ": [%" \ argument 97 #define DEBUG_CONTEXT_FUNCTION(prefix, x) { dbg_printf_begin(); \ argument 100 #define DEBUG_CONTEXT_LINE(x) { dbg_printf_begin(); __out(DEBUG_APP ": [%" \ argument 104 #define TPRINT(x) DEBUG_CONTEXT( __out x ) argument 108 #define TFUNCTION(x) DEBUG_CONTEXT_FUNCTION( ": ", __out x ) argument 113 #define PRINT(x) TPRINT(x) argument 117 #define FATAL(x) DEBUG_CONTEXT( __out x ) argument 118 #define ERROR(x) DEBUG_CONTEXT( __out x ) argument 119 #define WARN(x) DEBUG_CONTEXT( __out x ) argument 120 #define INFORM(x) DEBUG_CONTEXT( __out x ) argument [all …]
|
/haiku/src/add-ons/kernel/file_systems/bindfs/ |
H A D | DebugSupport.h | 100 #define DEBUG_CONTEXT(x) \ argument 108 #define DEBUG_CONTEXT_FUNCTION(prefix, x) \ argument 116 #define DEBUG_CONTEXT_LINE(x) \ argument 125 #define TPRINT(x...) DEBUG_CONTEXT( __out(x) ) argument 142 #define TFUNCTION(x...) DEBUG_CONTEXT_FUNCTION( ": ", __out(x) ) argument 147 #define PRINT(x...) TPRINT(x) argument 151 #define FATAL(x...) DEBUG_CONTEXT( __out(x) ) argument 152 #define ERROR(x...) DEBUG_CONTEXT( __out(x) ) argument 153 #define WARN(x...) DEBUG_CONTEXT( __out(x) ) argument 154 #define INFORM(x...) DEBUG_CONTEXT( __out(x) ) argument [all …]
|
/haiku/headers/libs/libfdt/ |
H A D | libfdt_env.h | 29 #define EXTRACT_BYTE(x, n) ((unsigned long long)((uint8_t *)&x)[n]) argument 30 #define CPU_TO_FDT16(x) ((EXTRACT_BYTE(x, 0) << 8) | EXTRACT_BYTE(x, 1)) argument 31 #define CPU_TO_FDT32(x) ((EXTRACT_BYTE(x, 0) << 24) | (EXTRACT_BYTE(x, 1) << 16) | \ argument 33 #define CPU_TO_FDT64(x) ((EXTRACT_BYTE(x, 0) << 56) | (EXTRACT_BYTE(x, 1) << 48) | \ argument 38 static inline uint16_t fdt16_to_cpu(fdt16_t x) in fdt16_to_cpu() 42 static inline fdt16_t cpu_to_fdt16(uint16_t x) in cpu_to_fdt16() 47 static inline uint32_t fdt32_to_cpu(fdt32_t x) in fdt32_to_cpu() 51 static inline fdt32_t cpu_to_fdt32(uint32_t x) in cpu_to_fdt32() 56 static inline uint64_t fdt64_to_cpu(fdt64_t x) in fdt64_to_cpu() 60 static inline fdt64_t cpu_to_fdt64(uint64_t x) in cpu_to_fdt64()
|
/haiku/src/apps/icon-o-matic/generic/support/ |
H A D | Debug.h | 101 #define DEBUG_CONTEXT(x) { dbg_printf_begin(); __out(DEBUG_APP ": [%lld: %5ld] ", system_time(), DE… argument 102 #define DEBUG_CONTEXT_FUNCTION(prefix, x) { dbg_printf_begin(); __out(DEBUG_APP ": [%lld: %5ld] %s(… argument 103 #define DEBUG_CONTEXT_LINE(x) { dbg_printf_begin(); __out(DEBUG_APP ": [%lld: %5ld] %s():%d: ", sys… argument 105 #define TPRINT(x) DEBUG_CONTEXT( __out x ) argument 109 #define TFUNCTION(x) DEBUG_CONTEXT_FUNCTION( ": ", __out x ) argument 114 #define PRINT(x) TPRINT(x) argument 118 #define FATAL(x) DEBUG_CONTEXT( __out x ) argument 119 #define ERROR(x) DEBUG_CONTEXT( __out x ) argument 120 #define WARN(x) DEBUG_CONTEXT( __out x ) argument 121 #define INFORM(x) DEBUG_CONTEXT( __out x ) argument [all …]
|
/haiku/headers/cpp/std/ |
H A D | complext.cc | 32 cos (const complex<FLOAT>& x) in cos() 39 cosh (const complex<FLOAT>& x) in cosh() 46 exp (const complex<FLOAT>& x) in exp() 52 log (const complex<FLOAT>& x) in log() 58 pow (const complex<FLOAT>& x, const complex<FLOAT>& y) in pow() 68 pow (const complex<FLOAT>& x, FLOAT y) in pow() 74 pow (FLOAT x, const complex<FLOAT>& y) in pow() 80 sin (const complex<FLOAT>& x) in sin() 87 sinh (const complex<FLOAT>& x) in sinh() 96 operator >> (istream& is, complex<FLOAT>& x) in operator >>() [all …]
|
/haiku/src/add-ons/kernel/file_systems/udf/ |
H A D | UdfDebug.h | 83 #define INFORM(x) { __out("udf: "); __out x; } argument 85 # define DIE(x) debugger x argument 87 # define DIE(x) kernel_debugger x argument 124 #define PRINT(x) { \ argument 137 #define LPRINT(x) { \ argument 151 #define SIMPLE_PRINT(x) { \ argument 205 #define FATAL(x) { \ argument 209 #define DBG(x) x ; argument 217 #define PRINT(x) ; argument 218 #define LPRINT(x) ; argument [all …]
|
/haiku/headers/private/graphics/radeon_hd/ |
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 …]
|
/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/apps/sudoku/ |
H A D | SudokuField.cpp | 151 for (uint32 x = 0; x < fSize; x++) { in Reset() local 176 for (uint32 x = 0; x < fSize; x++) { in SetTo() local 187 for (uint32 x = 0; x < fSize; x++) { in SetTo() local 205 for (uint32 x = 0; x < fSize; x++) { in SetTo() local 216 for (uint32 x = 0; x < fSize; x++) { in Dump() local 230 for (uint32 x = 0; x < fSize; x++) { in IsSolved() local 244 for (uint32 x = 0; x < fSize; x++) { in IsEmpty() local 259 for (uint32 x = 0; x < fSize; x++) { in IsValueCompleted() local 270 SudokuField::SetHintMaskAt(uint32 x, uint32 y, uint32 hintMask) in SetHintMaskAt() 277 SudokuField::HintMaskAt(uint32 x, uint32 y) const in HintMaskAt() [all …]
|
/haiku/src/add-ons/kernel/bus_managers/ata/ |
H A D | ATATracing.h | 16 #define TRACE(x...) { \ argument 21 #define TRACE_FUNCTION(x...) { \ argument 28 #define TRACE(x...) /* nothing */ argument 29 #define TRACE_FUNCTION(x...) /* nothing */ argument 32 #define TRACE_ALWAYS(x...) { \ argument 37 #define TRACE_ERROR(x...) { \ argument
|
/haiku/src/add-ons/kernel/partitioning_systems/session/ |
H A D | Debug.h | 78 #define INFORM(x) { __out("session: "); __out x; } argument 80 # define DIE(x) debugger x argument 82 # define DIE(x) kernel_debugger x argument 119 #define PRINT(x) { \ argument 132 #define LPRINT(x) { \ argument 146 #define SIMPLE_PRINT(x) { \ argument 198 #define FATAL(x) { \ argument 202 #define DBG(x) x ; argument 210 #define PRINT(x) ; argument 211 #define LPRINT(x) ; argument [all …]
|
/haiku/src/add-ons/kernel/file_systems/xfs/ |
H A D | Debug.h | 14 #define TRACE(x...) dprintf("\n\33[34mxfs:\33[0m " x) argument 16 #define ASSERT(x) \ argument 20 #define TRACE(x...) argument 22 #define ASSERT(x) argument 25 #define ERROR(x...) dprintf("\n\33[34mxfs:\33[0m " x) argument
|