• Home
  • Raw
  • Download

Lines Matching refs:jbl

88   JBL jbl;  in jbl_test1_2()  local
89 iwrc rc = jbl_from_json(&jbl, data); in jbl_test1_2()
95 rc = jbl_as_json(jbl, jbl_xstr_json_printer, xstr, false); in jbl_test1_2()
102 jbl_destroy(&jbl); in jbl_test1_2()
105 rc = jbl_from_json(&jbl, "{ "); in jbl_test1_2()
183 JBL jbl, at, at2; in jbl_test1_4() local
186 iwrc rc = jbl_from_json(&jbl, data); in jbl_test1_4()
189 rc = jbl_at(jbl, "/foo", &at); in jbl_test1_4()
198 rc = jbl_at(jbl, "/foo2/foo3", &at); in jbl_test1_4()
212 rc = jbl_at(jbl, "/foo2/foo10", &at); in jbl_test1_4()
217 rc = jbl_at(jbl, "/foo2/*/foo4", &at); in jbl_test1_4()
225 rc = jbl_at(jbl, "/list1/1", &at); in jbl_test1_4()
232 rc = jbl_at(jbl, "/list1/2/three", &at); in jbl_test1_4()
239 rc = jbl_at(jbl, "/list1/*/three", &at); in jbl_test1_4()
246 rc = jbl_at(jbl, "/list1/*/*", &at); in jbl_test1_4()
253 jbl_destroy(&jbl); in jbl_test1_4()
276 JBL jbl; in jbl_test1_5() local
281 iwrc rc = jbl_from_json(&jbl, data); in jbl_test1_5()
283 rc = jbl_patch(jbl, p1, sizeof(p1) / sizeof(p1[0])); in jbl_test1_5()
285 jbl_destroy(&jbl); in jbl_test1_5()
290 rc = jbl_from_json(&jbl, data); in jbl_test1_5()
292 rc = jbl_patch(jbl, p2, sizeof(p2) / sizeof(p2[0])); in jbl_test1_5()
294 rc = jbl_as_json(jbl, jbl_xstr_json_printer, xstr, false); in jbl_test1_5()
300 jbl_destroy(&jbl); in jbl_test1_5()
309 rc = jbl_from_json(&jbl, data); in jbl_test1_5()
311 rc = jbl_patch(jbl, p3, sizeof(p3) / sizeof(p3[0])); in jbl_test1_5()
313 rc = jbl_as_json(jbl, jbl_xstr_json_printer, xstr, false); in jbl_test1_5()
318 jbl_destroy(&jbl); in jbl_test1_5()
326 JBL jbl = 0; in apply_patch() local
332 iwrc rc = jbl_from_json(&jbl, data2); in apply_patch()
335 rc = jbl_patch_from_json(jbl, patch2); in apply_patch()
338 rc = jbl_as_json(jbl, jbl_xstr_json_printer, xstr, false); in apply_patch()
355 if (jbl) { in apply_patch()
356 jbl_destroy(&jbl); in apply_patch()
363 JBL jbl = 0; in apply_merge_patch() local
369 iwrc rc = jbl_from_json(&jbl, data2); in apply_merge_patch()
372 rc = jbl_merge_patch(jbl, patch2); in apply_merge_patch()
375 rc = jbl_as_json(jbl, jbl_xstr_json_printer, xstr, false); in apply_merge_patch()
392 if (jbl) { in apply_merge_patch()
393 jbl_destroy(&jbl); in apply_merge_patch()
724 JBL jbl, nested, at; in jbl_test1_8() local
725 iwrc rc = jbl_create_empty_object(&jbl); in jbl_test1_8()
734 rc = jbl_set_int64(jbl, "mynum", 13223); in jbl_test1_8()
737 rc = jbl_set_string(jbl, "foo", "bar"); in jbl_test1_8()
740 rc = jbl_set_nested(jbl, "nested", nested); in jbl_test1_8()
743 rc = jbl_at(jbl, "/mynum", &at); in jbl_test1_8()
749 rc = jbl_at(jbl, "/foo", &at); in jbl_test1_8()
755 rc = jbl_at(jbl, "/nested/nnum", &at); in jbl_test1_8()
761 jbl_destroy(&jbl); in jbl_test1_8()