Lines Matching refs:root
38 test_interface(struct libder_object *root) in test_interface() argument
45 oid = libder_obj_child(root, 2); in test_interface()
56 keystring = libder_obj_child(root, 1); in test_interface()
70 struct libder_object *obj, *oidp, *pubp, *root; in test_construction() local
75 root = libder_obj_alloc_simple(ctx, BT_SEQUENCE, NULL, 0); in test_construction()
76 assert(root != NULL); in test_construction()
81 assert(libder_obj_append(root, obj)); in test_construction()
86 assert(libder_obj_append(root, obj)); in test_construction()
92 assert(libder_obj_append(root, oidp)); in test_construction()
97 assert(libder_obj_append(root, pubp)); in test_construction()
111 out = libder_write(ctx, root, out, &outsz); in test_construction()
117 libder_obj_free(root); in test_construction()
126 struct libder_object *root; in main() local
155 root = libder_read(ctx, buf, &rootsz); in main()
157 assert(root != NULL); in main()
160 test_interface(root); in main()
165 out = libder_write(ctx, root, out, &outsz); in main()
173 libder_obj_free(root); in main()