Home
last modified time | relevance | path

Searched refs:set_code (Results 1 – 25 of 51) sorted by relevance

123

/third_party/grpc/src/python/grpcio_channelz/grpc_channelz/v1/
D_servicer.py36 context.set_code(grpc.StatusCode.INTERNAL)
47 context.set_code(grpc.StatusCode.INTERNAL)
58 context.set_code(grpc.StatusCode.NOT_FOUND)
61 context.set_code(grpc.StatusCode.INTERNAL)
74 context.set_code(grpc.StatusCode.NOT_FOUND)
77 context.set_code(grpc.StatusCode.INTERNAL)
88 context.set_code(grpc.StatusCode.NOT_FOUND)
91 context.set_code(grpc.StatusCode.INTERNAL)
102 context.set_code(grpc.StatusCode.NOT_FOUND)
105 context.set_code(grpc.StatusCode.INTERNAL)
[all …]
/third_party/flatbuffers/tests/MyGame/Example/
Dmonster_test_grpc_fb.py38 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
43 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
48 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
53 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
127 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
132 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
137 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
142 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
/third_party/python/Lib/idlelib/idle_test/
Dtest_pyparse.py41 setcode = p.set_code
59 setcode = p.set_code
131 p.set_code(code)
148 setcode = p.set_code
198 setcode = p.set_code
219 setcode = p.set_code
280 setcode = p.set_code
308 setcode = p.set_code
340 setcode = p.set_code
379 setcode = p.set_code
[all …]
/third_party/grpc/src/python/grpcio_tests/tests/unit/
D_metadata_code_details_test.py81 context.set_code(self._code)
98 context.set_code(self._code)
118 context.set_code(self._code)
138 context.set_code(self._code)
150 def set_code(self, code): member in _Servicer
317 self._servicer.set_code(abort_code)
344 self._servicer.set_code(abort_code)
373 self._servicer.set_code(abort_code)
402 self._servicer.set_code(abort_code)
429 self._servicer.set_code(_NON_OK_CODE)
[all …]
D_error_message_encoding_test.py48 servicer_context.set_code(grpc.StatusCode.UNKNOWN)
/third_party/grpc/src/python/grpcio_tests/tests/testing/
D_server_application.py51 context.set_code(grpc.StatusCode.INVALID_ARGUMENT)
57 context.set_code(grpc.StatusCode.INVALID_ARGUMENT)
69 context.set_code(grpc.StatusCode.INVALID_ARGUMENT)
82 context.set_code(grpc.StatusCode.INVALID_ARGUMENT)
/third_party/grpc/examples/python/data_transmission/
Ddemo_pb2_grpc.py49 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
58 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
67 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
76 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
/third_party/grpc/examples/python/multiplex/
Droute_guide_pb2_grpc.py51 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
63 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
73 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
83 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
Dhelloworld_pb2_grpc.py31 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
/third_party/grpc/examples/python/route_guide/
Droute_guide_pb2_grpc.py51 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
63 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
73 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
83 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
/third_party/grpc/test/cpp/util/
Derror_details_test.cc30 expected.set_code(13); // INTERNAL in TEST()
64 expected.set_code(13); // INTERNAL in TEST()
85 expected.set_code(17); // Out of scope (UNAUTHENTICATED is 16). in TEST()
102 expected.set_code(c); in TEST()
/third_party/flatbuffers/grpc/examples/python/greeter/models/
Dgreeter_grpc_fb.py28 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
34 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
/third_party/re2/re2/
Dparse.cc478 status_->set_code(kRegexpRepeatArgument); in PushRepeatOp()
571 status_->set_code(kRegexpRepeatSize); in PushRepetition()
576 status_->set_code(kRegexpRepeatArgument); in PushRepetition()
594 status_->set_code(kRegexpRepeatSize); in PushRepetition()
687 status_->set_code(kRegexpMissingParen); in DoRightParen()
718 status_->set_code(kRegexpMissingParen); in DoFinish()
1409 status->set_code(kRegexpBadUTF8); in StringPieceToRune()
1453 status->set_code(kRegexpInternalError); in ParseEscape()
1458 status->set_code(kRegexpTrailingBackslash); in ParseEscape()
1591 status->set_code(kRegexpBadEscape); in ParseEscape()
[all …]
/third_party/grpc/test/core/tsi/alts/fake_handshaker/
Dfake_handshaker_server.cc131 response->mutable_status()->set_code(StatusCode::OK); in ProcessClientStart()
169 response->mutable_status()->set_code(StatusCode::OK); in ProcessServerStart()
213 response->mutable_status()->set_code(StatusCode::OK); in ProcessNext()
225 response.mutable_status()->set_code(status.error_code()); in WriteErrorResponse()
/third_party/grpc/src/python/grpcio_testing/grpc_testing/_server/
D_servicer_context.py84 def set_code(self, code): member in ServicerContext
85 self._rpc.set_code(code)
/third_party/grpc/examples/python/interceptors/headers/
Dhelloworld_pb2_grpc.py31 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
/third_party/grpc/examples/python/helloworld/
Dhelloworld_pb2_grpc.py31 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
/third_party/grpc/examples/python/interceptors/default_value/
Dhelloworld_pb2_grpc.py31 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
/third_party/grpc/examples/python/xds/
Dhelloworld_pb2_grpc.py31 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
/third_party/grpc/examples/python/metadata/
Dhelloworld_pb2_grpc.py31 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
/third_party/python/Lib/idlelib/
Dhyperparser.py47 parser.set_code(text.get(startatindex, stopatindex)+' \n')
63 parser.set_code(text.get(startatindex, stopatindex)+' \n')
/third_party/grpc/src/python/grpcio/grpc/experimental/aio/
D_base_server.py212 def set_code(self, code: grpc.StatusCode) -> None: member in ServicerContext
/third_party/grpc/src/python/grpcio/grpc/aio/
D_base_server.py215 def set_code(self, code: grpc.StatusCode) -> None: member in ServicerContext
/third_party/grpc/src/python/grpcio_tests/tests/interop/
Dservice.py45 servicer_context.set_code(request.response_status.code)
/third_party/grpc/src/python/grpcio_health_checking/grpc_health/v1/
Dhealth.py108 context.set_code(grpc.StatusCode.NOT_FOUND)

123