| /xnu-12377.41.6/libkern/libkern/c++/ |
| H A D | bounded_ptr.h | 62 template <typename T, typename U> struct copy_const { using type = U; }; 63 template <typename T, typename U> struct copy_const<T const, U> { using type = U const; }; 64 template <typename T, typename U> using copy_const_t = typename copy_const<T, U>::type; 66 template <typename T, typename U> struct copy_cv { using type = U; }; 67 template <typename T, typename U> struct copy_cv<T const, U> { using type = U const; }; 68 template <typename T, typename U> struct copy_cv<T volatile, U> { using type = U volatile; }; 69 template <typename T, typename U> struct copy_cv<T const volatile, U> { using type = U const volati… 70 template <typename T, typename U> using copy_cv_t = typename copy_cv<T, U>::type; 72 template <typename T, typename U> 74 decltype(declval<T>() == declval<U>()), [all …]
|
| H A D | intrusive_shared_ptr.h | 76 template <typename T, typename U> 78 decltype(declval<T>() == declval<U>()), 79 decltype(declval<T>() != declval<U>()) 197 template <typename U, typename = isp_detail::enable_if_t<isp_detail::is_convertible_v<U*, T*> > > 198 intrusive_shared_ptr(intrusive_shared_ptr<U, RefcountPolicy> const & other) : ptr_(other.ptr_) { 223 template <typename U, typename = isp_detail::enable_if_t<isp_detail::is_convertible_v<U*, T*> > > 224 …constexpr intrusive_shared_ptr(intrusive_shared_ptr<U, RefcountPolicy>&& other) noexcept : ptr_(ot… 270 template <typename U, typename = isp_detail::enable_if_t<isp_detail::is_convertible_v<U*, T*> > > 272 operator=(intrusive_shared_ptr<U, RefcountPolicy> const& other) 308 template <typename U, typename = isp_detail::enable_if_t<isp_detail::is_convertible_v<U*, T*> > > [all …]
|
| /xnu-12377.41.6/iokit/DriverKit/ |
| H A D | bounded_ptr.h | 62 template <typename T, typename U> struct copy_const { using type = U; }; 63 template <typename T, typename U> struct copy_const<T const, U> { using type = U const; }; 64 template <typename T, typename U> using copy_const_t = typename copy_const<T, U>::type; 66 template <typename T, typename U> struct copy_cv { using type = U; }; 67 template <typename T, typename U> struct copy_cv<T const, U> { using type = U const; }; 68 template <typename T, typename U> struct copy_cv<T volatile, U> { using type = U volatile; }; 69 template <typename T, typename U> struct copy_cv<T const volatile, U> { using type = U const volati… 70 template <typename T, typename U> using copy_cv_t = typename copy_cv<T, U>::type; 72 template <typename T, typename U> 74 decltype(declval<T>() == declval<U>()), [all …]
|
| /xnu-12377.41.6/tests/ |
| H A D | proc_info.c | 1032 T_EXPECT_EQ_UINT(0U, pbsd->pbi_xstatus, "PROC_PIDTBSDINFO show Correct xstatus (exit status)"); 1037 T_EXPECT_EQ_UINT(pbsd->pbi_ruid, 0U, "PROC_PIDTBSDINFO returns valid ruid"); 1048 T_EXPECT_NE_UINT(pbsd->e_tdev, 0U, "PROC_PIDTBSDINFO returned valid e_tdev"); 1075 T_EXPECT_EQ_UINT(pbsd_short->pbsi_ruid, 0U, "PROC_PIDT_SHORTBSDINFO returns valid ruid"); 1097 T_EXPECT_EQ_UINT(0U, pbsd->pbi_xstatus, "PROC_PIDT_BSDINFOWITHUNIQID show Correct xstatus"); 1102 T_EXPECT_EQ_UINT(pbsd_uniqid->pbsd.pbi_ruid, 0U, "PROC_PIDT_BSDINFOWITHUNIQID returns valid ruid"); 1115 …T_EXPECT_NE_UINT(pbsd_uniqid->pbsd.e_tdev, 0U, "PROC_PIDT_BSDINFOWITHUNIQID returned valid e_tdev"… 1206 T_EXPECT_EQ_UINT(0U, pbsd->pbi_xstatus, "PROC_PIDTASKALLINFO show Correct xstatus"); 1211 T_EXPECT_EQ_UINT(pall->pbsd.pbi_ruid, 0U, "PROC_PIDTASKALLINFO returns valid ruid"); 1222 T_EXPECT_NE_UINT(pall->pbsd.e_tdev, 0U, "PROC_PIDTASKALLINFO returned valid e_tdev"); [all …]
|
| H A D | arm_mte_knobs_policies.c | 59 T_ASSERT_EQ_UINT(orig_tag, 0U, "originally assigned tag is zero"); in tag_violate_template() 88 T_QUIET; T_ASSERT_EQ_UINT(next_granule_tag, 0U, in tag_violate_template()
|
| H A D | thread_set_state_arm64_cpsr.c | 91 ts.__cpsr = ~0U;
|
| H A D | arm_mte_utilities.c | 302 T_QUIET; T_ASSERT_EQ_UINT(orig_tag, 0U, in allocate_tagged_memory() 406 T_QUIET; T_ASSERT_EQ_UINT(orig_tag, 0U, in allocate_untagged_memory()
|
| H A D | arm_mte_stress.c | 94 T_QUIET; T_ASSERT_EQ_UINT(orig_tag, 0U, "originally assigned tag is zero"); in allocate_memory_and_wait()
|
| H A D | arm_mte.c | 101 T_ASSERT_EQ_UINT(orig_tag, 0U, "originally assigned tag is zero"); in do_mte_tag_check() 141 T_QUIET; T_ASSERT_EQ_UINT(next_granule_tag, 0U, in do_mte_tag_check() 696 T_QUIET; T_ASSERT_EQ_UINT(orig_tag, 0U, "Originally assigned tag is zero"); in mte_mach_vm_read() 1367 T_QUIET; T_ASSERT_EQ_UINT(orig_tag, 0U, "originally assigned tag is zero"); 1424 T_ASSERT_EQ_UINT(orig_tag, 0U, "originally assigned tag is zero"); 1453 T_QUIET; T_ASSERT_EQ_UINT(next_granule_tag, 0U,
|
| /xnu-12377.41.6/tests/intrusive_shared_ptr_src/ |
| H A D | compare.equal.nullptr.cpp | 22 template <typename T, typename U> 24 check_eq(T t, U u) in check_eq() 32 template <typename T, typename U> 34 check_ne(T t, U u) in check_ne()
|
| H A D | compare.equal.cpp | 19 template <typename T, typename U> 21 check_eq(T t, U u) in check_eq() 29 template <typename T, typename U> 31 check_ne(T t, U u) in check_ne()
|
| H A D | compare.equal.raw.cpp | 25 template <typename T, typename U> 27 check_eq(T t, U u) in check_eq() 35 template <typename T, typename U> 37 check_ne(T t, U u) in check_ne()
|
| /xnu-12377.41.6/bsd/libkern/ |
| H A D | crc32.c | 98 crc = crc ^ ~0U; in crc32() 104 return crc ^ ~0U; in crc32()
|
| /xnu-12377.41.6/tests/bounded_ptr_src/ |
| H A D | compare.order.raw.cpp | 36 template <typename T, typename U> 38 check_lt(T t, U u) in check_lt() 51 template <typename T, typename U> 53 check_eq(T t, U u) in check_eq()
|
| H A D | compare.equal.raw.cpp | 24 template <typename T, typename U> 26 check_eq(T t, U u) in check_eq() 34 template <typename T, typename U> 36 check_ne(T t, U u) in check_ne()
|
| H A D | compare.equal.cpp | 31 template <typename T, typename U> 33 check_eq(T t, U u) in check_eq() 41 template <typename T, typename U> 43 check_ne(T t, U u) in check_ne()
|
| H A D | compare.order.cpp | 37 template <typename T, typename U> 39 check_lt(T t, U u) in check_lt() 52 template <typename T, typename U> 54 check_eq(T t, U u) in check_eq()
|
| /xnu-12377.41.6/bsd/net/ |
| H A D | net_thread_marks.c | 98 static const ptrdiff_t ones = (ptrdiff_t)(u_int32_t)~0U; in net_thread_marks_pop() 114 static const ptrdiff_t ones = (ptrdiff_t)(u_int32_t)~0U; in net_thread_unmarks_pop()
|
| /xnu-12377.41.6/bsd/nfs/ |
| H A D | rpcv2.h | 93 #define RPCAUTH_INVALID ~0U
|
| /xnu-12377.41.6/osfmk/vm/ |
| H A D | vm_compressor_algorithms.c | 75 .lz4_max_failure_run_length = ~0U, 77 .lz4_run_preselection_threshold = ~0U,
|
| /xnu-12377.41.6/EXTERNAL_HEADERS/ |
| H A D | stdint.h | 99 #define UINT32_C(v) (v ## U)
|
| /xnu-12377.41.6/san/memory/ |
| H A D | kasan_internal.h | 127 TYPE_ALL = ~0U,
|
| /xnu-12377.41.6/tests/ktrace/ |
| H A D | kdebug_tests.c | 906 dev_exp = is_development_kernel() ? EXP_KERNEL_EVENTS : 0U; 939 T_EXPECT_EQ(dev_seen, is_development_kernel() ? EXP_KERNEL_EVENTS : 0U, 945 T_EXPECT_EQ(filt_seen, 0U, "no filter-only events seen"); 976 T_EXPECT_EQ(rel_seen, 0U, "release and development events not seen"); 977 T_EXPECT_EQ(dev_seen, 0U, "development-only events not seen"); 978 T_EXPECT_EQ(filt_seen, 0U, "filter-only events not seen");
|
| /xnu-12377.41.6/libkern/os/ |
| H A D | cpp_util.h | 79 template<class T, class U> struct is_same { static constexpr bool value = false; };
|
| /xnu-12377.41.6/osfmk/kperf/ |
| H A D | callstack.c | 968 uint32_t currPC = 0U; 969 uint32_t currFP = 0U; 970 uint32_t prevPC = 0U; 971 uint32_t prevFP = 0U;
|