Searched defs:method (Results 276 - 300 of 965) sorted by relevance

<<11121314151617181920>>

/external/easymock/src/org/easymock/internal/
H A DObjectMethodsFilter.java54 throw new RuntimeException("An Object method could not be found!");
61 public final Object invoke(Object proxy, Method method, Object[] args) argument
63 if (equalsMethod.equals(method)) {
66 if (hashCodeMethod.equals(method)) {
69 if (toStringMethod.equals(method)) {
72 return delegate.invoke(proxy, method, args);
/external/emma/core/java12/com/vladium/jcd/cls/
H A DMethodCollection.java44 final Method_info method = (Method_info) m_methods.get (m);
46 if (method.getName (cls).equals (name))
108 public int add (final Method_info method) argument
111 m_methods.add (method);
116 public Method_info set (final int offset, final Method_info method) argument
118 return (Method_info) m_methods.set (offset, method);
139 private List/* Method_info */ m_methods; // method collection
/external/guava/guava/src/com/google/common/util/concurrent/
H A DSimpleTimeLimiter.java40 * A TimeLimiter that runs method calls in the background using an
41 * {@link ExecutorService}. If the time limit expires for a given method call,
54 * execute proxied method calls.
59 * this case the call may even time out before the target method is ever
62 * @param executor the ExecutorService that will execute the method calls on
72 * Executors#newCachedThreadPool()} to execute proxied method calls.
77 * before the target method is ever invoked.
98 public Object invoke(Object obj, final Method method, final Object[] args)
104 return method.invoke(target, args);
112 interruptibleMethods.contains(method));
178 declaresInterruptedEx(Method method) argument
[all...]
/external/guava/guava-tests/test/com/google/common/util/concurrent/
H A DAbstractFutureTest.java143 // Above our method should be the call to get(). Don't assert on the class
149 ExecutionException e, String clazz, String method) {
154 && element.getMethodName().equals(method)) {
159 new AssertionFailedError("Expected element " + clazz + "." + method
148 findStackFrame( ExecutionException e, String clazz, String method) argument
/external/javassist/src/main/javassist/bytecode/
H A DInstructionPrinter.java22 * Simple utility class for printing the instructions of a method.
35 public static void print(CtMethod method, PrintStream stream) { argument
36 (new InstructionPrinter(stream)).print(method);
39 public void print(CtMethod method) { argument
40 MethodInfo info = method.getMethodInfo2();
/external/javassist/src/main/javassist/util/proxy/
H A DFactoryHelper.java102 * is such a method for obtaining an integer value from a
128 * This method uses a default protection domain for the class
150 Method method;
153 method = defineClass1;
158 method = defineClass2;
163 return toClass2(method, loader, args);
176 private static synchronized Class toClass2(Method method, argument
180 SecurityActions.setAccessible(method, true);
181 Class clazz = (Class)method.invoke(loader, args);
182 SecurityActions.setAccessible(method, fals
[all...]
/external/junit/src/org/junit/experimental/theories/
H A DParameterSignature.java14 public static ArrayList<ParameterSignature> signatures(Method method) { argument
15 return signatures(method.getParameterTypes(), method
/external/junit/src/org/junit/internal/runners/
H A DMethodRoadie.java31 public MethodRoadie(Object test, TestMethod method, RunNotifier notifier, Description description) { argument
35 fTestMethod= method;
H A DTestClass.java60 private boolean isShadowed(Method method, List<Method> results) { argument
62 if (isShadowed(method, each))
/external/junit/src/org/junit/runner/
H A DRequest.java28 * This is done by filtering out all other tests. This method is used to support rerunning
34 public static Request method(Class<?> clazz, String methodName) { method in class:Request
35 Description method= Description.createTestDescription(clazz, methodName);
36 return Request.aClass(clazz).filterWith(method);
51 * in a class. If the class has a suite() method, it will be ignored.
/external/junit/src/org/junit/runners/
H A DParameterized.java58 * <code>&#064;Parameters</code> method.
63 * Annotation for a method which provides parameters to be injected into the
107 protected String testName(final FrameworkMethod method) { argument
108 return String.format("%s[%s]", method.getName(),
163 throw new Exception("No public static parameters method on class "
/external/junit/src/org/junit/runners/model/
H A DFrameworkMethod.java13 * Represents a method on a test class to be invoked at the appropriate point in
22 * Returns a new {@code FrameworkMethod} for {@code method}
24 public FrameworkMethod(Method method) { argument
25 fMethod= method;
29 * Returns the underlying Java method
36 * Returns the result of invoking this method on {@code target} with
51 * Returns the method's name
58 * Adds to {@code errors} if this method:
74 * Adds to {@code errors} if this method:
123 * Returns true iff this is a no-arg method tha
[all...]
/external/libvpx/libvpx/test/
H A Dvp8_boolcoder_test.cc59 for (int method = 0; method <= 7; ++method) { // we generate various proba
66 (method == 0) ? 0 : (method == 1) ? 255 :
67 (method == 2) ? 128 :
68 (method == 3) ? rnd.Rand8() :
69 (method == 4) ? (parity ? 0 : 255) :
71 (method == 5) ? (parity ? rnd(128) : 255 - rnd(128)) :
72 (method
115 << " method: " << method; local
[all...]
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_picklpf.c135 LPF_PICK_METHOD method) {
142 if (method == LPF_PICK_FROM_Q) {
153 search_filter_level(sd, cpi, method == LPF_PICK_FROM_SUBIMAGE);
134 vp9_pick_filter_level(const YV12_BUFFER_CONFIG *sd, VP9_COMP *cpi, LPF_PICK_METHOD method) argument
/external/lldb/source/Core/
H A DAddressResolverName.cpp64 const char *method,
68 m_func_name (method),
106 log->Warning ("Class/method function specification not supported yet.\n");
61 AddressResolverName( const char *class_name, const char *method, AddressResolver::MatchType type ) argument
/external/mesa3d/src/mesa/vbo/
H A Dvbo_context.h61 /** Used to signal when transitioning from one kind of drawing method
130 vbo_draw_method(struct vbo_context *vbo, enum draw_method method) argument
132 if (vbo->last_draw_method != method) {
135 switch (method) {
150 vbo->last_draw_method = method;
/external/mockito/src/org/mockito/internal/creation/
H A DMethodInterceptorFilter.java44 public Object intercept(Object proxy, Method method, Object[] args, MethodProxy methodProxy) argument
46 if (objectMethodsGuru.isEqualsMethod(method)) {
48 } else if (objectMethodsGuru.isHashCodeMethod(method)) {
50 } else if (acrossJVMSerializationFeature.isWriteReplace(method)) {
57 MockitoMethod mockitoMethod = createMockitoMethod(method);
78 public MockitoMethod createMockitoMethod(Method method) { argument
80 return new SerializableMethod(method);
82 return new DelegatingMethod(method);
/external/mockito/src/org/mockito/internal/invocation/
H A DSerializableMethod.java24 public SerializableMethod(Method method) { argument
25 declaringClass = method.getDeclaringClass();
26 methodName = method.getName();
27 parameterTypes = method.getParameterTypes();
28 returnType = method.getReturnType();
29 exceptionTypes = method.getExceptionTypes();
30 isVarArgs = method.isVarArgs();
58 "The method %1$s.%2$s is probably private or protected and cannot be mocked.\n" +
63 "The method %1$s.%2$s does not exists and you should not get to this point.\n" +
/external/nist-sip/java/gov/nist/javax/sip/clientauthutils/
H A DAuthenticationHelperImpl.java285 * @param method method of the request being authenticated
295 private AuthorizationHeader getAuthorization(String method, String uri, String requestBody, argument
310 method, uri, requestBody, qop,sipStack.getStackLogger());// jvb changed
352 * @param method method of the request being authenticated
362 private AuthorizationHeader getAuthorization(String method, String uri, String requestBody, argument
376 method, uri, requestBody, qop,sipStack.getStackLogger());// jvb changed
H A DMessageDigestAlgorithm.java26 * @param method the SIP method of the request being challenged.
40 String method, String digest_uri_value, String entity_body, String qop_value,
45 + nc_value + ", " + cnonce_value + ", " + method + ", " + digest_uri_value
49 if (hashUserNameRealmPasswd == null || method == null
65 A2 = method + ":" + digest_uri_value;
69 A2 = method + ":" + digest_uri_value + ":" + H(entity_body);
103 * @param method the SIP method of the request being challenged.
116 String method, Strin
38 calculateResponse(String algorithm, String hashUserNameRealmPasswd, String nonce_value, String nc_value, String cnonce_value, String method, String digest_uri_value, String entity_body, String qop_value, StackLogger stackLogger) argument
114 calculateResponse(String algorithm, String username_value, String realm_value, String passwd, String nonce_value, String nc_value, String cnonce_value, String method, String digest_uri_value, String entity_body, String qop_value, StackLogger stackLogger) argument
[all...]
/external/nist-sip/java/gov/nist/javax/sip/header/
H A DCSeq.java59 * method field
61 protected String method; field in class:CSeq
71 * Constructor given the sequence number and method.
74 * @param method is the method string.
76 public CSeq(long seqno, String method) { argument
79 this.method = SIPRequest.getCannonicalName(method);
116 return buffer.append(seqno).append(SP).append(method.toUpperCase());
120 * Get the method
[all...]
H A DRAck.java54 protected String method; field in class:RAck
70 cSeqNumber).append(SP).append(method).toString();
94 * Gets the method of RAckHeader
96 * @return method of RAckHeader
99 return this.method;
120 public void setMethod(String method) throws ParseException { argument
121 this.method = method;
H A DRequestLine.java53 /** method field.
55 protected String method; field in class:RequestLine
77 if (method != null) {
78 buffer.append(method);
97 /** Constructor given the request URI and the method.
99 public RequestLine(GenericURI requestURI, String method) { argument
101 this.method = method;
109 return method;
129 public void setMethod(String method) { argument
[all...]
/external/nist-sip/java/javax/sip/message/
H A DMessageFactory.java16 Request createRequest(URI requestURI, String method, CallIdHeader callId, argument
21 Request createRequest(URI requestURI, String method, CallIdHeader callId, argument
26 Request createRequest(URI requestURI, String method, CallIdHeader callId, argument
H A DRequest.java24 void setMethod(String method) throws ParseException; argument

Completed in 5176 milliseconds

<<11121314151617181920>>