Home
last modified time | relevance | path

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

/tools/security/gdb/gdb_json_printer/test/
Dgdb_json_printer_test.py27 def check_type_and_ctype(input_json, input_type, ctype): argument
28 assert(input_json["type"] == input_type)
29 assert(input_json["ctype"] == ctype)
32 def check_basic_value(input_json, input_type, ctype, value): argument
33 check_type_and_ctype(input_json, input_type, ctype)
34 assert(input_json["value"] == value)
59 def replace_address_by_None(input_json): argument
60 if isinstance(input_json, dict):
61 for (k, v) in input_json.items():
63 input_json[k] = None
[all …]