equal
deleted
inserted
replaced
179 for (int i = 0; i < ptr.Length(); i += maxBlockSize) { |
179 for (int i = 0; i < ptr.Length(); i += maxBlockSize) { |
180 int size = Min(maxBlockSize, ptr.Length() - i); |
180 int size = Min(maxBlockSize, ptr.Length() - i); |
181 hbuffer->Des().Copy(ptr.Mid(i, size)); |
181 hbuffer->Des().Copy(ptr.Mid(i, size)); |
182 RDebug::Print(format, hbuffer); |
182 RDebug::Print(format, hbuffer); |
183 } |
183 } |
|
184 delete hbuffer; |
184 } |
185 } |
185 else { |
186 else { |
186 // fast, no allocations, but truncates silently |
187 // fast, no allocations, but truncates silently |
187 RDebug::RawPrint(format); |
188 RDebug::RawPrint(format); |
188 TPtrC8 ptr(reinterpret_cast<const TUint8*>(str)); |
189 TPtrC8 ptr(reinterpret_cast<const TUint8*>(str)); |