Searched refs:arg_shift (Results 1 – 2 of 2) sorted by relevance
157 int arg_shift = 0; in main() local179 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()
157 int arg_shift = 0; in main() local179 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()