/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/service/ |
MessageHandler.java | 30 import com.googlecode.android_scripting.rpc.MethodDescriptor; 91 MethodDescriptor rpc = receiverManager.getMethodDescriptor(method); local 92 if (rpc == null) { 93 Log.e("Unknown RPC: \"" + method + "\""); 97 Log.d("Invoking method " + rpc.getName()); 98 Object result = rpc.invoke(receiverManager, sl4aRequest);
|
/external/tensorflow/tensorflow/contrib/rpc/python/kernel_tests/ |
rpc_op_test_base.py | 27 from tensorflow.contrib.rpc.python.kernel_tests import test_example_pb2 28 from tensorflow.contrib.rpc.python.ops import rpc_op 45 def rpc(self, *args, **kwargs): member in class:RpcOpTestBase 46 return rpc_op.rpc(*args, protocol=self._protocol, **kwargs) 55 response_tensors = self.rpc( 81 # For the base Rpc op, don't expect to get error status back. 88 response_tensors = self.rpc( 103 sess.run(self.rpc(method=method, address=self._address, request='')) 117 self.rpc( 132 response_tensors = self.rpc( [all...] |
/external/autotest/frontend/client/src/autotest/moblab/rpc/ |
CloudStorageInfo.java | 1 package autotest.moblab.rpc; 8 * Cloud storage configuration RPC entity.
|
MoblabRpcCallbacks.java | 1 package autotest.moblab.rpc; 6 * Moblab RPC callback interfaces. 54 * Generic callback to return a status and information string from a RPC call.
|
MoblabRpcHelper.java | 1 package autotest.moblab.rpc; 19 * A helper class for moblab RPC call. 194 * @param callback Callback execute when the RPC is complete. 214 * @param callback Callback to execute when the RPC is complete. 235 * @param callback callback to execute when the RPC is complete. 257 * @param callback callback to execute when the RPC is complete. 280 * @param callback callback to execute when the rpc is complete. 303 * @param callback callback to execute when the rpc is complete.
|
VersionInfo.java | 1 package autotest.moblab.rpc; 4 * The version information RPC entity.
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/Orc/ |
RPCSerialization.h | 24 namespace rpc { namespace in namespace:llvm::orc 591 /// RPC channel serialization for std::tuple. 596 /// RPC channel deserialization for std::tuple. 738 } // end namespace rpc
|
OrcRemoteTargetRPCAPI.h | 1 //===- OrcRemoteTargetRPCAPI.h - Orc Remote-target RPC API ------*- C++ -*-===// 10 // This file defines the Orc remote-target RPC API. It should not be used 77 namespace rpc { namespace in namespace:llvm::orc 139 } // end namespace rpc 174 : public rpc::Function<RegisterEHFrames, 182 : public rpc::Function<DeregisterEHFrames, 190 /// RPC functions for executing remote code. 196 : public rpc::Function<CallIntVoid, int32_t(JITTargetAddress Addr)> { 204 : public rpc::Function<CallMain, int32_t(JITTargetAddress Addr, 213 : public rpc::Function<CallVoidVoid, void(JITTargetAddress FnAddr)> [all...] |
RPCUtils.h | 1 //===------- RPCUTils.h - Utilities for building RPC APIs -------*- C++ -*-===// 10 // Utilities to support construction of simple RPC APIs. 12 // The RPC utilities aim for ease of use (minimal conceptual overhead) for C++ 33 namespace rpc { namespace in namespace:llvm::orc 35 /// Base class of all fatal RPC errors (those that necessarily result in the 36 /// termination of the RPC session). 42 /// RPCConnectionClosed is returned from RPC operations if the RPC connection 54 /// This error is fatal because Orc RPC needs to know how to parse a function 71 OS << "Call to invalid RPC function id '" << FnId << "' with [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/Orc/ |
RPCUtilsTest.cpp | 1 //===----------- RPCUtilsTest.cpp - Unit tests the Orc RPC utils ----------===// 18 using namespace llvm::orc::rpc; 24 namespace rpc { namespace in namespace:llvm::orc 44 } // end namespace rpc 100 namespace rpc { namespace in namespace:llvm::orc 114 } // end namespace rpc
|
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/ |
NettyClientTransportTest.java | 157 // Send a single RPC and wait for the response. 158 new Rpc(transport).halfClose().waitForResponse(); 195 new Rpc(transport, new Metadata()).halfClose().waitForResponse(); 213 // Send a single RPC and wait for the response. 214 new Rpc(transport).halfClose().waitForResponse(); 238 // Send a single RPC on each transport. 239 final List<Rpc> rpcs = new ArrayList<>(transports.size()); 241 rpcs.add(new Rpc(transport).halfClose()); 245 for (Rpc rpc : rpcs) 267 Rpc rpc = new Rpc(transport).halfClose(); local 300 Rpc rpc = new Rpc(transport).halfClose(); local 323 Rpc rpc = new Rpc(transport).halfClose(); local 354 Rpc rpc = new Rpc(transport).halfClose(); local 425 Rpc rpc = new Rpc(transport); local 534 Rpc rpc = new Rpc(transport).halfClose(); local 547 Rpc rpc = new Rpc(transport).halfClose(); local 559 Rpc rpc = new Rpc(transport).halfClose(); local [all...] |
/external/libevent/ |
evrpc-internal.h | 36 #define EVRPC_URI_PREFIX "/.rpc." 41 /* returns EVRPC_TERMINATE; if the rpc should be aborted. 75 /* the HTTP server under which we register our RPC calls */ 130 /* the server side of an rpc */ 132 /* We alias the RPC specific structs to this voided one */ 147 * the static structure for this rpc; that can be used to 150 struct evrpc *rpc; member in struct:evrpc_req_generic 163 /* the client side of an rpc request */ 173 /* pool on which this rpc request is being made */ 185 /* the name of the rpc */ [all...] |
evrpc.c | 58 #include "event2/rpc.h" 95 struct evrpc *rpc; local 100 while ((rpc = TAILQ_FIRST(&base->registered_rpcs)) != NULL) { 101 r = evrpc_unregister_rpc(base, rpc->uri); 205 * Registers a new RPC with the HTTP server. The evrpc object is expected 218 event_err(1, "%s: failed to register rpc at %s", 228 evrpc_register_rpc(struct evrpc_base *base, struct evrpc *rpc, 231 char *constructed_uri = evrpc_construct_uri(rpc->uri); 233 rpc->base = base; 234 rpc->cb = cb 253 struct evrpc *rpc; local 287 struct evrpc *rpc = arg; local 341 struct evrpc *rpc; local 383 struct evrpc *rpc; local 406 struct evrpc *rpc; local 1111 struct evrpc* rpc = (struct evrpc *)mm_calloc(1, sizeof(struct evrpc)); local 1140 struct evrpc* rpc = local [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/rpc/ |
MethodDescriptor.java | 17 package com.googlecode.android_scripting.rpc; 63 /** Collects all methods with {@code RPC} annotation from given class. */ 67 if (method.isAnnotationPresent(Rpc.class)) { 299 * Returns a human-readable help text for this RPC, based on annotations in the source code. 305 Rpc rpcAnnotation = mMethod.getAnnotation(Rpc.class); 400 * Returns parameter descriptors suitable for the RPC call text representation.
|
/external/sl4a/Common/src/com/googlecode/android_scripting/interpreter/html/ |
HtmlActivityTask.java | 48 import com.googlecode.android_scripting.rpc.MethodDescriptor; 49 import com.googlecode.android_scripting.rpc.RpcError; 211 for (MethodDescriptor rpc : MethodDescriptor.collectFrom(clazz)) { 212 wrapper.append(String.format(ANDROID_PROTOTYPE_JS, rpc.getName())); 226 MethodDescriptor rpc = mReceiverManager.getMethodDescriptor(method); local 227 if (rpc == null) { 228 return JsonRpcResult.error(id, new RpcError("Unknown RPC.")).toString(); 231 return JsonRpcResult.result(id, rpc.invoke(mReceiverManager, params)).toString();
|
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/ |
ApiBrowser.java | 50 import com.googlecode.android_scripting.rpc.MethodDescriptor; 51 import com.googlecode.android_scripting.rpc.ParameterDescriptor; 52 import com.googlecode.android_scripting.rpc.RpcDeprecated; 53 import com.googlecode.android_scripting.rpc.RpcMinSdk; 214 MethodDescriptor rpc = (MethodDescriptor) getListAdapter().getItem(info.position); local 215 if (rpc == null) { 216 Log.v("No RPC selected."); 223 insertText(rpc, new String[0]); 226 intent.putExtra(Constants.EXTRA_API_PROMPT_RPC_NAME, rpc.getName()); 227 ParameterDescriptor[] parameters = rpc.getParameterValues(new String[0]) 249 MethodDescriptor rpc = local [all...] |