Searched refs:testMap1 (Results 1 – 1 of 1) sorted by relevance
/aosp12/system/bpf/libbpf_android/ |
H A D | BpfMapTest.cpp | 106 BpfMap<uint32_t, uint32_t> testMap1; in TEST_F() local 107 checkMapInvalid(testMap1); in TEST_F() 140 BpfMap<uint32_t, uint32_t> testMap1(BPF_MAP_TYPE_HASH, TEST_MAP_SIZE, BPF_F_NO_PREALLOC); in TEST_F() local 142 testMap2 = std::move(testMap1); in TEST_F() 144 checkMapInvalid(testMap1); in TEST_F() 151 BpfMap<uint32_t, uint32_t> testMap1(BPF_MAP_TYPE_HASH, TEST_MAP_SIZE, BPF_F_NO_PREALLOC); in TEST_F() local 152 ASSERT_EQ(0, bpfFdPin(testMap1.getMap(), PINNED_MAP_PATH)); in TEST_F() 154 checkMapValid(testMap1); in TEST_F() 160 writeToMapAndCheck(testMap1, key, value); in TEST_F()
|