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()
226 … for (index = 0; index < alignment || (alignment == 0 && index < bytesPerLine); index++) { in printHexData()
266 for (index = 0; index < bytesPerLine; index++) { in printHexData()
277 if (length > bytesPerLine) *c++ = '\n'; in printHexData()
288 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 <<()
/frameworks/native/libs/binder/include/binder/
DTextOutput.h97 HexDump(const void *buf, size_t size, size_t bytesPerLine=16);
100 inline HexDump& setBytesPerLine(size_t bytesPerLine);
107 inline size_t bytesPerLine() const;
181 inline HexDump& HexDump::setBytesPerLine(size_t bytesPerLine) { in setBytesPerLine() argument
182 mBytesPerLine = bytesPerLine; return *this; in setBytesPerLine()
196 inline size_t HexDump::bytesPerLine() const { return mBytesPerLine; } in bytesPerLine() function
DDebug.h37 size_t bytesPerLine=16, int32_t singleLineBytesCutoff=16,