Lines Matching +full:- +full:- +full:json
5 # SPDX-License-Identifier: Apache-2.0
12 auto-generating this code by doing a text scan of directories containing
15 JSON file for further processing.
18 __net_socket, emitting a JSON dictionary mapping tags to all the struct
21 If the output JSON file already exists, its contents are checked against
31 import json
71 with open(file_list, "r", encoding="utf-8") as fp:
118 with open(one_file, "r", encoding="utf-8") as fp:
163 "-i", "--include", required=False, action="append",
166 "Can be specified multiple times: -i topdir1 -i topdir2 ...")
168 "--scan", required=False, action="append",
174 "-j", "--json-file", required=True,
175 help="Write system call prototype information as json to file")
177 "-t", "--tag-struct-file", required=True,
178 help="Write tagged struct name information as json to file")
180 "--file-list", required=False,
181 help="Text file containing semi-colon separated list of "
185 "--emit-all-syscalls", required=False, action="store_true",
197 # Only write json files if they don't exist or have changes since
200 syscalls_in_json = json.dumps(
207 tagged_struct_in_json = json.dumps(