Lines Matching refs:machine

40 static void *driverfunct(void *obj, QGuestAllocator *machine, void *arg)  in driverfunct()  argument
60 static void check_machine(const char *machine) in check_machine() argument
62 qos_node_create_machine(machine, machinefunct); in check_machine()
63 g_assert_nonnull(qos_graph_get_machine(machine)); in check_machine()
64 g_assert_cmpint(qos_graph_has_machine(machine), ==, TRUE); in check_machine()
65 g_assert_nonnull(qos_graph_get_node(machine)); in check_machine()
66 g_assert_cmpint(qos_graph_get_node_availability(machine), ==, FALSE); in check_machine()
67 qos_graph_node_set_availability(machine, TRUE); in check_machine()
68 g_assert_cmpint(qos_graph_get_node_availability(machine), ==, TRUE); in check_machine()
69 g_assert_cmpint(qos_graph_has_node(machine), ==, TRUE); in check_machine()
70 g_assert_cmpint(qos_graph_get_node_type(machine), ==, QNODE_MACHINE); in check_machine()
73 static void check_contains(const char *machine, const char *driver) in check_contains() argument
76 qos_node_contains(machine, driver, NULL); in check_contains()
78 edge = qos_graph_get_edge(machine, driver); in check_contains()
81 g_assert_cmpint(qos_graph_has_edge(machine, driver), ==, TRUE); in check_contains()
84 static void check_produces(const char *machine, const char *interface) in check_produces() argument
88 qos_node_produces(machine, interface); in check_produces()
90 edge = qos_graph_get_edge(machine, interface); in check_produces()
94 g_assert_cmpint(qos_graph_has_edge(machine, interface), ==, TRUE); in check_produces()