Lines Matching refs:arg0

131   grpc_arg arg0;  in TEST_F()  local
132 arg0.type = GRPC_ARG_INTEGER; in TEST_F()
133 arg0.key = const_cast<char*>(key0.c_str()); in TEST_F()
134 arg0.value.integer = 0; in TEST_F()
142 channel_args_.SetInt(arg_key0, arg0.value.integer); in TEST_F()
145 EXPECT_TRUE(HasArg(arg0)); in TEST_F()
150 EXPECT_TRUE(HasArg(arg0)); in TEST_F()
158 grpc_arg arg0; in TEST_F() local
159 arg0.type = GRPC_ARG_STRING; in TEST_F()
160 arg0.key = const_cast<char*>(key0.c_str()); in TEST_F()
161 arg0.value.string = const_cast<char*>(val0.c_str()); in TEST_F()
175 EXPECT_TRUE(HasArg(arg0)); in TEST_F()
183 EXPECT_TRUE(HasArg(arg0)); in TEST_F()
190 grpc_arg arg0; in TEST_F() local
191 arg0.type = GRPC_ARG_POINTER; in TEST_F()
192 arg0.key = const_cast<char*>(key0.c_str()); in TEST_F()
193 arg0.value.pointer.p = &key0; in TEST_F()
194 arg0.value.pointer.vtable = &pointer_vtable_; in TEST_F()
197 channel_args_.SetPointer(key, arg0.value.pointer.p); in TEST_F()
198 EXPECT_TRUE(HasArg(arg0)); in TEST_F()
203 grpc_arg arg0, arg1; in TEST_F() local
206 arg0 = grpc_socket_mutator_to_arg(mutator0); in TEST_F()
210 EXPECT_TRUE(HasArg(arg0)); in TEST_F()
215 EXPECT_FALSE(HasArg(arg0)); in TEST_F()
222 grpc_arg arg0; in TEST_F() local
223 arg0.type = GRPC_ARG_STRING; in TEST_F()
224 arg0.key = const_cast<char*>(GRPC_ARG_PRIMARY_USER_AGENT_STRING); in TEST_F()
225 arg0.value.string = const_cast<char*>(whole_prefix.c_str()); in TEST_F()
228 EXPECT_TRUE(HasArg(arg0)); in TEST_F()
240 EXPECT_EQ(0, strcmp(arg.value.string, arg0.value.string)); in TEST_F()