Lines Matching refs:value
50 nextKey = GetNextKey(map_fd, key).value
51 value = LookupMap(map_fd, nextKey)
52 print repr(nextKey) + " : " + repr(value.value)
169 key, value = 1, 1
172 UpdateMap(self.map_fd, key, value)
173 self.assertEquals(value, LookupMap(self.map_fd, key).value)
177 def CheckAllMapEntry(self, nonexistent_key, totalEntries, value): argument
186 key = result.value
188 self.assertEquals(value, LookupMap(self.map_fd, key).value)
194 value = 1024
196 UpdateMap(self.map_fd, key, value)
198 self.assertEquals(value, LookupMap(self.map_fd, key).value)
201 self.CheckAllMapEntry(nonexistent_key, TOTAL_ENTRIES, value)
206 value = 1024
208 UpdateMap(self.map_fd, key, value)
210 key = firstKey.value
211 self.CheckAllMapEntry(key, TOTAL_ENTRIES - 1, value)
217 value = 1024
219 self.assertRaisesErrno(errno.EPERM, UpdateMap, self.map_fd, key, value)
227 value = 1024
229 UpdateMap(self.map_fd, key, value)
264 self.assertEquals(packet_count * 2, LookupMap(self.map_fd, key).value)
285 self.assertEquals(packet_count, LookupMap(self.map_fd, cookie).value)
310 self.assertEquals(packet_count, LookupMap(self.map_fd, uid).value)
313 self.assertEquals(packet_count, LookupMap(self.map_fd, uid).value)
400 self.assertEquals(packet_count, LookupMap(self.map_fd, uid).value)
403 self.assertEquals(packet_count, LookupMap(self.map_fd, uid).value)