Lines Matching refs:json
90 std::string json; in LoadTraitDefinitions() local
91 CHECK(LoadFile(path, &json, nullptr)); in LoadTraitDefinitions()
92 device->AddTraitDefinitionsFromJson(json); in LoadTraitDefinitions()
107 std::string json; in LoadCommandDefinitions() local
108 CHECK(LoadFile(path, &json, nullptr)); in LoadCommandDefinitions()
109 device->AddCommandDefinitionsFromJson(json); in LoadCommandDefinitions()
128 std::string json; in LoadStateDefinitions() local
129 CHECK(LoadFile(path, &json, nullptr)); in LoadStateDefinitions()
130 device->AddStateDefinitionsFromJson(json); in LoadStateDefinitions()
145 std::string json; in LoadStateDefaults() local
146 CHECK(LoadFile(path, &json, nullptr)); in LoadStateDefaults()
147 CHECK(device->SetStatePropertiesFromJson(json, nullptr)); in LoadStateDefaults()