Searched refs:jsonIndent (Results 1 – 3 of 3) sorted by relevance
/openbmc/phosphor-logging/extensions/openpower-pels/ |
H A D | json_utils.cpp | 80 std::string jsonIndent(indentLevel * indentCount, 0x20); in dumpHex() local 83 jsonIndent.append("\""); in dumpHex() 100 strcat(buffer.get(), jsonIndent.c_str()); in dumpHex() 181 const std::string jsonIndent(indentCount * indentLevel, 0x20); in jsonInsert() local 182 jsonStr.append(jsonIndent + "\"" + fieldName + "\":"); in jsonInsert() 198 const std::string jsonIndent(indentCount * indentLevel, 0x20); in jsonInsertArray() local 201 jsonStr.append(jsonIndent + "\"" + fieldName + "\": [\n"); in jsonInsertArray() 214 jsonStr.append(jsonIndent + "],\n"); in jsonInsertArray() 220 jsonStr.append(jsonIndent + "\"" + fieldName + "\":"); in jsonInsertArray()
|
H A D | src.cpp | 494 const std::string jsonIndent(indentLevel, 0x20); in getErrorDetails() local 502 errorOut.append(jsonIndent + "\"Error Details\": {\n"); in getErrorDetails() 541 errorOut.append(jsonIndent + "},\n"); in getErrorDetails() 616 const std::string jsonIndent(indentLevel, 0x20); in getCallouts() local 619 printOut.append(jsonIndent + "\"Callout Section\": {\n"); in getCallouts() 621 printOut.append(jsonIndent + jsonIndent + "\"Callouts\": ["); in getCallouts() 703 printOut.append("\n" + jsonIndent + jsonIndent + "}, "); in getCallouts() 706 printOut.append("]\n" + jsonIndent + "}"); in getCallouts()
|
H A D | pel.cpp | 409 std::string jsonIndent(indentLevel, 0x20); in printSectionInJSON() local 410 buf += jsonIndent + "\"Data\": [\n"; in printSectionInJSON() 412 buf += jsonIndent + "]\n"; in printSectionInJSON()
|