Searched refs:serverId (Results 1 – 2 of 2) sorted by relevance
271 static uint64_t getPtr(pid_t serverId) { return 10000 + serverId; } in getPtr() argument272 static std::vector<pid_t> getClients(pid_t serverId) { in getClients() argument273 return {serverId + 1, serverId + 3}; in getClients()275 static PidInfo getPidInfoFromId(pid_t serverId) { in getPidInfoFromId() argument277 info.refPids[getPtr(serverId)] = getClients(serverId); in getPidInfoFromId()278 info.threadUsage = 10 + serverId; in getPidInfoFromId()279 info.threadCount = 20 + serverId; in getPidInfoFromId()282 static std::string getInterfaceName(pid_t serverId) { in getInterfaceName() argument283 return "a.h.foo" + std::to_string(serverId) + "@" + std::to_string(serverId) + ".0::IFoo"; in getInterfaceName()285 static std::string getInstanceName(pid_t serverId) { in getInstanceName() argument[all …]
435 int32_t serverId[3]; in TEST_F() local437 data.writeInt32(ARRAY_SIZE(serverId)); in TEST_F()438 for (size_t i = 0; i < ARRAY_SIZE(serverId); i++) { in TEST_F()442 server = addServer(&serverId[i]); in TEST_F()458 EXPECT_EQ(ARRAY_SIZE(serverId), (size_t)count); in TEST_F()465 EXPECT_EQ(serverId[i], id); in TEST_F()478 int32_t serverId[3]; in TEST_F() local480 data.writeInt32(ARRAY_SIZE(serverId)); in TEST_F()481 for (size_t i = 0; i < ARRAY_SIZE(serverId); i++) { in TEST_F()486 server = addServer(&serverId[i]); in TEST_F()[all …]