Home
last modified time | relevance | path

Searched defs:x (Results 1 – 25 of 341) sorted by relevance

12345678910>>...14

/xnu-10002.1.13/EXTERNAL_HEADERS/architecture/
H A Dbyte_order.h76 NXConvertHostFloatToSwapped(float x) in NXConvertHostFloatToSwapped()
87 NXConvertSwappedFloatToHost(NXSwappedFloat x) in NXConvertSwappedFloatToHost()
98 NXConvertHostDoubleToSwapped(double x) in NXConvertHostDoubleToSwapped()
109 NXConvertSwappedDoubleToHost(NXSwappedDouble x) in NXConvertSwappedDoubleToHost()
120 NXSwapFloat(NXSwappedFloat x) in NXSwapFloat()
126 NXSwapDouble(NXSwappedDouble x) in NXSwapDouble()
158 unsigned short x in NXSwapBigShortToHost()
167 unsigned int x in NXSwapBigIntToHost()
176 unsigned long x in NXSwapBigLongToHost()
185 unsigned long long x in NXSwapBigLongLongToHost()
[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
47 #define __DARWIN_OSSwapConstInt32(x) \ argument
53 #define __DARWIN_OSSwapConstInt64(x) \ argument
84 #define __DARWIN_OSSwapInt16(x) \ argument
87 #define __DARWIN_OSSwapInt32(x) \ argument
90 #define __DARWIN_OSSwapInt64(x) \ argument
125 #define __DARWIN_OSSwapInt16(x) _OSSwapInt16(x) argument
127 #define __DARWIN_OSSwapInt32(x) _OSSwapInt32(x) argument
129 #define __DARWIN_OSSwapInt64(x) _OSSwapInt64(x) argument
H A Dtree.h323 #define SPLAY_INSERT(name, x, y) name##_SPLAY_INSERT(x, y) argument
324 #define SPLAY_REMOVE(name, x, y) name##_SPLAY_REMOVE(x, y) argument
325 #define SPLAY_FIND(name, x, y) name##_SPLAY_FIND(x, y) argument
326 #define SPLAY_SEARCH(name, x, y) name##_SPLAY_SEARCH(x, y) argument
327 #define SPLAY_NEXT(name, x, y) name##_SPLAY_NEXT(x, y) argument
328 #define SPLAY_MIN(name, x) (SPLAY_EMPTY(x) ? NULL \ argument
330 #define SPLAY_MAX(name, x) (SPLAY_EMPTY(x) ? NULL \ argument
333 #define SPLAY_FOREACH(x, name, head) \ argument
380 #define RB_AUGMENT(x) (void)(x) argument
817 #define RB_INSERT(name, x, y) name##_RB_INSERT(x, y) argument
[all …]
/xnu-10002.1.13/osfmk/arm64/
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 …]
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 …]
/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/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/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
101 uint64_t x; variable
139 uint32_t x; variable
210 #define CC_ROR(x,n) _lrotr(x,n) argument
211 #define CC_ROL(x,n) _lrotl(x,n) argument
212 #define CC_RORc(x,n) _lrotr(x,n) argument
213 #define CC_ROLc(x,n) _lrotl(x,n) argument
266 #define CC_ROLc(x, y) CC_ROL(x, y) argument
267 #define CC_RORc(x, y) CC_ROR(x, y) argument
[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/libsyscall/mach/mach/
H A Dvm_page_size.h49 #define trunc_page(x) ((x) & (~(vm_page_size - 1))) argument
50 #define round_page(x) trunc_page((x) + (vm_page_size - 1)) argument
55 #define mach_vm_trunc_page(x) ((mach_vm_offset_t)(x) & ~((signed)vm_page_mask)) argument
56 #define mach_vm_round_page(x) (((mach_vm_offset_t)(x) + vm_page_mask) & ~((signed)vm_page_mask)) argument
63 #define trunc_page_kernel(x) ((x) & (~vm_kernel_page_mask)) argument
64 #define round_page_kernel(x) trunc_page_kernel((x) + vm_kernel_page_mask) argument
/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/tests/
H A Dos_refcnt.c44 os_ref_count_t x = os_ref_release(&rc); variable
75 os_ref_count_t x = os_ref_release_raw(&rc, NULL); variable
105 os_ref_count_t x = os_ref_release_locked(&rc); variable
124 os_ref_count_t x = os_ref_release_locked_raw(&rc, NULL); variable
150 os_ref_count_t x = os_ref_release_mask(&rc, bits, NULL); in do_bitwise_test() local
221 os_ref_count_t x = os_ref_release(&rc); variable
273 int x = setjmp(jb); variable
288 int x = setjmp(jb); variable
306 int x = setjmp(jb); variable
322 int x = setjmp(jb); variable
[all …]
/xnu-10002.1.13/bsd/sys/
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
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
239 #define KDBG3(f, x, a, b, c, d) KERNEL_DEBUG_CONSTANT##f(x, a, b, c, 0, 0) argument
[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
/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
/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/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
/xnu-10002.1.13/libkern/os/
H A Dbase_private.h30 #define os_fastpath(x) ((__typeof__(x))OS_EXPECT((long)(x), ~0l)) argument
33 #define os_slowpath(x) ((__typeof__(x))OS_EXPECT((long)(x), 0l)) argument
36 #define os_likely(x) OS_EXPECT(!!(x), 1) argument
39 #define os_unlikely(x) OS_EXPECT(!!(x), 0) argument
/xnu-10002.1.13/san/memory/
H A Dkasan_internal.h38 #define MiB(x) ((x) * 1024UL * 1024) argument
39 #define BIT(x) (1U << (x)) argument
68 #define CLANG_MIN_VERSION(x) (defined(__apple_build_version__) && (__apple_build_version__ >= (x))) argument
91 #define kasan_granule_trunc(x) (x & ~KASAN_GRANULE_MASK) argument
92 #define kasan_granule_round(x) ((x + KASAN_GRANULE_MASK) & ~KASAN_GRANULE_MASK) argument
93 #define kasan_granule_partial(x) (x & KASAN_GRANULE_MASK) argument
95 #define ADDRESS_FOR_SHADOW(x) (((KASAN_STRIP_ADDR(x)) - KASAN_OFFSET) << KASAN_SCALE) argument
96 #define SHADOW_FOR_ADDRESS(x) (uint8_t *)(((KASAN_STRIP_ADDR(x)) >> KASAN_SCALE) + KASAN_OFFSET) 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
96 #define _SOCD_TRACE_XNU(c, x, ...) \ 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/bsd/net/
H A Dnat464_utils.h69 #define clat_log0(x) do { log x; } while (0) argument
70 #define clat_log1(x) do { if (clat_debug >= 1) log x; } while (0) argument
71 #define clat_log2(x) do { if (clat_debug >= 2) log x; } while (0) argument
73 #define CLAT46_NEEDED(x) \ argument
77 #define CLAT64_NEEDED(x) \ argument

12345678910>>...14