Searched refs:serverId (Results 1 – 2 of 2) sorted by relevance
257 static uint64_t getPtr(pid_t serverId) { return 10000 + serverId; } in getPtr() argument258 static std::vector<pid_t> getClients(pid_t serverId) { in getClients() argument259 return {serverId + 1, serverId + 3}; in getClients()261 static PidInfo getPidInfoFromId(pid_t serverId) { in getPidInfoFromId() argument263 info.refPids[getPtr(serverId)] = getClients(serverId); in getPidInfoFromId()264 info.threadUsage = 10 + serverId; in getPidInfoFromId()265 info.threadCount = 20 + serverId; in getPidInfoFromId()268 static std::string getInterfaceName(pid_t serverId) { in getInterfaceName() argument269 return "a.h.foo" + std::to_string(serverId) + "@" + std::to_string(serverId) + ".0::IFoo"; in getInterfaceName()271 static std::string getInstanceName(pid_t serverId) { in getInstanceName() argument[all …]
431 int32_t serverId[3]; in TEST_F() local433 data.writeInt32(ARRAY_SIZE(serverId)); in TEST_F()434 for (size_t i = 0; i < ARRAY_SIZE(serverId); i++) { in TEST_F()438 server = addServer(&serverId[i]); in TEST_F()454 EXPECT_EQ(ARRAY_SIZE(serverId), (size_t)count); in TEST_F()461 EXPECT_EQ(serverId[i], id); in TEST_F()474 int32_t serverId[3]; in TEST_F() local476 data.writeInt32(ARRAY_SIZE(serverId)); in TEST_F()477 for (size_t i = 0; i < ARRAY_SIZE(serverId); i++) { in TEST_F()482 server = addServer(&serverId[i]); in TEST_F()[all …]