Lines Matching refs:patch
148 self.patch = int(split[2])
150 self.patch = None
155 assert self.patch is None or self.patch < 4096
160 if self.patch is not None:
161 ver_list.append(str(self.patch))
165 patch = self.patch if self.patch is not None else 0
166 ver_list = [str(self.major), str(self.minor), str(patch)]
171 patch = self.patch if self.patch is not None else 0
172 return (self.major << 22) | (self.minor << 12) | patch
175 # If only one of them has a patch version, "ignore" it by making
176 # other's patch version match self.
177 if (self.patch is None) != (other.patch is None):
179 other.patch = self.patch