Searched refs:method (Results 226 - 250 of 1980) sorted by relevance

1234567891011>>

/external/proguard/src/proguard/classfile/attribute/preverification/
H A DObjectType.java63 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) argument
65 verificationTypeVisitor.visitObjectType(clazz, method, codeAttribute, instructionOffset, this);
69 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) argument
71 verificationTypeVisitor.visitStackObjectType(clazz, method, codeAttribute, instructionOffset, stackIndex, this);
75 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) argument
77 verificationTypeVisitor.visitVariablesObjectType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
H A DUninitializedType.java62 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) argument
64 verificationTypeVisitor.visitUninitializedType(clazz, method, codeAttribute, instructionOffset, this);
68 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) argument
70 verificationTypeVisitor.visitStackUninitializedType(clazz, method, codeAttribute, instructionOffset, stackIndex, this);
74 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) argument
76 verificationTypeVisitor.visitVariablesUninitializedType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
/external/proguard/src/proguard/optimize/info/
H A DMethodInvocationMarker.java46 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {} argument
49 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) argument
62 // Mark the referenced method, if any.
69 // Mark the referenced method.
87 private static void incrementInvocationCount(Method method) argument
89 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method);
98 * Returns the number of times the given method was invoked by the
101 public static int getInvocationCount(Method method) argument
103 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method);
H A DExceptionInstructionChecker.java45 * Returns whether the specified method may throw exceptions.
48 Method method,
52 method,
63 Method method,
79 method,
99 Method method,
106 method,
117 Method method,
126 // instruction.accept(clazz, method, codeAttribute, offset, this);
134 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribut argument
47 mayThrowExceptions(Clazz clazz, Method method, CodeAttribute codeAttribute) argument
62 mayThrowExceptions(Clazz clazz, Method method, CodeAttribute codeAttribute, int startOffset, int endOffset) argument
98 mayThrowExceptions(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset) argument
116 mayThrowExceptions(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) argument
137 visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) argument
177 visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) argument
[all...]
/external/protobuf/src/google/protobuf/compiler/cpp/
H A Dcpp_service.cc93 "void CallMethod(const ::google::protobuf::MethodDescriptor* method,\n"
99 " const ::google::protobuf::MethodDescriptor* method) const;\n"
101 " const ::google::protobuf::MethodDescriptor* method) const;\n");
145 const MethodDescriptor* method = descriptor_->method(i); local
147 sub_vars["name"] = method->name();
148 sub_vars["input_type"] = ClassName(method->input_type(), true);
149 sub_vars["output_type"] = ClassName(method->output_type(), true);
214 const MethodDescriptor* method = descriptor_->method( local
245 const MethodDescriptor* method = descriptor_->method(i); local
288 const MethodDescriptor* method = descriptor_->method(i); local
312 const MethodDescriptor* method = descriptor_->method(i); local
[all...]
/external/testng/src/main/java/org/testng/internal/
H A DRegexpExpectedExceptionsHolder.java19 private final ITestNGMethod method; field in class:RegexpExpectedExceptionsHolder
21 public RegexpExpectedExceptionsHolder(IAnnotationFinder finder, ITestNGMethod method) { argument
23 this.method = method;
51 finder.findAnnotation(method, IExpectedExceptionsAnnotation.class);
58 ITestAnnotation testAnnotation = finder.findAnnotation(method, ITestAnnotation.class);
/external/testng/src/test/java/org/testng/internal/invokers/
H A DInvokedMethodListenerSubtypeTest.java36 public void beforeInvocation(IInvokedMethod method, ITestResult testResult) { argument
39 public void afterInvocation(IInvokedMethod method, ITestResult testResult) { argument
45 public void beforeInvocation(IInvokedMethod method, ITestResult testResult, argument
49 public void afterInvocation(IInvokedMethod method, ITestResult testResult, argument
53 public void beforeInvocation(IInvokedMethod method, ITestResult testResult) { argument
56 public void afterInvocation(IInvokedMethod method, ITestResult testResult) { argument
/external/testng/src/test/java/test/
H A DInvokedMethodNameListener.java20 public void beforeInvocation(IInvokedMethod method, ITestResult testResult) { argument
21 invokedMethodNames.add(method.getTestMethod().getConstructorOrMethod().getName());
25 public void afterInvocation(IInvokedMethod method, ITestResult testResult) { argument
28 failedMethodNames.add(method.getTestMethod().getConstructorOrMethod().getName());
31 skippedMethodNames.add(method.getTestMethod().getConstructorOrMethod().getName());
34 succeedMethodNames.add(method.getTestMethod().getConstructorOrMethod().getName());
/external/vogar/src/vogar/target/junit/
H A DApplyGlobalRulesBlockJUnit4ClassRunner.java42 protected void runChild(final FrameworkMethod method, RunNotifier notifier) { argument
45 Description description = describeChild(method);
46 if (method.getAnnotation(Ignore.class) != null) {
49 ParentRunnerHelper.abortingRunLeaf(methodBlock(method), description, notifier);
54 protected Statement methodBlock(FrameworkMethod method) { argument
56 Statement statement = super.methodBlock(method);
/external/guava/guava-tests/test/com/google/common/collect/
H A DForwardingTestCase.java62 * This invocation handler only registers that a method was called,
67 public Object invoke(Object proxy, Method method, Object[] args)
69 called(asString(method));
71 return getDefaultValue(method.getReturnType());
82 * Returns string representation of a method.
84 * If the method takes no parameters, it returns the name (e.g.
85 * "isEmpty". If the method takes parameters, it returns the simple names
88 private String asString(Method method) { argument
89 String methodName = method.getName();
90 Class<?>[] parameterTypes = method
[all...]
/external/flatbuffers/grpc/src/compiler/
H A Dcpp_generator.cc158 grpc_generator::Printer *printer, const grpc_generator::Method *method,
160 (*vars)["Method"] = method->name();
161 (*vars)["Request"] = method->input_type_name();
162 (*vars)["Response"] = method->output_type_name();
165 if (method->NoStreaming()) {
183 } else if (method->ClientOnlyStreaming()) {
209 } else if (method->ServerOnlyStreaming()) {
235 } else if (method->BidiStreaming()) {
264 if (method->NoStreaming()) {
271 } else if (method
157 PrintHeaderClientMethodInterfaces( grpc_generator::Printer *printer, const grpc_generator::Method *method, std::map<grpc::string, grpc::string> *vars, bool is_public) argument
307 PrintHeaderClientMethod(grpc_generator::Printer *printer, const grpc_generator::Method *method, std::map<grpc::string, grpc::string> *vars, bool is_public) argument
449 PrintHeaderClientMethodData(grpc_generator::Printer *printer, const grpc_generator::Method *method, std::map<grpc::string, grpc::string> *vars) argument
455 PrintHeaderServerMethodSync(grpc_generator::Printer *printer, const grpc_generator::Method *method, std::map<grpc::string, grpc::string> *vars) argument
486 PrintHeaderServerMethodAsync( grpc_generator::Printer *printer, const grpc_generator::Method *method, std::map<grpc::string, grpc::string> *vars) argument
602 PrintHeaderServerMethodGeneric( grpc_generator::Printer *printer, const grpc_generator::Method *method, std::map<grpc::string, grpc::string> *vars) argument
884 PrintSourceClientMethod(grpc_generator::Printer *printer, const grpc_generator::Method *method, std::map<grpc::string, grpc::string> *vars) argument
985 PrintSourceServerMethod(grpc_generator::Printer *printer, const grpc_generator::Method *method, std::map<grpc::string, grpc::string> *vars) argument
1071 auto method = service->method(i); local
1102 auto method = service->method(i); local
[all...]
/external/smali/smalidea/src/main/java/org/jf/smalidea/debugging/value/
H A DLazyValue.java53 private final SmaliMethod method; field in class:LazyValue
59 public LazyValue(SmaliMethod method, Project project, int registerNumber, String type) { argument
60 this.method = method;
66 public static LazyValue create(@Nonnull SmaliMethod method, @Nonnull Project project, int registerNumber, argument
69 return new LazyByteValue(method, project, registerNumber, type);
71 return new LazyShortValue(method, project, registerNumber, type);
73 return new LazyLongValue(method, project, registerNumber, type);
75 return new LazyIntegerValue(method, project, registerNumber, type);
77 return new LazyFloatValue(method, projec
[all...]
/external/guice/core/src/com/google/inject/internal/
H A DProviderMethodsModule.java48 * binding annotations on the provider method to configure the binding.
132 for (Method method : c.getDeclaredMethods()) {
138 if (((method.getModifiers() & (Modifier.PRIVATE | Modifier.STATIC)) == 0)
139 && !method.isBridge() && !method.isSynthetic()) {
140 methodsBySignature.put(new Signature(method), method);
142 Optional<Annotation> annotation = isProvider(binder, method);
144 result.add(createProviderMethod(binder, method, annotation.get()));
150 // assuming that every method i
181 isProvider(Binder binder, Method method) argument
206 Signature(Method method) argument
249 createProviderMethod(Binder binder, Method method, Annotation annotation) argument
[all...]
H A DSingleMethodInjector.java28 * Invokes an injectable method.
38 final Method method = (Method) injectionPoint.getMember();
39 methodInvoker = createMethodInvoker(method);
43 private MethodInvoker createMethodInvoker(final Method method) { argument
45 // We can't use FastMethod if the method is private.
46 int modifiers = method.getModifiers();
51 = BytecodeGen.newFastClass(method.getDeclaringClass(), Visibility.forMember(method))
52 .getMethod(method);
65 !Modifier.isPublic(method
[all...]
H A DProviderMethod.java46 * A provider that invokes a method and returns its result.
57 * {@link net.sf.cglib.reflect.FastClass} to invoke the actual method, since it is significantly
58 * faster. However, this will fail if the method is {@code private} or {@code protected}, since
61 static <T> ProviderMethod<T> create(Key<T> key, Method method, Object instance, argument
65 int modifiers = method.getModifiers();
72 method,
83 !Modifier.isPublic(method.getDeclaringClass().getModifiers())) {
84 method.setAccessible(true);
88 method,
97 protected final Method method; field in class:ProviderMethod
109 ProviderMethod(Key<T> key, Method method, Object instance, ImmutableSet<Dependency<?>> dependencies, List<Provider<?>> parameterProviders, Class<? extends Annotation> scopeAnnotation, Annotation annotation) argument
241 FastClassProviderMethod(Key<T> key, Method method, Object instance, ImmutableSet<Dependency<?>> dependencies, List<Provider<?>> parameterProviders, Class<? extends Annotation> scopeAnnotation, Annotation annotation) argument
281 ReflectionProviderMethod(Key<T> key, Method method, Object instance, ImmutableSet<Dependency<?>> dependencies, List<Provider<?>> parameterProviders, Class<? extends Annotation> scopeAnnotation, Annotation annotation) argument
[all...]
/external/apache-http/src/org/apache/http/impl/client/
H A DRequestWrapper.java70 private String method; field in class:RequestWrapper
84 this.method = ((HttpUriRequest) request).getMethod();
94 this.method = requestLine.getMethod();
107 return this.method;
110 public void setMethod(final String method) { argument
111 if (method == null) {
114 this.method = method;
139 String method = getMethod();
148 return new BasicRequestLine(method, uritex
[all...]
/external/autotest/client/site_tests/network_ShillInitScripts/
H A Dmock_flimflam.py16 MethodCall = collections.namedtuple("MethodCall", ["method", "argument"])
20 object are called whenever a DBus RPC method is invoked. """
26 @dbus.service.method('org.chromium.flimflam.Manager',
38 @dbus.service.method('org.chromium.flimflam.Manager',
49 @dbus.service.method('org.chromium.flimflam.Manager',
61 @dbus.service.method('org.chromium.flimflam.Manager',
74 @dbus.service.method('org.chromium.flimflam.Manager',
85 @dbus.service.method('org.chromium.flimflam.Manager',
92 def add_method_call(self, method, arg):
93 """ Note that a method cal
[all...]
/external/proguard/src/proguard/classfile/attribute/visitor/
H A DMultiAttributeVisitor.java187 public void visitDeprecatedAttribute(Clazz clazz, Method method, DeprecatedAttribute deprecatedAttribute) argument
191 attributeVisitors[index].visitDeprecatedAttribute(clazz, method, deprecatedAttribute);
196 public void visitSyntheticAttribute(Clazz clazz, Method method, SyntheticAttribute syntheticAttribute) argument
200 attributeVisitors[index].visitSyntheticAttribute(clazz, method, syntheticAttribute);
205 public void visitSignatureAttribute(Clazz clazz, Method method, SignatureAttribute syntheticAttribute) argument
209 attributeVisitors[index].visitSignatureAttribute(clazz, method, syntheticAttribute);
223 public void visitMethodParametersAttribute(Clazz clazz, Method method, MethodParametersAttribute methodParametersAttribute) argument
227 attributeVisitors[index].visitMethodParametersAttribute(clazz, method, methodParametersAttribute);
232 public void visitExceptionsAttribute(Clazz clazz, Method method, ExceptionsAttribute exceptionsAttribute) argument
236 attributeVisitors[index].visitExceptionsAttribute(clazz, method, exceptionsAttribut
241 visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) argument
250 visitStackMapAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, StackMapAttribute stackMapAttribute) argument
259 visitStackMapTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, StackMapTableAttribute stackMapTableAttribute) argument
268 visitLineNumberTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LineNumberTableAttribute lineNumberTableAttribute) argument
277 visitLocalVariableTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTableAttribute localVariableTableAttribute) argument
286 visitLocalVariableTypeTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTypeTableAttribute localVariableTypeTableAttribute) argument
331 visitRuntimeVisibleAnnotationsAttribute(Clazz clazz, Method method, RuntimeVisibleAnnotationsAttribute runtimeVisibleAnnotationsAttribute) argument
340 visitRuntimeInvisibleAnnotationsAttribute(Clazz clazz, Method method, RuntimeInvisibleAnnotationsAttribute runtimeInvisibleAnnotationsAttribute) argument
349 visitRuntimeVisibleParameterAnnotationsAttribute(Clazz clazz, Method method, RuntimeVisibleParameterAnnotationsAttribute runtimeVisibleParameterAnnotationsAttribute) argument
358 visitRuntimeInvisibleParameterAnnotationsAttribute(Clazz clazz, Method method, RuntimeInvisibleParameterAnnotationsAttribute runtimeInvisibleParameterAnnotationsAttribute) argument
385 visitRuntimeVisibleTypeAnnotationsAttribute(Clazz clazz, Method method, RuntimeVisibleTypeAnnotationsAttribute runtimeVisibleTypeAnnotationsAttribute) argument
394 visitRuntimeVisibleTypeAnnotationsAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, RuntimeVisibleTypeAnnotationsAttribute runtimeVisibleTypeAnnotationsAttribute) argument
421 visitRuntimeInvisibleTypeAnnotationsAttribute(Clazz clazz, Method method, RuntimeInvisibleTypeAnnotationsAttribute runtimeInvisibleTypeAnnotationsAttribute) argument
430 visitRuntimeInvisibleTypeAnnotationsAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, RuntimeInvisibleTypeAnnotationsAttribute runtimeInvisibleTypeAnnotationsAttribute) argument
439 visitAnnotationDefaultAttribute(Clazz clazz, Method method, AnnotationDefaultAttribute annotationDefaultAttribute) argument
[all...]
/external/proguard/src/proguard/optimize/evaluation/
H A DStoringInvocationUnit.java121 Method method,
126 generalizeMethodReturnValue(method, value);
171 private static void generalizeMethodParameterValue(Method method, int parameterIndex, Value value) argument
173 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method);
181 public static Value getMethodParameterValue(Method method, int parameterIndex) argument
183 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method);
190 private static void generalizeMethodReturnValue(Method method, Value value) argument
192 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method);
200 public static Value getMethodReturnValue(Method method) argument
202 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method);
120 setMethodReturnValue(Clazz clazz, Method method, Value value) argument
[all...]
/external/ltp/include/old/
H A Dtlibio.h98 * This bit provides a way to randomly pick an io type and wait method.
100 * lio_random_methods() with the given method.
108 * method is LIO_WAIT_SIGPAUSE or LIO_WAIT_SIGACTIVE.
128 int lio_write_buffer(int fd, int method, char *buffer, int size,
131 int lio_read_buffer(int fd, int method, char *buffer, int size,
137 int lio_wait4asyncio(int method, int fd, struct iosw **statptr);
142 int lio_wait4asyncio(int method, int fd, aiocb_t *aiocbp);
143 int lio_check_asyncio(char *io_type, int size, aiocb_t *aiocbp, int method);
147 int lio_wait4asyncio(int method, int fd, struct aiocb *aiocbp);
148 int lio_check_asyncio(char *io_type, int size, struct aiocb *aiocbp, int method);
[all...]
/external/libchrome/dbus/
H A Ddbus_statistics.cc22 // then method (using std::string <).
26 const std::string& method)
29 method(method),
36 std::string method; member in struct:dbus::__anon10146::Stat
46 return method < other.method;
82 // Add a call to |method| for |interface|. See also MethodCall in message.h.
85 const std::string& method,
92 Stat* stat = GetStat(service, interface, method, tru
24 Stat(const std::string& service, const std::string& interface, const std::string& method) argument
83 AddStat(const std::string& service, const std::string& interface, const std::string& method, StatType type) argument
106 GetStat(const std::string& service, const std::string& interface, const std::string& method, bool add_stat) argument
151 AddSentMethodCall(const std::string& service, const std::string& interface, const std::string& method) argument
160 AddReceivedSignal(const std::string& service, const std::string& interface, const std::string& method) argument
169 AddBlockingSentMethodCall(const std::string& service, const std::string& interface, const std::string& method) argument
264 GetCalls(const std::string& service, const std::string& interface, const std::string& method, int* sent, int* received, int* blocking) argument
[all...]
/external/mockito/src/test/java/org/mockito/internal/stubbing/answers/
H A DReturnsArgumentAtTest.java46 new ReturnsArgumentAt(1).validateFor(new InvocationBuilder().method("varargsReturningString")
53 new ReturnsArgumentAt(0).validateFor(new InvocationBuilder().method("oneArray")
60 new ReturnsArgumentAt(0).validateFor(new InvocationBuilder().method("mixedVarargsReturningString")
70 new ReturnsArgumentAt(1).validateFor(new InvocationBuilder().method("mixedVarargsReturningString")
78 Invocation mixedVarargsReturningStringArray = new InvocationBuilder().method("mixedVarargsReturningStringArray")
85 Invocation mixedVarargsReturningObjectArray = new InvocationBuilder().method("mixedVarargsReturningStringArray")
109 new InvocationBuilder().method("intArgumentReturningInt")
115 new InvocationBuilder().method("toString")
121 new InvocationBuilder().method("varargsObject")
127 new InvocationBuilder().method("threeArgumentMetho
[all...]
/external/javassist/src/main/javassist/bytecode/analysis/
H A DFramePrinter.java33 * instructions of a method.
64 private String getMethodString(CtMethod method) { argument
66 return Modifier.toString(method.getModifiers()) + " "
67 + method.getReturnType().getName() + " " + method.getName()
68 + Descriptor.toString(method.getSignature()) + ";";
75 * Prints the instructions and the frame states of the given method.
77 public void print(CtMethod method) { argument
78 stream.println("\n" + getMethodString(method));
79 MethodInfo info = method
[all...]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
H A DMethodUtil.java60 public static boolean isDirect(@Nonnull Method method) { argument
61 return (method.getAccessFlags() & directMask) != 0;
64 public static boolean isStatic(@Nonnull Method method) { argument
65 return AccessFlags.STATIC.isSet(method.getAccessFlags());
72 public static boolean isPackagePrivate(@Nonnull Method method) { argument
73 return (method.getAccessFlags() & (AccessFlags.PRIVATE.getValue() |
78 public static int getParameterRegisterCount(@Nonnull Method method) { argument
79 return getParameterRegisterCount(method, MethodUtil.isStatic(method));
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/util/
H A DAsyncHttpURLConnection.java27 private final String method; field in class:AsyncHttpURLConnection
41 public AsyncHttpURLConnection(String method, String url, String message, argument
43 this.method = method;
70 connection.setRequestMethod(method);
78 if (method.equals("POST")) {
99 events.onHttpError("Non-200 response to " + method + " to URL: "
110 events.onHttpError("HTTP " + method + " to " + url + " timeout");
112 events.onHttpError("HTTP " + method + " to " + url + " error: "

Completed in 590 milliseconds

1234567891011>>