Home
last modified time | relevance | path

Searched refs:_common (Results 1 – 25 of 42) sorted by relevance

12

/external/grpc-grpc/src/python/grpcio_tests/tests/unit/_cython/
D_no_messages_server_completion_queue_per_call_test.py21 from tests.unit._cython import _common
25 class Test(_common.RpcTest, unittest.TestCase):
30 server_call_driver = _common.QueueDriver(server_call_condition,
48 _common.EMPTY_FLAGS, b'/twinkies', None, None,
49 _common.INVOCATION_METADATA, None, [(
51 cygrpc.ReceiveInitialMetadataOperation(_common.EMPTY_FLAGS),
56 cygrpc.SendInitialMetadataOperation(_common.INVOCATION_METADATA,
57 _common.EMPTY_FLAGS),
58 cygrpc.SendCloseFromClientOperation(_common.EMPTY_FLAGS),
59 cygrpc.ReceiveStatusOnClientOperation(_common.EMPTY_FLAGS),
[all …]
D_no_messages_single_server_completion_queue_test.py21 from tests.unit._cython import _common
25 class Test(_common.RpcTest, unittest.TestCase):
43 _common.EMPTY_FLAGS, b'/twinkies', None, None,
44 _common.INVOCATION_METADATA, None, [
48 _common.INVOCATION_METADATA, _common.EMPTY_FLAGS),
50 _common.EMPTY_FLAGS),
52 _common.EMPTY_FLAGS),
58 cygrpc.ReceiveInitialMetadataOperation(_common.EMPTY_FLAGS),
72 _common.INITIAL_METADATA, _common.EMPTY_FLAGS),
83 cygrpc.ReceiveCloseOnServerOperation(_common.EMPTY_FLAGS),
[all …]
/external/grpc-grpc/src/python/grpcio_testing/grpc_testing/_channel/
D_rpc_state.py18 from grpc_testing import _common
21 class State(_common.ChannelRpcHandler):
41 return _common.FUSSED_EMPTY_METADATA
66 return _common.ChannelRpcRead(response, None, None,
69 return _common.ChannelRpcRead(
75 return _common.ChannelRpcRead(response, None, None,
80 return _common.ChannelRpcRead(None, self._trailing_metadata,
95 self._initial_metadata = _common.FUSSED_EMPTY_METADATA
96 self._trailing_metadata = _common.FUSSED_EMPTY_METADATA
126 self._initial_metadata = _common.fuss_with_metadata(
[all …]
D_multi_callable.py16 from grpc_testing import _common
30 self._method_full_rpc_name, _common.fuss_with_metadata(metadata),
36 self._method_full_rpc_name, _common.fuss_with_metadata(metadata),
42 self._method_full_rpc_name, _common.fuss_with_metadata(metadata),
55 self._method_full_rpc_name, _common.fuss_with_metadata(metadata),
72 self._method_full_rpc_name, _common.fuss_with_metadata(metadata),
83 self._method_full_rpc_name, _common.fuss_with_metadata(metadata),
94 self._method_full_rpc_name, _common.fuss_with_metadata(metadata),
112 self._method_full_rpc_name, _common.fuss_with_metadata(metadata),
D_channel_state.py18 from grpc_testing import _common
22 class State(_common.ChannelHandler):
/external/grpc-grpc/src/python/grpcio/grpc/
D_plugin_wrapping.py20 from grpc import _common
65 _common.encode(str(error)))
75 _common.decode(service_url), _common.decode(method_name))
90 _common.encode(str(exception)))
103 _Plugin(metadata_plugin), _common.encode(effective_name)))
D_server.py25 from grpc import _common
60 cygrpc_code = _common.STATUS_CODE_TO_CYGRPC_STATUS_CODE.get(code)
181 request = _common.deserialize(serialized_request,
247 return _common.decode(self._rpc_event.call.peer())
254 return id_key if id_key is None else _common.decode(id_key)
258 _common.decode(key): value
291 self._state.details = _common.encode(details)
301 self._state.details = _common.encode(details)
375 _common.encode(details))
400 _common.encode(details))
[all …]
D_channel.py22 from grpc import _common
140 response = _common.deserialize(serialized_response,
150 code = _common.CYGRPC_STATUS_CODE_TO_STATUS_CODE.get(
201 call.cancel(_common.STATUS_CODE_TO_CYGRPC_STATUS_CODE[code],
208 serialized_request = _common.serialize(request, request_serializer)
215 _common.STATUS_CODE_TO_CYGRPC_STATUS_CODE[code],
266 _common.STATUS_CODE_TO_CYGRPC_STATUS_CODE[code], details)
409 return _common.decode(self._state.details)
415 return _common.decode(self._state.debug_error_string)
442 _common.STATUS_CODE_TO_CYGRPC_STATUS_CODE[self._state.code],
[all …]
D_utilities.py23 from grpc import _common
49 _common.fully_qualified_method(service, method): method_handler
DBUILD.bazel44 srcs = ["_common.py"],
/external/python/cpython3/Lib/importlib/
Dresources.py4 from . import _common
5 from ._common import as_file
147 return _common.from_package(_get_package(package))
165 _common.as_file(files(package).joinpath(_normalize_path(resource)))
176 with _common._tempfile(opener_reader.read, suffix=norm_resource) as res:
193 return (_common.from_package(package) / name).is_file()
215 return list(item.name for item in _common.from_package(package).iterdir())
/external/grpc-grpc/src/python/grpcio_testing/grpc_testing/_server/
D_handler.py19 from grpc_testing import _common
24 class Handler(_common.ServerRpcHandler):
82 return _common.ServerRpcRead(request, False, False)
84 return _common.REQUESTS_CLOSED
88 return _common.TERMINATED
194 self._initial_metadata = _common.FUSSED_EMPTY_METADATA
195 self._trailing_metadata = _common.FUSSED_EMPTY_METADATA
D_servicer_context.py16 from grpc_testing import _common
61 _common.fuss_with_metadata(initial_metadata))
68 _common.fuss_with_metadata(trailing_metadata))
D_rpc.py19 from grpc_testing import _common
41 self._handler.send_initial_metadata(_common.FUSSED_EMPTY_METADATA)
67 trailing_metadata = _common.FUSSED_EMPTY_METADATA
78 self._terminate(_common.FUSSED_EMPTY_METADATA, code, details)
D_server.py18 from grpc_testing import _common
63 class _Serverish(_common.Serverish):
/external/python/cpython3/Tools/c-analyzer/cpython/
Dknown.py5 from c_analyzer.variables import known as _common unknown
47 _from_file=_common.from_file,
55 _lookup=_common.look_up_variable,
Dfind.py5 from c_analyzer.variables import find as _common unknown
33 _iter_vars=_common.vars_from_binary,
59 _iter_vars=_common.vars_from_source,
/external/pigweed/pw_protobuf_compiler/
Dproto.gni376 _common = {
462 outputs = [ "${_common.base_out_dir}/includes.txt" ]
466 protoc_includes = [ rebase_path(_common.compile_dir) ]
479 directory = "${_common.compile_dir}/$_prefix"
486 forward_variables_from(_common, "*")
503 forward_variables_from(_common, "*")
519 forward_variables_from(_common, "*")
549 forward_variables_from(_common, "*")
564 sources = _common.sources
572 forward_variables_from(_common, "*")
[all …]
/external/grpc-grpc/src/python/grpcio/grpc/beta/
D_client_adaptations.py17 from grpc import _common
177 _common.fully_qualified_method(group, method),
202 _common.fully_qualified_method(group, method),
218 _common.fully_qualified_method(group, method),
236 _common.fully_qualified_method(group, method),
261 _common.fully_qualified_method(group, method),
277 _common.fully_qualified_method(group, method),
/external/python/cpython3/Lib/zoneinfo/
D__init__.py11 from ._common import ZoneInfoNotFoundError
/external/bazelbuild-rules_android/rules/android_library/
Dimpl.bzl19 load("@rules_android//rules:common.bzl", _common = "common")
161 java_toolchain = _common.get_java_toolchain(ctx),
162 host_javabase = _common.get_host_javabase(ctx),
271 java_toolchain = _common.get_java_toolchain(ctx),
298 host_javabase = _common.get_host_javabase(ctx),
389 host_javabase = _common.get_host_javabase(ctx),
/external/arm-trusted-firmware/plat/amlogic/gxbb/
Dplatform.mk27 ${AML_PLAT_SOC}/${PLAT}_common.c \
/external/bazelbuild-rules_android/rules/aar_import/
Dimpl.bzl23 _common = "common",
148 java_toolchain = _common.get_java_toolchain(ctx),
149 host_javabase = _common.get_host_javabase(ctx),
526 host_javabase = _common.get_host_javabase(ctx),
/external/arm-trusted-firmware/plat/amlogic/axg/
Dplatform.mk30 ${AML_PLAT_SOC}/${PLAT}_common.c \
/external/arm-trusted-firmware/plat/amlogic/gxl/
Dplatform.mk30 ${AML_PLAT_SOC}/${PLAT}_common.c \

12