Home
last modified time | relevance | path

Searched refs:x (Results 1 – 25 of 398) sorted by relevance

12345678910>>...16

/xnu-10002.1.13/bsd/netinet/
H A Dcbrtf.c34 float cbrtf(float x);
37 double x; member
46 .x = 0x1.0000000000000p+0,
52 .x = 0x1.037e200000000p+1,
58 .x = 0x1.0315800000000p+2,
66 .x = 0x1.060c080000000p+0,
72 .x = 0x1.05ff4c356ff40p+1,
78 .x = 0x1.06e9aa0000000p+2,
85 {.x = 0x1.09fe97c0b2e80p+0, .cbrt_x = 0x1.034a000000000p+0,
87 {.x = 0x1.0853ec0000000p+1, .cbrt_x = 0x1.4600000000000p+0,
[all …]
H A Dip_compat.h211 # define MUTEX_ENTER(x) mutex_enter(x)
212 # define MUTEX_EXIT(x) mutex_exit(x)
217 # define SPL_NET(x) ;
218 # define SPL_IMP(x) ;
220 # define SPL_X(x) ;
222 # define ntohs(x) (x)
223 # define ntohl(x) (x)
224 # define htons(x) (x)
225 # define htonl(x) (x)
228 # define GET_MINOR(x) getminor(x)
[all …]
/xnu-10002.1.13/bsd/sys/
H A D_endian.h111 #define ntohl(x) ((__uint32_t)(x))
112 #define ntohs(x) ((__uint16_t)(x))
113 #define htonl(x) ((__uint32_t)(x))
114 #define htons(x) ((__uint16_t)(x))
118 #define ntohll(x) ((__uint64_t)(x))
119 #define htonll(x) ((__uint64_t)(x))
121 #define NTOHL(x) (x)
122 #define NTOHS(x) (x)
123 #define NTOHLL(x) (x)
124 #define HTONL(x) (x)
[all …]
H A Dwait.h136 #define _WSTATUS(x) (_W_INT(x) & 0177) argument
144 #define WEXITSTATUS(x) ((_W_INT(x) >> 8) & 0x000000ff) argument
146 #define WEXITSTATUS(x) (_W_INT(x) >> 8) argument
149 #define WSTOPSIG(x) (_W_INT(x) >> 8) argument
150 #define WIFCONTINUED(x) (_WSTATUS(x) == _WSTOPPED && WSTOPSIG(x) == 0x13) argument
151 #define WIFSTOPPED(x) (_WSTATUS(x) == _WSTOPPED && WSTOPSIG(x) != 0x13) argument
152 #define WIFEXITED(x) (_WSTATUS(x) == 0) argument
153 #define WIFSIGNALED(x) (_WSTATUS(x) != _WSTOPPED && _WSTATUS(x) != 0) argument
154 #define WTERMSIG(x) (_WSTATUS(x)) argument
156 #define WCOREDUMP(x) (_W_INT(x) & WCOREFLAG) argument
H A Dkdebug_kernel.h73 #define KDBG(x, ...) KDBG_(, x, ## __VA_ARGS__, 4, 3, 2, 1, 0) argument
79 #define KDBG_FILTERED(x, ...) KDBG_(_FILTERED, x, ## __VA_ARGS__, 4, 3, 2, 1, 0) argument
87 #define KDBG_RELEASE_NOPROCFILT(x, ...) \ argument
88 KDBG_(_RELEASE_NOPROCFILT, x, ## __VA_ARGS__, 4, 3, 2, 1, 0)
98 #define KDBG_RELEASE(x, ...) KDBG_(_RELEASE, x, ## __VA_ARGS__, 4, 3, 2, 1, 0) argument
103 #define KDBG_DEBUG(x, ...) KDBG_(_DEBUG, x, ## __VA_ARGS__, 4, 3, 2, 1, 0) argument
235 #define KDBG_(f, x, a, b, c, d, n, ...) KDBG##n(f, x, a, b, c, d) argument
236 #define KDBG0(f, x, a, b, c, d) KERNEL_DEBUG_CONSTANT##f(x, 0, 0, 0, 0, 0) argument
237 #define KDBG1(f, x, a, b, c, d) KERNEL_DEBUG_CONSTANT##f(x, a, 0, 0, 0, 0) argument
238 #define KDBG2(f, x, a, b, c, d) KERNEL_DEBUG_CONSTANT##f(x, a, b, 0, 0, 0) argument
[all …]
/xnu-10002.1.13/libkern/libkern/
H A DOSByteOrder.h36 #define OSSwapConstInt16(x) __DARWIN_OSSwapConstInt16(x) argument
37 #define OSSwapConstInt32(x) __DARWIN_OSSwapConstInt32(x) argument
38 #define OSSwapConstInt64(x) __DARWIN_OSSwapConstInt64(x) argument
66 #define OSSwapInt16(x) __DARWIN_OSSwapInt16(x) argument
67 #define OSSwapInt32(x) __DARWIN_OSSwapInt32(x) argument
68 #define OSSwapInt64(x) __DARWIN_OSSwapInt64(x) argument
89 #define OSReadBigInt(x, y) OSReadBigInt32(x, y) argument
90 #define OSWriteBigInt(x, y, z) OSWriteBigInt32(x, y, z) argument
91 #define OSSwapBigToHostInt(x) OSSwapBigToHostInt32(x) argument
92 #define OSSwapHostToBigInt(x) OSSwapHostToBigInt32(x) argument
[all …]
H A D_OSByteOrder.h43 #define __DARWIN_OSSwapConstInt16(x) \ argument
44 ((__uint16_t)((((__uint16_t)(x) & 0xff00U) >> 8) | \
45 (((__uint16_t)(x) & 0x00ffU) << 8)))
47 #define __DARWIN_OSSwapConstInt32(x) \ argument
48 ((__uint32_t)((((__uint32_t)(x) & 0xff000000U) >> 24) | \
49 (((__uint32_t)(x) & 0x00ff0000U) >> 8) | \
50 (((__uint32_t)(x) & 0x0000ff00U) << 8) | \
51 (((__uint32_t)(x) & 0x000000ffU) << 24)))
53 #define __DARWIN_OSSwapConstInt64(x) \ argument
54 ((__uint64_t)((((__uint64_t)(x) & 0xff00000000000000ULL) >> 56) | \
[all …]
/xnu-10002.1.13/osfmk/arm64/
H A Dinstructions.h33 #define ARM64_INSTR_IS_CAS(x) (((x) & ARM64_INSTR_CAS_MASK) == ARM64_INSTR_CAS_BITS) argument
37 #define ARM64_INSTR_CAS_SZ_GET(x) (((x) >> ARM64_INSTR_CAS_SZ_SHIFT) & ARM64_INSTR_CAS_SZ_MASK) argument
41 #define ARM64_INSTR_CAS_A_GET(x) (((x) >> ARM64_INSTR_CAS_A_SHIFT) & ARM64_INSTR_CAS_A_MASK) argument
45 #define ARM64_INSTR_CAS_RS_GET(x) (((x) >> ARM64_INSTR_CAS_RS_SHIFT) & ARM64_INSTR_CAS_RS_MASK) argument
49 #define ARM64_INSTR_CAS_R_GET(x) (((x) >> ARM64_INSTR_CAS_R_SHIFT) & ARM64_INSTR_CAS_R_MASK) argument
53 #define ARM64_INSTR_CAS_RN_GET(x) (((x) >> ARM64_INSTR_CAS_RN_SHIFT) & ARM64_INSTR_CAS_RN_MASK) argument
57 #define ARM64_INSTR_CAS_RT_GET(x) (((x) >> ARM64_INSTR_CAS_RT_SHIFT) & ARM64_INSTR_CAS_RT_MASK) argument
63 #define ARM64_INSTR_IS_CASP(x) (((x) & ARM64_INSTR_CASP_MASK) == ARM64_INSTR_CASP_BITS) argument
67 #define ARM64_INSTR_CASP_SZ_GET(x) (((x) >> ARM64_INSTR_CASP_SZ_SHIFT) & ARM64_INSTR_CASP_SZ_MASK) argument
71 #define ARM64_INSTR_CASP_A_GET(x) (((x) >> ARM64_INSTR_CASP_A_SHIFT) & ARM64_INSTR_CASP_A_MASK) argument
[all …]
H A Dasm.h73 #define LB(x,n) n argument
76 #define LCL(x) L ## x argument
77 #define EXT(x) _ ## x argument
78 #define LEXT(x) _ ## x ## : argument
80 #define LCL(x) .L ## x argument
81 #define EXT(x) x argument
82 #define LEXT(x) x ## : argument
84 #define LBc(x,n) n ## : argument
85 #define LBb(x,n) n ## b argument
86 #define LBf(x,n) n ## f argument
[all …]
/xnu-10002.1.13/osfmk/arm/
H A Dasm.h77 #define LB(x,n) n argument
80 #define LCL(x) L ## x argument
81 #define EXT(x) _ ## x argument
82 #define LEXT(x) _ ## x ## : argument
84 #define LCL(x) .L ## x argument
85 #define EXT(x) x argument
86 #define LEXT(x) x ## : argument
88 #define LBc(x,n) n ## : argument
89 #define LBb(x,n) n ## b argument
90 #define LBf(x,n) n ## f argument
[all …]
/xnu-10002.1.13/EXTERNAL_HEADERS/architecture/
H A Dbyte_order.h76 NXConvertHostFloatToSwapped(float x) in NXConvertHostFloatToSwapped() argument
82 u.number = x; in NXConvertHostFloatToSwapped()
87 NXConvertSwappedFloatToHost(NXSwappedFloat x) in NXConvertSwappedFloatToHost() argument
93 u.sf = x; in NXConvertSwappedFloatToHost()
98 NXConvertHostDoubleToSwapped(double x) in NXConvertHostDoubleToSwapped() argument
104 u.number = x; in NXConvertHostDoubleToSwapped()
109 NXConvertSwappedDoubleToHost(NXSwappedDouble x) in NXConvertSwappedDoubleToHost() argument
115 u.sd = x; in NXConvertSwappedDoubleToHost()
120 NXSwapFloat(NXSwappedFloat x) in NXSwapFloat() argument
122 return (NXSwappedFloat)OSSwapInt32((uint32_t)x); in NXSwapFloat()
[all …]
/xnu-10002.1.13/libkern/libkern/coreanalytics/
H A Dcoreanalytics_internal.h55 #define _f1(fe, e, fo, x, ...) fo(x) argument
56 #define _f2(fe, e, fo, x, ...) fe(x) e _f1(fe, e, fo, __VA_ARGS__) argument
57 #define _f3(fe, e, fo, x, ...) fo(x) e _f2(fe, e, fo, __VA_ARGS__) argument
58 #define _f4(fe, e, fo, x, ...) fe(x) e _f3(fe, e, fo, __VA_ARGS__) argument
59 #define _f5(fe, e, fo, x, ...) fo(x) e _f4(fe, e, fo, __VA_ARGS__) argument
60 #define _f6(fe, e, fo, x, ...) fe(x) e _f5(fe, e, fo, __VA_ARGS__) argument
61 #define _f7(fe, e, fo, x, ...) fo(x) e _f6(fe, e, fo, __VA_ARGS__) argument
62 #define _f8(fe, e, fo, x, ...) fe(x) e _f7(fe, e, fo, __VA_ARGS__) argument
63 #define _f9(fe, e, fo, x, ...) fo(x) e _f8(fe, e, fo, __VA_ARGS__) argument
64 #define _f10(fe, e, fo, x, ...) fe(x) e _f9(fe, e, fo, __VA_ARGS__) argument
[all …]
/xnu-10002.1.13/EXTERNAL_HEADERS/corecrypto/
H A Dcc_priv.h27 #define __has_builtin(x) 0 argument
85 #define CC_ARRAY_LEN(x) (sizeof((x))/sizeof((x)[0])) argument
91 CC_INLINE void cc_store64_be(uint64_t x, uint8_t cc_sized_by(8) * y)
97 : "r"(x));
101 uint64_t x; variable
104 : "=r"(x)
106 return x;
109 CC_INLINE void cc_store64_be(uint64_t x, uint8_t cc_sized_by(8) * y)
111 y[0] = (uint8_t)(x >> 56);
112 y[1] = (uint8_t)(x >> 48);
[all …]
/xnu-10002.1.13/osfmk/x86_64/
H A Dboot_pt.c69 #define ID_MAP_2MEG(x) [(x)] = ((((uint64_t)(x)) << 21) | (PDT_PROT)), argument
71 #define L0(x, n) x(n) argument
72 #define L1(x, n) L0(x,n-1) L0(x,n) argument
73 #define L2(x, n) L1(x,n-2) L1(x,n) argument
74 #define L3(x, n) L2(x,n-4) L2(x,n) argument
75 #define L4(x, n) L3(x,n-8) L3(x,n) argument
76 #define L5(x, n) L4(x,n-16) L4(x,n) argument
77 #define L6(x, n) L5(x,n-32) L5(x,n) argument
78 #define L7(x, n) L6(x,n-64) L6(x,n) argument
79 #define L8(x, n) L7(x,n-128) L7(x,n) argument
[all …]
/xnu-10002.1.13/osfmk/mach/
H A Dvm_param.h97 #define atop_32(x) ((uint32_t)(x) >> PAGE_SHIFT) argument
98 #define ptoa_32(x) ((uint32_t)(x) << PAGE_SHIFT) argument
99 #define atop_64(x) ((uint64_t)(x) >> PAGE_SHIFT) argument
100 #define ptoa_64(x) ((uint64_t)(x) << PAGE_SHIFT) argument
102 #define atop_kernel(x) ((vm_address_t)(x) >> PAGE_SHIFT) argument
103 #define ptoa_kernel(x) ((vm_address_t)(x) << PAGE_SHIFT) argument
112 #define atop(x) ((vm_address_t)(x) >> PAGE_SHIFT) argument
113 #define ptoa(x) ((vm_address_t)(x) << PAGE_SHIFT) argument
115 #define atop(x) (0UL = 0) argument
116 #define ptoa(x) (0UL = 0) argument
[all …]
/xnu-10002.1.13/osfmk/i386/
H A Dasm.h104 #define LB(x,n) n argument
107 #define LCL(x) L ## x argument
108 #define EXT(x) _ ## x argument
109 #define LEXT(x) _ ## x ## : argument
111 #define LCL(x) .L ## x argument
112 #define EXT(x) x argument
113 #define LEXT(x) x ## : argument
115 #define LBc(x,n) n ## : argument
116 #define LBb(x,n) n ## b argument
117 #define LBf(x,n) n ## f argument
[all …]
/xnu-10002.1.13/bsd/net/
H A Dradix.c147 struct radix_node *x; in rn_search() local
150 for (x = head, v = v_arg; x->rn_bit >= 0;) { in rn_search()
151 if (x->rn_bmask & v[x->rn_offset]) { in rn_search()
152 x = x->rn_right; in rn_search()
154 x = x->rn_left; in rn_search()
157 return x; in rn_search()
163 struct radix_node *x; in rn_search_m() local
166 for (x = head; x->rn_bit >= 0;) { in rn_search_m()
167 if ((x->rn_bmask & m[x->rn_offset]) && in rn_search_m()
168 (x->rn_bmask & v[x->rn_offset])) { in rn_search_m()
[all …]
/xnu-10002.1.13/bsd/i386/
H A Dparam.h124 #define ctos(x) (x) argument
125 #define stoc(x) (x) argument
128 #define ctod(x) ((x)<<(PGSHIFT-DEV_BSHIFT)) argument
129 #define dtoc(x) ((x)>>(PGSHIFT-DEV_BSHIFT)) argument
130 #define dtob(x) ((x)<<DEV_BSHIFT) argument
133 #define ctob(x) ((x)<<PGSHIFT) argument
136 #define btoc(x) (((unsigned)(x)+(NBPG-1))>>PGSHIFT) argument
162 #define USERMODE(x) (((x) & 3) == 3) argument
163 #define BASEPRI(x) (((x) & (255 << 8)) == 0) argument
/xnu-10002.1.13/bsd/arm/
H A Dparam.h100 #define ctos(x) (x) argument
101 #define stoc(x) (x) argument
104 #define ctod(x) ((x)<<(PGSHIFT-DEV_BSHIFT)) argument
105 #define dtoc(x) ((x)>>(PGSHIFT-DEV_BSHIFT)) argument
106 #define dtob(x) ((x)<<DEV_BSHIFT) argument
109 #define ctob(x) ((x)<<PGSHIFT) argument
112 #define btoc(x) (((unsigned)(x)+(NBPG-1))>>PGSHIFT) argument
138 #define USERMODE(x) (((x) & 3) == 3) argument
139 #define BASEPRI(x) (((x) & (255 << 8)) == 0) argument
H A Dfasttrap_isa.h138 #define ARM_RM(x) ((x) & 0xF) argument
139 #define ARM_RS(x) (((x) >> 8) & 0xF) argument
140 #define ARM_RD(x) (((x) >> 12) & 0xF) argument
141 #define ARM_RN(x) (((x) >> 16) & 0xF) argument
142 #define ARM_CONDCODE(x) ((x) >> 28) argument
144 #define THUMB16_HRM(x) (((x) >> 3) & 0xF) argument
145 #define THUMB16_HRD(x) (((x) & 0x7) | ((((x) >> 4) & 0x8))) argument
147 #define THUMB32_RM(x, y) ((y) & 0xF) argument
148 #define THUMB32_RD(x, y) (((y) >> 8) & 0xF) argument
149 #define THUMB32_RT(x, y) (((y) >> 12) & 0xF) argument
[all …]
/xnu-10002.1.13/osfmk/corecrypto/
H A Dccsha256_ltc_compress.c63 #define Ch(x, y, z) (z ^ (x & (y ^ z))) argument
64 #define Maj(x, y, z) (((x | y) & z) | (x & y)) argument
65 #define S(x, n) CC_RORc(x, n) argument
66 #define R(x, n) ((x) >> (n)) argument
67 #define Sigma0(x) (S(x, 2) ^ S(x, 13) ^ S(x, 22)) argument
68 #define Sigma1(x) (S(x, 6) ^ S(x, 11) ^ S(x, 25)) argument
69 #define Gamma0(x) (S(x, 7) ^ S(x, 18) ^ R(x, 3)) argument
70 #define Gamma1(x) (S(x, 17) ^ S(x, 19) ^ R(x, 10)) argument
/xnu-10002.1.13/bsd/netinet6/
H A Dmld6.h82 #define MLD_MRC_EXP(x) ((ntohs((x)) >> 12) & 0x0007) argument
83 #define MLD_MRC_MANT(x) (ntohs((x)) & 0x0fff) argument
84 #define MLD_QQIC_EXP(x) (((x) >> 4) & 0x07) argument
85 #define MLD_QQIC_MANT(x) ((x) & 0x0f) argument
86 #define MLD_QRESV(x) (((x) >> 4) & 0x0f) argument
87 #define MLD_SFLAG(x) (((x) >> 3) & 0x01) argument
88 #define MLD_QRV(x) ((x) & 0x07) argument
/xnu-10002.1.13/osfmk/kern/
H A Dsocd_client_kern.h63 #define SOCD_TRACE(x, ...) SOCD_TRACE_(x, ## __VA_ARGS__, 4, 3, 2, 1, 0) argument
64 #define SOCD_TRACE_(x, a, b, c, d, n, ...) SOCD_TRACE##n(x, a, b, c, d) argument
65 #define SOCD_TRACE0(x, a, b, c, d) SOCD_TRACE_IMPL(x, 0, 0, 0, … argument
66 #define SOCD_TRACE1(x, a, b, c, d) SOCD_TRACE_IMPL(x, SOCD_##a, 0, 0, … argument
67 #define SOCD_TRACE2(x, a, b, c, d) SOCD_TRACE_IMPL(x, SOCD_##a, SOCD_##b, 0, … argument
68 #define SOCD_TRACE3(x, a, b, c, d) SOCD_TRACE_IMPL(x, SOCD_##a, SOCD_##b, SOCD_##c, … argument
69 #define SOCD_TRACE4(x, a, b, c, d) SOCD_TRACE_IMPL(x, SOCD_##a, SOCD_##b, SOCD_##c, SOCD_##… argument
76 #define SOCD_TRACE_IMPL(x, a, b, c, d) \ argument
78 socd_client_trace((x), (socd_client_trace_arg_t)(a), (socd_client_trace_arg_t)(b), \
82 #define SOCD_TRACE_IMPL(x, a, b, c, d)
[all …]
/xnu-10002.1.13/bsd/dev/i386/
H A Ddis_tables.c2315 #define WBIT(x) (x & 0x1) /* to get w bit */ argument
2316 #define REGNO(x) (x & 0x7) /* to get 3 bit register */ argument
2317 #define VBIT(x) ((x)>>1 & 0x1) /* to get 'v' bit */ argument
2412 dtrace_get_opcode(dis86_t *x, uint_t *high, uint_t *low) in dtrace_get_opcode() argument
2420 if (x->d86_len >= 15) in dtrace_get_opcode()
2421 return (x->d86_error = 1); in dtrace_get_opcode()
2423 if (x->d86_error) in dtrace_get_opcode()
2425 byte = x->d86_get_byte(x->d86_data); in dtrace_get_opcode()
2427 return (x->d86_error = 1); in dtrace_get_opcode()
2428 x->d86_bytes[x->d86_len++] = byte; in dtrace_get_opcode()
[all …]
/xnu-10002.1.13/pexpert/pexpert/arm64/
H A Dplatform.h50 #define NOQUOTE(x) x argument
55 #define SUB_PLATFORM_HEADER(x) <COMBINE5(platform/,x,_,ARM64_SOC_NAME,.h)> argument
56 #define SUB_PLATFORM_SOC_HEADER(x) <COMBINE5(platform/soc/,x,_,ARM64_SOC_NAME,.h)> argument
57 #define SUB_PLATFORM_NONMODULE_HEADER(x) <COMBINE5(soc/,PLATFORM_SPDS_CHIP_REV_LC,/,x,.h)> argument
58 #define SUB_PLATFORM_SPDS_HEADER(x) <COMBINE5(soc/,PLATFORM_SPDS_CHIP_REV_LC,/module/,x argument
59 #define SUB_PLATFORM_TARGET_HEADER(x) <COMBINE5(target/,x,_,ARM64_SOC_NAME,.h)> argument
60 #define SUB_PLATFORM_TUNABLE_HEADER(r, x) <COMBINE7(platform/soc/tunables/,ARM64_SOC_NAME,/,r… argument
61 #define SUB_TARGET_TUNABLE_HEADER(r, t, x) <COMBINE7(target/tunables/,t,/,r,/,x,.h)> argument

12345678910>>...16