Home
last modified time | relevance | path

Searched refs:argTypes (Results 1 – 25 of 43) sorted by relevance

12

/external/python/cpython2/Modules/_ctypes/libffi/testsuite/libffi.call/
Dhuge_struct.c226 ffi_type* argTypes[51]; in main() local
268 argTypes[0] = argTypes[12] = argTypes[24] = argTypes[36] = argTypes[48] = &ffi_type_uint8; in main()
270 argTypes[1] = argTypes[13] = argTypes[25] = argTypes[37] = argTypes[49] = &ffi_type_sint8; in main()
272 argTypes[2] = argTypes[14] = argTypes[26] = argTypes[38] = &ffi_type_uint16; in main()
274 argTypes[3] = argTypes[15] = argTypes[27] = argTypes[39] = &ffi_type_sint16; in main()
276 argTypes[4] = argTypes[16] = argTypes[28] = argTypes[40] = &ffi_type_uint32; in main()
278 argTypes[5] = argTypes[17] = argTypes[29] = argTypes[41] = &ffi_type_sint32; in main()
280 argTypes[6] = argTypes[18] = argTypes[30] = argTypes[42] = &ffi_type_uint64; in main()
282 argTypes[7] = argTypes[19] = argTypes[31] = argTypes[43] = &ffi_type_sint64; in main()
284 argTypes[8] = argTypes[20] = argTypes[32] = argTypes[44] = &ffi_type_float; in main()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue64/
DMethodDesc.java22 private List<Class<?>> argTypes; field in MethodDesc
27 public MethodDesc(String name, List<Class<?>> argTypes) { in MethodDesc() argument
29 this.argTypes = argTypes; in MethodDesc()
41 return argTypes; in getArgTypes()
44 public void setArgTypes(List<Class<?>> argTypes) { in setArgTypes() argument
45 this.argTypes = argTypes; in setArgTypes()
DParameterizedTypeTest.java38 List<Class<?>> argTypes = new LinkedList<Class<?>>(); in testRepresenter() local
39 argTypes.add(String.class); in testRepresenter()
40 argTypes.add(Integer.class); in testRepresenter()
41 argTypes.add(Boolean.class); in testRepresenter()
42 MethodDesc methodDesc = new MethodDesc(methodName, argTypes); in testRepresenter()
53 assertEquals(argTypes, argTypes2); in testRepresenter()
/external/mockito/src/test/java/org/mockito/internal/invocation/
DInvocationBuilder.java33 private List<Class<?>> argTypes; field in InvocationBuilder
45 if (argTypes == null) { in toInvocation()
46 argTypes = new LinkedList<Class<?>>(); in toInvocation()
49 argTypes.add(Object.class); in toInvocation()
51 argTypes.add(arg.getClass()); in toInvocation()
57 … method = IMethods.class.getMethod(methodName, argTypes.toArray(new Class[argTypes.size()])); in toInvocation()
138 public InvocationBuilder argTypes(Class<?>... argTypes) {
139 this.argTypes = asList(argTypes);
/external/mockito/src/test/java/org/mockito/internal/stubbing/answers/
DReturnsArgumentAtTest.java47 .argTypes(Object[].class) in should_identify_bad_parameter_type_for_invocation()
54 .argTypes(boolean[].class) in should_identify_bad_parameter_type_for_invocation()
61 … .argTypes(Object.class, String[].class) in should_identify_bad_parameter_type_for_invocation()
71 … .argTypes(Object.class, String[].class) in should_not_scream_when_mixed_vararg_parameter_is_compatible_with_invocation()
79 … .argTypes(Object.class, String[].class) in should_handle_returning_vararg_as_array()
86 … .argTypes(Object.class, String[].class) in should_handle_returning_vararg_as_array()
110 .argTypes(int.class) in should_allow_possible_argument_types()
116 .argTypes(String.class) in should_allow_possible_argument_types()
122 .argTypes(int.class, Object[].class) in should_allow_possible_argument_types()
128 .argTypes(int.class, Object.class, String.class) in should_allow_possible_argument_types()
[all …]
/external/llvm/examples/ExceptionDemo/
DExceptionDemo.cpp1136 ArgTypes argTypes; in createCatchWrappedInvokeFunction() local
1137 argTypes.push_back(builder.getInt32Ty()); in createCatchWrappedInvokeFunction()
1144 argTypes, in createCatchWrappedInvokeFunction()
1743 ArgTypes argTypes; in createStandardUtilityFunctions() local
1750 argTypes.clear(); in createStandardUtilityFunctions()
1751 argTypes.push_back(builder.getInt32Ty()); in createStandardUtilityFunctions()
1752 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions()
1758 argTypes, in createStandardUtilityFunctions()
1769 argTypes.clear(); in createStandardUtilityFunctions()
1770 argTypes.push_back(builder.getInt64Ty()); in createStandardUtilityFunctions()
[all …]
/external/swiftshader/third_party/LLVM/examples/ExceptionDemo/
DExceptionDemo.cpp1124 ArgTypes argTypes; in createCatchWrappedInvokeFunction() local
1125 argTypes.push_back(builder.getInt32Ty()); in createCatchWrappedInvokeFunction()
1132 argTypes, in createCatchWrappedInvokeFunction()
1793 ArgTypes argTypes; in createStandardUtilityFunctions() local
1800 argTypes.clear(); in createStandardUtilityFunctions()
1801 argTypes.push_back(builder.getInt32Ty()); in createStandardUtilityFunctions()
1802 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions()
1808 argTypes, in createStandardUtilityFunctions()
1819 argTypes.clear(); in createStandardUtilityFunctions()
1820 argTypes.push_back(builder.getInt64Ty()); in createStandardUtilityFunctions()
[all …]
/external/javassist/src/main/javassist/compiler/
DMemberResolver.java77 int[] argTypes, int[] argDims, in lookupMethod() argument
86 argTypes, argDims, argClassNames); in lookupMethod()
96 Method m = lookupMethod(clazz, methodName, argTypes, argDims, in lookupMethod()
105 int[] argTypes, int[] argDims, in lookupMethod() argument
120 argTypes, argDims, argClassNames); in lookupMethod()
144 Method r = lookupMethod(pclazz, methodName, argTypes, in lookupMethod()
159 argTypes, argDims, argClassNames, in lookupMethod()
169 Method r = lookupMethod(pclazz, methodName, argTypes, in lookupMethod()
196 private int compareSignature(String desc, int[] argTypes, in compareSignature() argument
202 int nArgs = argTypes.length; in compareSignature()
[all …]
/external/mockito/src/main/java/org/mockito/internal/configuration/injection/
DConstructorInjection.java70 public Object[] resolveTypeInstances(Class<?>... argTypes) { in resolveTypeInstances() argument
71 List<Object> argumentInstances = new ArrayList<Object>(argTypes.length); in resolveTypeInstances()
72 for (Class<?> argType : argTypes) { in resolveTypeInstances()
/external/clang/lib/CodeGen/
DCodeGenABITypes.cpp60 ArrayRef<CanQualType> argTypes, in arrangeFreeFunctionCall() argument
64 returnType, /*IsInstanceMethod=*/false, /*IsChainCall=*/false, argTypes, in arrangeFreeFunctionCall()
DCGCall.cpp162 SmallVector<CanQualType, 16> argTypes; in arrangeFreeFunctionType() local
163 return ::arrangeLLVMFunctionInfo(*this, /*instanceMethod=*/false, argTypes, in arrangeFreeFunctionType()
215 SmallVector<CanQualType, 16> argTypes; in arrangeCXXMethodType() local
219 argTypes.push_back(GetThisType(Context, RD)); in arrangeCXXMethodType()
221 argTypes.push_back(Context.VoidPtrTy); in arrangeCXXMethodType()
224 *this, true, argTypes, in arrangeCXXMethodType()
261 SmallVector<CanQualType, 16> argTypes; in arrangeCXXStructorDeclaration() local
263 argTypes.push_back(GetThisType(Context, MD->getParent())); in arrangeCXXStructorDeclaration()
284 appendParameterTypes(*this, argTypes, paramInfos, FTP, MD); in arrangeCXXStructorDeclaration()
286 TheCXXABI.buildStructorSignature(MD, Type, argTypes); in arrangeCXXStructorDeclaration()
[all …]
DCodeGenTypes.h280 ArrayRef<CanQualType> argTypes);
327 ArrayRef<CanQualType> argTypes,
/external/dexmaker/dexmaker/src/main/java/com/android/dx/stock/
DProxyBuilder.java445 TypeId<?>[] argTypes = new TypeId<?>[argClasses.length]; in generateCodeForAllMethods() local
446 for (int i = 0; i < argTypes.length; ++i) { in generateCodeForAllMethods()
447 argTypes[i] = TypeId.get(argClasses[i]); in generateCodeForAllMethods()
451 MethodId<T, ?> superMethod = superclassType.getMethod(resultType, name, argTypes); in generateCodeForAllMethods()
452 MethodId<?, ?> methodId = generatedType.getMethod(resultType, name, argTypes); in generateCodeForAllMethods()
477 code.loadConstant(argsLength, argTypes.length); in generateCodeForAllMethods()
488 for (int p = 0; p < argTypes.length; ++p) { in generateCodeForAllMethods()
490 Local<?> parameter = code.getParameter(p, argTypes[p]); in generateCodeForAllMethods()
504 superArgs2[i] = code.getParameter(i, argTypes[i]); in generateCodeForAllMethods()
524 resultType, superMethodName(method), argTypes); in generateCodeForAllMethods()
[all …]
/external/clang/utils/ABITest/
DTypeGen.py167 def __init__(self, index, returnType, argTypes): argument
170 self.argTypes = argTypes
177 if not self.argTypes:
180 at = ', '.join(map(str, self.argTypes))
188 if not self.argTypes:
191 at = ', '.join(map(str, self.argTypes))
/external/skia/tools/trace/
DSkDebugfTracer.cpp17 const uint8_t* argTypes, in addTraceEvent() argument
27 switch (argTypes[i]) { in addTraceEvent()
DSkDebugfTracer.h27 const uint8_t* argTypes,
/external/mockito/src/test/java/org/mockitoutil/
DSimplePerRealmReloadingClassLoader.java98 …public Object doInRealm(String callableCalledInClassLoaderRealm, Class<?>[] argTypes, Object[] arg… in doInRealm() argument
102 …tance = this.loadClass(callableCalledInClassLoaderRealm).getConstructor(argTypes).newInstance(args… in doInRealm()
/external/icu/icu4c/source/i18n/
Dmsgfmt.cpp238 argTypes(NULL), in MessageFormat()
260 argTypes(NULL), in MessageFormat()
283 argTypes(NULL), in MessageFormat()
305 argTypes(NULL), in MessageFormat()
329 uprv_free(argTypes); in ~MessageFormat()
358 uprv_realloc(argTypes, sizeof(*argTypes) * capacity); in allocateArgTypes()
363 argTypes = a; in allocateArgTypes()
1318 uprv_memcpy(argTypes, that.argTypes, argTypeCount * sizeof(argTypes[0])); in copyObjects()
1615 argTypes[i] = Formattable::kObject; in cacheExplicitFormats()
1667 … if (argTypes[argNumber] != Formattable::kObject && argTypes[argNumber] != formattableType) { in cacheExplicitFormats()
[all …]
/external/clang/include/clang/CodeGen/
DCGFunctionInfo.h515 ArrayRef<CanQualType> argTypes,
645 ArrayRef<CanQualType> argTypes) { in Profile() argument
661 i = argTypes.begin(), e = argTypes.end(); i != e; ++i) { in Profile()
DCodeGenABITypes.h69 ArrayRef<CanQualType> argTypes,
/external/skia/include/utils/
DSkEventTracer.h69 const uint8_t* argTypes,
/external/javassist/src/main/javassist/tools/reflect/
DClassMetaobject.java352 public final int getMethodIndex(String originalName, Class[] argTypes) in getMethodIndex() argument
362 && Arrays.equals(argTypes, mthds[i].getParameterTypes())) in getMethodIndex()
/external/skia/src/utils/
DSkEventTracer.cpp22 const uint8_t* argTypes, in addTraceEvent() argument
/external/skia/src/core/
DSkATrace.cpp35 const uint8_t* argTypes, in addTraceEvent() argument
DSkATrace.h31 const uint8_t* argTypes,

12