Lines Matching refs:isinstance
58 assert isinstance(p4action, p4_action)
59 assert isinstance(program, ebpfProgram.EbpfProgram)
86 assert isinstance(serializer, ProgramSerializer)
88 assert isinstance(arg, EbpfActionData)
91 assert isinstance(argtype, ebpfType.EbpfType)
108 assert isinstance(serializer, ProgramSerializer)
109 assert isinstance(program, ebpfProgram.EbpfProgram)
110 assert isinstance(dataContainer, str)
114 assert isinstance(action, p4_action)
116 assert isinstance(arguments, list)
152 assert isinstance(serializer, ProgramSerializer)
153 assert isinstance(program, ebpfProgram.EbpfProgram)
154 assert isinstance(arguments, list)
160 assert isinstance(ctr, ebpfCounter.EbpfCounter)
183 assert isinstance(serializer, ProgramSerializer)
184 assert isinstance(program, ebpfProgram.EbpfProgram)
185 assert isinstance(callee, p4_action)
186 assert isinstance(arguments, list)
313 assert isinstance(program, ebpfProgram.EbpfProgram)
314 assert isinstance(caller, EbpfAction)
316 if isinstance(argument, int):
320 elif isinstance(argument, p4_field):
323 if isinstance(argument.instance.index, int):
332 assert isinstance(stackInstance, ebpfInstance.EbpfHeaderStack)
340 if isinstance(instance, ebpfInstance.EbpfHeader):
348 elif isinstance(argument, p4_signature_ref):
353 elif isinstance(argument, p4_header_instance):
359 if isinstance(argument.index, int):
366 assert isinstance(stackInstance, ebpfInstance.EbpfHeaderStack)