Home
last modified time | relevance | path

Searched refs:gpr_cmdline (Results 1 – 15 of 15) sorted by relevance

/external/grpc-grpc/test/core/util/
Dcmdline.h50 typedef struct gpr_cmdline gpr_cmdline; typedef
54 gpr_cmdline* gpr_cmdline_create(const char* description);
57 void gpr_cmdline_add_int(gpr_cmdline* cl, const char* name, const char* help,
60 void gpr_cmdline_add_flag(gpr_cmdline* cl, const char* name, const char* help,
63 void gpr_cmdline_add_string(gpr_cmdline* cl, const char* name, const char* help,
67 gpr_cmdline* cl, const char* name, const char* help,
70 void gpr_cmdline_set_survive_failure(gpr_cmdline* cl);
74 int gpr_cmdline_parse(gpr_cmdline* cl, int argc, char** argv);
76 void gpr_cmdline_destroy(gpr_cmdline* cl);
78 char* gpr_cmdline_usage_string(gpr_cmdline* cl, const char* argv0);
Dcmdline.cc40 struct gpr_cmdline { struct
50 int (*state)(gpr_cmdline* cl, char* arg); argument
56 static int normal_state(gpr_cmdline* cl, char* arg); argument
58 gpr_cmdline* gpr_cmdline_create(const char* description) { in gpr_cmdline_create()
59 gpr_cmdline* cl = static_cast<gpr_cmdline*>(gpr_zalloc(sizeof(gpr_cmdline))); in gpr_cmdline_create()
67 void gpr_cmdline_set_survive_failure(gpr_cmdline* cl) { in gpr_cmdline_set_survive_failure()
71 void gpr_cmdline_destroy(gpr_cmdline* cl) { in gpr_cmdline_destroy()
80 static void add_arg(gpr_cmdline* cl, const char* name, const char* help, in add_arg()
97 void gpr_cmdline_add_int(gpr_cmdline* cl, const char* name, const char* help, in gpr_cmdline_add_int()
102 void gpr_cmdline_add_flag(gpr_cmdline* cl, const char* name, const char* help, in gpr_cmdline_add_flag()
[all …]
Dcmdline_test.cc32 gpr_cmdline* cl; in test_simple_int()
48 gpr_cmdline* cl; in test_eq_int()
63 gpr_cmdline* cl; in test_2dash_int()
79 gpr_cmdline* cl; in test_2dash_eq_int()
94 gpr_cmdline* cl; in test_simple_string()
110 gpr_cmdline* cl; in test_eq_string()
125 gpr_cmdline* cl; in test_2dash_string()
141 gpr_cmdline* cl; in test_2dash_eq_string()
156 gpr_cmdline* cl; in test_flag_on()
171 gpr_cmdline* cl; in test_flag_no()
[all …]
/external/grpc-grpc/test/core/security/
Dverify_jwt.cc39 static void print_usage_and_exit(gpr_cmdline* cl, const char* argv0) { in print_usage_and_exit()
78 gpr_cmdline* cl; in main()
Dfetch_oauth2.cc52 gpr_cmdline* cl = gpr_cmdline_create("fetch_oauth2"); in main()
Dcreate_jwt.cc64 gpr_cmdline* cl = gpr_cmdline_create("create_jwt"); in main()
Dprint_google_default_creds_token.cc71 gpr_cmdline* cl = gpr_cmdline_create("print_google_default_creds_token"); in main()
/external/grpc-grpc/test/core/bad_ssl/
Dserver_common.cc36 gpr_cmdline* cl; in bad_ssl_addr()
/external/grpc-grpc/test/core/fling/
Dclient.cc154 gpr_cmdline* cl; in main()
Dserver.cc176 gpr_cmdline* cl; in main()
/external/grpc-grpc/test/core/json/
Djson_rewrite.cc233 gpr_cmdline* cl; in main()
/external/grpc-grpc/test/core/iomgr/
Dresolve_address_test.cc251 gpr_cmdline* cl = gpr_cmdline_create("resolve address test"); in main()
/external/grpc-grpc/test/core/memory_usage/
Dserver.cc153 gpr_cmdline* cl; in main()
Dclient.cc193 gpr_cmdline* cl; in main()
/external/grpc-grpc/test/core/network_benchmarks/
Dlow_level_ping_pong.cc640 gpr_cmdline* cmdline = in main()