Home
last modified time | relevance | path

Searched refs:bytesPerLine (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/libs/binder/
DDebug.cpp176 size_t bytesPerLine, int32_t singleLineBytesCutoff, in printHexData() argument
181 if (bytesPerLine >= 16) alignment = 4; in printHexData()
182 else if (bytesPerLine >= 8) alignment = 2; in printHexData()
214 if (bytesPerLine > maxBytesPerLine) bytesPerLine = maxBytesPerLine; in printHexData()
227 for (offset = 0; ; offset += bytesPerLine, pos += bytesPerLine) { in printHexData()
239 for (word = 0; word < bytesPerLine; ) { in printHexData()
247 … for (index = 0; index < alignment || (alignment == 0 && index < bytesPerLine); index++) { in printHexData()
287 for (index = 0; index < bytesPerLine; index++) { in printHexData()
298 if (length > bytesPerLine) *c++ = '\n'; in printHexData()
309 if (length <= bytesPerLine) break; in printHexData()
[all …]
DTextOutput.cpp51 HexDump::HexDump(const void *buf, size_t size, size_t bytesPerLine) in HexDump() argument
54 , mBytesPerLine(bytesPerLine) in HexDump()
59 if (bytesPerLine >= 16) mAlignment = 4; in HexDump()
60 else if (bytesPerLine >= 8) mAlignment = 2; in HexDump()
66 printHexData(0, val.buffer(), val.size(), val.bytesPerLine(), in operator <<()
DDebug.h36 size_t bytesPerLine=16, int32_t singleLineBytesCutoff=16,
/frameworks/native/libs/binder/include/binder/
DTextOutput.h102 HexDump(const void *buf, size_t size, size_t bytesPerLine=16);
105 inline HexDump& setBytesPerLine(size_t bytesPerLine);
112 inline size_t bytesPerLine() const;
186 inline HexDump& HexDump::setBytesPerLine(size_t bytesPerLine) { in setBytesPerLine() argument
187 mBytesPerLine = bytesPerLine; return *this; in setBytesPerLine()
201 inline size_t HexDump::bytesPerLine() const { return mBytesPerLine; } in bytesPerLine() function