| /xnu-8019.80.24/osfmk/i386/ |
| H A D | machlimits.h | 65 #define UINT_MAX 0xFFFFFFFFU /* max value for an unsigned int */ macro 69 #define ULONG_MAX UINT_MAX /* max value for an unsigned long */
|
| /xnu-8019.80.24/libsyscall/wrappers/string/ |
| H A D | memset.c | 84 #if UINT_MAX > 0xffff in _libkernel_memset() 87 #if UINT_MAX > 0xffffffff in _libkernel_memset()
|
| /xnu-8019.80.24/osfmk/arm/ |
| H A D | machlimits.h | 81 #define UINT_MAX 0xFFFFFFFFU /* max value for an unsigned int */ macro
|
| /xnu-8019.80.24/bsd/arm/ |
| H A D | limits.h | 75 #define UINT_MAX 0xffffffff /* max value for an unsigned int */ macro
|
| /xnu-8019.80.24/bsd/i386/ |
| H A D | limits.h | 76 #define UINT_MAX 0xffffffff /* max value for an unsigned int */ macro
|
| /xnu-8019.80.24/tests/ |
| H A D | drop_priv.c | 22 #define ID_MAX (unsigned long)UINT_MAX
|
| H A D | sysctl_get_owned_vmobjects.c | 159 nestingDepth = UINT_MAX; in main_test() 169 nestingDepth = UINT_MAX; in main_test()
|
| /xnu-8019.80.24/tests/vm/ |
| H A D | vm_allocation.c | 1687 vm_inherit_t inheritances[] = {VM_INHERIT_DEFAULT, VM_INHERIT_LAST_VALID + 1, UINT_MAX}; in test_mach_vm_map_protection_inheritance_error() 2024 (mach_vm_address_t)UINT_MAX - vm_page_size + 1, in test_deallocate_zero_size_ranges() 2025 (mach_vm_address_t)UINT_MAX, in test_deallocate_zero_size_ranges() 2232 (mach_vm_address_t)UINT_MAX - vm_page_size + 1, in read_edge_size() 2233 (mach_vm_address_t)UINT_MAX, in read_edge_size() 2266 read_edge_size((mach_vm_size_t)UINT_MAX + 1, KERN_INVALID_ARGUMENT); in test_read_invalid_large_size() 2280 {(mach_vm_address_t)(UINTMAX_MAX - UINT_MAX + 1), (mach_vm_size_t)UINT_MAX}, in test_read_wrapped_around_ranges() 2281 …{(mach_vm_address_t)(UINTMAX_MAX - UINT_MAX + vm_page_size), (mach_vm_size_t)(UINT_MAX - vm_page_s… in test_read_wrapped_around_ranges() 2565 (mach_vm_address_t)UINT_MAX - vm_page_size + 1, in copy_edge_size() 2566 (mach_vm_address_t)UINT_MAX, in copy_edge_size() [all …]
|
| /xnu-8019.80.24/iokit/Kernel/ |
| H A D | IOHibernateInternal.h | 94 #define IO_MAX_PAGE_ADDR (((uint64_t) UINT_MAX) << PAGE_SHIFT)
|
| H A D | IOMapper.cpp | 114 assert(pageSize <= UINT_MAX); in start() 251 if (dmaAddressPage64 > UINT_MAX) { in IOMapperIOVMAlloc()
|
| H A D | IODMACommand.cpp | 543 if (numPages64 > UINT_MAX) { in segmentOp() 582 if (chunk > (UINT_MAX - PAGE_SIZE + 1)) { in segmentOp() 583 chunk = (UINT_MAX - PAGE_SIZE + 1); in segmentOp() 852 if (atop_64(state->fPreparedLength) > UINT_MAX) { in prepare() 1199 if (copyLen > (UINT_MAX - PAGE_SIZE + 1)) { in transferSegment() 1200 copyLen = (UINT_MAX - PAGE_SIZE + 1); in transferSegment()
|
| H A D | IOHibernateIO.cpp | 354 if (count > UINT_MAX) { in hibernate_set_page_state() 1091 if (vars->previewBuffer && (vars->previewBuffer->getLength() > UINT_MAX)) { in IOHibernateSystemHasSlept() 1792 if ((count > UINT_MAX) || (entrypoint > UINT_MAX) || (stack > UINT_MAX)) { in hibernate_write_image() 2005 if (count > UINT_MAX) { in hibernate_write_image() 2006 count = UINT_MAX; in hibernate_write_image()
|
| H A D | IOMemoryCursor.cpp | 92 if (inMaxTransferSize > UINT_MAX) { in initWithSpecification()
|
| H A D | IOPolledInterface.cpp | 859 assert(vars->pollers->ioBuffer->getLength() <= UINT_MAX); in IOPolledFilePollersSetup() 979 assert(encryptLen <= UINT_MAX); in IOPolledFileWrite() 1164 assert(lastReadLength <= UINT_MAX); in IOPolledFileRead()
|
| H A D | IOMemoryDescriptor.cpp | 2266 if (!(kIOMemoryRemote & options) && (atop_64(endAddr) > UINT_MAX)) { in initWithOptions() 2278 if ((highPage > _highestPage) && (highPage <= UINT_MAX)) { in initWithOptions() 2567 if (srcLen > (UINT_MAX - PAGE_SIZE + 1)) { in readBytes() 2568 srcLen = (UINT_MAX - PAGE_SIZE + 1); in readBytes() 2636 if (dstLen > (UINT_MAX - PAGE_SIZE + 1)) { in writeBytes() 2637 dstLen = (UINT_MAX - PAGE_SIZE + 1); in writeBytes() 3955 if (dstLen > (UINT_MAX - PAGE_SIZE + 1)) { in performOperation() 3956 dstLen = (UINT_MAX - PAGE_SIZE + 1); in performOperation() 3958 if (remaining > UINT_MAX) { in performOperation() 3959 remaining = UINT_MAX; in performOperation() [all …]
|
| /xnu-8019.80.24/libkern/c++/ |
| H A D | OSOrderedSet.cpp | 66 if (inCapacity > (UINT_MAX / sizeof(_Element))) { in initWithCapacity() 181 if (finalCapacity > UINT_MAX) { in ensureCapacity()
|
| H A D | OSArray.cpp | 63 if (inCapacity > (UINT_MAX / sizeof(*array))) { in initWithCapacity() 230 if (finalCapacity > UINT_MAX) { in ensureCapacity()
|
| H A D | OSDictionary.cpp | 90 if (inCapacity > (UINT_MAX / sizeof(dictEntry))) { in initWithCapacity() 340 if (finalCapacity > UINT_MAX) { in ensureCapacity()
|
| /xnu-8019.80.24/libkern/kxld/tests/ |
| H A D | kxld_array_test.c | 142 *item = (u_int) (random() % UINT_MAX); in main()
|
| /xnu-8019.80.24/bsd/skywalk/nexus/ |
| H A D | nexus_mbq.h | 124 VERIFY(qsize <= UINT_MAX); in nx_mbq_size()
|
| H A D | nexus_pktq.h | 97 VERIFY(qsize <= UINT_MAX); in nx_pktq_size()
|
| /xnu-8019.80.24/bsd/netinet/ |
| H A D | ip_compat.h | 660 # undef UINT_MAX 690 # undef UINT_MAX
|
| /xnu-8019.80.24/libkern/zlib/ |
| H A D | z_crc32.c | 66 # if (UINT_MAX == 0xffffffffUL)
|
| /xnu-8019.80.24/bsd/tests/ |
| H A D | bsd_tests.c | 228 if (size_in > UINT_MAX) { in xnupost_export_testdata()
|
| /xnu-8019.80.24/bsd/nfs/ |
| H A D | krpc_subr.c | 398 if (mbuf_len(nam) > UINT_MAX) { in krpc_call()
|