| /prebuilts/go/linux-x86/test/fixedbugs/ |
| issue8385.go | 7 // Issue 8385: provide a more descriptive error when a method expression 30 Fooer.Foo(5, 6) // ERROR "not enough arguments in call to method expression Fooer.Foo" 38 I.M() // ERROR "not enough arguments in call to method expression I\.M" 40 T.M() // ERROR "not enough arguments in call to method expression T\.M" 41 (*T).M() // ERROR "not enough arguments in call to method expression \(\*T\)\.M"
|
| /external/ltp/lib/ |
| tlibio.c | 51 * int lio_write_buffer(int fd, int method, char *buffer, int size, 53 * int lio_read_buffer(int fd, int method, char *buffer, int size, 57 * int lio_wait4asyncio(int method, int fd, struct iosw **statptr) 61 * int lio_wait4asyncio(int method, int fd, aiocb_t *aiocbp) 62 * int lio_check_asyncio(char *io_type, int size, aiocb_t *aiocbp, int method) 272 * This function will parse a string and return desired io-method. 326 * This function will parse a string and return the desired io-method. 328 * method tokens as defined in Lio_info2[]. If a token does not match 456 * This function will randomly choose an io type and wait method 463 * and wait method bits cleared. The LIO_RANDOM bit is als 1964 int method; member in struct:unit_info_t 2002 int method; local [all...] |
| /libcore/luni/src/test/java/libcore/java/lang/reflect/ |
| ParameterTest.java | 31 import java.lang.reflect.Method; 95 @Target(ElementType.METHOD) 112 Method method = SingleParameter.class.getDeclaredMethod("oneParameter", String.class); local 113 checkSingleStringParameter(method); 136 Method method = clazz.getDeclaredMethod("oneParameter", String.class); local 137 checkSingleStringParameter_withMetadata(method); 168 Method method = GenericParameter.class.getDeclaredMethod local 195 Method method = clazz.getDeclaredMethod("genericParameter", Function.class); local 229 Method method = TwoParameters.class.getDeclaredMethod( local 258 Method method = clazz.getDeclaredMethod("twoParameters", String.class, Integer.class); local 296 Method method = FinalParameter.class.getDeclaredMethod("finalParameter", String.class); local 320 Method method = clazz.getDeclaredMethod("finalParameter", String.class); local 539 Method method = TestEnum.class.getDeclaredMethod("valueOf", String.class); local 554 Method method = clazz.getDeclaredMethod("valueOf", String.class); local 586 Method method = SingleVarArgs.class.getDeclaredMethod("varArgs", String[].class); local 610 Method method = clazz.getDeclaredMethod("varArgs", String[].class); local 642 Method method = MixedVarArgs.class.getDeclaredMethod("both", Integer[].class, String[].class); local 676 Method method = NonVarArgs.class.getDeclaredMethod("notVarArgs", Integer[].class); local 805 Method method = getMetadataVariationsMethod("manyParameters", parameterTypes); local 819 Method method = getMetadataVariationsMethod("emptyMethodParametersAnnotation"); local 824 Method method = getMetadataVariationsMethod("tooManyAccessFlags", String.class); local 829 Method method = getMetadataVariationsMethod( local 835 Method method = getMetadataVariationsMethod("tooManyNames", String.class); local 840 Method method = getMetadataVariationsMethod("tooFewNames", String.class, String.class); local 845 Method method = getMetadataVariationsMethod("tooManyBoth", String.class); local 850 Method method = getMetadataVariationsMethod("tooFewBoth", String.class, String.class); local 855 Method method = getMetadataVariationsMethod("nullName", String.class); local 862 Method method = getMetadataVariationsMethod("emptyName", String.class); local 867 Method method = getMetadataVariationsMethod("nameWithSemicolon", String.class); local 872 Method method = getMetadataVariationsMethod("nameWithSlash", String.class); local 877 Method method = getMetadataVariationsMethod("nameWithPeriod", String.class); local 882 Method method = getMetadataVariationsMethod("nameWithOpenSquareBracket", String.class); local 887 Method method = getMetadataVariationsMethod("badAccessModifier", String.class); local 892 Method method = getMetadataVariationsMethod("badlyFormedAnnotation", String.class); local [all...] |
| /art/runtime/ |
| imtable.h | 35 // Interface method table size. Increasing this value reduces the chance of two interface methods 36 // colliding in the interface method table but increases the size of classes that implement 56 void Set(size_t index, ArtMethod* method, PointerSize pointer_size) { 60 uintptr_t value = reinterpret_cast<uintptr_t>(method); 64 *reinterpret_cast<uint64_t*>(ptr) = reinterpret_cast<uint64_t>(method); 82 // Converts a method to the base hash components used in GetImtIndex. 83 ALWAYS_INLINE static inline void GetImtHashComponents(ArtMethod* method, 89 // The (complete) hashing scheme to map an ArtMethod to a slot in the Interface Method Table 91 ALWAYS_INLINE static inline uint32_t GetImtIndex(ArtMethod* method)
|
| /art/test/566-polymorphic-inlining/ |
| polymorphic_inline.cc | 33 ArtMethod* method = klass->FindDeclaredDirectMethodByName(method_name, kRuntimePointerSize); local 38 const void* pc = method->GetEntryPointFromQuickCompiledCode(); 46 jit->CompileMethod(method, soa.Self(), /* osr */ false); 58 ArtMethod* method = klass->FindDeclaredDirectMethodByName(method_name, kRuntimePointerSize); local 59 ProfilingInfo::Create(soa.Self(), method, /* retry_allocation */ true);
|
| /bionic/libc/dns/net/ |
| nsdispatch.c | 80 _nsmethod(const char *source, const char *database __unused, const char *method __unused, 101 const char *method, const ns_src defaults[], ...) 113 assert(method != NULL); 115 if (database == NULL || method == NULL || defaults == NULL) 126 cb = _nsmethod(srclist[i].name, database, method,
|
| /dalvik/dexgen/src/com/android/dexgen/dex/code/ |
| BlockAddresses.java | 27 * the blocks of a particular method. Each block has a corresponding 47 * @param method {@code non-null;} the method to have block addresses for 49 public BlockAddresses(RopMethod method) { 50 BasicBlockList blocks = method.getBlocks(); 57 setupArrays(method); 126 private void setupArrays(RopMethod method) { 127 BasicBlockList blocks = method.getBlocks();
|
| /dalvik/dexgen/src/com/android/dexgen/dex/file/ |
| MethodIdsSection.java | 28 * Method refs list section of a {@code .dex} file. 32 * {@code non-null;} map from method constants to {@link 95 * @param method {@code non-null;} the reference to intern 98 public MethodIdItem intern(CstBaseMethodRef method) { 99 if (method == null) { 100 throw new NullPointerException("method == null"); 105 MethodIdItem result = methodIds.get(method); 108 result = new MethodIdItem(method); 109 methodIds.put(method, result);
|
| /dalvik/dx/src/com/android/dx/dex/code/ |
| BlockAddresses.java | 27 * the blocks of a particular method. Each block has a corresponding 47 * @param method {@code non-null;} the method to have block addresses for 49 public BlockAddresses(RopMethod method) { 50 BasicBlockList blocks = method.getBlocks(); 57 setupArrays(method); 126 private void setupArrays(RopMethod method) { 127 BasicBlockList blocks = method.getBlocks();
|
| /dalvik/dx/src/com/android/dx/dex/file/ |
| MethodIdsSection.java | 28 * Method refs list section of a {@code .dex} file. 32 * {@code non-null;} map from method constants to {@link 95 * @param method {@code non-null;} the reference to intern 98 public synchronized MethodIdItem intern(CstBaseMethodRef method) { 99 if (method == null) { 100 throw new NullPointerException("method == null"); 105 MethodIdItem result = methodIds.get(method); 108 result = new MethodIdItem(method); 109 methodIds.put(method, result);
|
| /external/boringssl/src/crypto/x509v3/ |
| v3_skey.c | 66 static ASN1_OCTET_STRING *s2i_skey_id(X509V3_EXT_METHOD *method, 77 char *i2s_ASN1_OCTET_STRING(X509V3_EXT_METHOD *method, ASN1_OCTET_STRING *oct) 82 ASN1_OCTET_STRING *s2i_ASN1_OCTET_STRING(X509V3_EXT_METHOD *method, 104 static ASN1_OCTET_STRING *s2i_skey_id(X509V3_EXT_METHOD *method, 113 return s2i_ASN1_OCTET_STRING(method, ctx, str);
|
| /external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/ |
| NumberFormatTest.java | 49 String[] method = new String[1]; local 50 nf = getJDKInstance(type, loc, method); 56 errln("FAIL: " + method[0] + " returned JDK NumberFormat for locale " + loc); 60 logln("INFO: " + method[0] + " returned ICU NumberFormat for locale " + loc); 67 errln("FAIL: " + method[0] + " returned ICU NumberFormat for locale " + loc 73 errln("FAIL: " + method[0] + " returned JDK NumberFormat for locale " + iculoc); 81 String method = null; local 86 method = "getInstance"; 90 method = "getNumberInstance"; 94 method = "getIntegerInstance" 113 String method = null; local [all...] |
| /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
| FakeHttpLayer.java | 54 public void addHttpResponseRule(String method, String uri, HttpResponse response) { 55 addHttpResponseRule(new DefaultRequestMatcher(method, uri), response); 174 * by calling this method. 234 private String method; field in class:FakeHttpLayer.DefaultRequestMatcher 237 public DefaultRequestMatcher(String method, String uri) { 238 this.method = method; 244 return request.getRequestLine().getMethod().equals(method) && 263 private String method, hostname, path; field in class:FakeHttpLayer.RequestMatcherBuilder 271 * Hint: you can use EntityUtils.toString(actualPostBody) to help you implement your matches method 280 public RequestMatcherBuilder method(String method) { method in class:FakeHttpLayer.RequestMatcherBuilder 390 private String method; field in class:FakeHttpLayer.UriRegexMatcher [all...] |
| /external/v8/tools/clang/rewrite_to_chrome_style/tests/ |
| template-original.cc | 11 void method() {} function in class:not_blink::Class 63 void method() {} function in class:blink::test_template_arg_is_method::Class 72 // method should be rewritten. 73 h<Class, &Class::method>(Class()); 75 h<not_blink::Class, ¬_blink::Class::method>(not_blink::Class()); 137 c2.method(x);
|
| /frameworks/base/core/java/com/android/internal/view/ |
| InputBindResult.java | 24 * Bundle of information returned by input method manager about a successful 25 * binding to an input method. 31 * The input method service. 33 public final IInputMethodSession method; field in class:InputBindResult 41 * The ID for this input method, as found in InputMethodInfo; null if 42 * no input method will be bound. 58 method = _method; 66 method = IInputMethodSession.Stub.asInterface(source.readStrongBinder()); 79 return "InputBindResult{" + method + " " + id 93 dest.writeStrongInterface(method); [all...] |
| /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
| ReflectionUtils.java | 23 import java.lang.reflect.Method; 31 public static Method getMethod(@NonNull Class<?> clazz, @NonNull String name, 41 public static Method getAccessibleMethod(@NonNull Class<?> clazz, @NonNull String name, 43 Method method = getMethod(clazz, name, params); local 44 method.setAccessible(true); 46 return method; 50 public static Object invoke(@NonNull Method method, @Nullable Object object, 54 return method.invoke(object, args) [all...] |
| /frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/ |
| FindMethodBindingObject.java | 28 public String method() { return "no arg"; } method in class:FindMethodBindingObject 30 public String method(int i) { return String.valueOf(i); } method in class:FindMethodBindingObject 32 public String method(float f) { return String.valueOf(f); } method in class:FindMethodBindingObject 34 public String method(String value) { return value; } method in class:FindMethodBindingObject 87 public T method(T value) { return value; } method in class:FindMethodBindingObject.Bar
|
| /hardware/interfaces/wifi/1.0/vts/functional/ |
| wifi_hidl_call_util.h | 83 // Invokes |method| on |object|, providing |method| a CallbackT as the 84 // final argument. Returns a copy of the parameters that |method| provided 89 MethodT method, ObjectT object, ArgT&&... methodArg) { 91 const auto& res = ((*object).*method)(std::forward<ArgT>(methodArg)..., 99 // Invokes |method| on |strong_pointer|, passing provided arguments through to 100 // |method|. 119 #define HIDL_INVOKE(strong_pointer, method, ...) \ 121 std::remove_reference<decltype(*strong_pointer)>::type::method##_cb>( \ 122 &std::remove_reference<decltype(*strong_pointer)>::type::method, \ [all...] |
| /hardware/interfaces/wifi/supplicant/1.0/vts/functional/ |
| supplicant_hidl_call_util.h | 87 // Invokes |method| on |object|, providing |method| a CallbackT as the 88 // final argument. Returns a copy of the parameters that |method| provided 93 MethodT method, ObjectT object, ArgT&&... methodArg) { 95 const auto& res = ((*object).*method)(std::forward<ArgT>(methodArg)..., 103 // Invokes |method| on |strong_pointer|, passing provided arguments through to 104 // |method|. 123 #define HIDL_INVOKE(strong_pointer, method, ...) \ 125 std::remove_reference<decltype(*strong_pointer)>::type::method##_cb>( \ 126 &std::remove_reference<decltype(*strong_pointer)>::type::method, \ [all...] |
| /test/vts-testcase/kernel/ltp/shell_environment/ |
| shell_environment.py | 43 return all([method(*args) for method, args in self._cleanup_jobs]) 45 def AddCleanupJob(self, method, *args): 47 if (method, args) not in self._cleanup_jobs: 48 self._cleanup_jobs.append((method, args))
|
| /cts/tests/signature/tests/src/android/signature/cts/tests/ |
| JDiffClassDescriptionTest.java | 154 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local 156 clz.addMethod(method); 158 assertEquals(method.toSignatureString(), "public static void staticMethod()"); 163 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local 165 clz.addMethod(method); 167 assertEquals(method.toSignatureString(), "public synchronized void syncMethod()"); 172 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local 174 clz.addMethod(method); 176 assertEquals(method.toSignatureString(), "boolean packageProtectedMethod()"); 181 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod local 190 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local 199 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local 210 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local 372 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local 385 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local 396 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local 407 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local 448 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local 464 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local 479 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local 495 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local [all...] |
| /external/proguard/src/proguard/shrink/ |
| UsageMarker.java | 108 // Explicitly mark the <clinit> method, if it's not empty. 195 // Has the method already been referenced? 215 // Has the method already been referenced? 220 // Mark the method body. 223 // Note that, if the method has been marked as possibly used, 224 // the method hierarchy has already been marked (cfr. below). 242 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 246 method.accept(clazz, UsageMarker.this); 282 // Is the method's class used [all...] |
| /external/boringssl/src/ssl/ |
| ssl_ecdh.c | 56 EC_GROUP *group = EC_GROUP_new_by_curve_name(ctx->method->nid); 100 EC_GROUP *group = EC_GROUP_new_by_curve_name(ctx->method->nid); 377 const SSL_ECDH_METHOD *method = method_from_group_id(group_id); local 378 if (method == NULL) { 381 return method->name; 385 const SSL_ECDH_METHOD *method = method_from_nid(nid); local 386 if (method == NULL) { 389 *out_group_id = method->group_id; 394 const SSL_ECDH_METHOD *method = method_from_name(name, len); local 395 if (method == NULL) 405 const SSL_ECDH_METHOD *method = method_from_group_id(group_id); local [all...] |
| /art/test/044-proxy/src/ |
| WrappedThrow.java | 20 import java.lang.reflect.Method; 188 public Object invoke(Object proxy, Method method, Object[] args) 195 if (method.getDeclaringClass() == java.lang.Object.class) { 196 //System.out.println("!!! object " + method.getName()); 197 if (method.getName().equals("toString")) 199 else if (method.getName().equals("hashCode")) 201 else if (method.getName().equals("equals")) 207 System.out.println("Invoke " + method); 216 if (method.getName().equals("throwFunky") [all...] |
| /external/easymock/src/org/easymock/internal/ |
| Invocation.java | 23 import java.lang.reflect.Method;
35 private transient Method method;
field in class:Invocation 42 public Invocation(Object mock, Method method, Object[] args) {
44 this.method = method;
45 this.arguments = expandVarArgs(method.isVarArgs(), args);
80 public Method getMethod() {
81 return method;
[all...] |