Lines Matching defs:string
31 #include <string.h>
381 char string[19] = {0}; // "0x" + 16 digits + terminal \0
382 snprintf(string, sizeof(string), "0x%016" PRIx64, value);
383 return cJSON_CreateString(string);
597 std::string* errors) {
601 *errors = std::string(key) + " missing.";
607 *errors = std::string("Wrong type for ") + std::string(key) + ".";
618 JsonReaderVisitor(cJSON* object, std::string* errors)
632 *errors_ = std::string(key) + " missing.";
638 *errors_ = std::string("Wrong type for ") + std::string(key) + ".";
645 std::string* errors_;
657 template <typename T> std::string VkTypeToJson(const T& t) {
662 std::string result(output);
667 template <typename T> bool VkTypeFromJson(const std::string& json,
669 std::string* errors) {
684 std::string VkJsonInstanceToJson(const VkJsonInstance& instance) {
688 bool VkJsonInstanceFromJson(const std::string& json,
690 std::string* errors) {
694 std::string VkJsonDeviceToJson(const VkJsonDevice& device) {
698 bool VkJsonDeviceFromJson(const std::string& json,
700 std::string* errors) {
704 std::string VkJsonImageFormatPropertiesToJson(
709 bool VkJsonImageFormatPropertiesFromJson(const std::string& json,
711 std::string* errors) {