Lines Matching refs:isinstance
22 assert(isinstance(parse_state, p4_parse_state))
50 if not isinstance(next_state, p4_parse_state):
67 assert isinstance(serializer, ProgramSerializer)
68 assert isinstance(program, ebpfProgram.EbpfProgram)
83 assert isinstance(header, ebpfInstance.EbpfHeader)
84 assert isinstance(serializer, ProgramSerializer)
85 assert isinstance(program, ebpfProgram.EbpfProgram)
87 assert isinstance(p4header, p4_header_instance)
96 assert isinstance(ebpfStack, ebpfInstance.EbpfHeaderStack)
98 if isinstance(p4header.index, int):
114 assert isinstance(field, ebpfStructType.EbpfField)
124 assert isinstance(index, str)
125 assert isinstance(name, str)
126 assert isinstance(field, ebpfStructType.EbpfField)
127 assert isinstance(serializer, ProgramSerializer)
128 assert isinstance(alignment, int)
129 assert isinstance(program, ebpfProgram.EbpfProgram)
162 assert isinstance(width, int)
163 assert isinstance(alignment, int)