Home
last modified time | relevance | path

Searched refs:json_object (Results 1 – 25 of 48) sorted by relevance

12

/external/tpm2-tss/src/tss2-fapi/
Dtpm_json_serialize.h20 ifapi_json_TPM2_HANDLE_serialize(const TPM2_HANDLE in, json_object **jso);
23 ifapi_json_UINT16_serialize(const UINT16 in, json_object **jso);
26 ifapi_json_UINT32_serialize(const UINT32 in, json_object **jso);
29 ifapi_json_INT32_serialize(const INT32 in, json_object **jso);
32 ifapi_json_UINT64_serialize(const UINT64 in, json_object **jso);
35 ifapi_json_TPM2_GENERATED_serialize(const TPM2_GENERATED in, json_object **jso);
38 ifapi_json_TPM2_ALG_ID_serialize(const TPM2_ALG_ID in, json_object **jso);
41 ifapi_json_TPM2_ECC_CURVE_serialize(const TPM2_ECC_CURVE in, json_object **jso);
44 ifapi_json_TPM2_CC_serialize(const TPM2_CC in, json_object **jso);
47 ifapi_json_TPM2_EO_serialize(const TPM2_EO in, json_object **jso);
[all …]
Dtpm_json_deserialize.h19 ifapi_json_BYTE_array_deserialize(size_t max, json_object *jso, BYTE *out);
22 ifapi_json_UINT8_ARY_deserialize(json_object *jso, UINT8_ARY *out);
25 ifapi_get_sub_object(json_object *jso, char *name, json_object **sub_jso);
28 ifapi_json_BYTE_deserialize(json_object *jso, BYTE *out);
31 ifapi_json_UINT16_deserialize(json_object *jso, UINT16 *out);
34 ifapi_json_UINT32_deserialize(json_object *jso, UINT32 *out);
37 ifapi_json_UINT64_deserialize(json_object *jso, UINT64 *out);
40 ifapi_json_TPM2_GENERATED_deserialize(json_object *jso, TPM2_GENERATED *out);
43 ifapi_json_TPM2_ALG_ID_deserialize(json_object *jso, TPM2_ALG_ID *out);
46 ifapi_json_TPM2_ECC_CURVE_deserialize(json_object *jso, TPM2_ECC_CURVE *out);
[all …]
Difapi_policy_json_serialize.h18 json_object **jso);
22 json_object **jso);
26 json_object **jso);
30 json_object **jso);
34 json_object **jso);
37 ifapi_json_TPMS_POLICYNV_serialize(const TPMS_POLICYNV *in, json_object **jso);
41 json_object **jso);
45 json_object **jso);
49 TPMS_POLICYPHYSICALPRESENCE *in, json_object **jso);
53 json_object **jso);
[all …]
Difapi_policy_json_deserialize.h17 ifapi_json_TPMI_POLICYTYPE_deserialize(json_object *jso, TPMI_POLICYTYPE *out);
20 ifapi_json_TPMI_POLICYTYPE_deserialize_txt(json_object *jso,
24 ifapi_json_TPMS_POLICYSIGNED_deserialize(json_object *jso,
28 ifapi_json_TPMS_POLICYSECRET_deserialize(json_object *jso,
32 ifapi_json_TPMS_POLICYLOCALITY_deserialize(json_object *jso,
36 ifapi_json_TPMS_POLICYNV_deserialize(json_object *jso, TPMS_POLICYNV *out);
39 ifapi_json_TPMS_POLICYCOUNTERTIMER_deserialize(json_object *jso,
43 ifapi_json_TPMS_POLICYCOMMANDCODE_deserialize(json_object *jso,
47 ifapi_json_TPMS_POLICYPHYSICALPRESENCE_deserialize(json_object *jso,
51 ifapi_json_TPMS_POLICYCPHASH_deserialize(json_object *jso,
[all …]
Difapi_json_serialize.h21 ifapi_json_UINT8_ARY_serialize(const UINT8_ARY *in, json_object **jso);
25 in, json_object **jso);
28 ifapi_json_IFAPI_KEY_serialize(const IFAPI_KEY *in, json_object **jso);
32 json_object **jso);
35 ifapi_json_IFAPI_NV_serialize(const IFAPI_NV *in, json_object **jso);
38 ifapi_json_IFAPI_HIERARCHY_serialize(const IFAPI_HIERARCHY *in, json_object **jso);
42 json_object **jso);
46 json_object **jso);
50 json_object **jso);
52 ifapi_json_IFAPI_CAP_INFO_serialize(const IFAPI_CAP_INFO *in, json_object **jso);
[all …]
Difapi_json_deserialize.h29 ifapi_get_sub_object(json_object *jso, char *name, json_object **sub_jso);
32 ifapi_json_char_deserialize(json_object *jso, char **out);
35 ifapi_json_IFAPI_KEY_deserialize(json_object *jso, IFAPI_KEY *out);
38 ifapi_json_IFAPI_EXT_PUB_KEY_deserialize(json_object *jso,
42 ifapi_json_IFAPI_NV_deserialize(json_object *jso, IFAPI_NV *out);
45 ifapi_json_IFAPI_HIERARCHY_deserialize(json_object *jso, IFAPI_HIERARCHY *out);
48 ifapi_json_IFAPI_OBJECT_deserialize(json_object *jso, IFAPI_OBJECT *out);
51 ifapi_json_FAPI_QUOTE_INFO_deserialize(json_object *jso, FAPI_QUOTE_INFO *out);
54 ifapi_json_IFAPI_EVENT_TYPE_deserialize(json_object *jso,
58 ifapi_json_IFAPI_EVENT_TYPE_deserialize_txt(json_object *jso,
[all …]
Dtpm_json_serialize.c36 ifapi_json_TPMS_EMPTY_serialize(const TPMS_EMPTY *in, json_object **jso) in ifapi_json_TPMS_EMPTY_serialize()
56 json_object **jso) in ifapi_json_pcr_select_serialize()
68 json_object *jso2; in ifapi_json_pcr_select_serialize()
90 json_object **jso) in ifapi_json_TPMS_PCR_SELECT_serialize()
111 json_object **jso) in ifapi_json_TPMS_PCR_SELECTION_serialize()
118 json_object *jso2 = NULL; in ifapi_json_TPMS_PCR_SELECTION_serialize()
141 json_object **jso) in ifapi_json_TPMS_TAGGED_PCR_SELECT_serialize()
146 json_object *jso2 = NULL; in ifapi_json_TPMS_TAGGED_PCR_SELECT_serialize()
168 ifapi_json_UINT16_serialize(const UINT16 in, json_object **jso) in ifapi_json_UINT16_serialize()
187 ifapi_json_UINT32_serialize(const UINT32 in, json_object **jso) in ifapi_json_UINT32_serialize()
[all …]
Dtpm_json_deserialize.c72 ifapi_json_TPMS_EMPTY_deserialize(json_object *jso, TPMS_EMPTY *out) in ifapi_json_TPMS_EMPTY_deserialize()
128 json_object *jso, in ifapi_json_byte_deserialize()
192 ifapi_get_sub_object(json_object *jso, char *name, json_object **sub_jso) in ifapi_get_sub_object()
216 get_number_from_json(json_object *jso, int64_t *num) in get_number_from_json()
237 get_boolean_from_json(json_object *jso, TPMI_YES_NO *value) in get_boolean_from_json()
266 json_object *jso, in ifapi_json_pcr_selection_deserialize()
303 json_object *jso, in ifapi_json_UINT8_ARY_deserialize()
327 ifapi_json_TPMS_PCR_SELECT_deserialize(json_object *jso, TPMS_PCR_SELECT *out) in ifapi_json_TPMS_PCR_SELECT_deserialize()
344 ifapi_json_TPMS_PCR_SELECTION_deserialize(json_object *jso, in ifapi_json_TPMS_PCR_SELECTION_deserialize()
348 json_object *jso2; in ifapi_json_TPMS_PCR_SELECTION_deserialize()
[all …]
Difapi_policy_json_serialize.c31 json_object **jso) in ifapi_json_char_serialize()
80 json_object **str_jso) in ifapi_json_TPMI_POLICYTYPE_serialize_txt()
106 json_object **jso) in ifapi_json_TPMI_POLICYTYPE_serialize()
122 json_object **jso) in ifapi_json_TPMS_POLICYSIGNED_serialize()
127 json_object *jso2; in ifapi_json_TPMS_POLICYSIGNED_serialize()
204 json_object **jso) in ifapi_json_TPMS_POLICYSECRET_serialize()
209 json_object *jso2; in ifapi_json_TPMS_POLICYSECRET_serialize()
270 json_object **jso) in ifapi_json_TPMS_POLICYLOCALITY_serialize()
275 json_object *jso2; in ifapi_json_TPMS_POLICYLOCALITY_serialize()
297 ifapi_json_TPMS_POLICYNV_serialize(const TPMS_POLICYNV *in, json_object **jso) in ifapi_json_TPMS_POLICYNV_serialize()
[all …]
Difapi_policy_json_deserialize.c84 ifapi_json_TPMI_POLICYTYPE_deserialize(json_object *jso, TPMI_POLICYTYPE *out) in ifapi_json_TPMI_POLICYTYPE_deserialize()
125 ifapi_json_TPMI_POLICYTYPE_deserialize_txt(json_object *jso, in ifapi_json_TPMI_POLICYTYPE_deserialize_txt()
168 ifapi_json_TPMS_POLICYSIGNED_deserialize(json_object *jso, in ifapi_json_TPMS_POLICYSIGNED_deserialize()
171 json_object *jso2; in ifapi_json_TPMS_POLICYSIGNED_deserialize()
251 ifapi_json_TPMS_POLICYSECRET_deserialize(json_object *jso, in ifapi_json_TPMS_POLICYSECRET_deserialize()
254 json_object *jso2; in ifapi_json_TPMS_POLICYSECRET_deserialize()
308 ifapi_json_TPMS_POLICYLOCALITY_deserialize(json_object *jso, in ifapi_json_TPMS_POLICYLOCALITY_deserialize()
311 json_object *jso2; in ifapi_json_TPMS_POLICYLOCALITY_deserialize()
336 ifapi_json_TPMS_POLICYNV_deserialize(json_object *jso, TPMS_POLICYNV *out) in ifapi_json_TPMS_POLICYNV_deserialize()
338 json_object *jso2; in ifapi_json_TPMS_POLICYNV_deserialize()
[all …]
Difapi_json_serialize.c34 json_object **jso) in ifapi_json_char_serialize()
55 ifapi_json_UINT8_ARY_serialize(const UINT8_ARY *in, json_object **jso) in ifapi_json_UINT8_ARY_serialize()
84 ifapi_json_IFAPI_KEY_serialize(const IFAPI_KEY *in, json_object **jso) in ifapi_json_IFAPI_KEY_serialize()
89 json_object *jso2; in ifapi_json_IFAPI_KEY_serialize()
187 json_object **jso) in ifapi_json_IFAPI_EXT_PUB_KEY_serialize()
192 json_object *jso2; in ifapi_json_IFAPI_EXT_PUB_KEY_serialize()
229 ifapi_json_IFAPI_NV_serialize(const IFAPI_NV *in, json_object **jso) in ifapi_json_IFAPI_NV_serialize()
234 json_object *jso2; in ifapi_json_IFAPI_NV_serialize()
301 ifapi_json_IFAPI_HIERARCHY_serialize(const IFAPI_HIERARCHY *in, json_object **jso) in ifapi_json_IFAPI_HIERARCHY_serialize()
306 json_object *jso2; in ifapi_json_IFAPI_HIERARCHY_serialize()
[all …]
Difapi_json_deserialize.c86 json_object *jso, in ifapi_json_char_deserialize()
104 ifapi_json_IFAPI_KEY_deserialize(json_object *jso, IFAPI_KEY *out) in ifapi_json_IFAPI_KEY_deserialize()
106 json_object *jso2; in ifapi_json_IFAPI_KEY_deserialize()
221 ifapi_json_IFAPI_EXT_PUB_KEY_deserialize(json_object *jso, in ifapi_json_IFAPI_EXT_PUB_KEY_deserialize()
224 json_object *jso2; in ifapi_json_IFAPI_EXT_PUB_KEY_deserialize()
265 ifapi_json_IFAPI_NV_deserialize(json_object *jso, IFAPI_NV *out) in ifapi_json_IFAPI_NV_deserialize()
267 json_object *jso2; in ifapi_json_IFAPI_NV_deserialize()
344 ifapi_json_IFAPI_HIERARCHY_deserialize(json_object *jso, IFAPI_HIERARCHY *out) in ifapi_json_IFAPI_HIERARCHY_deserialize()
346 json_object *jso2; in ifapi_json_IFAPI_HIERARCHY_deserialize()
386 ifapi_json_FAPI_QUOTE_INFO_deserialize(json_object *jso, FAPI_QUOTE_INFO *out) in ifapi_json_FAPI_QUOTE_INFO_deserialize()
[all …]
Difapi_config.c39 ifapi_json_IFAPI_CONFIG_deserialize(json_object *jso, IFAPI_CONFIG *out) in ifapi_json_IFAPI_CONFIG_deserialize()
46 json_object *jso2; in ifapi_json_IFAPI_CONFIG_deserialize()
187 json_object *jso = NULL; in ifapi_config_initialize_finish()
Difapi_eventlog.c126 json_object *logpart, *event; in ifapi_eventlog_get_finish()
286 json_object *log, *event = NULL; in ifapi_eventlog_append_finish()
306 json_object *json_array = json_object_new_array(); in ifapi_eventlog_append_finish()
Difapi_policy_store.c182 json_object *jso = NULL; in ifapi_policy_store_load_finish()
234 json_object *jso = NULL; in ifapi_policy_store_store_async()
/external/igt-gpu-tools/runner/
Drunner_json_tests.c12 static struct json_object *read_json(int fd) in read_json()
14 struct json_object *obj; in read_json()
31 static void compare(struct json_object *one,
32 struct json_object *two);
34 static void compare_objects(struct json_object *one, in compare_objects()
35 struct json_object *two) in compare_objects()
38 struct json_object *subobj; in compare_objects()
49 static void compare_arrays(struct json_object *one, in compare_arrays()
50 struct json_object *two) in compare_arrays()
61 static bool compatible_types(struct json_object *one, in compatible_types()
[all …]
Dresultgen.c33 struct json_object *tests;
34 struct json_object *totals;
35 struct json_object *runtimes;
255 static struct json_object *get_or_create_json_object(struct json_object *base, in get_or_create_json_object()
258 struct json_object *ret; in get_or_create_json_object()
269 static void set_result(struct json_object *obj, const char *result) in set_result()
275 static void add_runtime(struct json_object *obj, double time) in add_runtime()
278 struct json_object *timeobj = get_or_create_json_object(obj, "time"); in add_runtime()
279 struct json_object *oldend; in add_runtime()
299 static void set_runtime(struct json_object *obj, double time) in set_runtime()
[all …]
Dresultgen.h9 struct json_object *generate_results_json(int dirfd);
/external/tpm2-tss/doc/
Ddoxygen.dox2084 json_object *jso_event_list,
2485 \fn static TSS2_RC ifapi_json_IFAPI_CONFIG_deserialize(json_object *jso, IFAPI_CONFIG *out)
2488 \fn static TSS2_RC ifapi_json_IFAPI_CONFIG_deserialize(json_object *jso, IFAPI_CONFIG *out)
2529 json_object *jso,
2555 json_object **jso)
2556 \fn TSS2_RC ifapi_json_IFAPI_CAP_INFO_serialize(const IFAPI_CAP_INFO *in, json_object **jso)
2558 json_object **jso)
2560 json_object **jso)
2563 json_object **str_jso)
2565 UINT32 selector, json_object **jso)
[all …]
/external/oss-fuzz/projects/jsoncpp/
Djson_proto_converter.cc54 void JsonProtoConverter::AppendObject(const JsonObject& json_object) { in AppendObject() argument
55 data_ << '{' << '"' << json_object.name() << '"' << ':'; in AppendObject()
56 AppendValue(json_object.value()); in AppendObject()
76 std::string JsonProtoConverter::Convert(const JsonObject& json_object) { in Convert() argument
77 AppendObject(json_object); in Convert()
/external/toolchain-utils/llvm_tools/
Dtest_helpers.py59 def WritePrettyJsonFile(file_name, json_object): argument
67 json.dump(file_name, json_object, indent=4, separators=(',', ': '))
/external/tpm2-tss/test/unit/
Dfapi-json.c122 json_object *jso = json_tokener_parse((SRC)); \
135 json_object *jso = json_tokener_parse((SRC)); \
167 json_object *jso = json_tokener_parse((SRC)); \
179 json_object *jso = NULL; \
412 json_object *jso = NULL; in check_policy_bin()
483 json_object *jso = NULL; in check_policy_bin()
1064 json_object *jso = json_tokener_parse(test_json_policy_nv_src); in check_json_policy()
1175 json_object *jso = json_tokener_parse(test_json_policy_or_src); in check_json_policy()
/external/autotest/site_utils/stable_images/
Dbuild_data.py108 json_object = json.load(sp.stdout)
112 return json_object
/external/tpm2-tss/test/integration/
Dfapi-quote.int.c51 json_object *jso = NULL; in test_fapi_quote()
58 json_object *jso_public = NULL; in test_fapi_quote()
/external/oss-fuzz/projects/json-c/
Dtokener_parse_ex_fuzzer.cc8 json_object *obj = json_tokener_parse_ex(tok, data1, size); in LLVMFuzzerTestOneInput()

12