Lines Matching refs:patch
42 self.patch = int(split[2])
44 self.patch = None
49 assert self.patch is None or self.patch < 4096
54 if self.patch is not None:
55 ver_list.append(str(self.patch))
59 patch = self.patch if self.patch is not None else 0
60 ver_list = [str(self.major), str(self.minor), str(patch)]
65 patch = self.patch if self.patch is not None else 0
66 return (self.major << 22) | (self.minor << 12) | patch
69 # If only one of them has a patch version, "ignore" it by making
70 # other's patch version match self.
71 if (self.patch is None) != (other.patch is None):
73 other.patch = self.patch