Home
last modified time | relevance | path

Searched refs:method_name (Results 1 – 25 of 215) sorted by relevance

123456789

/external/libbrillo/brillo/dbus/
Ddbus_object.h124 const std::string& method_name, in AddSimpleMethodHandler() argument
127 this, method_name, handler); in AddSimpleMethodHandler()
133 inline void AddSimpleMethodHandler(const std::string& method_name, in AddSimpleMethodHandler() argument
136 this, method_name, base::Bind(handler)); in AddSimpleMethodHandler()
142 inline void AddSimpleMethodHandler(const std::string& method_name, in AddSimpleMethodHandler() argument
146 this, method_name, base::Bind(handler, instance)); in AddSimpleMethodHandler()
151 inline void AddSimpleMethodHandler(const std::string& method_name, in AddSimpleMethodHandler() argument
155 this, method_name, base::Bind(handler, instance)); in AddSimpleMethodHandler()
161 const std::string& method_name, in AddSimpleMethodHandlerWithError() argument
164 this, method_name, handler); in AddSimpleMethodHandlerWithError()
[all …]
Ddbus_object.cc64 std::string method_name = pair.first; in ExportAsync() local
65 VLOG(1) << "Exporting method: " << interface_name_ << "." << method_name; in ExportAsync()
66 std::string export_error = "Failed exporting " + method_name + " method"; in ExportAsync()
68 interface_name_, method_name, export_error, true); in ExportAsync()
72 interface_name_, method_name, method_handler, export_handler); in ExportAsync()
98 std::string method_name = pair.first; in ExportAndBlock() local
99 VLOG(1) << "Exporting method: " << interface_name_ << "." << method_name; in ExportAndBlock()
103 interface_name_, method_name, method_handler)) { in ExportAndBlock()
104 LOG(FATAL) << "Failed exporting " << method_name << " method"; in ExportAndBlock()
135 std::string method_name = method_call->GetMember(); in HandleMethodCall() local
[all …]
Ddbus_method_invoker.h99 const std::string& method_name, in CallMethodAndBlockWithTimeout() argument
102 dbus::MethodCall method_call(interface_name, method_name); in CallMethodAndBlockWithTimeout()
123 method_name.c_str()); in CallMethodAndBlockWithTimeout()
134 const std::string& method_name, in CallMethodAndBlock() argument
140 method_name, in CallMethodAndBlock()
291 const std::string& method_name, in CallMethodWithTimeout() argument
295 dbus::MethodCall method_call(interface_name, method_name); in CallMethodWithTimeout()
312 const std::string& method_name, in CallMethod() argument
319 method_name, in CallMethod()
/external/libtextclassifier/utils/java/
Djni-base.h37 #define TC3_JNI_METHOD_NAME_INTERNAL(package_name, class_name, method_name) \ argument
38 Java_##package_name##_##class_name##_##method_name
41 method_name) \ argument
43 package_name, class_name, method_name)
47 #define TC3_JNI_METHOD2(return_type, package_name, class_name, method_name) \ argument
48 TC3_JNI_METHOD_PRIMITIVE(return_type, package_name, class_name, method_name)
50 #define TC3_JNI_METHOD(return_type, class_name, method_name) \ argument
51 TC3_JNI_METHOD2(return_type, TC3_PACKAGE_NAME, class_name, method_name)
53 #define TC3_JNI_METHOD_NAME2(package_name, class_name, method_name) \ argument
54 TC3_JNI_METHOD_NAME_INTERNAL(package_name, class_name, method_name)
[all …]
/external/protobuf/ruby/lib/google/protobuf/
Drepeated_field.rb114 def define_array_wrapper_method(method_name) argument
115 define_method(method_name) do |*args, &block|
117 result = arr.send(method_name, *args)
126 def define_array_wrapper_with_result_method(method_name) argument
127 define_method(method_name) do |*args, &block|
131 result = self.to_a.send(method_name, *args, &block)
153 %w(delete delete_at delete_if shift slice! unshift).each do |method_name|
154 define_array_wrapper_method(method_name)
159 rotate! select! shuffle! sort! sort_by! uniq!).each do |method_name|
160 define_array_wrapper_with_result_method(method_name)
/external/python/apitools/apitools/gen/
Dservice_registry.py62 def __PrintDocstring(self, printer, method_info, method_name, name): argument
72 description = '%s method for the %s service.' % (method_name, name)
109 for method_name, method_info in method_info_map.items():
113 "'%s': base_api.ApiUploadInfo(", method_name)
124 for method_name, method_info in method_info_map.items():
131 printer('def %s(%s):', method_name, ', '.join(params))
134 printer, method_info, method_name, name)
135 printer("config = self.GetMethodConfig('%s')", method_name)
139 method_name)
154 .format(method_name))
[all …]
/external/autotest/server/cros/bluetooth/
Dbluetooth_adapter_tests.py34 def method_name(): function
45 def _run_method(method, method_name, *args, **kwargs): argument
63 logging.error('%s: %s', method_name, e)
65 logging.error('%s: unexpected error', method_name)
79 def _retry_device_method(method_name, legal_falsy_values=[]): argument
112 result = _run_method(getattr(device, method_name), method_name)
117 method_name)
123 logging.info('%s: retry the 2nd time.', method_name)
124 return _run_method(getattr(device, method_name), method_name)
504 def _wait_for_condition(self, func, method_name, argument
[all …]
/external/python/cpython3/Lib/lib2to3/fixes/
Dfix_dict.py59 method_name = method.value
60 isiter = method_name.startswith("iter")
61 isview = method_name.startswith("view")
63 method_name = method_name[4:]
64 assert method_name in ("keys", "items", "values"), repr(method)
70 Name(method_name,
/external/python/cpython2/Lib/lib2to3/fixes/
Dfix_dict.py60 method_name = method.value
61 isiter = method_name.startswith(u"iter")
62 isview = method_name.startswith(u"view")
64 method_name = method_name[4:]
65 assert method_name in (u"keys", u"items", u"values"), repr(method)
71 Name(method_name,
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dclass_util.py7 def IsMethodOverridden(parent_cls, child_cls, method_name): argument
10 assert parent_cls.__dict__.get(method_name), '%s has no method %s' % (
11 parent_cls, method_name)
13 if child_cls.__dict__.get(method_name):
26 IsMethodOverridden(parent_cls, base, method_name) for base in base_cls)
/external/grpc-grpc/test/cpp/util/
Dgrpc_tool.cc179 void ReadResponse(CliCall* call, const grpc::string& method_name, in ReadResponse() argument
193 method_name, serialized_response_proto, false /* is_request */); in ReadResponse()
362 grpc::string method_name; in ListServices() local
377 method_name = argv[2]; in ListServices()
380 std::getline(ss, method_name); in ListServices()
387 if (method_name.empty()) { in ListServices()
390 method_name.insert(0, 1, '.'); in ListServices()
391 method_name.insert(0, service_name); in ListServices()
393 desc_pool.FindMethodByName(method_name); in ListServices()
398 method_name.c_str(), service_name.c_str()); in ListServices()
[all …]
/external/tensorflow/tensorflow/python/saved_model/
Dsignature_def_utils_impl.py39 def build_signature_def(inputs=None, outputs=None, method_name=None): argument
59 if method_name is not None:
60 signature_def.method_name = method_name
227 method_name, inputs, loss=None, predictions=None, argument
250 raise ValueError('{} inputs cannot be None or empty.'.format(method_name))
263 signature_inputs, signature_outputs, method_name)
286 if signature_def.method_name != signature_constants.PREDICT_METHOD_NAME:
297 if signature_def.method_name != signature_constants.REGRESS_METHOD_NAME:
319 if signature_def.method_name != signature_constants.CLASSIFY_METHOD_NAME:
Dsignature_def_utils_test.py77 self.assertEqual("foo-method-name", signature_def.method_name)
102 signature_def.method_name)
129 signature_def.method_name)
165 signature_def.method_name)
201 def _testSupervisedSignatureDef(self, fn_to_test, method_name): argument
218 self.assertEqual(method_name, signature_def.method_name)
261 def _testSupervisedSignatureDefMissingInputs(self, fn_to_test, method_name): argument
281 self.assertEqual(method_name, signature_def.method_name)
285 self.assertEqual(method_name, signature_def.method_name)
288 def _assertValidSignature(self, inputs, outputs, method_name): argument
[all …]
/external/python/rsa/rsa/
Dpkcs1.py327 method_name = _find_method_hash(clearsig)
328 message_hash = compute_hash(message, method_name)
331 cleartext = HASH_ASN1[method_name] + message_hash
338 return method_name
381 def compute_hash(message, method_name): argument
392 if method_name not in HASH_METHODS:
393 raise ValueError('Invalid hash method: %s' % method_name)
395 method = HASH_METHODS[method_name]
/external/libchrome/base/android/
Djni_android.cc171 const char* method_name, in Get() argument
174 env->GetStaticMethodID(clazz, method_name, jni_signature) : in Get()
175 env->GetMethodID(clazz, method_name, jni_signature); in Get()
179 "method " << method_name << " " << jni_signature; in Get()
190 const char* method_name, in LazyGet() argument
198 jmethodID id = MethodID::Get<type>(env, clazz, method_name, jni_signature); in LazyGet()
206 JNIEnv* env, jclass clazz, const char* method_name,
210 JNIEnv* env, jclass clazz, const char* method_name,
214 JNIEnv* env, jclass clazz, const char* method_name,
218 JNIEnv* env, jclass clazz, const char* method_name,
/external/tensorflow/tensorflow/python/saved_model/model_utils/
Dexport_utils.py159 for method_name in _FRIENDLY_METHOD_NAMES:
160 sig_names_by_method_name[method_name] = []
163 sig_names_by_method_name[sig.method_name].append(signature_name)
166 for method_name, sig_names in sig_names_by_method_name.items():
167 if method_name in _FRIENDLY_METHOD_NAMES:
168 method_name = _FRIENDLY_METHOD_NAMES[method_name]
170 method_name, sig_names if sig_names else 'None'))
/external/libchrome/dbus/
Dexported_object.cc46 const std::string& method_name, in ExportMethodAndBlock() argument
52 GetAbsoluteMemberName(interface_name, method_name); in ExportMethodAndBlock()
72 const std::string& method_name, in ExportMethod() argument
80 method_name, in ExportMethod()
127 const std::string& method_name, in ExportMethodInternal() argument
133 method_name, in ExportMethodInternal()
140 method_name, in ExportMethodInternal()
146 const std::string& method_name, in OnExported() argument
150 on_exported_callback.Run(interface_name, method_name, success); in OnExported()
Dexported_object.h59 const std::string& method_name,
81 const std::string& method_name,
92 const std::string& method_name,
116 const std::string& method_name,
123 const std::string& method_name,
/external/tensorflow/tensorflow/core/distributed_runtime/
Drecent_request_ids.cc57 const string& method_name, in TrackUnique() argument
62 return errors::Aborted("The same ", method_name, in TrackUnique()
68 const string& method_name, in TrackUnique() argument
73 return errors::Aborted("The same ", method_name, in TrackUnique()
/external/pdfium/fxjs/
DCJX_Define.h24 #define JS_METHOD(method_name, class_name) \ argument
25 static CJS_Return method_name##_static( \
28 return JSMethod<class_name, &class_name::method_name>( \
31 CJS_Return method_name(CJS_V8* runtime, \
/external/grpc-grpc/src/core/lib/transport/
Dservice_config.cc85 const char* method_name = nullptr; in ParseJsonMethodName() local
94 if (method_name != nullptr) return nullptr; // Duplicate. in ParseJsonMethodName()
96 method_name = child->value; in ParseJsonMethodName()
102 method_name == nullptr ? "*" : method_name); in ParseJsonMethodName()
/external/python/cpython3/Lib/xmlrpc/
Dserver.py302 def system_methodSignature(self, method_name): argument
315 def system_methodHelp(self, method_name): argument
321 if method_name in self.funcs:
322 method = self.funcs[method_name]
326 return self.instance._methodHelp(method_name)
333 method_name,
358 method_name = call['methodName']
364 results.append([self._dispatch(method_name, params)])
861 for method_name in self.system_listMethods():
862 if method_name in self.funcs:
[all …]
/external/python/cpython2/Lib/
DDocXMLRPCServer.py177 for method_name in self.system_listMethods():
178 if method_name in self.funcs:
179 method = self.funcs[method_name]
183 method_info[0] = self.instance._get_method_argstring(method_name)
185 method_info[1] = self.instance._methodHelp(method_name)
194 method_name
204 methods[method_name] = method
/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DConstantPoolGen.java161 final String method_name = u8.getBytes(); in ConstantPoolGen() local
174 sb.append(method_name); in ConstantPoolGen()
574 …public int lookupMethodref( final String class_name, final String method_name, final String signat… in lookupMethodref() argument
575 final Index index = cp_table.get(class_name + METHODREF_DELIM + method_name in lookupMethodref()
595 …public int addMethodref( final String class_name, final String method_name, final String signature… in addMethodref() argument
599 if ((ret = lookupMethodref(class_name, method_name, signature)) != -1) { in addMethodref()
603 name_and_type_index = addNameAndType(method_name, signature); in addMethodref()
607 final String key = class_name + METHODREF_DELIM + method_name + METHODREF_DELIM + signature; in addMethodref()
628 …public int lookupInterfaceMethodref( final String class_name, final String method_name, final Stri… in lookupInterfaceMethodref() argument
629 final Index index = cp_table.get(class_name + IMETHODREF_DELIM + method_name in lookupInterfaceMethodref()
[all …]
/external/perfetto/src/ipc/
Dservice_proxy.cc47 void ServiceProxy::BeginInvoke(const std::string& method_name, in BeginInvoke() argument
59 auto remote_method_it = remote_method_ids_.find(method_name); in BeginInvoke()
65 ->BeginInvoke(service_id_, method_name, remote_method_it->second, in BeginInvoke()
69 PERFETTO_DLOG("Cannot find method \"%s\" on the host", method_name.c_str()); in BeginInvoke()

123456789