Lines Matching refs:value
119 next_key = GetNextKey(map_fd, key).value
120 value = LookupMap(map_fd, next_key)
121 print(repr(next_key) + " : " + repr(value.value)) # pylint: disable=superfluous-parens
240 key, value = 1, 1
243 UpdateMap(self.map_fd, key, value)
244 self.assertEqual(value, LookupMap(self.map_fd, key).value)
248 def CheckAllMapEntry(self, nonexistent_key, total_entries, value): argument
257 key = result.value
259 self.assertEqual(value, LookupMap(self.map_fd, key).value)
265 value = 1024
267 UpdateMap(self.map_fd, key, value)
269 self.assertEqual(value, LookupMap(self.map_fd, key).value)
272 self.CheckAllMapEntry(nonexistent_key, TOTAL_ENTRIES, value)
277 value = 1024
279 UpdateMap(self.map_fd, key, value)
281 key = first_key.value
282 self.CheckAllMapEntry(key, TOTAL_ENTRIES - 1, value)
287 value = 1024
289 self.assertRaisesErrno(errno.EPERM, UpdateMap, self.map_fd, key, value)
295 value = 1024
297 UpdateMap(self.map_fd, key, value)
332 self.assertEqual(packet_count * 2, LookupMap(self.map_fd, key).value)
436 self.assertEqual(packet_count, LookupMap(self.map_fd, cookie).value)
459 self.assertEqual(packet_count, LookupMap(self.map_fd, uid).value)
462 self.assertEqual(packet_count, LookupMap(self.map_fd, uid).value)
555 self.assertEqual(packet_count, LookupMap(self.map_fd, uid).value)
558 self.assertEqual(packet_count, LookupMap(self.map_fd, uid).value)