Home
last modified time | relevance | path

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

12

/xnu-8019.80.24/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-8019.80.24/libsyscall/wrappers/string/
H A Dmemset.c84 #if UINT_MAX > 0xffff in _libkernel_memset()
87 #if UINT_MAX > 0xffffffff in _libkernel_memset()
/xnu-8019.80.24/osfmk/arm/
H A Dmachlimits.h81 #define UINT_MAX 0xFFFFFFFFU /* max value for an unsigned int */ macro
/xnu-8019.80.24/bsd/arm/
H A Dlimits.h75 #define UINT_MAX 0xffffffff /* max value for an unsigned int */ macro
/xnu-8019.80.24/bsd/i386/
H A Dlimits.h76 #define UINT_MAX 0xffffffff /* max value for an unsigned int */ macro
/xnu-8019.80.24/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-8019.80.24/tests/vm/
H A Dvm_allocation.c1687 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 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.cpp543 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 DIOHibernateIO.cpp354 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 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.cpp2266 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 DOSOrderedSet.cpp66 if (inCapacity > (UINT_MAX / sizeof(_Element))) { in initWithCapacity()
181 if (finalCapacity > UINT_MAX) { in ensureCapacity()
H A DOSArray.cpp63 if (inCapacity > (UINT_MAX / sizeof(*array))) { in initWithCapacity()
230 if (finalCapacity > UINT_MAX) { in ensureCapacity()
H A DOSDictionary.cpp90 if (inCapacity > (UINT_MAX / sizeof(dictEntry))) { in initWithCapacity()
340 if (finalCapacity > UINT_MAX) { in ensureCapacity()
/xnu-8019.80.24/libkern/kxld/tests/
H A Dkxld_array_test.c142 *item = (u_int) (random() % UINT_MAX); in main()
/xnu-8019.80.24/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-8019.80.24/bsd/netinet/
H A Dip_compat.h660 # undef UINT_MAX
690 # undef UINT_MAX
/xnu-8019.80.24/libkern/zlib/
H A Dz_crc32.c66 # if (UINT_MAX == 0xffffffffUL)
/xnu-8019.80.24/bsd/tests/
H A Dbsd_tests.c228 if (size_in > UINT_MAX) { in xnupost_export_testdata()
/xnu-8019.80.24/bsd/nfs/
H A Dkrpc_subr.c398 if (mbuf_len(nam) > UINT_MAX) { in krpc_call()

12