Home
last modified time | relevance | path

Searched refs:check_search (Results 1 – 3 of 3) sorted by relevance

/external/dtc/tests/
Dnode_offset_by_compatible.c31 static void check_search(void *fdt, const char *compat, ...) in check_search() function
70 check_search(fdt, "test_tree1", 0, -FDT_ERR_NOTFOUND); in main()
71 check_search(fdt, "subnode1", subnode1_offset, -FDT_ERR_NOTFOUND); in main()
72 check_search(fdt, "subsubnode1", subsubnode1_offset, -FDT_ERR_NOTFOUND); in main()
73 check_search(fdt, "subsubnode2", subsubnode2_offset, -FDT_ERR_NOTFOUND); in main()
77 check_search(fdt, "subsubnode", subsubnode1_offset, in main()
80 check_search(fdt, "subsubnode", subsubnode2_offset, in main()
82 check_search(fdt, "nothing-like-this", -FDT_ERR_NOTFOUND); in main()
Dnode_offset_by_phandle.c31 static void check_search(void *fdt, uint32_t phandle, int target) in check_search() function
56 check_search(fdt, PHANDLE_1, subnode2_offset); in main()
57 check_search(fdt, PHANDLE_2, subsubnode2_offset); in main()
58 check_search(fdt, ~PHANDLE_1, -FDT_ERR_NOTFOUND); in main()
59 check_search(fdt, 0, -FDT_ERR_BADPHANDLE); in main()
60 check_search(fdt, -1, -FDT_ERR_BADPHANDLE); in main()
Dnode_offset_by_prop_value.c50 static void check_search(void *fdt, const char *propname, const void *propval, in check_search() function
73 check_search((fdt), (propname), &val, sizeof(val), \
107 check_search(fdt, "no-such-prop", NULL, 0, -FDT_ERR_NOTFOUND); in main()