Lines Matching full:index

158     for index in range(NUM_QUERY_ADDRS):
159 verify(cache_table[index].state == wpan.ADDRESS_CACHE_ENTRY_STATE_RETRY_QUERY)
160 verify(cache_table[index].retry_delay == 2 * INITIAL_RETRY_DELAY)
183 for index in range(NUM_QUERY_ADDRS):
184 verify(cache_table[index].state == wpan.ADDRESS_CACHE_ENTRY_STATE_RETRY_QUERY)
185 verify(cache_table[index].timeout == 0)
202 for index in range(NUM_QUERY_ADDRS):
203 verify(cache_table[index].state == wpan.ADDRESS_CACHE_ENTRY_STATE_QUERY)
204 verify(cache_table[index].can_evict() == True)
227 for index in range(NUM_ADDRESSES):
228 verify(cache_table[index].address == PREFIX + "2:" + str(NUM_ADDRESSES - index - 1))
229 verify(cache_table[index].rloc16 == r2_rloc)
230 verify(cache_table[index].state == wpan.ADDRESS_CACHE_ENTRY_STATE_SNOOPED)
231 if index < NUM_ADDRESSES - MAX_SNOOPED_NON_EVICTABLE:
232 verify(cache_table[index].can_evict() == True)
233 verify(cache_table[index].timeout == 0)
235 verify(cache_table[index].can_evict() == False)
236 verify(cache_table[index].timeout > 0)
253 for index in range(NUM_ADDRESSES):
254 verify(cache_table[index].address == PREFIX + "2:" + str(NUM_ADDRESSES - index - 1))
255 verify(cache_table[index].rloc16 == r2_rloc)
256 verify(cache_table[index].state == wpan.ADDRESS_CACHE_ENTRY_STATE_CACHED)
276 for index in range(NUM_ADDRESSES):
277 verify(cache_table[index].address == PREFIX + "3:" + str(NUM_ADDRESSES - index - 1))
278 verify(cache_table[index].rloc16 == r3_rloc)
279 verify(cache_table[index].state == wpan.ADDRESS_CACHE_ENTRY_STATE_CACHED)
280 verify(cache_table[index].last_trans == 0)
295 for index in range(NUM_ADDRESSES):
296 verify(cache_table[index].address == PREFIX + "c3:" + str(NUM_ADDRESSES - index - 1))
297 verify(cache_table[index].rloc16 == r3_rloc)
298 verify(cache_table[index].state == wpan.ADDRESS_CACHE_ENTRY_STATE_CACHED)
301 verify(cache_table[index].last_trans == 0)
314 for index in range(NUM_ADDRESSES):
315 verify(cache_table[index].address == PREFIX + "2:" + str(NUM_ADDRESSES - index - 1))
316 verify(cache_table[index].rloc16 == r2_rloc)
317 verify(cache_table[index].state == wpan.ADDRESS_CACHE_ENTRY_STATE_CACHED)
373 for index in range(NUM_ADDRESSES):
374 verify(cache_table[index].address == PREFIX + "c2:" + str(NUM_ADDRESSES - index - 1))
375 verify(cache_table[index].rloc16 == c2_rloc)
376 verify(cache_table[index].state == wpan.ADDRESS_CACHE_ENTRY_STATE_CACHED)