Lines Matching refs:num
171 String16 generateServiceName(int num) in generateServiceName() argument
174 snprintf(num_str, sizeof(num_str), "%d", num); in generateServiceName()
179 void worker_fx(int num, in worker_fx() argument
190 serviceMgr->addService(generateServiceName(num), service); in worker_fx()
192 srand(num); in worker_fx()
201 cout << "Created BinderWorker" << num << endl; in worker_fx()
205 if (num == i) in worker_fx()
213 for (int i = 0; (!cs_pair || num >= server_count) && i < iterations; i++) { in worker_fx()
215 int target = cs_pair ? num % server_count : rand() % workers.size(); in worker_fx()
230 cout << "thread " << num << " failed " << ret << "i : " << i << endl; in worker_fx()
246 Pipe make_worker(int num, int iterations, int worker_count, int payload_size, bool cs_pair) in make_worker() argument
255 worker_fx(num, worker_count, iterations, payload_size, cs_pair, move(get<1>(pipe_pair))); in make_worker()