HomeSort by relevance Sort by last modified time
    Searched refs:method (Results 51 - 75 of 5465) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/guava/guava/src/com/google/common/eventbus/
EventHandler.java 21 import java.lang.reflect.Method;
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}
    [all...]
  /external/libvpx/libvpx/test/
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 == 6)
84 << " method: " << method; local
    [all...]
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
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 == 6)
84 << " method: " << method; local
    [all...]
  /cts/tests/tests/text/src/android/text/method/cts/
SingleLineTransformationMethodTest.java 17 package android.text.method.cts;
21 import android.text.method.SingleLineTransformationMethod;
47 MySingleLineTranformationMethod method = new MySingleLineTranformationMethod(); local
48 TextMethodUtils.assertEquals(new char[] { ' ', '\uFEFF' }, method.getReplacement());
49 TextMethodUtils.assertEquals(new char[] { '\n', '\r' }, method.getOriginal());
53 SingleLineTransformationMethod method = SingleLineTransformationMethod.getInstance(); local
54 CharSequence result = method.getTransformation("hello\nworld\r", null);
KeyListenerCtsActivity.java 17 package android.text.method.cts;
24 import android.text.method.BaseKeyListener;
25 import android.text.method.DateKeyListener;
26 import android.text.method.DateTimeKeyListener;
27 import android.text.method.DigitsKeyListener;
28 import android.text.method.MultiTapKeyListener;
29 import android.text.method.NumberKeyListener;
30 import android.text.method.QwertyKeyListener;
31 import android.text.method.TextKeyListener;
32 import android.text.method.TimeKeyListener
    [all...]
  /external/hamcrest/library/src/org/hamcrest/
TypeSafeMatcher.java 3 import java.lang.reflect.Method;
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) {
38 return method.getName().equals("matchesSafely")
39 && method.getParameterTypes().length ==
    [all...]
  /external/junit/src/org/junit/internal/matchers/
TypeSafeMatcher.java 3 import java.lang.reflect.Method;
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) {
40 return method.getName().equals("matchesSafely")
41 && method.getParameterTypes().length ==
    [all...]
  /external/chromium_org/third_party/WebKit/Source/bindings/templates/
callback_interface.cpp 28 {% for method in methods if not method.custom %}
29 {{method.cpp_type}} {{v8_class}}::{{method.name}}({{method.argument_declarations | join(', ')}})
32 if method.idl_type == 'boolean' else 'return' %}{# void #}
41 {% if method.call_with_this_handle %}
49 {% for argument in method.arguments %}
57 {% if method.arguments %}
58 v8::Handle<v8::Value> argv[] = { {{method.arguments | join(', ', 'handle')}} }
    [all...]
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
PoolMethod.java 37 import org.jf.dexlib2.iface.Method;
47 class PoolMethod extends BaseMethodReference implements Method {
48 @Nonnull private final Method method; field in class:PoolMethod
52 public static final Function<Method, PoolMethod> TRANSFORM = new Function<Method, PoolMethod>() {
53 @Override public PoolMethod apply(Method method) {
54 return new PoolMethod(method);
58 PoolMethod(@Nonnull Method method)
    [all...]
  /external/proguard/src/proguard/classfile/attribute/preverification/visitor/
VerificationTypeVisitor.java 36 public void visitIntegerType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, IntegerType integerType);
37 public void visitFloatType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, FloatType floatType);
38 public void visitLongType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, LongType longType);
39 public void visitDoubleType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, DoubleType doubleType);
40 public void visitTopType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, TopType topType)
    [all...]
  /frameworks/base/tools/aidl/
