Home
last modified time | relevance | path

Searched refs:arg_shift (Results 1 – 2 of 2) sorted by relevance

/external/grpc-grpc/test/core/http/
Dhttpscli_test.cc157 int arg_shift = 0; in main() local
179 arg_shift = 1; in main()
191 args[1 + arg_shift] = const_cast<char*>("--port"); in main()
192 gpr_asprintf(&args[2 + arg_shift], "%d", port); in main()
193 args[3 + arg_shift] = const_cast<char*>("--ssl"); in main()
194 server = gpr_subprocess_create(4 + arg_shift, (const char**)args); in main()
197 if (arg_shift) gpr_free(args[1]); in main()
198 gpr_free(args[2 + arg_shift]); in main()
Dhttpcli_test.cc157 int arg_shift = 0; in main() local
179 arg_shift = 1; in main()
185 args[1 + arg_shift] = const_cast<char*>("--port"); in main()
186 gpr_asprintf(&args[2 + arg_shift], "%d", port); in main()
187 server = gpr_subprocess_create(3 + arg_shift, (const char**)args); in main()
190 if (arg_shift) gpr_free(args[1]); in main()
191 gpr_free(args[2 + arg_shift]); in main()