Lines Matching refs:insert

456             self.insert(k, v);  in extend()
941 self.insert(k, v); in replace_or_insert()
1009 pub fn insert(&mut self, k: K, v: V) { in insert() method
1426 m.insert(1, 2); in test_insert()
1428 m.insert(2, 4); in test_insert()
1430 m.insert(2, 6); in test_insert()
1442 m.insert(2, 4); in test_replace()
1454 m.insert(1, 2); in test_clone()
1456 m.insert(2, 4); in test_clone()
1494 m.insert(i, i); in test_lots_of_insertions()
1529 m.insert(i, i); in test_lots_of_insertions()
1551 m.insert(1, 12); in test_find_mut()
1552 m.insert(2, 8); in test_find_mut()
1553 m.insert(5, 14); in test_find_mut()
1566 m.insert(1, 2); in test_remove()
1568 m.insert(5, 3); in test_remove()
1570 m.insert(9, 4); in test_remove()
1584 m.insert(1, 2); in test_is_empty()
1594 m.insert(2, 4); in test_pop()
1595 m.insert(1, 2); in test_pop()
1596 m.insert(3, 6); in test_pop()
1611 m.insert(i, i * 2); in test_iterate()
1668 m.insert(1, 2); in test_find()
1679 m1.insert(1, 2); in test_eq()
1680 m1.insert(2, 3); in test_eq()
1681 m1.insert(3, 4); in test_eq()
1684 m2.insert(1, 2); in test_eq()
1685 m2.insert(2, 3); in test_eq()
1689 m2.insert(3, 4); in test_eq()
1700 map.insert(1, 2); in test_show()
1701 map.insert(3, 4); in test_show()
1782 map.insert(1, 2); in test_index()
1783 map.insert(2, 1); in test_index()
1784 map.insert(3, 4); in test_index()
1795 map.insert(1, 2); in test_index_nonexistent()
1796 map.insert(2, 1); in test_index_nonexistent()
1797 map.insert(3, 4); in test_index_nonexistent()
1806 a.insert(1, "one"); in test_extend_iter()
1808 b.insert(2, "two"); in test_extend_iter()
1809 b.insert(3, "three"); in test_extend_iter()
1822 a.insert(1, 1); in test_rev_iter()
1823 a.insert(2, 2); in test_rev_iter()
1824 a.insert(3, 3); in test_rev_iter()