Lines Matching refs:res
162 res = int(subprocess.check_output(['python2.7', tmpfile]))
164 res *= 1024
167 self.debug("proc size: " + str(res))
169 self.assertTrue(res < mem_cap + mem_tol,
171 self.assertTrue(res > mem_cap - mem_tol,
176 res = int(subprocess.check_output(['python2.7', tmpfile]))
177 res *= 1024
180 self.debug("proc size: " + str(res))
182 self.assertTrue(res < mem_cap * 2 + mem_tol,
184 self.assertTrue(res > mem_cap * 2 - mem_tol,
189 res = int(subprocess.check_output(['python2.7', tmpfile]))
190 res *= 1024
193 self.debug("proc size: " + str(res))
195 self.assertTrue(res < mem_cap + mem_tol,
197 self.assertTrue(res > mem_cap - mem_tol,