/external/mesa3d/src/mapi/ |
D | stub.c | 65 const struct mapi_stub *stub = (const struct mapi_stub *) elem; in stub_compare() local 68 stub_name = &public_string_pool[(unsigned long) stub->name]; in stub_compare() 89 struct mapi_stub *stub; in stub_add_dynamic() local 97 stub = &dynamic_stubs[idx]; in stub_add_dynamic() 100 stub->addr = entry_generate( in stub_add_dynamic() 102 if (!stub->addr) in stub_add_dynamic() 105 stub->name = (const void *) strdup(name); in stub_add_dynamic() 107 stub->slot = -1; in stub_add_dynamic() 111 return stub; in stub_add_dynamic() 122 struct mapi_stub *stub = NULL; in stub_find_dynamic() local [all …]
|
D | mapi_glapi.c | 129 const struct mapi_stub *stub; in _glapi_add_dispatch() local 136 stub = stub_find_public(funcName); in _glapi_add_dispatch() 137 if (!stub) in _glapi_add_dispatch() 138 stub = stub_find_dynamic(funcName, 0); in _glapi_add_dispatch() 140 slot = (stub) ? stub_get_slot(stub) : -1; in _glapi_add_dispatch() 146 alias = stub; in _glapi_add_dispatch() 148 function_stubs[i] = stub; in _glapi_add_dispatch() 155 struct mapi_stub *stub; in _glapi_add_dispatch() local 160 stub = stub_find_dynamic(funcName, 1); in _glapi_add_dispatch() 161 if (!stub) in _glapi_add_dispatch() [all …]
|
/external/grpc-grpc/src/php/tests/interop/ |
D | interop_client.php | 59 function emptyUnary($stub) argument 62 $stub->EmptyCall(new Grpc\Testing\EmptyMessage())->wait(); 72 function largeUnary($stub) argument 74 performLargeUnary($stub); 84 function performLargeUnary($stub, $fillUsername = false, argument 105 list($result, $status) = $stub->UnaryCall($request, [], $options)->wait(); 125 function serviceAccountCreds($stub, $args) argument 133 $result = performLargeUnary($stub, $fillUsername = true, 148 function computeEngineCreds($stub, $args) argument 156 $result = performLargeUnary($stub, $fillUsername = true, [all …]
|
/external/grpc-grpc/src/python/grpcio_tests/tests/http2/ |
D | negative_http2_client.py | 60 def _goaway(stub): argument 61 first_response = stub.UnaryCall(_SIMPLE_REQUEST) 65 second_response = stub.UnaryCall(_SIMPLE_REQUEST) 70 def _rst_after_header(stub): argument 71 resp_future = stub.UnaryCall.future(_SIMPLE_REQUEST) 76 def _rst_during_data(stub): argument 77 resp_future = stub.UnaryCall.future(_SIMPLE_REQUEST) 82 def _rst_after_data(stub): argument 83 resp_future = stub.UnaryCall.future(_SIMPLE_REQUEST) 88 def _ping(stub): argument [all …]
|
/external/grpc-grpc/src/python/grpcio_tests/tests/interop/ |
D | methods.py | 128 def _large_unary_common_behavior(stub, fill_username, fill_oauth_scope, argument 137 response_future = stub.UnaryCall.future( 144 def _empty_unary(stub): argument 145 response = stub.EmptyCall(empty_pb2.Empty()) 151 def _large_unary(stub): argument 152 _large_unary_common_behavior(stub, False, False, None) 155 def _client_streaming(stub): argument 166 response = stub.StreamingInputCall(requests) 172 def _server_streaming(stub): argument 188 response_iterator = stub.StreamingOutputCall(request) [all …]
|
/external/mockftpserver/tags/1.1/src/main/java/org/mockftpserver/stub/ |
D | StubFtpServer.java | 16 package org.mockftpserver.stub; 40 import org.mockftpserver.stub.command.AborCommandHandler; 41 import org.mockftpserver.stub.command.AcctCommandHandler; 42 import org.mockftpserver.stub.command.AlloCommandHandler; 43 import org.mockftpserver.stub.command.AppeCommandHandler; 44 import org.mockftpserver.stub.command.CdupCommandHandler; 45 import org.mockftpserver.stub.command.ConnectCommandHandler; 46 import org.mockftpserver.stub.command.CwdCommandHandler; 47 import org.mockftpserver.stub.command.DeleCommandHandler; 48 import org.mockftpserver.stub.command.HelpCommandHandler; [all …]
|
/external/mockftpserver/tags/1.0/src/main/java/org/mockftpserver/stub/ |
D | StubFtpServer.java | 16 package org.mockftpserver.stub; 40 import org.mockftpserver.stub.command.AborCommandHandler; 41 import org.mockftpserver.stub.command.AcctCommandHandler; 42 import org.mockftpserver.stub.command.AlloCommandHandler; 43 import org.mockftpserver.stub.command.AppeCommandHandler; 44 import org.mockftpserver.stub.command.CdupCommandHandler; 45 import org.mockftpserver.stub.command.ConnectCommandHandler; 46 import org.mockftpserver.stub.command.CwdCommandHandler; 47 import org.mockftpserver.stub.command.DeleCommandHandler; 48 import org.mockftpserver.stub.command.HelpCommandHandler; [all …]
|
/external/grpc-grpc/examples/ruby/errors_and_cancellation/ |
D | error_examples_client.rb | 31 def run_get_feature_expect_error(stub) argument 32 resp = stub.get_feature(Point.new) 35 def run_list_features_expect_error(stub) argument 36 resps = stub.list_features(Rectangle.new) 42 def run_record_route_expect_error(stub) argument 43 stub.record_route([]) 46 def run_route_chat_expect_error(stub) argument 47 resps = stub.route_chat([]) 54 stub = RouteGuide::Stub.new('localhost:50051', :this_channel_is_insecure) 57 run_get_feature_expect_error(stub) [all …]
|
/external/grpc-grpc/examples/python/route_guide/ |
D | route_guide_client.py | 33 def guide_get_one_feature(stub, point): argument 34 feature = stub.GetFeature(point) 45 def guide_get_feature(stub): argument 46 guide_get_one_feature(stub, 49 guide_get_one_feature(stub, route_guide_pb2.Point(latitude=0, longitude=0)) 52 def guide_list_features(stub): argument 58 features = stub.ListFeatures(rectangle) 71 def guide_record_route(stub): argument 75 route_summary = stub.RecordRoute(route_iterator) 95 def guide_route_chat(stub): argument [all …]
|
/external/icu/icu4c/source/test/hdrtst/ |
D | Makefile.in | 50 echo 'void junk(){}' >> $$stub ; \ 51 $(COMPILE.headers) $(cppflags) $(FLAGS.headers) $$stub || FAIL=1 ; \ 52 rm -f $$stub; \ 99 …@FAIL=0;NONE="(No deprecated headers)";stub=ht_stub_dtest.cpp;for incfile in `cat $(srcdir)/dfiles… 102 echo "#include <unicode/$$incfile>" > $$stub ; \ 103 echo 'void junk(){}' >> $$stub ; \ 104 $(COMPILE.cc) $(cppflags) $$stub 2>&1 | tee $$stub.out || FAIL=1 ; \ 105 …if ! cat $$stub.out | sed -e 's/^.*#error[^"]*"//' | grep -v ht_ | grep -v "$$incfile header is ob… 109 rm -f $$stub*; \ 115 @FAIL=0;stub=ht_stub_cppguardtest.cpp; for file in "$(prefix)/include/unicode"/*.h ; do \ [all …]
|
/external/mockftpserver/tags/1.2.4/src/main/java/org/mockftpserver/stub/ |
D | StubFtpServer.java | 16 package org.mockftpserver.stub; 40 import org.mockftpserver.stub.command.AborCommandHandler; 41 import org.mockftpserver.stub.command.AcctCommandHandler; 42 import org.mockftpserver.stub.command.AlloCommandHandler; 43 import org.mockftpserver.stub.command.AppeCommandHandler; 44 import org.mockftpserver.stub.command.CdupCommandHandler; 45 import org.mockftpserver.stub.command.ConnectCommandHandler; 46 import org.mockftpserver.stub.command.CwdCommandHandler; 47 import org.mockftpserver.stub.command.DeleCommandHandler; 48 import org.mockftpserver.stub.command.HelpCommandHandler; [all …]
|
/external/mockftpserver/tags/1.2/src/main/java/org/mockftpserver/stub/ |
D | StubFtpServer.java | 16 package org.mockftpserver.stub; 40 import org.mockftpserver.stub.command.AborCommandHandler; 41 import org.mockftpserver.stub.command.AcctCommandHandler; 42 import org.mockftpserver.stub.command.AlloCommandHandler; 43 import org.mockftpserver.stub.command.AppeCommandHandler; 44 import org.mockftpserver.stub.command.CdupCommandHandler; 45 import org.mockftpserver.stub.command.ConnectCommandHandler; 46 import org.mockftpserver.stub.command.CwdCommandHandler; 47 import org.mockftpserver.stub.command.DeleCommandHandler; 48 import org.mockftpserver.stub.command.HelpCommandHandler; [all …]
|
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/ |
D | StubFtpServer.java | 16 package org.mockftpserver.stub; 40 import org.mockftpserver.stub.command.AborCommandHandler; 41 import org.mockftpserver.stub.command.AcctCommandHandler; 42 import org.mockftpserver.stub.command.AlloCommandHandler; 43 import org.mockftpserver.stub.command.AppeCommandHandler; 44 import org.mockftpserver.stub.command.CdupCommandHandler; 45 import org.mockftpserver.stub.command.ConnectCommandHandler; 46 import org.mockftpserver.stub.command.CwdCommandHandler; 47 import org.mockftpserver.stub.command.DeleCommandHandler; 48 import org.mockftpserver.stub.command.HelpCommandHandler; [all …]
|
/external/mockftpserver/tags/1.2.3/src/main/java/org/mockftpserver/stub/ |
D | StubFtpServer.java | 16 package org.mockftpserver.stub; 40 import org.mockftpserver.stub.command.AborCommandHandler; 41 import org.mockftpserver.stub.command.AcctCommandHandler; 42 import org.mockftpserver.stub.command.AlloCommandHandler; 43 import org.mockftpserver.stub.command.AppeCommandHandler; 44 import org.mockftpserver.stub.command.CdupCommandHandler; 45 import org.mockftpserver.stub.command.ConnectCommandHandler; 46 import org.mockftpserver.stub.command.CwdCommandHandler; 47 import org.mockftpserver.stub.command.DeleCommandHandler; 48 import org.mockftpserver.stub.command.HelpCommandHandler; [all …]
|
/external/mockftpserver/tags/2.x_Before_IDEA/src/main/java/org/mockftpserver/stub/ |
D | StubFtpServer.java | 16 package org.mockftpserver.stub; 40 import org.mockftpserver.stub.command.AborCommandHandler; 41 import org.mockftpserver.stub.command.AcctCommandHandler; 42 import org.mockftpserver.stub.command.AlloCommandHandler; 43 import org.mockftpserver.stub.command.AppeCommandHandler; 44 import org.mockftpserver.stub.command.CdupCommandHandler; 45 import org.mockftpserver.stub.command.ConnectCommandHandler; 46 import org.mockftpserver.stub.command.CwdCommandHandler; 47 import org.mockftpserver.stub.command.DeleCommandHandler; 48 import org.mockftpserver.stub.command.HelpCommandHandler; [all …]
|
/external/mockftpserver/tags/1.2.2/src/main/java/org/mockftpserver/stub/ |
D | StubFtpServer.java | 16 package org.mockftpserver.stub; 40 import org.mockftpserver.stub.command.AborCommandHandler; 41 import org.mockftpserver.stub.command.AcctCommandHandler; 42 import org.mockftpserver.stub.command.AlloCommandHandler; 43 import org.mockftpserver.stub.command.AppeCommandHandler; 44 import org.mockftpserver.stub.command.CdupCommandHandler; 45 import org.mockftpserver.stub.command.ConnectCommandHandler; 46 import org.mockftpserver.stub.command.CwdCommandHandler; 47 import org.mockftpserver.stub.command.DeleCommandHandler; 48 import org.mockftpserver.stub.command.HelpCommandHandler; [all …]
|
/external/mockftpserver/tags/1.2.1/src/main/java/org/mockftpserver/stub/ |
D | StubFtpServer.java | 16 package org.mockftpserver.stub; 40 import org.mockftpserver.stub.command.AborCommandHandler; 41 import org.mockftpserver.stub.command.AcctCommandHandler; 42 import org.mockftpserver.stub.command.AlloCommandHandler; 43 import org.mockftpserver.stub.command.AppeCommandHandler; 44 import org.mockftpserver.stub.command.CdupCommandHandler; 45 import org.mockftpserver.stub.command.ConnectCommandHandler; 46 import org.mockftpserver.stub.command.CwdCommandHandler; 47 import org.mockftpserver.stub.command.DeleCommandHandler; 48 import org.mockftpserver.stub.command.HelpCommandHandler; [all …]
|
/external/grpc-grpc/src/ruby/spec/generic/ |
D | client_stub_spec.rb | 175 stub = GRPC::ClientStub.new("localhost:#{server_port}", 177 expect(get_response(stub)).to eq(@resp) 186 stub = GRPC::ClientStub.new(host, :this_channel_is_insecure) 188 expect(get_response(stub)).to eq(@resp) 222 stub = GRPC::ClientStub.new('ignored-host', 225 expect(get_response(stub)).to eq(@resp) 233 stub = GRPC::ClientStub.new(host, :this_channel_is_insecure) 234 blk = proc { get_response(stub) } 259 stub = GRPC::ClientStub.new("localhost:#{server_port}", 270 get_response(stub, credentials: creds) [all …]
|
D | server_interceptors_spec.rb | 40 stub = build_insecure_stub(EchoStub) 41 expect(stub.an_rpc(request)).to be_a(EchoMsg) 50 stub = build_insecure_stub(EchoStub) 55 op = stub.an_rpc(request, client_call_opts) 75 stub = build_insecure_stub(EchoStub) 76 expect(stub.a_client_streaming_rpc(requests)).to be_a(EchoMsg) 85 stub = build_insecure_stub(EchoStub) 90 op = stub.a_client_streaming_rpc(requests, client_call_opts) 110 stub = build_insecure_stub(EchoStub) 111 responses = stub.a_server_streaming_rpc(request) [all …]
|
/external/grpc-grpc-java/alts/src/generated/main/grpc/io/grpc/alts/internal/ |
D | HandshakerServiceGrpc.java | 4 import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall; 5 import static io.grpc.stub.ClientCalls.asyncClientStreamingCall; 6 import static io.grpc.stub.ClientCalls.asyncServerStreamingCall; 7 import static io.grpc.stub.ClientCalls.asyncUnaryCall; 8 import static io.grpc.stub.ClientCalls.blockingServerStreamingCall; 9 import static io.grpc.stub.ClientCalls.blockingUnaryCall; 10 import static io.grpc.stub.ClientCalls.futureUnaryCall; 11 import static io.grpc.stub.ServerCalls.asyncBidiStreamingCall; 12 import static io.grpc.stub.ServerCalls.asyncClientStreamingCall; 13 import static io.grpc.stub.ServerCalls.asyncServerStreamingCall; [all …]
|
/external/grpc-grpc-java/grpclb/src/generated/main/grpc/io/grpc/lb/v1/ |
D | LoadBalancerGrpc.java | 4 import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall; 5 import static io.grpc.stub.ClientCalls.asyncClientStreamingCall; 6 import static io.grpc.stub.ClientCalls.asyncServerStreamingCall; 7 import static io.grpc.stub.ClientCalls.asyncUnaryCall; 8 import static io.grpc.stub.ClientCalls.blockingServerStreamingCall; 9 import static io.grpc.stub.ClientCalls.blockingUnaryCall; 10 import static io.grpc.stub.ClientCalls.futureUnaryCall; 11 import static io.grpc.stub.ServerCalls.asyncBidiStreamingCall; 12 import static io.grpc.stub.ServerCalls.asyncClientStreamingCall; 13 import static io.grpc.stub.ServerCalls.asyncServerStreamingCall; [all …]
|
/external/grpc-grpc-java/services/src/generated/main/grpc/io/grpc/reflection/v1alpha/ |
D | ServerReflectionGrpc.java | 4 import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall; 5 import static io.grpc.stub.ClientCalls.asyncClientStreamingCall; 6 import static io.grpc.stub.ClientCalls.asyncServerStreamingCall; 7 import static io.grpc.stub.ClientCalls.asyncUnaryCall; 8 import static io.grpc.stub.ClientCalls.blockingServerStreamingCall; 9 import static io.grpc.stub.ClientCalls.blockingUnaryCall; 10 import static io.grpc.stub.ClientCalls.futureUnaryCall; 11 import static io.grpc.stub.ServerCalls.asyncBidiStreamingCall; 12 import static io.grpc.stub.ServerCalls.asyncClientStreamingCall; 13 import static io.grpc.stub.ServerCalls.asyncServerStreamingCall; [all …]
|
/external/grpc-grpc/test/cpp/end2end/ |
D | client_lb_end2end_test.cc | 213 const std::unique_ptr<grpc::testing::EchoTestService::Stub>& stub, in SendRpc() argument 222 Status status = stub->Echo(&context, request, response); in SendRpc() 229 const std::unique_ptr<grpc::testing::EchoTestService::Stub>& stub, in CheckRpcSendOk() argument 233 const bool success = SendRpc(stub, &response, 2000, &status); in CheckRpcSendOk() 244 const std::unique_ptr<grpc::testing::EchoTestService::Stub>& stub) { in CheckRpcSendFailure() argument 245 const bool success = SendRpc(stub); in CheckRpcSendFailure() 297 const std::unique_ptr<grpc::testing::EchoTestService::Stub>& stub, in WaitForServer() argument 302 SendRpc(stub); in WaitForServer() 304 CheckRpcSendOk(stub, location); in WaitForServer() 359 auto stub = BuildStub(channel); in TEST_F() local [all …]
|
/external/grpc-grpc/src/python/grpcio_tests/tests/fork/ |
D | methods.py | 54 def _async_unary(stub): argument 60 response_future = stub.UnaryCall.future(request) 65 def _blocking_unary(stub): argument 71 response = stub.UnaryCall(request) 148 _async_unary(stub) 154 stub = test_pb2_grpc.TestServiceStub(channel) 155 _async_unary(stub) 158 _async_unary(stub) 170 stub = test_pb2_grpc.TestServiceStub(channel) 171 _async_unary(stub) [all …]
|
/external/grpc-grpc/examples/ruby/route_guide/ |
D | route_guide_client.rb | 40 def run_get_feature(stub) argument 44 resp = stub.get_feature(pt) 61 def run_list_features(stub) argument 64 resps = stub.list_features(LIST_FEATURES_RECT) 100 def run_record_route(stub, features) argument 105 resp = stub.record_route(reqs.each) 125 def run_route_chat(stub) argument 129 stub.route_chat(sleeping_enumerator.each_item) { |r| p "received #{r.inspect}" } 149 stub = RouteGuide::Stub.new('localhost:50051', :this_channel_is_insecure) 150 run_get_feature(stub) [all …]
|