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 …]
440 int32_t serverId[3]; in TEST_F() local442 data.writeInt32(ARRAY_SIZE(serverId)); in TEST_F()443 for (size_t i = 0; i < ARRAY_SIZE(serverId); i++) { in TEST_F()447 server = addServer(&serverId[i]); in TEST_F()463 EXPECT_EQ(ARRAY_SIZE(serverId), (size_t)count); in TEST_F()470 EXPECT_EQ(serverId[i], id); in TEST_F()483 int32_t serverId[3]; in TEST_F() local485 data.writeInt32(ARRAY_SIZE(serverId)); in TEST_F()486 for (size_t i = 0; i < ARRAY_SIZE(serverId); i++) { in TEST_F()491 server = addServer(&serverId[i]); in TEST_F()[all …]