Home
last modified time | relevance | path

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

/frameworks/native/libs/binder/
DDebug.cpp158 size_t bytesPerLine, int32_t singleLineBytesCutoff, in printHexData() argument
163 if (bytesPerLine >= 16) alignment = 4; in printHexData()
164 else if (bytesPerLine >= 8) alignment = 2; in printHexData()
196 if (bytesPerLine > maxBytesPerLine) bytesPerLine = maxBytesPerLine; in printHexData()
209 for (offset = 0; ; offset += bytesPerLine, pos += bytesPerLine) { in printHexData()
221 for (word = 0; word < bytesPerLine; ) { in printHexData()
231 … for (index = 0; index < alignment || (alignment == 0 && index < bytesPerLine); index++) { in printHexData()
271 for (index = 0; index < bytesPerLine; index++) { in printHexData()
282 if (length > bytesPerLine) *c++ = '\n'; in printHexData()
293 if (length <= bytesPerLine) break; in printHexData()
[all …]
DTextOutput.cpp148 HexDump::HexDump(const void *buf, size_t size, size_t bytesPerLine) in HexDump() argument
151 , mBytesPerLine(bytesPerLine) in HexDump()
156 if (bytesPerLine >= 16) mAlignment = 4; in HexDump()
157 else if (bytesPerLine >= 8) mAlignment = 2; in HexDump()
163 printHexData(0, val.buffer(), val.size(), val.bytesPerLine(), in operator <<()
/frameworks/native/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;
172 inline HexDump& HexDump::setBytesPerLine(size_t bytesPerLine) { in setBytesPerLine() argument
173 mBytesPerLine = bytesPerLine; return *this; in setBytesPerLine()
187 inline size_t HexDump::bytesPerLine() const { return mBytesPerLine; } in bytesPerLine() function
DDebug.h38 size_t bytesPerLine=16, int32_t singleLineBytesCutoff=16,