Lines Matching refs:isinstance
24 assert isinstance(p4conditional, p4_conditional_node)
25 assert isinstance(program, ebpfProgram.EbpfProgram)
30 if isinstance(node, p4_expression):
34 elif isinstance(node, int):
36 elif isinstance(node, p4_header_instance):
38 assert isinstance(header, ebpfInstance.EbpfHeader)
42 elif isinstance(node, p4_field):
45 if isinstance(einstance, ebpfInstance.EbpfHeader):
55 assert isinstance(serializer, ProgramSerializer)
56 assert isinstance(program, ebpfProgram.EbpfProgram)
57 assert isinstance(expression, p4_expression)
58 assert isinstance(toplevel, bool)
63 assert isinstance(op, str)
80 assert isinstance(serializer, ProgramSerializer)
81 assert isinstance(program, ebpfProgram.EbpfProgram)