Searched refs:schema_file (Results 1 – 7 of 7) sorted by relevance
73 schema_file = args.schema74 if schema_file is None:77 schema_file = os.sep + os.path.join(90 with open(schema_file) as fd:94 "Could not read schema file '{}'\n".format(schema_file)140 os.path.split(os.path.realpath(schema_file))[0]
398 if not args.schema_file:401 if not os.path.exists(args.schema_file):404 if not os.access(args.schema_file, os.R_OK):407 if not validate_JSON_format(args.schema_file):423 config_json = validate_schema(args.configuration_file, args.schema_file)
38 int validate_schema_from_file(const char *schema_file, json_object *object, in validate_schema_from_file() argument42 json_object *schema_ir = json_object_from_file(schema_file); in validate_schema_from_file()46 schema_file); in validate_schema_from_file()51 char *schema_file_copy = malloc(strlen(schema_file) + 1); in validate_schema_from_file()52 strcpy(schema_file_copy, schema_file); in validate_schema_from_file()
31 def generate(schema_file: str,50 schema = QAPISchema(schema_file)
110 ) as schema_file:113 schema_file.write(content)
15 int validate_schema_from_file(const char *schema_file, json_object *object,
177 schema = args.schema_file