Searched refs:method_name (Results 1 - 25 of 80) sorted by relevance

1234

/external/protobuf/ruby/lib/google/protobuf/
H A Drepeated_field.rb114 def define_array_wrapper_method(method_name)
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)
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)
[all...]
/external/python/cpython2/Lib/lib2to3/fixes/
H A 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/libbrillo/brillo/dbus/
H A Ddbus_object.h121 // Register sync DBus method handler for |method_name| as base::Callback.
124 const std::string& method_name,
127 this, method_name, handler);
130 // Register sync D-Bus method handler for |method_name| as a static
133 inline void AddSimpleMethodHandler(const std::string& method_name, argument
136 this, method_name, base::Bind(handler));
139 // Register sync D-Bus method handler for |method_name| as a class member
142 inline void AddSimpleMethodHandler(const std::string& method_name, argument
146 this, method_name, base::Bind(handler, instance));
151 inline void AddSimpleMethodHandler(const std::string& method_name, argument
123 AddSimpleMethodHandler( const std::string& method_name, const base::Callback<R(Args...)>& handler) argument
160 AddSimpleMethodHandlerWithError( const std::string& method_name, const base::Callback<bool(ErrorPtr*, Args...)>& handler) argument
170 AddSimpleMethodHandlerWithError( const std::string& method_name, bool(*handler)(ErrorPtr*, Args...)) argument
180 AddSimpleMethodHandlerWithError( const std::string& method_name, Instance instance, bool(Class::*handler)(ErrorPtr*, Args...)) argument
190 AddSimpleMethodHandlerWithError( const std::string& method_name, Instance instance, bool(Class::*handler)(ErrorPtr*, Args...) const) argument
201 AddSimpleMethodHandlerWithErrorAndMessage( const std::string& method_name, const base::Callback<bool(ErrorPtr*, dbus::Message*, Args...)>& handler) argument
213 AddSimpleMethodHandlerWithErrorAndMessage( const std::string& method_name, bool(*handler)(ErrorPtr*, dbus::Message*, Args...)) argument
224 AddSimpleMethodHandlerWithErrorAndMessage( const std::string& method_name, Instance instance, bool(Class::*handler)(ErrorPtr*, dbus::Message*, Args...)) argument
234 AddSimpleMethodHandlerWithErrorAndMessage( const std::string& method_name, Instance instance, bool(Class::*handler)(ErrorPtr*, dbus::Message*, Args...) const) argument
244 AddMethodHandler( const std::string& method_name, const base::Callback<void(std::unique_ptr<Response>, Args...)>& handler) argument
256 AddMethodHandler( const std::string& method_name, void (*handler)(std::unique_ptr<Response>, Args...)) argument
271 AddMethodHandler( const std::string& method_name, Instance instance, void(Class::*handler)(std::unique_ptr<Response>, Args...)) argument
286 AddMethodHandler( const std::string& method_name, Instance instance, void(Class::*handler)(std::unique_ptr<Response>, Args...) const) argument
298 AddMethodHandlerWithMessage( const std::string& method_name, const base::Callback<void(std::unique_ptr<Response>, dbus::Message*, Args...)>& handler) argument
311 AddMethodHandlerWithMessage( const std::string& method_name, void (*handler)(std::unique_ptr<Response>, dbus::Message*, Args...)) argument
326 AddMethodHandlerWithMessage( const std::string& method_name, Instance instance, void(Class::*handler)(std::unique_ptr<Response>, dbus::Message*, Args...)) argument
342 AddMethodHandlerWithMessage( const std::string& method_name, Instance instance, void(Class::*handler)(std::unique_ptr<Response>, dbus::Message*, Args...) const) argument
354 AddRawMethodHandler( const std::string& method_name, const base::Callback<void(dbus::MethodCall*, ResponseSender)>& handler) argument
363 AddRawMethodHandler( const std::string& method_name, Instance instance, void(Class::*handler)(dbus::MethodCall*, ResponseSender)) argument
433 Add(DBusInterface* self, const std::string& method_name, const CallbackType& callback) argument
[all...]
H A Ddbus_object.cc42 std::string method_name = pair.first; local
43 VLOG(1) << "Exporting method: " << interface_name_ << "." << method_name; local
44 std::string export_error = "Failed exporting " + method_name + " method";
46 interface_name_, method_name, export_error, true);
50 interface_name_, method_name, method_handler, export_handler);
76 std::string method_name = pair.first; local
77 VLOG(1) << "Exporting method: " << interface_name_ << "." << method_name; local
81 interface_name_, method_name, method_handler)) {
82 LOG(FATAL) << "Failed exporting " << method_name << " method";
113 std::string method_name local
132 AddHandlerImpl( const std::string& method_name, std::unique_ptr<DBusInterfaceMethodHandlerInterface> handler) argument
136 << method_name; local
[all...]
H A Ddbus_method_invoker.h98 const std::string& method_name,
101 dbus::MethodCall method_call(interface_name, method_name);
122 method_name.c_str());
133 const std::string& method_name,
139 method_name,
287 const std::string& method_name,
291 dbus::MethodCall method_call(interface_name, method_name);
308 const std::string& method_name,
315 method_name,
94 CallMethodAndBlockWithTimeout( int timeout_ms, dbus::ObjectProxy* object, const std::string& interface_name, const std::string& method_name, ErrorPtr* error, const Args&... args) argument
130 CallMethodAndBlock( dbus::ObjectProxy* object, const std::string& interface_name, const std::string& method_name, ErrorPtr* error, const Args&... args) argument
283 CallMethodWithTimeout( int timeout_ms, dbus::ObjectProxy* object, const std::string& interface_name, const std::string& method_name, const base::Callback<void(OutArgs...)>& success_callback, const AsyncErrorCallback& error_callback, const InArgs&... params) argument
306 CallMethod(dbus::ObjectProxy* object, const std::string& interface_name, const std::string& method_name, const base::Callback<void(OutArgs...)>& success_callback, const AsyncErrorCallback& error_callback, const InArgs&... params) argument
H A Dasync_event_sequencer.h43 const std::string& method_name,
60 const std::string& method_name,
H A Dasync_event_sequencer.cc31 const std::string& method_name,
39 method_name);
29 GetExportHandler( const std::string& interface_name, const std::string& method_name, const std::string& descriptive_message, bool failure_is_fatal) argument
/external/libchrome/dbus/
H A Dmock_exported_object.h24 const std::string& method_name,
28 const std::string& method_name,
H A Dexported_object.h59 const std::string& method_name,
63 // Exports the method specified by |interface_name| and |method_name|,
81 const std::string& method_name,
85 // |method_name|. See Also ExportMethodAndBlock().
92 const std::string& method_name,
116 const std::string& method_name,
123 const std::string& method_name,
H A Dexported_object.cc45 const std::string& method_name,
51 GetAbsoluteMemberName(interface_name, method_name);
71 const std::string& method_name,
79 method_name,
126 const std::string& method_name,
132 method_name,
139 method_name,
145 const std::string& method_name,
149 on_exported_callback.Run(interface_name, method_name, success);
43 ExportMethodAndBlock( const std::string& interface_name, const std::string& method_name, MethodCallCallback method_call_callback) argument
70 ExportMethod(const std::string& interface_name, const std::string& method_name, MethodCallCallback method_call_callback, OnExportedCallback on_exported_calback) argument
124 ExportMethodInternal( const std::string& interface_name, const std::string& method_name, MethodCallCallback method_call_callback, OnExportedCallback on_exported_calback) argument
143 OnExported(OnExportedCallback on_exported_callback, const std::string& interface_name, const std::string& method_name, bool success) argument
/external/libmojo/base/android/jni_generator/
H A Djni_generator_helper.h18 #define CHECK_NATIVE_PTR(env, jcaller, native_ptr, method_name, ...) \
19 DCHECK(native_ptr) << method_name;
/external/autotest/server/cros/bluetooth/
H A Dbluetooth_adapter_tests.py28 def method_name(): function
39 def _run_method(method, method_name, *args, **kwargs):
47 @param method_name: the name of the method
57 logging.error('%s: %s', method_name, e)
59 logging.error('%s: unexpected error', method_name)
73 def _retry_device_method(method_name):
97 @param method_name: the string of the method name.
102 result = _run_method(getattr(device, method_name), method_name)
107 method_name)
[all...]
/external/libmojo/base/android/
H A Djni_android.h97 const char* method_name,
106 const char* method_name,
H A Djni_android.cc156 const char* method_name,
159 env->GetStaticMethodID(clazz, method_name, jni_signature) :
160 env->GetMethodID(clazz, method_name, jni_signature);
164 "method " << method_name << " " << jni_signature;
175 const char* method_name,
183 jmethodID id = MethodID::Get<type>(env, clazz, method_name, jni_signature);
191 JNIEnv* env, jclass clazz, const char* method_name,
195 JNIEnv* env, jclass clazz, const char* method_name,
199 JNIEnv* env, jclass clazz, const char* method_name,
203 JNIEnv* env, jclass clazz, const char* method_name,
154 Get(JNIEnv* env, jclass clazz, const char* method_name, const char* jni_signature) argument
173 LazyGet(JNIEnv* env, jclass clazz, const char* method_name, const char* jni_signature, base::subtle::AtomicWord* atomic_method_id) argument
[all...]
/external/llvm/lib/ExecutionEngine/IntelJITEvents/
H A Djitprofiling.h158 char* method_name; member in struct:_iJIT_Method_NIDS
183 char* method_name; member in struct:_iJIT_Method_Load
/external/v8/src/third_party/vtune/
H A Djitprofiling.h197 char* method_name; member in struct:_iJIT_Method_NIDS
222 char* method_name; member in struct:_iJIT_Method_Load
/external/python/cpython2/Lib/
H A DDocXMLRPCServer.py170 the _get_method_argstring(method_name) method to provide the
172 _methodHelp(method_name) method to provide the help text used
177 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
H A DSimpleXMLRPCServer.py301 def system_methodSignature(self, method_name):
314 def system_methodHelp(self, method_name):
320 if method_name in self.funcs:
321 method = self.funcs[method_name]
325 return self.instance._methodHelp(method_name)
332 method_name,
358 method_name = call['methodName']
364 results.append([self._dispatch(method_name, params)])
/external/autotest/client/site_tests/documentscan_AppTestWithFakeLorgnette/
H A Ddocumentscan_AppTestWithFakeLorgnette.py138 for index, method_name in enumerate(['ListScanners', 'ScanImage']):
139 if calls[index].method != method_name:
141 (index, calls[index].method, method_name))
/external/v8/src/builtins/
H A Dbuiltins-generator.cc24 char const* const method_name);
28 JSGeneratorObject::ResumeMode resume_mode, char const* const method_name) {
62 factory()->NewStringFromAsciiChecked(method_name, TENURED)),
27 GeneratorPrototypeResume( JSGeneratorObject::ResumeMode resume_mode, char const* const method_name) argument
H A Dbuiltins-typedarray.cc20 void GenerateTypedArrayPrototypeGetter(const char* method_name,
23 void GenerateTypedArrayPrototypeIterationMethod(const char* method_name);
37 const char* method_name, int object_offset) {
65 factory()->NewStringFromAsciiChecked(method_name, TENURED)),
91 const char* method_name) {
127 isolate()->factory()->NewStringFromAsciiChecked(method_name, TENURED));
36 GenerateTypedArrayPrototypeGetter( const char* method_name, int object_offset) argument
90 GenerateTypedArrayPrototypeIterationMethod( const char* method_name) argument
H A Dbuiltins-async-iterator.cc31 const char* method_name);
38 Handle<Name> method_name, UndefinedMethodHandler&& if_method_undefined,
64 Variable* var_exception, const char* method_name) {
79 CStringConstant(method_name), object);
92 Handle<Name> method_name, UndefinedMethodHandler&& if_method_undefined,
110 Node* const method = GetProperty(context, sync_iterator, method_name);
62 ThrowIfNotAsyncFromSyncIterator( Node* const context, Node* const object, Label* if_exception, Variable* var_exception, const char* method_name) argument
90 Generate_AsyncFromSyncIteratorMethod( Node* const context, Node* const iterator, Node* const sent_value, Handle<Name> method_name, UndefinedMethodHandler&& if_method_undefined, const char* operation_name, Label::Type reject_label_type, Node* const initial_exception_value) argument
/external/libmojo/base/android/linker/
H A Dlinker_jni.cc86 // |clazz|, with name |method_name| and signature |method_sig|.
91 const char* method_name,
94 *method_id = env->GetStaticMethodID(clazz, method_name, method_sig);
96 LOG_ERROR("Could not find ID for static method '%s'", method_name);
99 LOG_INFO("Found ID %p for static method '%s'", *method_id, method_name);
89 InitStaticMethodId(JNIEnv* env, jclass clazz, const char* method_name, const char* method_sig, jmethodID* method_id) argument
/external/autotest/client/site_tests/audio_AlsaAPI/
H A Daudio_AlsaAPI.py36 method_name = 'test_' + to_test
37 method = getattr(self, method_name)
/external/autotest/client/cros/multimedia/
H A Dmultimedia_xmlrpc_server.py79 facade_name, method_name = method.split('.', 1)
81 func = getattr(self._facades[facade_name], method_name)

Completed in 576 milliseconds

1234