Home
last modified time | relevance | path

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

12

/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_pyparse.py41 setcode = p.set_code
59 setcode = p.set_code
114 p.set_code(code)
131 setcode = p.set_code
181 setcode = p.set_code
202 setcode = p.set_code
263 setcode = p.set_code
291 setcode = p.set_code
323 setcode = p.set_code
362 setcode = p.set_code
[all …]
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/
D_metadata_code_details_test.py80 context.set_code(self._code)
97 context.set_code(self._code)
117 context.set_code(self._code)
137 context.set_code(self._code)
149 def set_code(self, code): member in _Servicer
314 self._servicer.set_code(abort_code)
341 self._servicer.set_code(abort_code)
370 self._servicer.set_code(abort_code)
399 self._servicer.set_code(abort_code)
426 self._servicer.set_code(_NON_OK_CODE)
[all …]
/external/grpc-grpc/src/python/grpcio_tests/tests/testing/
D_server_application.py32 context.set_code(grpc.StatusCode.INVALID_ARGUMENT)
38 context.set_code(grpc.StatusCode.INVALID_ARGUMENT)
50 context.set_code(grpc.StatusCode.INVALID_ARGUMENT)
61 context.set_code(grpc.StatusCode.INVALID_ARGUMENT)
/external/grpc-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)
/external/grpc-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)
/external/grpc-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()
/external/tensorflow/tensorflow/python/tpu/profiler/
Dtpu_profiler_analysis_pb2_grpc.py84 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
91 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
98 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
/external/tensorflow/tensorflow/python/debug/lib/
Ddebug_service_pb2_grpc.py72 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
79 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
86 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
/external/grpc-grpc/test/core/tsi/alts/fake_handshaker/
Dfake_handshaker_server.cc130 response->mutable_status()->set_code(StatusCode::OK); in ProcessClientStart()
168 response->mutable_status()->set_code(StatusCode::OK); in ProcessServerStart()
212 response->mutable_status()->set_code(StatusCode::OK); in ProcessNext()
224 response.mutable_status()->set_code(status.error_code()); in WriteErrorResponse()
/external/tensorflow/tensorflow/contrib/rpc/python/kernel_tests/
Drpc_op_test_servicer.py58 context.set_code(grpc.StatusCode.INVALID_ARGUMENT)
72 context.set_code(grpc.StatusCode.INVALID_ARGUMENT)
/external/grpc-grpc/src/python/grpcio_testing/grpc_testing/_server/
D_servicer_context.py73 def set_code(self, code): member in ServicerContext
74 self._rpc.set_code(code)
D_rpc.py149 def set_code(self, code): member in Rpc
/external/grpc-grpc/examples/python/interceptors/default_value/
Dhelloworld_pb2_grpc.py31 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
/external/grpc-grpc/examples/python/interceptors/headers/
Dhelloworld_pb2_grpc.py31 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
/external/grpc-grpc/examples/python/helloworld/
Dhelloworld_pb2_grpc.py31 context.set_code(grpc.StatusCode.UNIMPLEMENTED)
/external/grpc-grpc/src/python/grpcio_health_checking/grpc_health/v1/
Dhealth.py37 context.set_code(grpc.StatusCode.NOT_FOUND)
/external/python/cpython3/Lib/idlelib/
Dhyperparser.py47 parser.set_code(text.get(startatindex, stopatindex)+' \n')
63 parser.set_code(text.get(startatindex, stopatindex)+' \n')
/external/v8/src/runtime/
Druntime-compiler.cc142 function->set_code(isolate->builtins()->builtin(Builtins::kCompileLazy)); in RUNTIME_FUNCTION()
290 function->set_code(function->shared()->GetCode()); in RUNTIME_FUNCTION()
Druntime-function.cc129 target->set_code(source_shared->GetCode()); in RUNTIME_FUNCTION()
/external/v8/src/objects/
Dmodule.cc241 module->set_code(JSFunction::cast(module->code())->shared()); in Reset()
261 set_code(info()); in RecordError()
551 module->set_code(*generator); in RunInitializationCode()
596 module->set_code(*function); in FinishInstantiate()
717 module->set_code( in Evaluate()
/external/v8/src/wasm/
Dwasm-code-manager.cc414 if (index >= module_->num_imported_functions) set_code(index, ret); in AddCodeCopy()
423 set_code(index, ret); in AddInterpreterEntry()
583 set_code(index, code); in AddDeserializedCode()
602 set_code(code->index(), code); in PublishCode()
/external/v8/src/snapshot/
Dpartial-serializer.cc109 if (closure->is_compiled()) closure->set_code(closure->shared()->GetCode()); in SerializeObject()
/external/v8/src/compiler-dispatcher/
Doptimizing-compile-dispatcher.cc26 function->set_code(function->shared()->GetCode()); in DisposeCompilationJob()
/external/v8/src/
Dcompiler.cc803 compilation_info->closure()->set_code(*compilation_info->code()); in FinalizeOptimizedCompilationJob()
815 compilation_info->closure()->set_code(shared->GetCode()); in FinalizeOptimizedCompilationJob()
1144 function->set_code(*code); in Compile()
1171 function->set_code(*code); in CompileOptimized()
1903 function->set_code(code); in PostInstantiation()

12