Lines Matching refs:handle
26 uint32_t handle = 0; in TEST() local
27 EXPECT_EQ(pldm_pdr_add(repo, data.data(), data.size(), false, 1, &handle), in TEST()
29 EXPECT_EQ(handle, 1u); in TEST()
33 handle = 0; in TEST()
34 EXPECT_EQ(pldm_pdr_add(repo, data.data(), data.size(), false, 1, &handle), in TEST()
36 EXPECT_EQ(handle, 2u); in TEST()
38 handle = 0; in TEST()
39 EXPECT_EQ(pldm_pdr_add(repo, data.data(), data.size(), false, 1, &handle), in TEST()
41 EXPECT_EQ(handle, 3u); in TEST()
43 handle = 0xdeeddeedu; in TEST()
44 EXPECT_EQ(pldm_pdr_add(repo, data.data(), data.size(), false, 1, &handle), in TEST()
46 EXPECT_EQ(handle, 0xdeeddeed); in TEST()
257 uint32_t handle = 0; in TEST() local
258 EXPECT_EQ(pldm_pdr_add(repo, data.data(), data.size(), false, 1, &handle), in TEST()
260 EXPECT_EQ(handle, 3u); in TEST()
261 handle = 0; in TEST()
262 EXPECT_EQ(pldm_pdr_add(repo, data.data(), data.size(), true, 1, &handle), in TEST()
264 EXPECT_EQ(handle, 4u); in TEST()
274 uint32_t handle = 1; in TEST() local
277 sizeof(in), false, 1, &handle), in TEST()
309 handle = 2; in TEST()
312 sizeof(in2), false, 1, &handle), in TEST()
314 handle = 3; in TEST()
317 sizeof(in2), false, 1, &handle), in TEST()
319 handle = 4; in TEST()
322 sizeof(in2), true, 1, &handle), in TEST()
368 uint32_t handle = 1; in TEST() local
371 sizeof(in), false, 1, &handle), in TEST()
387 handle = 2; in TEST()
390 sizeof(in2), false, 1, &handle), in TEST()
392 handle = 3; in TEST()
395 sizeof(in2), false, 1, &handle), in TEST()
397 handle = 4; in TEST()
400 sizeof(in2), false, 1, &handle), in TEST()
492 uint32_t handle = 0; in TEST() local
493 EXPECT_EQ(pldm_pdr_add_fru_record_set(repo, 1, 10, 1, 0, 100, &handle), 0); in TEST()
494 EXPECT_EQ(handle, 1u); in TEST()
521 handle = 0; in TEST()
522 EXPECT_EQ(pldm_pdr_add_fru_record_set(repo, 2, 11, 2, 1, 101, &handle), 0); in TEST()
523 EXPECT_EQ(handle, 2u); in TEST()