Home
last modified time | relevance | path

Searched refs:inLength (Results 1 – 2 of 2) sorted by relevance

/xnu-11215/libkern/c++/
H A DOSData.cpp118 if ((inLength && !bytes) || !initWithCapacity(inLength)) { in initWithBytes()
123 bcopy(bytes, data, inLength); in initWithBytes()
125 length = inLength; in initWithBytes()
137 length = inLength; in initWithBytesNoCopy()
157 return initWithBytes(localData, inLength); in initWithData()
338 if (!inLength) { in appendBytes()
370 if (!inLength) { in appendByte()
410 unsigned int inLength) const in getBytesNoCopy()
416 && (start + inLength) >= inLength // overflow check in getBytesNoCopy()
417 && (start + inLength) <= length) { in getBytesNoCopy()
[all …]
/xnu-11215/iokit/Kernel/
H A DIOBufferMemoryDescriptor.cpp613 vm_size_t inLength, in initWithBytes() argument
619 inLength, inLength, (mach_vm_address_t)0)) { in initWithBytes()
626 if (!appendBytes(inBytes, inLength)) { in initWithBytes()
642 vm_size_t inLength, in withBytes() argument
649 alignment = (inLength <= page_size) ? inLength : page_size; in withBytes()
653 inLength, alignment, 0 )) { in withBytes()
661 if (!me->appendBytes(inBytes, inLength)) { in withBytes()