Lines Matching refs:flowstr
690 def parse(self, flowstr, typeInst): argument
691 if not flowstr.startswith(self.proto_str):
697 flowstr = flowstr[len(self.proto_str) :]
698 if flowstr.startswith("("):
699 flowstr = flowstr[1:]
704 if flowstr.startswith(f[1]):
708 flowstr = flowstr[len(f[1]) + 1 :]
710 for c in flowstr:
714 data = flowstr[:splitchar]
715 flowstr = flowstr[splitchar:]
725 flowstr = flowstr[strspn(flowstr, ", ") :]
726 if len(flowstr) == 0:
727 return flowstr, k, m
729 flowstr = flowstr[strspn(flowstr, "), ") :]
731 return flowstr, k, m
1202 def parse(self, flowstr, mask=None): argument
1259 if not flowstr.startswith(fld):
1264 flowstr, k, m = nk.parse(flowstr, field[2])
1266 flowstr = flowstr[len(fld) :]
1267 flowstr, k, m = field[2](flowstr)
1273 flowstr = flowstr[strspn(flowstr, "),") :]
1275 return flowstr
1825 def parse(self, flowstr, actstr, dpidx=0): argument
1835 if flowstr.startswith("ufid:"):
1837 while flowstr[count] != ",":
1839 ufidstr = flowstr[5:count]
1840 flowstr = flowstr[count + 1 :]
1871 k.parse(flowstr, m)