Home
last modified time | relevance | path

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

/system/libhwbinder/
DTextOutput.cpp52 HexDump::HexDump(const void *buf, size_t size, size_t bytesPerLine) in HexDump() argument
55 , mBytesPerLine(bytesPerLine) in HexDump()
60 if (bytesPerLine >= 16) mAlignment = 4; in HexDump()
61 else if (bytesPerLine >= 8) mAlignment = 2; in HexDump()
67 printHexData(0, val.buffer(), val.size(), val.bytesPerLine(), in operator <<()
DDebug.cpp160 size_t bytesPerLine, int32_t singleLineBytesCutoff, in printHexData() argument
165 if (bytesPerLine >= 16) alignment = 4; in printHexData()
166 else if (bytesPerLine >= 8) alignment = 2; in printHexData()
198 if (bytesPerLine > maxBytesPerLine) bytesPerLine = maxBytesPerLine; in printHexData()
211 for (offset = 0; ; offset += bytesPerLine, pos += bytesPerLine) { in printHexData()
223 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 …]
/system/libhwbinder/include/hwbinder/
DTextOutput.h92 HexDump(const void *buf, size_t size, size_t bytesPerLine=16);
95 inline HexDump& setBytesPerLine(size_t bytesPerLine);
102 inline size_t bytesPerLine() const;
176 inline HexDump& HexDump::setBytesPerLine(size_t bytesPerLine) { in setBytesPerLine() argument
177 mBytesPerLine = bytesPerLine; return *this; in setBytesPerLine()
191 inline size_t HexDump::bytesPerLine() const { return mBytesPerLine; } in bytesPerLine() function
DDebug.h38 size_t bytesPerLine=16, int32_t singleLineBytesCutoff=16,
/system/extras/tests/lib/testUtil/
DtestUtil.c319 const unsigned int bytesPerLine = 16; in testXDump() local
327 if (((ptr - start) % bytesPerLine) == 0) { in testXDump()