Lines Matching defs:obj
83 auto obj = json_object();
86 json_object_set_new(obj, "seq", json_integer(seq));
87 json_object_set_new(obj, "input_length", json_integer(inputlen));
88 json_object_set_new(obj, "output_length", json_integer(buflen));
89 json_object_set_new(obj, "percentage_of_original_size",
93 json_object_set_new(obj, "wire", json_string(""));
96 json_object_set_new(obj, "wire", json_pack("s#", hex.data(), hex.size()));
98 json_object_set_new(obj, "headers", dump_headers(nva.data(), nva.size()));
101 json_object_set_new(obj, "header_table_size",
105 json_object_set_new(obj, "header_table",
108 json_dumpf(obj, stdout, JSON_PRESERVE_ORDER | JSON_INDENT(2));
110 json_decref(obj);
132 static int deflate_hd_json(json_t *obj, nghttp2_hd_deflater *deflater,
136 auto js = json_object_get(obj, "headers");
222 auto obj = json_array_get(cases, i);
223 if (!json_is_object(obj)) {
227 if (deflate_hd_json(obj, deflater, i) != 0) {