| /xnu-8792.41.9/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-8792.41.9/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-8792.41.9/bsd/arm/ |
| H A D | limits.h | 75 #define UINT_MAX 0xffffffff /* max value for an unsigned int */ macro
|
| /xnu-8792.41.9/bsd/i386/ |
| H A D | limits.h | 76 #define UINT_MAX 0xffffffff /* max value for an unsigned int */ macro
|
| /xnu-8792.41.9/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-8792.41.9/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 | 547 if (numPages64 > UINT_MAX) { in segmentOp() 586 if (chunk > (UINT_MAX - PAGE_SIZE + 1)) { in segmentOp() 587 chunk = (UINT_MAX - PAGE_SIZE + 1); in segmentOp() 856 if (atop_64(state->fPreparedLength) > UINT_MAX) { in prepare() 1203 if (copyLen > (UINT_MAX - PAGE_SIZE + 1)) { in transferSegment() 1204 copyLen = (UINT_MAX - PAGE_SIZE + 1); in transferSegment()
|
| H A D | IOHibernateIO.cpp | 354 if (count > UINT_MAX) { in hibernate_set_page_state() 1092 if (vars->previewBuffer && (vars->previewBuffer->getLength() > UINT_MAX)) { in IOHibernateSystemHasSlept() 1795 if ((count > UINT_MAX) || (entrypoint > UINT_MAX) || (stack > UINT_MAX)) { in hibernate_write_image() 2008 if (count > UINT_MAX) { in hibernate_write_image() 2009 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 | 2276 if (!(kIOMemoryRemote & options) && (atop_64(endAddr) > UINT_MAX)) { in initWithOptions() 2288 if ((highPage > _highestPage) && (highPage <= UINT_MAX)) { in initWithOptions() 2577 if (srcLen > (UINT_MAX - PAGE_SIZE + 1)) { in readBytes() 2578 srcLen = (UINT_MAX - PAGE_SIZE + 1); in readBytes() 2646 if (dstLen > (UINT_MAX - PAGE_SIZE + 1)) { in writeBytes() 2647 dstLen = (UINT_MAX - PAGE_SIZE + 1); in writeBytes() 3971 if (dstLen > (UINT_MAX - PAGE_SIZE + 1)) { in performOperation() 3972 dstLen = (UINT_MAX - PAGE_SIZE + 1); in performOperation() 3974 if (remaining > UINT_MAX) { in performOperation() 3975 remaining = UINT_MAX; in performOperation() [all …]
|
| /xnu-8792.41.9/tests/vm/ |
| H A D | vm_allocation.c | 1693 vm_inherit_t inheritances[] = {VM_INHERIT_DEFAULT, VM_INHERIT_LAST_VALID + 1, UINT_MAX}; in test_mach_vm_map_protection_inheritance_error() 2030 (mach_vm_address_t)UINT_MAX - vm_page_size + 1, in test_deallocate_zero_size_ranges() 2031 (mach_vm_address_t)UINT_MAX, in test_deallocate_zero_size_ranges() 2238 (mach_vm_address_t)UINT_MAX - vm_page_size + 1, in read_edge_size() 2239 (mach_vm_address_t)UINT_MAX, in read_edge_size() 2272 read_edge_size((mach_vm_size_t)UINT_MAX + 1, KERN_INVALID_ARGUMENT); in test_read_invalid_large_size() 2286 {(mach_vm_address_t)(UINTMAX_MAX - UINT_MAX + 1), (mach_vm_size_t)UINT_MAX}, in test_read_wrapped_around_ranges() 2287 …{(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() 2571 (mach_vm_address_t)UINT_MAX - vm_page_size + 1, in copy_edge_size() 2572 (mach_vm_address_t)UINT_MAX, in copy_edge_size() [all …]
|
| /xnu-8792.41.9/libkern/kxld/tests/ |
| H A D | kxld_array_test.c | 142 *item = (u_int) (random() % UINT_MAX); in main()
|
| /xnu-8792.41.9/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-8792.41.9/bsd/netinet/ |
| H A D | ip_compat.h | 660 # undef UINT_MAX 690 # undef UINT_MAX
|
| /xnu-8792.41.9/bsd/tests/ |
| H A D | bsd_tests.c | 228 if (size_in > UINT_MAX) { in xnupost_export_testdata()
|
| /xnu-8792.41.9/libkern/zlib/ |
| H A D | z_crc32.c | 66 # if (UINT_MAX == 0xffffffffUL)
|
| /xnu-8792.41.9/libkern/c++/ |
| H A D | OSArray.cpp | 63 if (inCapacity > (UINT_MAX / sizeof(*array))) { in initWithCapacity()
|
| H A D | OSOrderedSet.cpp | 66 if (inCapacity > (UINT_MAX / sizeof(_Element))) { in initWithCapacity()
|
| /xnu-8792.41.9/osfmk/vm/ |
| H A D | vm_compressor.h | 195 #define C_SEG_MAX_LIMIT (UINT_MAX) /* this needs to track the size of c_mysegno */
|
| /xnu-8792.41.9/bsd/kern/ |
| H A D | kern_subr.c | 294 acnt = MIN(acnt, UINT_MAX); in uiomove64() 326 acnt = MIN(acnt, UINT_MAX); in uiomove64()
|
| /xnu-8792.41.9/iokit/System/ |
| H A D | IODataQueueDispatchSourceShared.h | 84 if (queueByteCount > UINT_MAX) { in Create_Impl()
|