Home
last modified time | relevance | path

Searched refs:CHAR_BIT (Results 1 – 13 of 13) sorted by relevance

/xnu-12377.1.9/osfmk/i386/ !
H A Dmachlimits.h52 #define CHAR_BIT 8 /* number of bits in a char */ macro
H A Dmp.h160 static_assert(sizeof(cpumask_t) * CHAR_BIT >= MAX_CPUS, "cpumask_t bitvector is too small for curre…
/xnu-12377.1.9/bsd/arm/ !
H A Dlimits.h80 #define CHAR_BIT 8 /* number of bits in a char */ macro
/xnu-12377.1.9/bsd/i386/ !
H A Dlimits.h81 #define CHAR_BIT 8 /* number of bits in a char */ macro
/xnu-12377.1.9/tests/ipc/ !
H A Dmach_port_construct_errors.c101 for (uint32_t i = 0; i < sizeof(unknown_flags_opts.flags) * CHAR_BIT; ++i) {
/xnu-12377.1.9/osfmk/arm/ !
H A Dcpu_data_internal.h63 static_assert(sizeof(cpumap_t) * CHAR_BIT >= MAX_CPUS, "cpumap_t bitvector is too small for current…
/xnu-12377.1.9/bsd/libkern/ !
H A Dlibkern.h252 return num ? __builtin_clz(num) : sizeof(num) * CHAR_BIT; in clz()
/xnu-12377.1.9/osfmk/arm64/ !
H A Dmonotonic_arm64.c367 static_assert(sizeof(uncore_active_ctrs) * CHAR_BIT >= UNCORE_NCTRS,
/xnu-12377.1.9/osfmk/kern/ !
H A Dzalloc.c1591 vm_size_t xtra_size = bits_size * CHAR_BIT << zba_xtra_shift; in zba_populate()
1926 vm_offset_t offs = (bref & ZBA_PTR_MASK) * ZBA_GRANULE * CHAR_BIT; in zba_extra_ref_ptr()
9861 static_assert(ZONE_MAP_MAX / (CHAR_BIT * KALLOC_MINSIZE) <= in zone_set_map_sizes()
9864 (CHAR_BIT * KALLOC_MINSIZE)); in zone_set_map_sizes()
9879 zone_xtra_size = round_page(zone_bits_size * CHAR_BIT << zba_xtra_shift); in zone_set_map_sizes()
H A Dkern_stackshot.c3037 …((((x) * STACKSHOT_PLH_SHIFT) < (sizeof(ispl) * CHAR_BIT)) ? ((ptr) >> ((x) * STACKSHOT_PLH_SHIFT)… in stackshot_plh_hash()
/xnu-12377.1.9/iokit/Kernel/ !
H A DIOUserServer.cpp5673 prop = OSNumber::withNumber(ml_get_conttime_offset(), sizeof(uint64_t) * CHAR_BIT); in systemPower()
7336 OSObject * prop = OSNumber::withNumber(ml_get_conttime_offset(), sizeof(uint64_t) * CHAR_BIT); in initialize()
/xnu-12377.1.9/bsd/pthread/ !
H A Dpthread_workqueue.c326 static_assert(sizeof(wq_thactive_t) * CHAR_BIT - WQ_THACTIVE_QOS_SHIFT >= 3,
/xnu-12377.1.9/libkern/c++/ !
H A DOSKext.cpp10251 portNameNumber = OSNumber::withNumber(portName, CHAR_BIT * sizeof(portName));