Searched refs:jsonIndent (Results 1 – 3 of 3) sorted by relevance
| /openbmc/phosphor-logging/extensions/openpower-pels/ |
| H A D | json_utils.cpp | 68 std::string jsonIndent(indentLevel * indentCount, 0x20); in dumpHex() local 71 jsonIndent.append("\""); in dumpHex() 88 strcat(buffer.get(), jsonIndent.c_str()); in dumpHex() 169 const std::string jsonIndent(indentCount * indentLevel, 0x20); in jsonInsert() local 170 jsonStr.append(jsonIndent + "\"" + fieldName + "\":"); in jsonInsert() 186 const std::string jsonIndent(indentCount * indentLevel, 0x20); in jsonInsertArray() local 189 jsonStr.append(jsonIndent + "\"" + fieldName + "\": [\n"); in jsonInsertArray() 202 jsonStr.append(jsonIndent + "],\n"); in jsonInsertArray() 208 jsonStr.append(jsonIndent + "\"" + fieldName + "\":"); in jsonInsertArray()
|
| H A D | src.cpp | 487 const std::string jsonIndent(indentLevel, 0x20); in getErrorDetails() local 495 errorOut.append(jsonIndent + "\"Error Details\": {\n"); in getErrorDetails() 534 errorOut.append(jsonIndent + "},\n"); in getErrorDetails() 609 const std::string jsonIndent(indentLevel, 0x20); in getCallouts() local 612 printOut.append(jsonIndent + "\"Callout Section\": {\n"); in getCallouts() 614 printOut.append(jsonIndent + jsonIndent + "\"Callouts\": ["); in getCallouts() 696 printOut.append("\n" + jsonIndent + jsonIndent + "}, "); in getCallouts() 699 printOut.append("]\n" + jsonIndent + "}"); in getCallouts()
|
| H A D | pel.cpp | 397 std::string jsonIndent(indentLevel, 0x20); in printSectionInJSON() local 398 buf += jsonIndent + "\"Data\": [\n"; in printSectionInJSON() 400 buf += jsonIndent + "]\n"; in printSectionInJSON()
|