Lines Matching defs:padded
745 const size_t padded = pad_size(len);
748 if (mDataPos+padded < mDataPos) {
752 if ((mDataPos+padded) <= mDataCapacity) {
754 //printf("Writing %ld bytes, padded to %ld\n", len, padded);
758 if (padded != len) {
769 //printf("Applying pad mask: %p to %p\n", (void*)mask[padded-len],
770 // *reinterpret_cast<void**>(data+padded-4));
771 *reinterpret_cast<uint32_t*>(data+padded-4) &= mask[padded-len];
774 finishWrite(padded);
778 status_t err = growData(padded);