Lines Matching defs:padded
579 const size_t padded = PAD_SIZE(len);
582 if (mDataPos+padded < mDataPos) {
586 if ((mDataPos+padded) <= mDataCapacity) {
588 //printf("Writing %ld bytes, padded to %ld\n", len, padded);
592 if (padded != len) {
603 //printf("Applying pad mask: %p to %p\n", (void*)mask[padded-len],
604 // *reinterpret_cast<void**>(data+padded-4));
605 *reinterpret_cast<uint32_t*>(data+padded-4) &= mask[padded-len];
608 finishWrite(padded);
612 status_t err = growData(padded);