Home
last modified time | relevance | path

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

/frameworks/native/vulkan/vkjson/
Dvkjson.cc945 bool AsValue(Json::Value* json_value, T* t);
947 inline bool AsValue(Json::Value* json_value, int32_t* value) { in AsValue() argument
948 if (json_value->type() != Json::realValue) return false; in AsValue()
949 double d = json_value->asDouble(); in AsValue()
958 inline bool AsValue(Json::Value* json_value, uint64_t* value) { in AsValue() argument
959 if (json_value->type() != Json::stringValue) return false; in AsValue()
961 std::sscanf(json_value->asString().c_str(), "0x%016" PRIx64, value); in AsValue()
965 inline bool AsValue(Json::Value* json_value, uint32_t* value) { in AsValue() argument
966 if (json_value->type() != Json::realValue) return false; in AsValue()
967 double d = json_value->asDouble(); in AsValue()
[all …]