/external/dexmaker/src/main/java/com/google/dexmaker/ |
DexMaker.java | 105 * <p>To make it easier to go from our Java method to dex instructions, we'll 125 * <p>We look up the {@code MethodId} for the method on the declaring type. This 126 * takes the method's return type (possibly {@link TypeId#VOID}), its name and 127 * its parameters types. Next we declare the method, specifying its modifiers by 129 * call returns a {@link Code} object, which we'll use to define the method's 138 * Code#newLocal newLocal()} to create a new local variable. The method's 142 * variables that we'll need for our {@code fib()} method: <pre> {@code 161 * <p>We're ready to start defining our method's instructions. The {@link Code} 190 * loader and invoke its {@code fib()} method: <pre> {@code 193 * Method fibMethod = fibonacciClass.getMethod("fib", int.class) 520 final MethodId<?, ?> method; field in class:DexMaker.MethodDeclaration [all...] |
/external/eigen/Eigen/src/SPQRSupport/ |
SuiteSparseQRSupport.h | 147 eigen_assert(b.cols()==1 && "This method is for vectors only"); 197 /// Set the fill-reducing ordering method to be used 222 int m_ordering; // Ordering method to use, see SPQR's manual 252 int method = m_transpose ? SPQR_QTX : SPQR_QX; local 255 x_cd = SuiteSparseQR_qmult<Scalar>(method, m_spqr.m_H, m_spqr.m_HTau, m_spqr.m_HPinv, &y_cd, cc);
|
/external/emma/core/java12/com/vladium/emma/report/lcov/ |
ReportGenerator.java | 199 // For each class in the file, for each method in the class, 200 // examine the execution blocks in the method until one with 205 // TODO: Intertwingle method records and line records 228 final MethodItem method = (MethodItem) methods.next(); local 229 String mname = method.getName(); 230 final int methodID = method.getID(); 244 row("FN:" + method.getFirstLine() + "," + className + "::" + mname);
|
/external/emma/core/java12/com/vladium/emma/report/txt/ |
ReportGenerator.java | 264 addTitleRow ("COVERAGE BREAKDOWN BY CLASS AND METHOD", 1, 1); 288 final MethodItem method = (MethodItem) methods.next (); local 290 addItemRow (method, columns); 315 addTitleRow ("COVERAGE BREAKDOWN BY METHOD", 1, 1); 320 final IItem method = (IItem) methods.next (); local 323 addItemRow (method, columns);
|
/external/guava/guava-tests/test/com/google/common/reflect/ |
ElementTest.java | 113 Element element = A.method("abstractMethod"); 121 Element element = A.method("overridableMethod"); 129 Element element = A.method("privateMethod"); 139 Element element = A.method("protectedMethod"); 150 Element element = A.method("publicFinalMethod"); 159 Element element = A.method("nativeMethod"); 165 Element element = A.method("synchronizedMethod"); 170 Element element = A.method("notAnnotatedMethod"); 179 .addEqualityGroup(A.method("privateMethod"), A.method("privateMethod") 233 static Element method(String name, Class<?>... parameterTypes) throws Exception { method in class:ElementTest.A [all...] |
/external/javassist/src/main/javassist/bytecode/ |
ClassFileWriter.java | 110 * Returns a method writer. 309 * Method. 334 * Starts Adding a new method. 337 * @param name the method name. 338 * @param descriptor the method signature. 358 * Starts adding a new method. 361 * @param name the method name. an index indicating its <code>CONSTANT_Utf8_info</code>. 439 int method = constPool.addMethodrefInfo(target, nt); local 441 add16(method); 460 * <code>Code_attribute</code>. This method is availabl [all...] |
/external/jetty/src/java/org/eclipse/jetty/servlets/ |
CrossOriginFilter.java | 99 public static final String ACCESS_CONTROL_REQUEST_METHOD_HEADER = "Access-Control-Request-Method"; 316 String method = request.getMethod(); local 317 if (SIMPLE_HTTP_METHODS.contains(method)) 321 // Here for simplicity I just check if there is a Access-Control-Request-Method header, 330 String method = request.getMethod(); local 331 if (!"OPTIONS".equalsIgnoreCase(method)) 371 LOG.debug("Method {} is" + (result ? "" : " not") + " among allowed methods {}", accessControlRequestMethod, allowedMethods);
|
PutFilter.java | 131 String method = request.getMethod(); local 132 boolean op = _operations.contains(method); 139 if (method.equals(__OPTIONS)) 148 if (method.equals(__PUT)) 150 else if (method.equals(__DELETE)) 152 else if (method.equals(__MOVE))
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/rmi/ |
ObjectStore.java | 42 import java.lang.reflect.Method; 161 ArrayList<Method> methodList = new ArrayList<Method>(); 162 for (Method method : obj.getClass().getMethods()){ 163 if (method.getDeclaringClass() == obj.getClass()){ 164 methodList.add(method); 167 localObj.methods = methodList.toArray(new Method[methodList.size()]); 204 Object invokeRemoteMethod(RemoteObject remoteObj, Method method, Object[] args) 280 Method method = localObj.methods[call.methodId]; local [all...] |
/external/mockito/cglib-and-asm/src/org/mockito/asm/util/ |
CheckClassAdapter.java | 54 * precisely this class adapter checks each method call individually, based
56 * of method calls. For example, the invalid sequence
80 * as JVM does, but it run data flow analysis for the code of each method and
81 * checks that expectations are met for each method instruction.
83 * <p>If method bytecode has errors, assertion text will show the erroneous
84 * instruction number and dump of the failed method with information about
110 * initialized. You can also see that at the beginning of the method (code
122 * <tt>true</tt> if the visit method has been called.
127 * <tt>true</tt> if the visitSource method has been called.
132 * <tt>true</tt> if the visitOuterClass method has been called. 189 MethodNode method = (MethodNode) methods.get(i); local [all...] |
/external/mockito/cglib-and-asm/src/org/mockito/cglib/reflect/ |
FastClassEmitter.java | 117 return ReflectUtils.getSignature((Method)obj).toString(); 133 String s = ReflectUtils.getSignature((Method)obj).toString(); 172 MethodInfo method = (MethodInfo)info.get(key); local 173 Type[] types = method.getSignature().getArgumentTypes(); 179 // TODO: change method lookup process so MethodInfo will already reference base 180 // instead of superclass when superclass method is inaccessible 181 e.invoke(method, base); 182 if (!TypeUtils.isConstructor(method)) { 183 e.box(method.getSignature().getReturnType()); 194 e.throw_exception(ILLEGAL_ARGUMENT_EXCEPTION, "Cannot find matching method/constructor") [all...] |
/external/oauth/core/src/main/java/net/oauth/ |
OAuthMessage.java | 49 public OAuthMessage(String method, String URL, 51 this.method = method; 64 public String method; field in class:OAuthMessage 73 return "OAuthMessage(" + method + ", " + URL + ", " + parameters + ")"; 182 * This method isn't repeatable, since it consumes and closes getBodyAsStream.
|
/external/okhttp/okcurl/src/main/java/com/squareup/okhttp/curl/ |
Main.java | 88 public String method; field in class:Main 191 if (method != null) { 192 return method; 225 request.method(getRequestMethod(), getRequestBody());
|
/external/slf4j/jcl-over-slf4j/src/main/java/org/apache/commons/logging/impl/ |
SimpleLog.java | 22 import java.lang.reflect.Method; 271 * Do the actual logging. This method assembles the message and then calls 627 Method method = Thread.class.getMethod("getContextClassLoader"); local 631 classLoader = (ClassLoader) method.invoke(Thread.currentThread()); 636 * InvocationTargetException is thrown by 'invoke' when the method
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/ |
ClassPool.java | 118 for (PoolMethod method: poolClassDef.getMethods()) { 119 String methodDescriptor = ReferenceUtil.getMethodDescriptor(method, true); 121 throw new ExceptionWithContext("Multiple definitions for method %s->%s", 124 methodPool.intern(method); 125 internCode(method); 126 internDebug(method); 127 annotationSetPool.intern(method.getAnnotations()); 129 for (MethodParameter parameter: method.getParameters()) { 137 private void internCode(@Nonnull Method method) { [all...] |
/frameworks/base/core/java/android/text/method/ |
BaseMovementMethod.java | 17 package android.text.method; 147 * {@link #onKeyDown(TextView, Spannable, int, KeyEvent)} calls this method once 149 * {@link #onKeyOther(TextView, Spannable, KeyEvent)} calls this method repeatedly
|
QwertyKeyListener.java | 17 package android.text.method; 20 import android.text.method.TextKeyListener.Capitalize; 406 * Call this method when you have done or are about to do an
|
/frameworks/base/media/java/android/media/ |
MediaHTTPConnection.java | 219 String method = mConnection.getRequestMethod(); local 221 !method.equals("GET") && !method.equals("HEAD")) {
|
/frameworks/base/tools/aapt/ |
ZipFile.cpp | 465 int method; local 468 scanResult = ZipUtils::examineGzip(inputFp, &method, &uncompressedLen, 470 if (!scanResult || method != ZipEntry::kCompressDeflated) { [all...] |
/frameworks/base/tools/aapt2/ |
ZipFile.cpp | 474 int method; local 477 scanResult = ZipUtils::examineGzip(inputFp, &method, &uncompressedLen, 479 if (!scanResult || method != ZipEntry::kCompressDeflated) { [all...] |
/frameworks/base/tools/aidl/ |
aidl_language.h | 113 method_type* method; member in union:lexer_type
|
/frameworks/multidex/library/src/android/support/multidex/ |
MultiDex.java | 34 import java.lang.reflect.Method; 83 * loaded from the application apk. This method should be called in the 292 * Locates a given method anywhere in the class inheritance hierarchy. 294 * @param instance an object to search the method into. 295 * @param name method name 296 * @param parameterTypes method parameter types 297 * @return a method object 298 * @throws NoSuchMethodException if the method cannot be located 300 private static Method findMethod(Object instance, String name, Class<?>... parameterTypes) 304 Method method = clazz.getDeclaredMethod(name, parameterTypes) local [all...] |
/libcore/dom/src/test/java/org/w3c/domts/ |
XercesHTML2DocumentBuilderFactory.java | 17 import java.lang.reflect.Method; 40 private Method getHTMLDocumentMethod; 68 Method method = local 70 domImpl = (DOMImplementation) method.invoke(null, NO_OBJECTS); 118 private final Method getHTMLDocumentMethod; 123 Method getHTMLDocumentMethod) throws Exception {
|
XercesHTMLDocumentBuilderFactory.java | 17 import java.lang.reflect.Method; 40 private Method getHTMLDocumentMethod; 68 Method method = local 70 domImpl = (DOMImplementation) method.invoke(null, NO_OBJECTS); 118 private final Method getHTMLDocumentMethod; 123 Method getHTMLDocumentMethod) throws Exception {
|
/libcore/luni/src/main/java/java/net/ |
HttpURLConnection.java | 46 * #getInputStream()}. If the response has no body, that method returns an 227 * <p>{@code HttpURLConnection} uses the {@code GET} method by default. It will 285 * The HTTP request method of this {@code HttpURLConnection}. The default 288 protected String method = "GET"; field in class:HttpURLConnection 352 * Numeric status code, 405: Bad Method 597 * Returns the request method which will be used to make the request to the 601 * @return the request method string. 602 * @see #method 606 return method; 670 * This method can only be called before the connection is made [all...] |