Lines Matching refs:patch
50 # Supported API versions. Each one is the maximum patch version for the given
182 self.patch = int(split[2])
184 self.patch = None
189 assert self.patch is None or self.patch < 4096
194 if self.patch is not None:
195 ver_list.append(str(self.patch))
199 patch = self.patch if self.patch is not None else 0
200 ver_list = [str(self.major), str(self.minor), str(patch)]
205 patch = self.patch if self.patch is not None else 0
206 return (self.major << 22) | (self.minor << 12) | patch
209 # If only one of them has a patch version, "ignore" it by making
210 # other's patch version match self.
211 if (self.patch is None) != (other.patch is None):
213 other.patch = self.patch
222 version.version.patch = API_PATCH_VERSION