Lines Matching full:found
46 const ucl_object_t *found, *it_obj, *test; in main() local
206 found = ucl_object_lookup (obj, "key17"); in main()
208 ucl_comments_add (comments, found, "# test comment"); in main()
209 assert (ucl_comments_find (comments, found) != NULL); in main()
211 ucl_comments_move (comments, found, test); in main()
212 assert (ucl_comments_find (comments, found) == NULL); in main()
225 found = ucl_object_lookup_path (obj, "key4.1"); in main()
226 assert (found != NULL && ucl_object_toint (found) == 10); in main()
228 found = ucl_object_lookup_path (obj, ".key4.1"); in main()
229 assert (found != NULL && ucl_object_toint (found) == 10); in main()
231 found = ucl_object_lookup_path (obj, ".key4........1..."); in main()
232 assert (found != NULL && ucl_object_toint (found) == 10); in main()
234 found = ucl_object_lookup_path (obj, ".key4.3"); in main()
235 assert (found == NULL); in main()
237 found = ucl_object_lookup_path (obj, "key9..key1"); in main()
238 assert (found == NULL); in main()