Home
last modified time | relevance | path

Searched refs:methods (Results 1 – 25 of 1186) sorted by relevance

12345678910>>...48

/external/autotest/client/site_tests/security_DbusMap/
Dbaseline.nobody7 "methods": [],
17 "methods": [],
25 "methods": [],
46 "methods": [
59 "methods": [
72 "methods": [
97 "methods": [
105 "methods": [
120 "methods": [],
134 "methods": [
[all …]
Dbaseline7 "methods": [
27 "methods": [],
46 "methods": [
90 "methods": [
98 "methods": [
113 "methods": [
126 "methods": [
139 "methods": [
164 "methods": [
172 "methods": [
[all …]
Dbaseline.chronos7 "methods": [],
23 "methods": [],
42 "methods": [],
75 "methods": [
90 "methods": [
103 "methods": [
116 "methods": [
141 "methods": [
149 "methods": [
164 "methods": [
[all …]
/external/libexif/libexif/
Dexif-mnote-data.c61 if (d->methods.free) d->methods.free (d); in exif_mnote_data_free()
83 if (!d || !d->methods.load) return; in exif_mnote_data_load()
84 d->methods.load (d, buf, buf_size); in exif_mnote_data_load()
91 if (!d || !d->methods.save) return; in exif_mnote_data_save()
92 d->methods.save (d, buf, buf_size); in exif_mnote_data_save()
98 if (!d || !d->methods.set_byte_order) return; in exif_mnote_data_set_byte_order()
99 d->methods.set_byte_order (d, o); in exif_mnote_data_set_byte_order()
105 if (!d || !d->methods.set_offset) return; in exif_mnote_data_set_offset()
106 d->methods.set_offset (d, o); in exif_mnote_data_set_offset()
112 if (!d || !d->methods.count) return 0; in exif_mnote_data_count()
[all …]
/external/testng/src/test/java/org/testng/internal/
DMethodInstanceTest.java35 List<MethodInstance> methods = new ArrayList<>(); in sortByIndexSatisfiesContract() local
36 methods.add(buildMethodInstance("unittests", "StateTest", 1, "aCategorization")); in sortByIndexSatisfiesContract()
37 methods.add(buildMethodInstance("unittests", "StateTest", 1, "bCategorization")); in sortByIndexSatisfiesContract()
38 methods.add(buildMethodInstance("unittests", "StateTest", 1, "cCategorization")); in sortByIndexSatisfiesContract()
39 methods.add(buildMethodInstance("unittests", "StateTest", 1, "dCategorization")); in sortByIndexSatisfiesContract()
40 methods.add(buildMethodInstance("unittests", "StateTest", 1, "eCategorization")); in sortByIndexSatisfiesContract()
41 methods.add(buildMethodInstance("unittests", "StateTest", 1, "fCategorization")); in sortByIndexSatisfiesContract()
42 methods.add(buildMethodInstance("unittests", "StatusTest", 2, "aStatus")); in sortByIndexSatisfiesContract()
43 methods.add(buildTestNgFactoryMethodInstance("unittests")); in sortByIndexSatisfiesContract()
44 methods.add(buildTestNgFactoryMethodInstance("unittests")); in sortByIndexSatisfiesContract()
[all …]
/external/dbus-binding-generator/chromeos-dbus-bindings/
Dxml_interface_parser_unittest.cc83 ASSERT_EQ(2u, interface.methods.size()); in TEST_F()
87 EXPECT_EQ(kScanMethod, interface.methods[0].name); in TEST_F()
88 EXPECT_EQ(Interface::Method::Kind::kAsync, interface.methods[0].kind); in TEST_F()
89 EXPECT_FALSE(interface.methods[0].is_const); in TEST_F()
90 EXPECT_TRUE(interface.methods[0].include_dbus_message); in TEST_F()
91 ASSERT_EQ(1u, interface.methods[0].input_arguments.size()); in TEST_F()
94 EXPECT_EQ(kArgsArgument, interface.methods[0].input_arguments[0].name); in TEST_F()
96 interface.methods[0].input_arguments[0].type); in TEST_F()
97 EXPECT_EQ(0u, interface.methods[0].output_arguments.size()); in TEST_F()
100 EXPECT_EQ(kGetBlobMethod, interface.methods[1].name); in TEST_F()
[all …]
Dadaptor_generator_unittest.cc246 interface.methods.emplace_back( in TEST_F()
252 interface.methods.back().include_dbus_message = true; in TEST_F()
253 interface.methods.emplace_back( in TEST_F()
257 interface.methods.emplace_back("Kei"); in TEST_F()
259 interface.methods.emplace_back( in TEST_F()
285 interface2.methods.emplace_back( in TEST_F()
289 interface2.methods.back().is_const = true; in TEST_F()
290 interface2.methods.back().kind = Interface::Method::Kind::kSimple; in TEST_F()
291 interface2.methods.emplace_back( in TEST_F()
295 interface2.methods.back().kind = Interface::Method::Kind::kAsync; in TEST_F()
[all …]
Dproxy_generator_mock_unittest.cc117 …LOG(WARNING) << "AllTheWayUpToElevenAsync(): gmock can't handle methods with 11 arguments. You can…
189 interface.methods.emplace_back( in TEST_F()
195 interface.methods.emplace_back( in TEST_F()
199 interface.methods.emplace_back( in TEST_F()
203 interface.methods.emplace_back("ExperimentNumberSix"); in TEST_F()
207 interface.methods.emplace_back( in TEST_F()
225 interface.methods.back().doc_string = "Comment line1\nline2"; in TEST_F()
228 interface2.methods.emplace_back( in TEST_F()
/external/proguard/src/proguard/classfile/editor/
DClassEditor.java193 Method[] methods = targetClass.methods; in addMethod() local
196 if (methods.length <= methodsCount) in addMethod()
198 targetClass.methods = new ProgramMethod[methodsCount+1]; in addMethod()
199 System.arraycopy(methods, 0, in addMethod()
200 targetClass.methods, 0, in addMethod()
202 methods = targetClass.methods; in addMethod()
211 methods[targetClass.u2methodsCount++] = method; in addMethod()
222 Method[] methods = targetClass.methods; in removeMethod() local
227 System.arraycopy(methods, methodIndex+1, in removeMethod()
228 methods, methodIndex, in removeMethod()
[all …]
/external/emma/core/java12/com/vladium/emma/data/
DClassDescriptor.java31 final MethodDescriptor [] methods) in ClassDescriptor() argument
37 if (methods == null) in ClassDescriptor()
42 for (int m = 0; m < methods.length; ++ m) in ClassDescriptor()
44 …$assert.ASSERT (methods [m] != null, "methods [" + m + "] = null (length = " + methods.length + ")… in ClassDescriptor()
52 m_methods = methods; // TODO: defensive copy? in ClassDescriptor()
57 final MethodDescriptor method = methods [m]; in ClassDescriptor()
180 final MethodDescriptor [] methods = new MethodDescriptor [length]; in readExternal() local
183 methods [i] = MethodDescriptor.readExternal (in); in readExternal()
186 return new ClassDescriptor (packageVMName, name, stamp, srcFileName, methods); in readExternal()
207 final MethodDescriptor [] methods = cls.m_methods; in writeExternal() local
[all …]
/external/testng/src/main/java/org/testng/internal/
DMethodInheritance.java51 public static void fixMethodInheritance(ITestNGMethod[] methods, boolean before) { in fixMethodInheritance() argument
58 for (ITestNGMethod method : methods) { in fixMethodInheritance()
98 if (!equalsEffectiveClass(m1, m2) && !dependencyExists(m1, m2, methods)) { in fixMethodInheritance()
108 …vate static boolean dependencyExists(ITestNGMethod m1, ITestNGMethod m2, ITestNGMethod[] methods) { in dependencyExists() argument
109 return internalDependencyExists(m1, m2, methods) || internalDependencyExists(m2, m1, methods); in dependencyExists()
112 …tic boolean internalDependencyExists(ITestNGMethod m1, ITestNGMethod m2, ITestNGMethod[] methods) { in internalDependencyExists() argument
114 MethodHelper.findDependedUponMethods(m1, methods); in internalDependencyExists()
124 MethodGroupsHelper.findMethodsThatBelongToGroup(m1, methods, group); in internalDependencyExists()
153 private static void sortMethodsByInheritance(List<ITestNGMethod> methods, in sortMethodsByInheritance() argument
156 Collections.sort(methods); in sortMethodsByInheritance()
[all …]
DConfigurationMethod.java124 private static ITestNGMethod[] createMethods(ITestNGMethod[] methods, IAnnotationFinder finder, in createMethods() argument
138 for (ITestNGMethod method : methods) { in createMethods()
158 public static ITestNGMethod[] createSuiteConfigurationMethods(ITestNGMethod[] methods, in createSuiteConfigurationMethods() argument
160 return createMethods(methods, annotationFinder, in createSuiteConfigurationMethods()
174 public static ITestNGMethod[] createTestConfigurationMethods(ITestNGMethod[] methods, in createTestConfigurationMethods() argument
176 return createMethods(methods, annotationFinder, in createTestConfigurationMethods()
190 public static ITestNGMethod[] createClassConfigurationMethods(ITestNGMethod[] methods, in createClassConfigurationMethods() argument
192 return createMethods(methods, annotationFinder, in createClassConfigurationMethods()
206 public static ITestNGMethod[] createBeforeConfigurationMethods(ITestNGMethod[] methods, in createBeforeConfigurationMethods() argument
209 ITestNGMethod[] result = new ITestNGMethod[methods.length]; in createBeforeConfigurationMethods()
[all …]
DMethodHelper.java47 public static ITestNGMethod[] collectAndOrderMethods(List<ITestNGMethod> methods, in collectAndOrderMethods() argument
52 MethodGroupsHelper.collectMethodsByGroup(methods.toArray(new ITestNGMethod[methods.size()]), in collectAndOrderMethods()
70 ITestNGMethod[] methods) in findDependedUponMethods() argument
84 for (ITestNGMethod method : methods) { in findDependedUponMethods()
181 public static List<ITestNGMethod> uniqueMethodList(Collection<List<ITestNGMethod>> methods) { in uniqueMethodList() argument
184 for (List<ITestNGMethod> l : methods) { in uniqueMethodList()
191 private static Graph<ITestNGMethod> topologicalSort(ITestNGMethod[] methods, in topologicalSort() argument
195 if (methods.length == 0) { in topologicalSort()
202 for (ITestNGMethod m : methods) { in topologicalSort()
211 MethodHelper.findDependedUponMethods(m, methods); in topologicalSort()
[all …]
/external/javassist/src/main/javassist/tools/reflect/
DMetaobject.java48 protected Method[] methods; field in Metaobject
62 methods = classmetaobject.getReflectiveMethods(); in Metaobject()
73 methods = null; in Metaobject()
85 methods = classmetaobject.getReflectiveMethods(); in readObject()
112 methods = classmetaobject.getReflectiveMethods(); in setObject()
123 String mname = methods[identifier].getName(); in getMethodName()
140 return methods[identifier].getParameterTypes(); in getParameterTypes()
148 return methods[identifier].getReturnType(); in getReturnType()
227 return methods[identifier].invoke(getObject(), args); in trapMethodcall()
/external/testng/src/test/java/test/assertion/
DMyRawAssertion.java12 private final List<String> methods = new ArrayList<>(); field in MyRawAssertion
16 methods.add("onAssertSuccess"); in onAssertSuccess()
22 methods.add("deprecated_onAssertFailure"); in onAssertFailure()
28 methods.add("onAssertFailure"); in onAssertFailure()
34 methods.add("onBeforeAssert"); in onBeforeAssert()
40 methods.add("onAfterAssert"); in onAfterAssert()
45 return methods; in getMethods()
/external/jetty/src/java/org/eclipse/jetty/util/
DIntrospectionUtil.java62 Method[] methods = clazz.getDeclaredMethods(); in findMethod() local
63 for (int i=0;i<methods.length && method==null;i++) in findMethod()
65 …if (methods[i].getName().equals(methodName) && checkParams(methods[i].getParameterTypes(), (args==… in findMethod()
67 method = methods[i]; in findMethod()
224 Method[] methods = c.getDeclaredMethods(); in containsSameMethodSignature() local
225 for (int i=0; i<methods.length && !samesig; i++) in containsSameMethodSignature()
227 if (IntrospectionUtil.isSameSignature(method, methods[i])) in containsSameMethodSignature()
263 Method[] methods = clazz.getDeclaredMethods(); in findInheritedMethod() local
264 for (int i=0;i<methods.length && method==null;i++) in findInheritedMethod()
266 if (methods[i].getName().equals(methodName) in findInheritedMethod()
[all …]
/external/wpa_supplicant_8/src/ap/
Deap_user_db.c23 static void set_user_methods(struct hostapd_eap_user *user, const char *methods) in set_user_methods() argument
28 buf = os_strdup(methods); in set_user_methods()
32 os_memset(&user->methods, 0, sizeof(user->methods)); in set_user_methods()
39 user->methods[num_methods].method = in set_user_methods()
41 &user->methods[num_methods].vendor); in set_user_methods()
42 if (user->methods[num_methods].vendor == EAP_VENDOR_IETF && in set_user_methods()
43 user->methods[num_methods].method == EAP_TYPE_NONE) { in set_user_methods()
104 int i, id = -1, methods = -1; in get_wildcard_cb() local
111 methods = i; in get_wildcard_cb()
114 if (id < 0 || methods < 0) in get_wildcard_cb()
[all …]
/external/mockito/cglib-and-asm/src/org/mockito/cglib/reflect/
DFastClassEmitter.java68 List methods = ReflectUtils.addAllMethods(type, new ArrayList()); in FastClassEmitter() local
69 CollectionUtils.filter(methods, vp); in FastClassEmitter()
70 CollectionUtils.filter(methods, new DuplicatesPredicate()); in FastClassEmitter()
75 emitIndexBySignature(methods); in FastClassEmitter()
78 emitIndexByClassArray(methods); in FastClassEmitter()
92 invokeSwitchHelper(e, methods, 2, base); in FastClassEmitter()
105 e.push(methods.size() - 1); in FastClassEmitter()
113 private void emitIndexBySignature(List methods) { in emitIndexBySignature() argument
115 List signatures = CollectionUtils.transform(methods, new Transformer() { in emitIndexBySignature()
127 private void emitIndexByClassArray(List methods) { in emitIndexByClassArray() argument
[all …]
/external/wpa_supplicant_8/hostapd/
Dhostapd.eap_user_sqlite3 methods TEXT,
11 methods TEXT
14 INSERT INTO users(identity,methods,password,phase2) VALUES ('user','TTLS-MSCHAPV2','password',1);
15 INSERT INTO users(identity,methods,password,phase2) VALUES ('DOMAIN\mschapv2 user','TTLS-MSCHAPV2',…
17 INSERT INTO wildcards(identity,methods) VALUES ('','TTLS,TLS');
18 INSERT INTO wildcards(identity,methods) VALUES ('0','AKA');
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/
DClassAnalyzerTest.java60 Collection<IMethodCoverage> methods = analyzer.getCoverage() in testMethodFilter_Empty() local
62 assertEquals(0, methods.size()); in testMethodFilter_Empty()
72 Collection<IMethodCoverage> methods = analyzer.getCoverage() in testMethodFilter_NonSynthetic() local
74 assertEquals(1, methods.size()); in testMethodFilter_NonSynthetic()
82 Collection<IMethodCoverage> methods = analyzer.getCoverage() in testMethodFilter_Synthetic() local
84 assertTrue(methods.isEmpty()); in testMethodFilter_Synthetic()
94 Collection<IMethodCoverage> methods = analyzer.getCoverage() in testMethodFilter_Lambda() local
96 assertEquals(1, methods.size()); in testMethodFilter_Lambda()
/external/testng/src/main/java/org/testng/
DPreserveOrderMethodInterceptor.java17 private void p(List<IMethodInstance> methods, String s) { in p() argument
19 for (IMethodInstance mi : methods) { in p()
26 public List<IMethodInstance> intercept(List<IMethodInstance> methods, ITestContext context) { in intercept() argument
28 Collections.sort(methods, MethodInstance.SORT_BY_INDEX); in intercept()
30 return methods; in intercept()
/external/javassist/src/main/javassist/util/proxy/
DRuntimeSupport.java50 String desc, java.lang.reflect.Method[] methods) in find2Methods() argument
52 synchronized (methods) { in find2Methods()
53 if (methods[index] == null) { in find2Methods()
54 methods[index + 1] = thisMethod == null ? null in find2Methods()
56 methods[index] = findSuperMethod(self, superMethod, desc); in find2Methods()
126 Method[] methods = SecurityActions.getDeclaredMethods(clazz); in findMethod2() local
127 int n = methods.length; in findMethod2()
129 if (methods[i].getName().equals(name) in findMethod2()
130 && makeDescriptor(methods[i]).equals(desc)) in findMethod2()
131 return methods[i]; in findMethod2()
/external/javassist/src/main/javassist/bytecode/annotation/
DAnnotationImpl.java190 Method[] methods = annotationType.getDeclaredMethods(); in hashCode() local
191 for (int i = 0; i < methods.length; ++ i) { in hashCode()
192 String name = methods[i].getName(); in hashCode()
200 value = mv.getValue(classLoader, pool, methods[i]); in hashCode()
202 value = getDefault(name, methods[i]); in hashCode()
250 Method[] methods = annotationType.getDeclaredMethods(); in checkEquals()
251 for (int i = 0; i < methods.length; ++ i) { in checkEquals()
252 String name = methods[i].getName(); in checkEquals()
260 value = mv.getValue(classLoader, pool, methods[i]); in checkEquals()
262 value = getDefault(name, methods[i]); in checkEquals()
[all …]
/external/libgdx/extensions/gdx-jnigen/src/com/badlogic/gdx/jnigen/parsing/
DCMethodParser.java25 final ArrayList<CMethod> methods; field in CMethodParser.CMethodParserResult
27 public CMethodParserResult (ArrayList<CMethod> methods) { in CMethodParserResult() argument
28 this.methods = methods; in CMethodParserResult()
32 return methods; in getMethods()
/external/testng/src/test/java/test/methodinterceptors/
DRemoveAMethodInterceptor.java16 public List<IMethodInstance> intercept(List<IMethodInstance> methods, ITestContext context) { in intercept() argument
19 for (IMethodInstance method : methods) { in intercept()
26 log(this, methods, result); in intercept()
40 public static List<String> getMethodNames(List<IMethodInstance> methods) { in getMethodNames() argument
42 for (IMethodInstance m : methods) { in getMethodNames()

12345678910>>...48