Home
last modified time | relevance | path

Searched refs:jsonFromVar (Results 1 – 22 of 22) sorted by relevance

/dports/databases/pgbackrest/pgbackrest-release-2.35/test/src/module/common/
H A DtypeJsonTest.c217 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 DiniTest.c14 ASSERT(strEq(value, jsonFromVar(valueVar))); in testIniLoadCallback()
H A DioTest.c326 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 DbackupCommonTest.c143jsonFromVar(ioFilterGroupResult(ioWriteFilterGroup(write), PAGE_CHECKSUM_FILTER_TYPE_STR)), in testRun()
178jsonFromVar(ioFilterGroupResult(ioWriteFilterGroup(write), PAGE_CHECKSUM_FILTER_TYPE_STR)), in testRun()
210jsonFromVar(ioFilterGroupResult(ioWriteFilterGroup(write), PAGE_CHECKSUM_FILTER_TYPE_STR)), in testRun()
302jsonFromVar(ioFilterGroupResult(ioWriteFilterGroup(write), PAGE_CHECKSUM_FILTER_TYPE_STR)), in testRun()
321jsonFromVar(ioFilterGroupResult(ioWriteFilterGroup(write), PAGE_CHECKSUM_FILTER_TYPE_STR)), in testRun()
/dports/databases/pgbackrest/pgbackrest-release-2.35/test/src/common/
H A DharnessInfo.c100 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 DharnessPq.c83 String *paramStr = param ? jsonFromVar(varNewVarLst(param)) : strNew(); in harnessPqScriptRun()
H A DharnessServer.c66 ioWriteStrLine(write, jsonFromVar(data)); in hrnServerScriptCommand()
/dports/databases/pgbackrest/pgbackrest-release-2.35/src/storage/remote/
H A Dread.c79 pckWriteStrP(param, jsonFromVar(this->interface.limit)); in storageReadRemoteOpen()
80 …pckWriteStrP(param, jsonFromVar(ioFilterGroupParamAll(ioReadFilterGroup(storageReadIo(this->read))… in storageReadRemoteOpen()
H A Dprotocol.c385 …server, pckWriteStrP(protocolPackNew(), jsonFromVar(ioFilterGroupResultAll(ioReadFilterGroup(fileR… in storageRemoteOpenReadProtocol()
448 …server, pckWriteStrP(protocolPackNew(), jsonFromVar(ioFilterGroupResultAll(ioWriteFilterGroup(file… in storageRemoteOpenWriteProtocol()
H A Dwrite.c96 …pckWriteStrP(param, jsonFromVar(ioFilterGroupParamAll(ioWriteFilterGroup(storageWriteIo(this->writ… in storageWriteRemoteOpen()
/dports/databases/pgbackrest/pgbackrest-release-2.35/src/common/type/
H A Djson.h49 String *jsonFromVar(const Variant *var);
H A Djson.c854 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 Dprotocol.c39 …protocolServerDataPut(server, pckWriteStrP(protocolPackNew(), jsonFromVar(varNewVarLst(optionList)… in configOptionProtocol()
/dports/databases/pgbackrest/pgbackrest-release-2.35/src/db/
H A Dprotocol.c88 …protocolServerDataPut(server, pckWriteStrP(protocolPackNew(), jsonFromVar(varNewVarLst(pgClientQue… in dbQueryProtocol()
/dports/databases/pgbackrest/pgbackrest-release-2.35/src/info/
H A Dmanifest.c2170 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 Dinfo.c439 ioWriteLine(data.write, BUFSTR(jsonFromVar(ioFilterResult(data.checksum)))); in infoSave()
/dports/databases/pgbackrest/pgbackrest-release-2.35/test/src/module/storage/
H A DremoteTest.c306 jsonFromVar(ioFilterGroupResultAll(filterGroup)), in testRun()
328 jsonFromVar(ioFilterGroupResultAll(filterGroup)), in testRun()
/dports/databases/pgbackrest/pgbackrest-release-2.35/test/src/module/db/
H A DdbTest.c303 …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 DclientTest.c298 jsonFromVar(varNewVarLst(pgClientQuery(client, query))), in testRun()
/dports/databases/pgbackrest/pgbackrest-release-2.35/test/src/module/config/
H A DparseTest.c1441 …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 Dinfo.c1523 resultStr = jsonFromVar(varNewVarLst(infoList)); in infoRender()
/dports/databases/pgbackrest/pgbackrest-release-2.35/doc/resource/
H A Dgit-history.cache6902 "subject": "Remove pretty-printing from jsonFromKv() and jsonFromVar().",
7725 "subject": "Add bool rendering to jsonFromVar()."
7901 "subject": "Add int rendering to jsonFromVar()."