Home
last modified time | relevance | path

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

/frameworks/native/libs/binder/
DDebug.cpp159 size_t bytesPerLine, int32_t singleLineBytesCutoff, in printHexData() argument
164 if (bytesPerLine >= 16) alignment = 4; in printHexData()
165 else if (bytesPerLine >= 8) alignment = 2; in printHexData()
197 if (bytesPerLine > maxBytesPerLine) bytesPerLine = maxBytesPerLine; in printHexData()
210 for (offset = 0; ; offset += bytesPerLine, pos += bytesPerLine) { in printHexData()
222 for (word = 0; word < bytesPerLine; ) { in printHexData()
230 … for (index = 0; index < alignment || (alignment == 0 && index < bytesPerLine); index++) { in printHexData()
270 for (index = 0; index < bytesPerLine; index++) { in printHexData()
281 if (length > bytesPerLine) *c++ = '\n'; in printHexData()
292 if (length <= bytesPerLine) break; in printHexData()
[all …]
DTextOutput.cpp50 HexDump::HexDump(const void *buf, size_t size, size_t bytesPerLine) in HexDump() argument
53 , mBytesPerLine(bytesPerLine) in HexDump()
58 if (bytesPerLine >= 16) mAlignment = 4; in HexDump()
59 else if (bytesPerLine >= 8) mAlignment = 2; in HexDump()
64 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.h100 HexDump(const void *buf, size_t size, size_t bytesPerLine=16);
103 inline HexDump& setBytesPerLine(size_t bytesPerLine);
110 inline size_t bytesPerLine() const;
184 inline HexDump& HexDump::setBytesPerLine(size_t bytesPerLine) { in setBytesPerLine() argument
185 mBytesPerLine = bytesPerLine; return *this; in setBytesPerLine()
199 inline size_t HexDump::bytesPerLine() const { return mBytesPerLine; } in bytesPerLine() function