Lines Matching refs:idx
65 for idx, s in enumerate(r.stats):
66 self.check_stat(idx, s, r, dl_size=30, ul_size=0)
82 for idx, s in enumerate(r.stats):
83 self.check_stat(idx, s, r, dl_size=30, ul_size=0)
102 for idx, s in enumerate(r.stats):
103 self.check_stat(idx, s, r, dl_size=fsize, ul_size=fsize)
114 for idx, s in enumerate(r.stats):
115 self.check_stat(idx, s, r, dl_size=30, ul_size=0)
117 def check_stat(self, idx, s, r, dl_size=None, ul_size=None): argument
118 self.check_stat_times(s, idx)
120 self.check_stat_positive(s, idx, 'size_request')
122 self.check_stat_positive(s, idx, 'size_header')
130 def check_stat_positive(self, s, idx, key): argument
138 def check_stat_times(self, s, idx): argument
159 self.check_stat_positive(s, idx, key)