Home
last modified time | relevance | path

Searched refs:U (Results 1 – 25 of 35) sorted by relevance

12

/xnu-8796.121.2/libkern/libkern/c++/
H A Dbounded_ptr.h62 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 Dintrusive_shared_ptr.h76 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-8796.121.2/iokit/DriverKit/
H A Dbounded_ptr.h62 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-8796.121.2/tests/
H A Dproc_info.c950 T_EXPECT_EQ_UINT(0U, pbsd->pbi_xstatus, "PROC_PIDTBSDINFO show Correct xstatus (exit status)");
955 T_EXPECT_EQ_UINT(pbsd->pbi_ruid, 0U, "PROC_PIDTBSDINFO returns valid ruid");
966 T_EXPECT_NE_UINT(pbsd->e_tdev, 0U, "PROC_PIDTBSDINFO returned valid e_tdev");
993 T_EXPECT_EQ_UINT(pbsd_short->pbsi_ruid, 0U, "PROC_PIDT_SHORTBSDINFO returns valid ruid");
1013 T_EXPECT_EQ_UINT(0U, pbsd->pbi_xstatus, "PROC_PIDT_BSDINFOWITHUNIQID show Correct xstatus");
1018 T_EXPECT_EQ_UINT(pbsd_uniqid->pbsd.pbi_ruid, 0U, "PROC_PIDT_BSDINFOWITHUNIQID returns valid ruid");
1031 …T_EXPECT_NE_UINT(pbsd_uniqid->pbsd.e_tdev, 0U, "PROC_PIDT_BSDINFOWITHUNIQID returned valid e_tdev"…
1120 T_EXPECT_EQ_UINT(0U, pbsd->pbi_xstatus, "PROC_PIDTASKALLINFO show Correct xstatus");
1125 T_EXPECT_EQ_UINT(pall->pbsd.pbi_ruid, 0U, "PROC_PIDTASKALLINFO returns valid ruid");
1136 T_EXPECT_NE_UINT(pall->pbsd.e_tdev, 0U, "PROC_PIDTASKALLINFO returned valid e_tdev");
[all …]
H A Dthread_set_state_arm64_cpsr.c91 ts.__cpsr = ~0U;
H A Dnet_tuntests.c965 T_QUIET; T_EXPECT_EQ_UINT(0U, os_channel_available_slot_count(rings[ri]), NULL); in expect_empty_rings()
1103 T_QUIET; T_EXPECT_EQ_UINT(found[ri], 0U, NULL); in xfer_1_packet_together()
1119 T_QUIET; T_EXPECT_NE_UINT(found[ri], 0U, NULL); in xfer_1_packet_together()
/xnu-8796.121.2/tests/intrusive_shared_ptr_src/
H A Dcompare.equal.nullptr.cpp22 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 Dcompare.equal.cpp19 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 Dcompare.equal.raw.cpp25 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-8796.121.2/bsd/netinet6/
H A Dip6_id.c216 p->ru_seed = RandomULong() & (~0U >> (32 - p->ru_bits + 1)); in initid()
217 p->ru_seed2 = RandomULong() & (~0U >> (32 - p->ru_bits + 1)); in initid()
220 p->ru_b = (RandomULong() & (~0U >> (32 - p->ru_bits))) | 1; in initid()
222 (RandomULong() & (~0U >> (32 - p->ru_bits))) & (~1U), p->ru_m); in initid()
/xnu-8796.121.2/bsd/libkern/
H A Dcrc32.c98 crc = crc ^ ~0U; in crc32()
104 return crc ^ ~0U; in crc32()
/xnu-8796.121.2/tests/bounded_ptr_src/
H A Dcompare.order.raw.cpp36 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 Dcompare.equal.raw.cpp24 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 Dcompare.equal.cpp31 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 Dcompare.order.cpp37 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-8796.121.2/bsd/nfs/
H A Drpcv2.h93 #define RPCAUTH_INVALID ~0U
/xnu-8796.121.2/osfmk/vm/
H A Dvm_compressor_algorithms.c75 .lz4_max_failure_run_length = ~0U,
77 .lz4_run_preselection_threshold = ~0U,
/xnu-8796.121.2/EXTERNAL_HEADERS/
H A Dstdint.h90 #define UINT32_C(v) (v ## U)
/xnu-8796.121.2/san/memory/
H A Dkasan_internal.h127 TYPE_ALL = ~0U,
/xnu-8796.121.2/tests/ktrace/
H A Dkdebug_tests.c898 dev_exp = is_development_kernel() ? EXP_KERNEL_EVENTS : 0U;
930 T_EXPECT_EQ(dev_seen, is_development_kernel() ? EXP_KERNEL_EVENTS : 0U,
936 T_EXPECT_EQ(filt_seen, 0U, "no filter-only events seen");
966 T_EXPECT_EQ(rel_seen, 0U, "release and development events not seen");
967 T_EXPECT_EQ(dev_seen, 0U, "development-only events not seen");
968 T_EXPECT_EQ(filt_seen, 0U, "filter-only events not seen");
H A Dkperf_tests.c936 T_EXPECT_GT(user_stacks, 0U, NULL);
937 T_EXPECT_GT(kernel_stacks, 0U, NULL);
/xnu-8796.121.2/libkern/os/
H A Dcpp_util.h75 template<class T, class U> struct is_same { static constexpr bool value = false; };
/xnu-8796.121.2/osfmk/kperf/
H A Dcallstack.c899 uint32_t currPC = 0U;
900 uint32_t currFP = 0U;
901 uint32_t prevPC = 0U;
902 uint32_t prevFP = 0U;
/xnu-8796.121.2/osfmk/conf/
H A Dcopyright.osf41 # copyright law and all other applicable laws of the U.S. including, but
/xnu-8796.121.2/osfmk/i386/
H A Dcpu_data.h143 #define TRAPTRACE_INVALID_INDEX (~0U)

12