Home
last modified time | relevance | path

Searched refs:testMap1 (Results 1 – 1 of 1) sorted by relevance

/system/bpf/libbpf_android/
DBpfMapTest.cpp112 BpfMap<uint32_t, uint32_t> testMap1; in TEST_F() local
113 checkMapInvalid(testMap1); in TEST_F()
152 BpfMap<uint32_t, uint32_t> testMap1(BPF_MAP_TYPE_HASH, TEST_MAP_SIZE, BPF_F_NO_PREALLOC); in TEST_F() local
154 testMap2 = std::move(testMap1); in TEST_F()
156 checkMapInvalid(testMap1); in TEST_F()
165 BpfMap<uint32_t, uint32_t> testMap1(BPF_MAP_TYPE_HASH, TEST_MAP_SIZE, BPF_F_NO_PREALLOC); in TEST_F() local
166 ASSERT_EQ(0, bpfFdPin(testMap1.getMap(), PINNED_MAP_PATH)); in TEST_F()
168 checkMapValid(testMap1); in TEST_F()
174 writeToMapAndCheck(testMap1, key, value); in TEST_F()