/dports/databases/pgbackrest/pgbackrest-release-2.35/test/src/module/common/ |
H A D | typeJsonTest.c | 217 TEST_ERROR(jsonFromVar(varNewInt(1)), JsonFormatError, "variant type is invalid"); in testRun() 247 TEST_ASSIGN(json, jsonFromVar(keyValue), "KeyValue"); in testRun() 259 TEST_ASSIGN(json, jsonFromVar(varNewVarLst(varLstNew())), "VariantList"); in testRun() 272 TEST_ASSIGN(json, jsonFromVar(varListOuter), "VariantList"); in testRun() 285 TEST_ASSIGN(json, jsonFromVar(varListOuter), "VariantList - multiple elements"); in testRun() 303 … TEST_RESULT_STR_Z(jsonFromVar(varNewVarLst(varList)), "[32,10000000000]", "list various types"); in testRun() 306 TEST_RESULT_STR_Z(jsonFromVar(NULL), "null", "null variant"); in testRun() 307 TEST_RESULT_STR_Z(jsonFromVar(varNewBool(true)), "true", "bool variant"); in testRun() 308 TEST_RESULT_STR_Z(jsonFromVar(varNewUInt(66)), "66", "uint variant"); in testRun() 309 TEST_RESULT_STR_Z(jsonFromVar(varNewUInt64(10000000001)), "10000000001", "uint64 variant"); in testRun() [all …]
|
H A D | iniTest.c | 14 ASSERT(strEq(value, jsonFromVar(valueVar))); in testIniLoadCallback()
|
H A D | ioTest.c | 326 jsonFromVar(ioFilterGroupParamAll(ioReadFilterGroup(bufferRead))), in testRun() 354 jsonFromVar(ioFilterGroupResultAll(ioReadFilterGroup(bufferRead))), in testRun()
|
/dports/databases/pgbackrest/pgbackrest-release-2.35/test/src/module/command/ |
H A D | backupCommonTest.c | 143 … jsonFromVar(ioFilterGroupResult(ioWriteFilterGroup(write), PAGE_CHECKSUM_FILTER_TYPE_STR)), in testRun() 178 … jsonFromVar(ioFilterGroupResult(ioWriteFilterGroup(write), PAGE_CHECKSUM_FILTER_TYPE_STR)), in testRun() 210 … jsonFromVar(ioFilterGroupResult(ioWriteFilterGroup(write), PAGE_CHECKSUM_FILTER_TYPE_STR)), in testRun() 302 … jsonFromVar(ioFilterGroupResult(ioWriteFilterGroup(write), PAGE_CHECKSUM_FILTER_TYPE_STR)), in testRun() 321 … jsonFromVar(ioFilterGroupResult(ioWriteFilterGroup(write), PAGE_CHECKSUM_FILTER_TYPE_STR)), in testRun()
|
/dports/databases/pgbackrest/pgbackrest-release-2.35/test/src/common/ |
H A D | harnessInfo.c | 100 bufCat(result, BUFSTR(jsonFromVar(ioFilterResult(data.checksum)))); in harnessInfoChecksum() 129 …CatFmt((String *)callbackData, "[%s] %s=%s\n", strZ(section), strZ(key), strZ(jsonFromVar(value))); in harnessInfoLoadNewCallback()
|
H A D | harnessPq.c | 83 String *paramStr = param ? jsonFromVar(varNewVarLst(param)) : strNew(); in harnessPqScriptRun()
|
H A D | harnessServer.c | 66 ioWriteStrLine(write, jsonFromVar(data)); in hrnServerScriptCommand()
|
/dports/databases/pgbackrest/pgbackrest-release-2.35/src/storage/remote/ |
H A D | read.c | 79 pckWriteStrP(param, jsonFromVar(this->interface.limit)); in storageReadRemoteOpen() 80 …pckWriteStrP(param, jsonFromVar(ioFilterGroupParamAll(ioReadFilterGroup(storageReadIo(this->read))… in storageReadRemoteOpen()
|
H A D | protocol.c | 385 …server, pckWriteStrP(protocolPackNew(), jsonFromVar(ioFilterGroupResultAll(ioReadFilterGroup(fileR… in storageRemoteOpenReadProtocol() 448 …server, pckWriteStrP(protocolPackNew(), jsonFromVar(ioFilterGroupResultAll(ioWriteFilterGroup(file… in storageRemoteOpenWriteProtocol()
|
H A D | write.c | 96 …pckWriteStrP(param, jsonFromVar(ioFilterGroupParamAll(ioWriteFilterGroup(storageWriteIo(this->writ… in storageWriteRemoteOpen()
|
/dports/databases/pgbackrest/pgbackrest-release-2.35/src/common/type/ |
H A D | json.h | 49 String *jsonFromVar(const Variant *var);
|
H A D | json.c | 854 strCat(result, jsonFromVar(arrayValue)); in jsonFromKvInternal() 923 jsonFromVar(const Variant *var) in jsonFromVar() function 993 strCat(jsonStr, jsonFromVar(varSub)); in jsonFromVar()
|
/dports/databases/pgbackrest/pgbackrest-release-2.35/src/config/ |
H A D | protocol.c | 39 …protocolServerDataPut(server, pckWriteStrP(protocolPackNew(), jsonFromVar(varNewVarLst(optionList)… in configOptionProtocol()
|
/dports/databases/pgbackrest/pgbackrest-release-2.35/src/db/ |
H A D | protocol.c | 88 …protocolServerDataPut(server, pckWriteStrP(protocolPackNew(), jsonFromVar(varNewVarLst(pgClientQue… in dbQueryProtocol()
|
/dports/databases/pgbackrest/pgbackrest-release-2.35/src/info/ |
H A D | manifest.c | 2170 jsonFromVar(manifest->pub.data.backupOptionStandby)); in manifestSaveCallback() 2177 jsonFromVar(manifest->pub.data.backupOptionBufferSize)); in manifestSaveCallback() 2184 jsonFromVar(manifest->pub.data.backupOptionChecksumPage)); in manifestSaveCallback() 2216 jsonFromVar(manifest->pub.data.backupOptionDelta)); in manifestSaveCallback() 2230 jsonFromVar(manifest->pub.data.backupOptionProcessMax)); in manifestSaveCallback() 2348 jsonFromVar(saveData->fileGroupDefault)); in manifestSaveCallback() 2357 jsonFromVar(saveData->fileUserDefault)); in manifestSaveCallback() 2393 jsonFromVar(saveData->linkGroupDefault)); in manifestSaveCallback() 2396 jsonFromVar(saveData->linkUserDefault)); in manifestSaveCallback() 2432 jsonFromVar(saveData->pathGroupDefault)); in manifestSaveCallback() [all …]
|
H A D | info.c | 439 ioWriteLine(data.write, BUFSTR(jsonFromVar(ioFilterResult(data.checksum)))); in infoSave()
|
/dports/databases/pgbackrest/pgbackrest-release-2.35/test/src/module/storage/ |
H A D | remoteTest.c | 306 jsonFromVar(ioFilterGroupResultAll(filterGroup)), in testRun() 328 jsonFromVar(ioFilterGroupResultAll(filterGroup)), in testRun()
|
/dports/databases/pgbackrest/pgbackrest-release-2.35/test/src/module/db/ |
H A D | dbTest.c | 303 …TEST_RESULT_STR_Z(jsonFromVar(varNewVarLst(dbList(db.primary))), "[[16384,\"test1\",13777]]", "che… in testRun() 304 …TEST_RESULT_STR_Z(jsonFromVar(varNewVarLst(dbTablespaceList(db.primary))), "[]", "check tablespace… in testRun()
|
/dports/databases/pgbackrest/pgbackrest-release-2.35/test/src/module/postgres/ |
H A D | clientTest.c | 298 jsonFromVar(varNewVarLst(pgClientQuery(client, query))), in testRun()
|
/dports/databases/pgbackrest/pgbackrest-release-2.35/test/src/module/config/ |
H A D | parseTest.c | 1441 …TEST_RESULT_STR_Z(jsonFromVar(varNewVarLst(cfgCommandJobRetry())), "[0,33000,33000]", "custom job … in testRun() 1546 … TEST_RESULT_STR_Z(jsonFromVar(varNewVarLst(cfgCommandJobRetry())), "[0]", "default job retry"); in testRun() 1583 …TEST_RESULT_STR_Z(jsonFromVar(varNewVarLst(cfgCommandJobRetry())), "[0,15000]", "default job retry… in testRun()
|
/dports/databases/pgbackrest/pgbackrest-release-2.35/src/command/info/ |
H A D | info.c | 1523 resultStr = jsonFromVar(varNewVarLst(infoList)); in infoRender()
|
/dports/databases/pgbackrest/pgbackrest-release-2.35/doc/resource/ |
H A D | git-history.cache | 6902 "subject": "Remove pretty-printing from jsonFromKv() and jsonFromVar().", 7725 "subject": "Add bool rendering to jsonFromVar()." 7901 "subject": "Add int rendering to jsonFromVar()."
|