HomeSort by relevance Sort by last modified time
    Searched refs:method (Results 26 - 50 of 6654) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/dbus/test/name-test/
test-pending-call-dispatch.c 21 DBusMessage *method; local
26 method = dbus_message_new_method_call ("org.freedesktop.DBus.TestSuiteEchoService",
31 dbus_message_append_args (method, DBUS_TYPE_STRING, &echo, NULL);
32 dbus_connection_send_with_reply (conn, method, &echo_pending, -1);
33 dbus_message_unref (method);
36 method = dbus_message_new_method_call (DBUS_SERVICE_DBUS,
41 dbus_connection_send_with_reply (conn, method, &dbus_pending, -1);
42 dbus_message_unref (method);
81 DBusMessage *method; local
115 method = dbus_message_new_method_call ("org.freedesktop.TestSuiteEchoService"
    [all...]
  /external/proguard/src/proguard/optimize/info/
BackwardBranchMarker.java 41 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {}
44 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction)
46 markBackwardBranch(method, branchInstruction.branchOffset);
50 public void visitAnySwitchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SwitchInstruction switchInstruction)
52 markBackwardBranch(method, switchInstruction.defaultOffset);
56 markBackwardBranch(method, switchInstruction.jumpOffsets[index]);
64 * Marks the given method if the given branch offset is negative
    [all...]
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);
NoSideEffectMethodMarker.java 66 private static void markNoSideEffects(Method method)
68 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method);
75 MethodLinker.lastMember(method).setVisitorInfo(KEPT_BUT_NO_SIDE_EFFECTS);
80 public static boolean hasNoSideEffects(Method method)
82 if (MethodLinker.lastVisitorAccepter(method).getVisitorInfo() == KEPT_BUT_NO_SIDE_EFFECTS)
87 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method);
  /external/protobuf/java/src/main/java/com/google/protobuf/
BlockingService.java 51 Message callBlockingMethod(Descriptors.MethodDescriptor method,
58 Message getRequestPrototype(Descriptors.MethodDescriptor method);
63 Message getResponsePrototype(Descriptors.MethodDescriptor method);
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,
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, request, callback)
    [all...]
  /dalvik/dexgen/src/com/android/dexgen/dex/file/
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,
44 if (method == null) {
45 throw new NullPointerException("method == null");
52 this.method = method;
    [all...]
  /dalvik/dx/src/com/android/dx/dex/file/
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,
44 if (method == null) {
45 throw new NullPointerException("method == null");
52 this.method = method;
    [all...]
  /external/dexmaker/src/dx/java/com/android/dx/dex/file/
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,
44 if (method == null) {
45 throw new NullPointerException("method == null");
52 this.method = method;
    [all...]
  /libcore/luni/src/test/java/tests/api/java/lang/reflect/
WildcardTypeTest.java 20 import java.lang.reflect.Method;
55 * @param method the declaring method
57 private void checkBoundedTypeParameter(Method method) {
58 TypeVariable<Method> typeParameter = getTypeParameter(method);
60 assertEquals(method, typeParameter.getGenericDeclaration());
68 private void checkLowerBoundedParameter(Method method) {
125 Method method = clazz.getMethod("upperBoundedParamNoReturn", BoundedWildcardsGenericMethods.class); local
131 Method method = clazz.getMethod("lowerBoundedParamReturn", BoundedWildcardsGenericMethods.class); local
138 Method method = clazz.getMethod("upperBoundedParamReturn", BoundedWildcardsGenericMethods.class); local
145 Method method = clazz.getMethod("lowerBoundedParamNoReturn", BoundedWildcardsGenericMethods.class); local
    [all...]
  /dalvik/dx/src/com/android/dx/cf/attrib/
AttEnclosingMethod.java 33 /** {@code null-ok;} the name-and-type of the innermost enclosing method, if any */
34 private final CstNat method; field in class:AttEnclosingMethod
40 * @param method {@code null-ok;} the name-and-type of the innermost enclosing
41 * method, if any
43 public AttEnclosingMethod(CstType type, CstNat method) {
51 this.method = method;
69 * Gets the name-and-type of the innermost enclosing method, if
73 * method, if any
76 return method;
    [all...]
  /external/guava/guava/src/com/google/common/eventbus/
AnnotatedHandlerFinder.java 21 import java.lang.reflect.Method;
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}
    [all...]
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...]
  /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);
  /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/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...]
  /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/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...]

Completed in 399 milliseconds

12 3 4 5 6 7 8 91011>>