Lines Matching refs:patch
41 self.patch = int(split[2])
43 self.patch = None
48 assert self.patch is None or self.patch < 4096
53 if self.patch is not None:
54 ver_list.append(str(self.patch))
58 ver_list = [str(self.major), str(self.minor), str(self.patch or 0)]
63 return (self.major << 22) | (self.minor << 12) | (self.patch or 0)
66 # If only one of them has a patch version, "ignore" it by making
67 # other's patch version match self.
68 if (self.patch is None) != (other.patch is None):
70 other.patch = self.patch