/art/compiler/jni/ |
jni_compiler_test.cc | 66 // Compile the native method before starting the runtime 69 ArtMethod* method = direct ? c->FindDirectMethod(method_name, method_sig, pointer_size) : local 71 ASSERT_TRUE(method != nullptr) << method_name << " " << method_sig; 73 method->SetEntryPointFromQuickCompiledCode(class_linker_->GetRuntimeQuickGenericJniStub()); 75 const void* code = method->GetEntryPointFromQuickCompiledCode(); 77 CompileMethod(method); 78 ASSERT_TRUE(method->GetEntryPointFromQuickCompiledCode() != nullptr) 86 // Initialize class loader and compile method when runtime not started. 724 // Check a single call of a JNI method is ok 734 // Call Java_MyClassNatives_throwException (JNI method that throws exception [all...] |
/art/compiler/ |
oat_writer.cc | 261 // The offset is usually advanced for each visited method by the derived class. 409 // Update quick method header. 439 offset_ += sizeof(*method_header); // Method header is prepended before code. 469 // We expect GC maps except when the class hasn't been verified or the method is native. 618 ArtMethod* method = linker->ResolveMethod( local 621 if (method == nullptr) { 622 LOG(ERROR) << "Unexpected failure to resolve a method: " 629 method->SetEntryPointFromQuickCompiledCodePtrSize(reinterpret_cast<void*>(offsets.code_offset_), 687 if (compiled_method != nullptr) { // ie. not an abstract method 725 ReportWriteFailure("method header", it) 752 ArtMethod* method = GetTargetMethod(patch); local 796 ArtMethod* method = dex_cache->GetResolvedMethod( local [all...] |
/art/runtime/ |
dex_file.cc | 580 const DexFile::MethodId& method = GetMethodId(mid); local 581 if (class_idx > method.class_idx_) { 583 } else if (class_idx < method.class_idx_) { 586 if (name_idx > method.name_idx_) { 588 } else if (name_idx < method.name_idx_) { 591 if (proto_idx > method.proto_idx_) { 593 } else if (proto_idx < method.proto_idx_) { 596 return &method; 763 int32_t DexFile::GetLineNumFromPC(ArtMethod* method, uint32_t rel_pc) const { 764 // For native method, lineno should be -2 to indicate it is native. Note tha [all...] |
profiler.cc | 57 // Walk through the method within depth of max_depth_ on the Java stack 97 ArtMethod* method = thread->GetCurrentMethod(nullptr); local 98 if ((false) && method == nullptr) { 99 LOG(INFO) << "No current method available"; 105 profiler->RecordMethod(method); 396 // This is empty right now, but to add a method, do this: 403 bool BackgroundMethodSamplingProfiler::ProcessMethod(ArtMethod* method) { 404 if (method == nullptr) { 406 // Don't record a null method. 410 mirror::Class* cls = method->GetDeclaringClass() 451 ArtMethod* method = stack.front().first; local 520 ArtMethod* method = inst_loc.first; local 549 MethodReference method = current->GetMethod(); local 580 ArtMethod *method = meth_iter.first; local 605 MethodReference method = method_iter.first; local [all...] |
runtime.cc | 82 #include "mirror/method.h" 1444 auto* method = Runtime::Current()->GetClassLinker()->CreateRuntimeMethod(); local 1462 auto* method = Runtime::Current()->GetClassLinker()->CreateRuntimeMethod(); local 1474 auto* method = Runtime::Current()->GetClassLinker()->CreateRuntimeMethod(); local [all...] |
stack.cc | 145 UNIMPLEMENTED(ERROR) << "Failed to determine this object of abstract or proxy method: " 152 // We currently always guarantee the `this` object is live throughout the method. 609 ArtMethod* method = GetMethod(); local 610 if (method != nullptr && !method->IsRuntimeMethod()) { 612 next_method_ = method; 614 return false; // End stack walk once next method is found. 650 std::string result("Visiting method '"); 671 ArtMethod* method = GetMethod(); local 672 auto* declaring_class = method->GetDeclaringClass() 734 ArtMethod* method = *cur_quick_frame_; local [all...] |
trace.cc | 104 uint32_t Trace::EncodeTraceMethod(ArtMethod* method) { 107 auto it = art_method_id_map_.find(method); 111 unique_methods_.push_back(method); 113 art_method_id_map_.emplace(method, idx); 116 DCHECK_EQ(unique_methods_[idx], method); 120 uint32_t Trace::EncodeTraceMethodAndAction(ArtMethod* method, TraceAction action) { 121 uint32_t tmid = (EncodeTraceMethod(method) << TraceActionBits) | action; 122 DCHECK_EQ(method, DecodeTraceMethod(tmid)); 630 ArtMethod* method = DecodeTraceMethod(tmid); local 632 LOG(INFO) << PrettyMethod(method) << " " << static_cast<int>(action) 982 ArtMethod* method = DecodeTraceMethod(tmid); local [all...] |
/art/runtime/mirror/ |
class-inl.h | 164 inline void Class::SetEmbeddedImTableEntry(uint32_t i, ArtMethod* method, size_t pointer_size) { 166 SetFieldPtrWithSize<false>(EmbeddedImTableEntryOffset(i, pointer_size), method, pointer_size); local 207 uint32_t i, ArtMethod* method, size_t pointer_size) { 208 SetFieldPtrWithSize<false>(EmbeddedVTableEntryOffset(i, pointer_size), method, pointer_size); local 211 inline void Class::SetEmbeddedVTableEntry(uint32_t i, ArtMethod* method, size_t pointer_size) { 213 CHECK_EQ(method, vtable->GetElementPtrSize<ArtMethod*>(i, pointer_size)); 214 SetEmbeddedVTableEntryUnchecked(i, method, pointer_size); 304 inline bool Class::ResolvedMethodAccessTest(Class* access_to, ArtMethod* method, 309 // The referrer class can't access the method's declaring class but may still be able 310 // to access the method if the MethodId specifies an accessible subclass of the declarin [all...] |
/art/test/046-reflect/src/ |
Main.java | 34 void printMethodInfo(Method meth) { 38 System.out.println("Method name is " + meth.getName()); 85 Method meth; 92 System.err.println("succeeded on package-scope method"); 104 System.err.println("inner-method invoke unexpectedly worked"); 125 Method meth = null; 159 System.out.println("Calling no-arg void-return method"); 163 /* try invoking a method that throws an exception */ 411 Method m; 485 Method[] methods = niuClass.getDeclaredMethods() 488 Method method = niuClass.getMethod("staticMethod", (Class[]) null); local 516 Method method; local [all...] |
/cts/tools/utils/ |
DescriptionGenerator.java | 419 * Create test case node according to the given method names, and append them 427 // if no method, remove from parent 551 MethodDoc method = iterator.next(); local 553 String name = method.name(); 555 AnnotationDesc[] annotations = method.annotations(); 583 name, method.commentText(), controller, supportedAbis, 615 for (MethodDoc method : clazz.methods()) { 616 methods.add(method); 621 for (MethodDoc method : superClass.methods()) { 622 methods.add(method); [all...] |
/external/apache-http/src/org/apache/http/impl/client/ |
DefaultRequestDirector.java | 36 import java.lang.reflect.Method; 314 // in the method arguments will be replaced. The original 694 * This method does <i>not</i> update the connection with 1146 Method method; local [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/transformer/ |
TransformerIdentityImpl.java | 51 import org.apache.xml.serializer.Method; 88 m_outputFormat = new OutputProperties(Method.XML); 164 m_outputFormat = new OutputProperties(Method.XML); 564 * <p>This method does not return a default parameter value, which 656 // See if an *explicit* method was set. 657 String method = (String) oformat.get(OutputKeys.METHOD); local 659 if (null != method) 660 m_outputFormat = new OutputProperties(method); 724 * be effected by calling this method.</p [all...] |
/external/chromium-trace/trace-viewer/third_party/six/ |
test_six.py | 358 """Given a method suffix like "lists" or "values", return the name 359 of the dict method that delivers those on the version of Python 397 """Given a method suffix like "keys" or "values", return the name 398 of the dict method that delivers those on the version of Python 436 def method(self): member in class:test_callable.X 442 assert six.callable(X.method) 443 assert six.callable(X().method)
|
/external/clang/lib/Sema/ |
SemaObjCProperty.cpp | 669 // property implementation before parsing any method bodies. 1850 ObjCMethodDecl *method = PD->getGetterMethodDecl(); local [all...] |
SemaPseudoObject.cpp | 508 /// Look up a method in the receiver type of an Objective-C property 516 // Special case for 'self' in class method implementations. 521 ObjCMethodDecl *method = local 524 S.Context.getObjCInterfaceType(method->getClassInterface()), 616 // Do a normal method lookup first. 819 // As a special case, if the method returns 'id', try to get [all...] |
/external/clang/test/SemaCXX/ |
warn-thread-safety-parsing.cpp | 1494 void method() { function in class:FunctionAttributesInsideClass_ICE_Test::Foo [all...] |
/external/guava/guava-tests/test/com/google/common/reflect/ |
InvokableTest.java | 29 import java.lang.reflect.Method; 118 Invokable<?, ?> delegate = Prepender.method("prepend", String.class, Iterable.class); 123 Invokable<?, ?> delegate = Prepender.method("prepend", String.class, Iterable.class); 128 Invokable<?, ?> delegate = Prepender.method("prepend", String.class, Iterable.class); 135 Invokable<?, ?> delegate = Prepender.method("prepend", String.class, Iterable.class); 149 Invokable<?, ?> delegate = Prepender.method("prepend", String.class, Iterable.class); 157 Invokable<?, Iterable<String>> delegate = Prepender.method( 167 Invokable<?, Iterable> delegate = Prepender.method( 177 Invokable<?, Object> delegate = Prepender.method("prepend", String.class, Iterable.class); 185 Invokable<?, ?> delegate = Prepender.method("prepend", Iterable.class) 585 static Invokable<Prepender, Object> method(String name, Class<?>... parameterTypes) { method in class:InvokableTest.Prepender 587 Method method = Prepender.class.getDeclaredMethod(name, parameterTypes); local [all...] |
/external/icu/icu4c/source/test/intltest/ |
tzregts.cpp | 441 * Yet another _alleged_ bug in TimeZone::getOffset(), a method that never 722 UnicodeString method; local 727 method = "constructor"; 734 method = "setDSTSavings()"; 742 errln(UnicodeString("Fail: DST savings of ") + savings + " to " + method + " gave " + u_errorName(status)); 745 logln(UnicodeString("Pass: DST savings of ") + savings + " to " + method + " gave " + u_errorName(status)); 750 logln(UnicodeString("Pass: DST savings of ") + savings + " accepted by " + method); local 753 errln(UnicodeString("Fail: DST savings of ") + savings + " accepted by " + method); local [all...] |
/external/jetty/src/java/org/eclipse/jetty/client/ |
AbstractHttpConnection.java | 188 String method=_exchange.getMethod(); local 192 if (!HttpMethods.CONNECT.equals(method) && uri.startsWith("/")) 212 _generator.setRequest(method, uri); 213 _parser.setHeadResponse(HttpMethods.HEAD.equalsIgnoreCase(method)); 259 public void startRequest(Buffer method, Buffer url, Buffer version) throws IOException 261 // System.out.println( method.toString() + "///" + url.toString() +
|
/external/jetty/src/java/org/eclipse/jetty/xml/ |
XmlConfiguration.java | 28 import java.lang.reflect.Method; 96 Method load = slc.getMethod("load",Class.class); 209 Method gcp; 301 * <p>This method must be called by any {@link ConfigurationProcessor} when it 372 * This method applies the nested Set, Put, Call, etc. elements to the given object. 424 * Call a set method. This method makes a best effort to find a matching set method. The type of the value is used to find a suitable set method by 1. 455 Method set = oClass.getMethod(name,vClass) 673 Method method = oClass.getMethod("get" + name.substring(0,1).toUpperCase(Locale.ENGLISH) + name.substring(1),(java.lang.Class[])null); local 738 String method = node.getAttribute("name"); local [all...] |
/external/libpng/ |
pngwutil.c | 258 unsigned int z_cmf = data[0]; /* zlib compression method and flags */ 329 int method = png_ptr->zlib_method; local 351 method = png_ptr->zlib_text_method; 391 png_ptr->zlib_set_method != method || 418 ret = deflateInit2(&png_ptr->zstream, level, method, windowBits, [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
vp9_mcomp.c | 1374 const SEARCH_METHODS method = sf->mv.search_method; local [all...] |
/external/nist-sip/java/gov/nist/javax/sip/message/ |
SIPRequest.java | 56 * cancel. Antonis Kyardis contributed bug fixes. Jeroen van Bemmel noted that method names are 135 * @return true iff the method is a target refresh 142 * @return true iff the method is a dialog creating method 151 * comparison is not required. The method returns the String CONSTANT corresponding to the 155 public static String getCannonicalName(String method) { 157 if (nameTable.containsKey(method)) 158 return (String) nameTable.get(method); 160 return method; 191 * Convert to a formatted string for pretty printing. Note that the encode method convert 348 String method = requestLine.getMethod(); local [all...] |
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
SIPClientTransaction.java | 372 // same as this transaction and the method is the same, 1363 String method = sipResponse.getCSeq().getMethod(); local [all...] |
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/ |
MockWebServer.java | 186 * negotiate a protocol like HTTP/1.1 or HTTP/2. Call this method to disable 214 * @param tunnelProxy true to expect the HTTP CONNECT method before 224 * use this to verify the request was sent as intended. This method will block until the 625 throw new UnsupportedOperationException("Unexpected method: " + request); 849 String method = "<:method omitted>"; local 856 method = value; 870 String requestLine = method + ' ' + path + ' ' + version; [all...] |