Lines Matching refs:length
109 length = 0; in initWithCapacity()
125 length = inLength; in initWithBytes()
137 length = inLength; in initWithBytesNoCopy()
147 return initWithBytes(inData->data, inData->length); in initWithData()
234 if (freemem && data && length) { in free()
235 freemem(data, length); in free()
247 return length; in getLength()
307 unsigned int newCapacity = (uint32_t)round_page(length); in clipForCopyout()
321 if (length >= msg_ool_size_small && newCapacity < capacity) { in clipForCopyout()
346 if (os_add_overflow(length, inLength, &newSize)) { in appendBytes()
355 bcopy(bytes, &((unsigned char *)data)[length], inLength); in appendBytes()
357 bzero(&((unsigned char *)data)[length], inLength); in appendBytes()
360 length = newSize; in appendBytes()
378 if (os_add_overflow(length, inLength, &newSize)) { in appendByte()
386 memset(&((unsigned char *)data)[length], byte, inLength); in appendByte()
387 length = newSize; in appendByte()
395 return appendBytes(other->data, other->length); in appendBytes()
401 if (!length) { in getBytesNoCopy()
414 if (length in getBytesNoCopy()
415 && start < length in getBytesNoCopy()
417 && (start + inLength) <= length) { in getBytesNoCopy()
429 len = aData->length; in isEqualTo()
430 if (length != len) { in isEqualTo()
440 return (length >= inLength) && (bcmp(data, someData, inLength) == 0); in isEqualTo()
463 unsigned int checkLen = length; in isEqualTo()
521 serializeLength = length; in serialize()