Home
last modified time | relevance | path

Searched refs:UINT_MAX (Results 1 – 25 of 48) sorted by relevance

12

/xnu-8792.41.9/osfmk/i386/
H A Dmachlimits.h65 #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 Dmemset.c84 #if UINT_MAX > 0xffff in _libkernel_memset()
87 #if UINT_MAX > 0xffffffff in _libkernel_memset()
/xnu-8792.41.9/bsd/arm/
H A Dlimits.h75 #define UINT_MAX 0xffffffff /* max value for an unsigned int */ macro
/xnu-8792.41.9/bsd/i386/
H A Dlimits.h76 #define UINT_MAX 0xffffffff /* max value for an unsigned int */ macro
/xnu-8792.41.9/tests/
H A Ddrop_priv.c22 #define ID_MAX (unsigned long)UINT_MAX
H A Dsysctl_get_owned_vmobjects.c159 nestingDepth = UINT_MAX; in main_test()
169 nestingDepth = UINT_MAX; in main_test()
/xnu-8792.41.9/iokit/Kernel/
H A DIOHibernateInternal.h94 #define IO_MAX_PAGE_ADDR (((uint64_t) UINT_MAX) << PAGE_SHIFT)
H A DIOMapper.cpp114 assert(pageSize <= UINT_MAX); in start()
251 if (dmaAddressPage64 > UINT_MAX) { in IOMapperIOVMAlloc()
H A DIODMACommand.cpp547 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 DIOHibernateIO.cpp354 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 DIOMemoryCursor.cpp92 if (inMaxTransferSize > UINT_MAX) { in initWithSpecification()
H A DIOPolledInterface.cpp859 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 DIOMemoryDescriptor.cpp2276 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 Dvm_allocation.c1693 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 Dkxld_array_test.c142 *item = (u_int) (random() % UINT_MAX); in main()
/xnu-8792.41.9/bsd/skywalk/nexus/
H A Dnexus_mbq.h124 VERIFY(qsize <= UINT_MAX); in nx_mbq_size()
H A Dnexus_pktq.h97 VERIFY(qsize <= UINT_MAX); in nx_pktq_size()
/xnu-8792.41.9/bsd/netinet/
H A Dip_compat.h660 # undef UINT_MAX
690 # undef UINT_MAX
/xnu-8792.41.9/bsd/tests/
H A Dbsd_tests.c228 if (size_in > UINT_MAX) { in xnupost_export_testdata()
/xnu-8792.41.9/libkern/zlib/
H A Dz_crc32.c66 # if (UINT_MAX == 0xffffffffUL)
/xnu-8792.41.9/libkern/c++/
H A DOSArray.cpp63 if (inCapacity > (UINT_MAX / sizeof(*array))) { in initWithCapacity()
H A DOSOrderedSet.cpp66 if (inCapacity > (UINT_MAX / sizeof(_Element))) { in initWithCapacity()
/xnu-8792.41.9/osfmk/vm/
H A Dvm_compressor.h195 #define C_SEG_MAX_LIMIT (UINT_MAX) /* this needs to track the size of c_mysegno */
/xnu-8792.41.9/bsd/kern/
H A Dkern_subr.c294 acnt = MIN(acnt, UINT_MAX); in uiomove64()
326 acnt = MIN(acnt, UINT_MAX); in uiomove64()
/xnu-8792.41.9/iokit/System/
H A DIODataQueueDispatchSourceShared.h84 if (queueByteCount > UINT_MAX) { in Create_Impl()

12