Lines Matching refs:length
54 sslMalloc(size_t length)
59 length+=8;
62 p = _MALLOC(length, M_TEMP, M_WAITOK);
69 *(uint32_t *)p=(uint32_t)length-8;
70 printf("sslMalloc @%p of 0x%08lx bytes\n", p, length-8);
71 *(uint32_t *)(p+length-4)=0xdeadbeed;
121 sslMalloc(size_t length)
123 return malloc(length);
147 size_t length)
149 buf->data = (uint8_t *)sslMalloc(length);
153 buf->length = 0;
156 buf->length = length;
170 buf->length = 0;
177 buf->data = (uint8_t *)sslRealloc(buf->data, buf->length, newSize);
181 buf->length = 0;
184 buf->length = newSize;
238 dst->length = len;
246 return SSLCopyBufferFromData(src->data, src->length, dst);