Searched defs:method (Results 76 - 100 of 965) sorted by relevance

1234567891011>>

/external/junit/src/org/junit/internal/matchers/
H A DTypeSafeMatcher.java29 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/junit/src/org/junit/rules/
H A DTestWatchman.java19 * public void failed(Throwable e, FrameworkMethod method) {
20 * watchedLog+= method.getName() + " " + e.getClass().getSimpleName()
25 * public void succeeded(FrameworkMethod method) {
26 * watchedLog+= method.getName() + " " + "success!\n";
46 public Statement apply(final Statement base, final FrameworkMethod method, argument
51 starting(method);
54 succeeded(method);
58 failed(t, method);
61 finished(method);
68 * Invoked when a test method succeed
72 succeeded(FrameworkMethod method) argument
81 failed(Throwable e, FrameworkMethod method) argument
89 starting(FrameworkMethod method) argument
98 finished(FrameworkMethod method) argument
[all...]
/external/libvpx/libvpx/test/
H A Dvp9_boolcoder_test.cc32 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/lzma/CPP/7zip/Common/
H A DMethodProps.cpp14 HRESULT SetMethodProperties(const CMethod &method, const UInt64 *inSizeForReduce, IUnknown *coder) argument
18 if (inSizeForReduce != 0 && (method.Id == k_LZMA || method.Id == k_LZMA2))
41 int numProps = method.Props.Size();
58 const CProp &prop = method.Props[i];
/external/mesa3d/src/glsl/
H A Dhir_field_selection.cpp74 /* Handle "method calls" in GLSL 1.20 - namely, array.length() */
81 const char *method; local
82 method = call->subexpressions[0]->primary_expression.identifier;
84 if (op->type->is_array() && strcmp(method, "length") == 0) {
86 _mesa_glsl_error(&loc, state, "length method takes no arguments.");
93 _mesa_glsl_error(&loc, state, "Unknown method: `%s'.", method);
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/
H A DMethodWrapper.java33 public static Object create(Method method) { argument
34 return KEY_FACTORY.newInstance(method.getName(),
35 ReflectUtils.getNames(method.getParameterTypes()),
36 method.getReturnType().getName());
/external/mockito/cglib-and-asm/src/org/mockito/cglib/reflect/
H A DFastMethod.java23 FastMethod(FastClass fc, Method method) { argument
24 super(fc, method, helper(fc, method));
27 private static int helper(FastClass fc, Method method) { argument
28 int index = fc.getIndex(method.getName(), method.getParameterTypes());
30 Class[] types = method.getParameterTypes();
31 System.err.println("hash=" + method.getName().hashCode() + " size=" + types.length);
35 throw new IllegalArgumentException("Cannot find method " + method);
[all...]
/external/mockito/cglib-and-asm/src/org/mockito/cglib/transform/impl/
H A DAddInitTransformer.java36 public AddInitTransformer(Method method) { argument
37 info = ReflectUtils.getMethodInfo(method);
43 throw new IllegalArgumentException(method + " illegal signature");
/external/mockito/src/org/mockito/internal/creation/
H A DDelegatingMethod.java13 private final Method method; field in class:DelegatingMethod
15 public DelegatingMethod(Method method) { argument
16 assert method != null : "Method cannot be null";
17 this.method = method;
21 return method.getExceptionTypes();
25 return method;
29 return method.getName();
33 return method.getParameterTypes();
37 return method
[all...]
/external/mockito/src/org/mockito/internal/util/
H A DObjectMethodsGuru.java17 public boolean isToString(Method method) { argument
18 return isToString(new DelegatingMethod(method));
21 public boolean isToString(MockitoMethod method) { argument
22 return method.getReturnType() == String.class
23 && method.getParameterTypes().length == 0
24 && method.getName().equals("toString");
27 public boolean isEqualsMethod(Method method) { argument
28 return method.getName().equals("equals")
29 && method.getParameterTypes().length == 1
30 && method
33 isHashCodeMethod(Method method) argument
38 isCompareToMethod(Method method) argument
[all...]
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/
H A DPutStreamIntegrationTest.java41 public Response serve(String uri, Method method, Map<String, String> headers, Map<String, String> parms, Map<String, String> files) argument
48 Method method = session.getMethod();
62 String response = String.valueOf(method) + ':' + new String(body);
/external/nist-sip/java/gov/nist/javax/sip/header/
H A DAllow.java47 /** method field
49 protected String method; field in class:Allow
62 method = m;
65 /** get the method field
69 return method;
73 * Set the method member
74 * @param method method to set.
76 public void setMethod(String method) throws ParseException { argument
77 if (method
[all...]
/external/nist-sip/java/gov/nist/javax/sip/parser/
H A DParser.java74 * parses a method. Consumes if a valid method has been found.
76 protected String method() throws ParseException { method in class:Parser
79 dbg_enter("method");
100 dbg_leave("method");
132 * added a method to check strings for valid token characters
/external/oauth/core/src/main/java/net/oauth/http/
H A DHttpResponseMessage.java31 protected HttpResponseMessage(String method, URL url) { argument
32 super(method, url);
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
H A DPushPromise.java22 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/openssl/crypto/x509v3/
H A Dv3_bitst.c94 STACK_OF(CONF_VALUE) *i2v_ASN1_BIT_STRING(X509V3_EXT_METHOD *method,
98 for(bnam =method->usr_data; bnam->lname; bnam++) {
105 ASN1_BIT_STRING *v2i_ASN1_BIT_STRING(X509V3_EXT_METHOD *method, argument
118 for(bnam = method->usr_data; bnam->lname; bnam++) {
H A Dv3_skey.c64 static ASN1_OCTET_STRING *s2i_skey_id(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, char *str);
73 char *i2s_ASN1_OCTET_STRING(X509V3_EXT_METHOD *method, argument
79 ASN1_OCTET_STRING *s2i_ASN1_OCTET_STRING(X509V3_EXT_METHOD *method, argument
101 static ASN1_OCTET_STRING *s2i_skey_id(X509V3_EXT_METHOD *method, argument
109 if(strcmp(str, "hash")) return s2i_ASN1_OCTET_STRING(method, ctx, str);
/external/ppp/pppd/
H A Dccp.h43 short method; /* code for chosen compression method */ member in struct:ccp_options
/external/proguard/src/proguard/classfile/attribute/
H A DAttribute.java99 * Accepts the given visitor in the context of the given method.
101 public void accept(Clazz clazz, Method method, AttributeVisitor attributeVisitor) argument
103 // Delegate the default invocation if the method is null anyway.
104 if (method == null)
117 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, AttributeVisitor attributeVisitor) argument
122 accept(clazz, method, attributeVisitor);
H A DExceptionsAttribute.java62 public void accept(Clazz clazz, Method method, AttributeVisitor attributeVisitor) argument
64 attributeVisitor.visitExceptionsAttribute(clazz, method, this);
H A DLocalVariableTableAttribute.java61 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, AttributeVisitor attributeVisitor) argument
63 attributeVisitor.visitLocalVariableTableAttribute(clazz, method, codeAttribute, this);
70 public void localVariablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableInfoVisitor localVariableInfoVisitor) argument
76 localVariableInfoVisitor.visitLocalVariableInfo(clazz, method, codeAttribute, localVariableTable[index]);
H A DLocalVariableTypeTableAttribute.java61 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, AttributeVisitor attributeVisitor) argument
63 attributeVisitor.visitLocalVariableTypeTableAttribute(clazz, method, codeAttribute, this);
70 public void localVariablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTypeInfoVisitor localVariableTypeInfoVisitor) argument
76 localVariableTypeInfoVisitor.visitLocalVariableTypeInfo(clazz, method, codeAttribute, localVariableTypeTable[index]);
H A DSignatureAttribute.java96 public void accept(Clazz clazz, Method method, AttributeVisitor attributeVisitor) argument
98 attributeVisitor.visitSignatureAttribute(clazz, method, this);
H A DUnknownAttribute.java73 public void accept(Clazz clazz, Method method, AttributeVisitor attributeVisitor) argument
78 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, AttributeVisitor attributeVisitor) argument
/external/proguard/src/proguard/classfile/attribute/annotation/
H A DAnnotationDefaultAttribute.java69 public void accept(Clazz clazz, Method method, AttributeVisitor attributeVisitor) argument
71 attributeVisitor.visitAnnotationDefaultAttribute(clazz, method, this);

Completed in 271 milliseconds

1234567891011>>