aidl_language_y.y 197 p->next = (interface_item_type*)$2.method;
200 $$.interface_item = (interface_item_type*)$2.method;
204 fprintf(stderr, "%s:%d: syntax error before ';' (expected method declaration)\n",
212 method_type *method = (method_type*)malloc(sizeof(method_type));
213 method->interface_item.item_type = METHOD_TYPE;
214 method->interface_item.next = NULL;
215 method->oneway = false;
216 method->type = $1.type;
217 memset(&method->oneway_token, 0, sizeof(buffer_type));
218 method->name = $2.buffer
    [all...]
  /external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/
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.get_parameter_value('y')
    [all...]
  /external/chromium_org/third_party/WebKit/Source/bindings/scripts/
v8_methods.py 43 # Methods with any of these require custom method registration code in the
70 def generate_method(interface, method):
71 arguments = method.arguments
72 extended_attributes = method.extended_attributes
73 idl_type = method.idl_type
74 is_static = method.is_static
75 name = method.name
78 this_cpp_value = cpp_value(interface, method, len(arguments))
87 is_call_with_script_arguments = has_extended_attribute_value(method, 'CallWith', 'ScriptArguments')
91 is_call_with_script_state = has_extended_attribute_value(method, 'CallWith', 'ScriptState'
    [all...]
  /external/apache-http/src/org/apache/http/message/
BasicRequestLine.java 39 * It contains the method, URI, and HTTP version of the request.
53 private final String method; field in class:BasicRequestLine
56 public BasicRequestLine(final String method,
60 if (method == null) {
62 ("Method must not be null.");
72 this.method = method;
78 return this.method;
  /external/chromium_org/third_party/WebKit/Source/platform/exported/
WebServiceWorkerRequest.cpp 13 WebString method; member in class:blink::WebServiceWorkerRequestPrivate
42 void WebServiceWorkerRequest::setMethod(const WebString& method)
44 m_private->method = method;
47 WebString WebServiceWorkerRequest::method() const function in class:blink::WebServiceWorkerRequest
49 return m_private->method;
  /external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/
DeprecatedFieldTest.java 38 import java.lang.reflect.Method;
61 Method method = deprecatedFields.getMethod(name); local
62 assertTrue("Method " + name + " should be deprecated",
63 isDeprecated(method));
66 Method method = deprecatedFieldsBuilder.getMethod(name); local
67 assertTrue("Method " + name + " should be deprecated",
68 isDeprecated(method));
71 Method method = deprecatedFieldsBuilder.getMethod(name, int.class) local
    [all...]
  /external/proguard/src/proguard/classfile/attribute/preverification/
DoubleType.java 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor)
44 verificationTypeVisitor.visitDoubleType(clazz, method, codeAttribute, instructionOffset, this);
48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor)
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)
56 verificationTypeVisitor.visitVariablesDoubleType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
FloatType.java 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor)
44 verificationTypeVisitor.visitFloatType(clazz, method, codeAttribute, instructionOffset, this);
48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor)
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)
56 verificationTypeVisitor.visitVariablesFloatType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
IntegerType.java 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor)
44 verificationTypeVisitor.visitIntegerType(clazz, method, codeAttribute, instructionOffset, this);
48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor)
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)
56 verificationTypeVisitor.visitVariablesIntegerType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
LongType.java 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor)
44 verificationTypeVisitor.visitLongType(clazz, method, codeAttribute, instructionOffset, this);
48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor)
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)
56 verificationTypeVisitor.visitVariablesLongType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
NullType.java 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor)
44 verificationTypeVisitor.visitNullType(clazz, method, codeAttribute, instructionOffset, this);
48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor)
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)
56 verificationTypeVisitor.visitVariablesNullType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
TopType.java 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor)
44 verificationTypeVisitor.visitTopType(clazz, method, codeAttribute, instructionOffset, this);
48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor)
50 verificationTypeVisitor.visitStackTopType(clazz, method, codeAttribute, instructionOffset, stackIndex, this);
54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor)
56 verificationTypeVisitor.visitVariablesTopType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
UninitializedThisType.java 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor)
44 verificationTypeVisitor.visitUninitializedThisType(clazz, method, codeAttribute, instructionOffset, this);
48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor)
50 verificationTypeVisitor.visitStackUninitializedThisType(clazz, method, codeAttribute, instructionOffset, stackIndex, this);
54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor)
56 verificationTypeVisitor.visitVariablesUninitializedThisType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
  /external/proguard/src/proguard/classfile/instruction/visitor/
InstructionVisitor.java 36 public void visitSimpleInstruction( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction);
37 public void visitVariableInstruction( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction);
38 public void visitConstantInstruction( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction);
39 public void visitBranchInstruction( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction);
40 public void visitTableSwitchInstruction( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, TableSwitchInstruction tableSwitchInstruction)
    [all...]
  /external/proguard/src/proguard/optimize/info/
CatchExceptionMarker.java 42 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute)
46 markCatchException(method);
53 private static void markCatchException(Method method)
55 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method);
63 public static boolean catchesExceptions(Method method)
65 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method);

Completed in 1362 milliseconds

1 23 4 5 6 7 8 91011>>