Home
last modified time | relevance | path

Searched refs:getOptionalParam (Results 1 – 7 of 7) sorted by relevance

/dports/devel/RStudio/rstudio-2021.09.1-372/src/cpp/session/
H A DSessionConsoleProcessInfo.cpp258 error = json::getOptionalParam(obj, "interaction_mode", 0, &mode); in fromJson()
277 error = json::getOptionalParam(obj, "exit_code", &pProc->exitCode_); in fromJson()
289 error = json::getOptionalParam(obj, "title", std::string(), &pProc->title_); in fromJson()
304 error = json::getOptionalParam(obj, "channel_mode", 0, &channelModeInt); in fromJson()
318 error = json::getOptionalParam(obj, "cwd", std::string(), &cwd); in fromJson()
324 error = json::getOptionalParam(obj, "cols", 0, &pProc->cols_); in fromJson()
328 error = json::getOptionalParam(obj, "rows", 0, &pProc->rows_); in fromJson()
332 error = json::getOptionalParam(obj, "restarted", false, &pProc->restarted_); in fromJson()
337 error = json::getOptionalParam(obj, "autoclose", 0, &autoCloseInt); in fromJson()
342 error = json::getOptionalParam(obj, "zombie", false, &pProc->zombie_); in fromJson()
[all …]
/dports/devel/RStudio/rstudio-2021.09.1-372/src/cpp/session/modules/
H A DSessionUserPrefsMigration.cpp69 json::getOptionalParam(uiPrefs, "use_vim_mode", false, &vim); in migrateUiPrefs()
70 json::getOptionalParam(uiPrefs, "enable_emacs_keybindings", false, &emacs); in migrateUiPrefs()
71 json::getOptionalParam(uiPrefs, "enable_sublime_keybindings", false, &sublime); in migrateUiPrefs()
109 json::getOptionalParam((*it).getValue().getObject(), "name", std::string(), &theme); in migrateUiPrefs()
122 json::getOptionalParam(uiPrefs, "flat_theme", std::string(), &theme); in migrateUiPrefs()
/dports/devel/RStudio/rstudio-2021.09.1-372/src/cpp/core/include/core/json/
H A DJsonRpc.hpp328 core::Error getOptionalParam(const Object& json, const std::string& param, in getOptionalParam() function
342 core::Error getOptionalParam(const Object& json, in getOptionalParam() function
/dports/devel/RStudio/rstudio-2021.09.1-372/src/cpp/server/
H A DServerSessionManager.cpp64 json::getOptionalParam<int>(clientInit.kwparams, "restore_workspace", -1, &restoreWorkspace); in readRequestArgs()
69 json::getOptionalParam<int>(clientInit.kwparams, "run_rprofile", -1, &runRprofile); in readRequestArgs()
/dports/devel/RStudio/rstudio-2021.09.1-372/src/cpp/core/r_util/
H A DRSessionLaunchProfile.cpp129 …error = json::getOptionalParam(jsonProfile, "encryptionKey", std::string(), &profile.encryptionKey… in sessionLaunchProfileFromJson()
/dports/devel/RStudio/rstudio-2021.09.1-372/src/cpp/core/json/
H A DJsonRpcTests.cpp116 REQUIRE_FALSE(json::getOptionalParam(obj, "b", std::string("DEFAULT"), &bVal));
/dports/net/kea/kea-2.0.1/src/lib/dhcpsrv/parsers/
H A Ddhcp_parsers.h131 ValueType getOptionalParam(const std::string& name, in getOptionalParam() function