/external/protobuf/java/src/main/java/com/google/protobuf/ |
H A D | Service.java | 55 * <p>Call a method of the service specified by MethodDescriptor. This is 61 * <li>{@code method.getService() == getDescriptorForType()} 63 * {@code getRequestPrototype(method)}. 73 * <li>{@code done} will be called when the method is complete. This may be 78 * {@code getResponsePrototype(method)}. 84 void callMethod(Descriptors.MethodDescriptor method, argument 92 * gets the default instances of this type for a given method. You can then 99 * MethodDescriptor method = 102 * stub.getRequestPrototype(method).newBuilderForType() 104 * service.callMethod(method, reques 107 getRequestPrototype(Descriptors.MethodDescriptor method) argument 116 getResponsePrototype(Descriptors.MethodDescriptor method) argument [all...] |
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
H A D | MethodAnnotationStruct.java | 26 * Association of a method and its annotations. 30 /** {@code non-null;} the method in question */ 31 private final CstMethodRef method; field in class:MethodAnnotationStruct 39 * @param method {@code non-null;} the method in question 42 public MethodAnnotationStruct(CstMethodRef method, argument 44 if (method == null) { 45 throw new NullPointerException("method == null"); 52 this.method = method; [all...] |
/external/dexmaker/src/mockito/java/com/google/dexmaker/mockito/ |
H A D | InvocationHandlerAdapter.java | 30 * Handles proxy method invocations to dexmaker's InvocationHandler by calling 41 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { argument 42 if (objectMethodsGuru.isEqualsMethod(method)) { 44 } else if (objectMethodsGuru.isHashCodeMethod(method)) { 48 ProxiedMethod proxiedMethod = new ProxiedMethod(method); 62 private final Method method; field in class:InvocationHandlerAdapter.ProxiedMethod 64 public ProxiedMethod(Method method) { argument 65 this.method = method; 69 return method [all...] |
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/ |
H A D | PushPromise.java | 22 private final String method; field in class:PushPromise 27 public PushPromise(String method, String path, List<String> headers, MockResponse response) { argument 28 this.method = method; 35 return method;
|
/external/chromium_org/third_party/libvpx/source/libvpx/test/ |
H A D | vp9_boolcoder_test.cc | 32 for (int method = 0; method <= 7; ++method) { // we generate various proba 39 (method == 0) ? 0 : (method == 1) ? 255 : 40 (method == 2) ? 128 : 41 (method == 3) ? rnd.Rand8() : 42 (method == 4) ? (parity ? 0 : 255) : 44 (method == 5) ? (parity ? rnd(128) : 255 - rnd(128)) : 45 (method 84 << " method: " << method; local [all...] |
/external/guava/guava/src/com/google/common/eventbus/ |
H A D | AnnotatedHandlerFinder.java | 43 for (Method method : clazz.getMethods()) { 44 Subscribe annotation = method.getAnnotation(Subscribe.class); 47 Class<?>[] parameterTypes = method.getParameterTypes(); 50 "Method " + method + " has @Subscribe annotation, but requires " + 55 EventHandler handler = makeHandler(listener, method); 66 * Creates an {@code EventHandler} for subsequently calling {@code method} on 69 * {@code method}. 71 * @param listener object bearing the event handler method. 72 * @param method the event handler method t 76 makeHandler(Object listener, Method method) argument 94 methodIsDeclaredThreadSafe(Method method) argument [all...] |
H A D | EventHandler.java | 24 * Wraps a single-argument 'handler' method on a specific object. 26 * <p>This class only verifies the suitability of the method and event type if 29 * <p>Two EventHandlers are equivalent when they refer to the same method on the 31 * method is registered more than once. 37 /** Object sporting the handler method. */ 39 /** Handler method. */ 40 private final Method method; field in class:EventHandler 43 * Creates a new EventHandler to wrap {@code method} on @{code target}. 45 * @param target object to which the method applies. 46 * @param method handle 48 EventHandler(Object target, Method method) argument [all...] |
/external/libvpx/libvpx/test/ |
H A D | vp9_boolcoder_test.cc | 32 for (int method = 0; method <= 7; ++method) { // we generate various proba 39 (method == 0) ? 0 : (method == 1) ? 255 : 40 (method == 2) ? 128 : 41 (method == 3) ? rnd.Rand8() : 42 (method == 4) ? (parity ? 0 : 255) : 44 (method == 5) ? (parity ? rnd(128) : 255 - rnd(128)) : 45 (method 84 << " method: " << method; local [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/scripts/ |
H A D | v8_interface.py | 295 methods = [v8_methods.method_context(interface, method) 296 for method in interface.operations 297 if method.name] # Skip anonymous special operations (methods) 303 method = IdlOperation(interface.idl_name) 304 method.name = 'toString' 305 method.idl_type = IdlType('DOMString') 306 method.extended_attributes.update(stringifier.extended_attributes) 308 method.extended_attributes['ImplementedAs'] = stringifier.attribute.name 310 method.extended_attributes['ImplementedAs'] = stringifier.operation.name 311 methods.append(v8_methods.method_context(interface, method)) [all...] |
H A D | v8_methods.py | 45 # Methods with any of these require custom method registration code in the 55 def use_local_result(method): 56 extended_attributes = method.extended_attributes 57 idl_type = method.idl_type 58 return (has_extended_attribute_value(method, 'CallWith', 'ScriptState') or 65 def method_context(interface, method): 66 arguments = method.arguments 67 extended_attributes = method.extended_attributes 68 idl_type = method.idl_type 69 is_static = method [all...] |
/external/hamcrest/library/src/org/hamcrest/ |
H A D | TypeSafeMatcher.java | 27 for (Method method : c.getDeclaredMethods()) { 28 if (isMatchesSafelyMethod(method)) { 29 return method.getParameterTypes()[0]; 34 throw new Error("Cannot determine correct type for matchesSafely() method."); 37 private static boolean isMatchesSafelyMethod(Method method) { argument 38 return method.getName().equals("matchesSafely") 39 && method.getParameterTypes().length == 1 40 && !method.isSynthetic();
|
/external/junit/src/org/junit/internal/matchers/ |
H A D | TypeSafeMatcher.java | 29 for (Method method : c.getDeclaredMethods()) { 30 if (isMatchesSafelyMethod(method)) { 31 return method.getParameterTypes()[0]; 36 throw new Error("Cannot determine correct type for matchesSafely() method."); 39 private static boolean isMatchesSafelyMethod(Method method) { argument 40 return method.getName().equals("matchesSafely") 41 && method.getParameterTypes().length == 1 42 && !method.isSynthetic();
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/ |
H A D | PoolMethod.java | 48 @Nonnull private final Method method; field in class:PoolMethod 53 @Override public PoolMethod apply(Method method) { 54 return new PoolMethod(method); 58 PoolMethod(@Nonnull Method method) { argument 59 this.method = method; 63 return method.getDefiningClass(); 67 return method.getName(); 71 return method.getParameterTypes(); 75 return method [all...] |
/external/proguard/src/proguard/classfile/attribute/preverification/visitor/ |
H A D | VerificationTypeVisitor.java | 36 public void visitIntegerType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, IntegerType integerType); argument 37 public void visitFloatType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, FloatType floatType); argument 38 public void visitLongType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, LongType longType); argument 39 public void visitDoubleType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, DoubleType doubleType); argument 40 public void visitTopType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, TopType topType); argument 41 public void visitObjectType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ObjectType objectType); argument 42 public void visitNullType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, NullType nullType); argument 43 public void visitUninitializedType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, UninitializedType uninitializedType); argument 44 public void visitUninitializedThisType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, UninitializedThisType uninitializedThisType); argument 46 public void visitStackIntegerType( Clazz clazz, Method method, CodeAttribut argument 47 visitStackFloatType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, FloatType floatType) argument 48 visitStackLongType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, LongType longType) argument 49 visitStackDoubleType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, DoubleType doubleType) argument 50 visitStackTopType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, TopType topType) argument 51 visitStackObjectType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, ObjectType objectType) argument 52 visitStackNullType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, NullType nullType) argument 53 visitStackUninitializedType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, UninitializedType uninitializedType) argument 54 visitStackUninitializedThisType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, UninitializedThisType uninitializedThisType) argument 56 visitVariablesIntegerType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, IntegerType integerType) argument 57 visitVariablesFloatType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, FloatType floatType) argument 58 visitVariablesLongType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, LongType longType) argument 59 visitVariablesDoubleType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, DoubleType doubleType) argument 60 visitVariablesTopType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, TopType topType) argument 61 visitVariablesObjectType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, ObjectType objectType) argument 62 visitVariablesNullType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, NullType nullType) argument 63 visitVariablesUninitializedType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, UninitializedType uninitializedType) argument 64 visitVariablesUninitializedThisType(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int index, UninitializedThisType uninitializedThisType) argument [all...] |
/external/chromium_org/third_party/boringssl/src/crypto/engine/ |
H A D | engine.c | 50 /* set_method takes a pointer to a method and its given size and sets 53 static int set_method(void **out_member, const void *method, size_t method_size, argument 65 memcpy(copy, method, method_size); 73 int ENGINE_set_DH_method(ENGINE *engine, const DH_METHOD *method, argument 75 return set_method((void **)&engine->dh_method, method, method_size, 83 int ENGINE_set_DSA_method(ENGINE *engine, const DSA_METHOD *method, argument 85 return set_method((void **)&engine->dsa_method, method, method_size, 93 int ENGINE_set_RSA_method(ENGINE *engine, const RSA_METHOD *method, argument 95 return set_method((void **)&engine->rsa_method, method, method_size, 103 int ENGINE_set_ECDSA_method(ENGINE *engine, const ECDSA_METHOD *method, argument 114 struct openssl_method_common_st *method = method_in; local 124 struct openssl_method_common_st *method = method_in; local [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/templates/ |
H A D | callback_interface.cpp | 28 {% for method in methods if not method.is_custom %} 29 {{method.cpp_type}} {{v8_class}}::{{method.name}}({{method.argument_declarations | join(', ')}}) 32 if method.idl_type == 'boolean' else 'return' %}{# void #} 40 {% if method.call_with_this_handle %} 48 {% for argument in method.arguments %} 56 {% if method.arguments %} 57 v8::Handle<v8::Value> argv[] = { {{method [all...] |
H A D | methods.cpp | 2 {% macro generate_method(method, world_suffix) %} 3 {% filter conditional(method.conditional_string) %} 4 static void {{method.name}}{{method.overload_index}}Method{{world_suffix}}(const v8::FunctionCallbackInfo<v8::Value>& info) 7 {% if method.has_exception_state %} 8 ExceptionState exceptionState(ExceptionState::ExecutionContext, "{{method.name}}", "{{interface_name}}", info.Holder(), info.GetIsolate()); 11 {% if method.number_of_required_arguments and not method.overload_index %} 12 if (UNLIKELY(info.Length() < {{method.number_of_required_arguments}})) { 13 {{throw_minimum_arity_type_error(method, metho [all...] |
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/ |
H A D | test_extensions.py | 50 method = method_list[0] 51 self.assertEqual('foo', method.name()) 52 self.assertEqual(0, len(method.get_parameters())) 57 method = method_list[0] 58 self.assertEqual('foo', method.name()) 59 self.assertEqual(2, len(method.get_parameters())) 60 self.assertTrue(method.has_parameter('x')) 61 self.assertEqual(None, method.get_parameter_value('x')) 62 self.assertTrue(method.has_parameter('y')) 63 self.assertEqual('10', method [all...] |
/external/apache-http/src/org/apache/http/message/ |
H A D | BasicRequestLine.java | 39 * It contains the method, URI, and HTTP version of the request. 58 private final String method; field in class:BasicRequestLine 61 public BasicRequestLine(final String method, argument 65 if (method == null) { 77 this.method = method; 83 return this.method;
|
/external/chromium_org/third_party/boringssl/src/include/openssl/ |
H A D | engine.h | 30 * Methods are reference counted but |ENGINE|s are not. When creating a method, 38 /* ENGINE_new returns an empty ENGINE that uses the default method for all 49 * Method accessors take a method pointer and the size of the structure. The 50 * size allows for ABI compatibility in the case that the method structure is 56 OPENSSL_EXPORT int ENGINE_set_DH_method(ENGINE *engine, const DH_METHOD *method, 61 const DSA_METHOD *method, 66 const RSA_METHOD *method, 71 const ECDSA_METHOD *method, 76 /* Generic method functions. 78 * These functions take a void* type but actually operate on all method [all...] |
/external/proguard/src/proguard/classfile/attribute/preverification/ |
H A D | DoubleType.java | 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) argument 44 verificationTypeVisitor.visitDoubleType(clazz, method, codeAttribute, instructionOffset, this); 48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) argument 50 verificationTypeVisitor.visitStackDoubleType(clazz, method, codeAttribute, instructionOffset, stackIndex, this); 54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) argument 56 verificationTypeVisitor.visitVariablesDoubleType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
H A D | FloatType.java | 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) argument 44 verificationTypeVisitor.visitFloatType(clazz, method, codeAttribute, instructionOffset, this); 48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) argument 50 verificationTypeVisitor.visitStackFloatType(clazz, method, codeAttribute, instructionOffset, stackIndex, this); 54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) argument 56 verificationTypeVisitor.visitVariablesFloatType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
H A D | IntegerType.java | 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) argument 44 verificationTypeVisitor.visitIntegerType(clazz, method, codeAttribute, instructionOffset, this); 48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) argument 50 verificationTypeVisitor.visitStackIntegerType(clazz, method, codeAttribute, instructionOffset, stackIndex, this); 54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) argument 56 verificationTypeVisitor.visitVariablesIntegerType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
H A D | LongType.java | 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) argument 44 verificationTypeVisitor.visitLongType(clazz, method, codeAttribute, instructionOffset, this); 48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) argument 50 verificationTypeVisitor.visitStackLongType(clazz, method, codeAttribute, instructionOffset, stackIndex, this); 54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) argument 56 verificationTypeVisitor.visitVariablesLongType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
H A D | NullType.java | 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) argument 44 verificationTypeVisitor.visitNullType(clazz, method, codeAttribute, instructionOffset, this); 48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) argument 50 verificationTypeVisitor.visitStackNullType(clazz, method, codeAttribute, instructionOffset, stackIndex, this); 54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) argument 56 verificationTypeVisitor.visitVariablesNullType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|