Home
last modified time | relevance | path

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

/external/bcc/src/cc/frontends/p4/compiler/
DebpfInstance.py18 def __init__(self, hlirInstance, factory, isMetadata): argument
20 self.hlirInstance = hlirInstance
21 self.name = hlirInstance.base_name
22 self.type = factory.build(hlirInstance.header_type, isMetadata)
49 True, "Unexpected metadata array {0}", self.hlirInstance)
69 def __init__(self, hlirInstance, indexVar, factory): argument
76 assert isinstance(hlirInstance, p4_header_instance)
79 self.name = hlirInstance.base_name
80 self.basetype = factory.build(hlirInstance.header_type, False)
82 self.arraySize = hlirInstance.max_index + 1
[all …]
DebpfDeparser.py86 p4header = header.hlirInstance
DebpfTable.py53 self.instance.hlirInstance.index, self.field.name)