Home
last modified time | relevance | path

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

12345

/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/libffi/testsuite/libffi.closures/
Dhuge_struct.c224 ffi_type* argTypes[51]; in main() local
266 argTypes[0] = argTypes[12] = argTypes[24] = argTypes[36] = argTypes[48] = &ffi_type_uint8; in main()
268 argTypes[1] = argTypes[13] = argTypes[25] = argTypes[37] = argTypes[49] = &ffi_type_sint8; in main()
270 argTypes[2] = argTypes[14] = argTypes[26] = argTypes[38] = &ffi_type_uint16; in main()
272 argTypes[3] = argTypes[15] = argTypes[27] = argTypes[39] = &ffi_type_sint16; in main()
274 argTypes[4] = argTypes[16] = argTypes[28] = argTypes[40] = &ffi_type_uint32; in main()
276 argTypes[5] = argTypes[17] = argTypes[29] = argTypes[41] = &ffi_type_sint32; in main()
278 argTypes[6] = argTypes[18] = argTypes[30] = argTypes[42] = &ffi_type_uint64; in main()
280 argTypes[7] = argTypes[19] = argTypes[31] = argTypes[43] = &ffi_type_sint64; in main()
282 argTypes[8] = argTypes[20] = argTypes[32] = argTypes[44] = &ffi_type_float; in main()
[all …]
/external/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/dexmaker/dexmaker-mockito-inline/src/main/java/com/android/dx/mockito/inline/
DMockMethodAdvice.java110 ArrayList<Class<?>> argTypes = new ArrayList<>(argTypeNames.length); in getOrigin() local
115 argTypes.add(Byte.TYPE); in getOrigin()
118 argTypes.add(Short.TYPE); in getOrigin()
121 argTypes.add(Integer.TYPE); in getOrigin()
124 argTypes.add(Long.TYPE); in getOrigin()
127 argTypes.add(Character.TYPE); in getOrigin()
130 argTypes.add(Float.TYPE); in getOrigin()
133 argTypes.add(Double.TYPE); in getOrigin()
136 argTypes.add(Boolean.TYPE); in getOrigin()
139 argTypes.add(byte[].class); in getOrigin()
[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.java34 private List<Class<?>> argTypes; field in InvocationBuilder
46 if (argTypes == null) { in toInvocation()
47 argTypes = new LinkedList<Class<?>>(); in toInvocation()
50 argTypes.add(Object.class); in toInvocation()
52 argTypes.add(arg.getClass()); in toInvocation()
58 … method = IMethods.class.getMethod(methodName, argTypes.toArray(new Class[argTypes.size()])); in toInvocation()
123 public InvocationBuilder argTypes(Class<?>... argTypes) { in argTypes() method in InvocationBuilder
124 this.argTypes = asList(argTypes); in 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-project/mlir/lib/IR/
DFunctionImplementation.cpp19 SmallVectorImpl<Type> &argTypes, SmallVectorImpl<NamedAttrList> &argAttrs, in parseFunctionArgumentList() argument
36 if (argNames.empty() && !argTypes.empty()) in parseFunctionArgumentList()
53 argTypes.push_back(argumentType); in parseFunctionArgumentList()
69 unsigned numTypedArguments = argTypes.size(); in parseFunctionArgumentList()
74 if (argTypes.size() == numTypedArguments && in parseFunctionArgumentList()
131 SmallVectorImpl<Type> &argTypes, SmallVectorImpl<NamedAttrList> &argAttrs, in parseFunctionSignature() argument
136 argTypes, argAttrs, isVariadic)) in parseFunctionSignature()
169 SmallVector<Type, 4> argTypes; in parseFunctionLikeOp() local
185 if (parseFunctionSignature(parser, allowVariadic, entryArgs, argTypes, in parseFunctionLikeOp()
190 if (auto type = funcTypeBuilder(builder, argTypes, resultTypes, in parseFunctionLikeOp()
[all …]
/external/llvm-project/mlir/lib/EDSC/
DBuilders.cpp64 Block *mlir::edsc::createBlock(TypeRange argTypes) { in createBlock() argument
71 return createBlockInRegion(*block->getParent(), argTypes); in createBlock()
74 Block *mlir::edsc::createBlockInRegion(Region &region, TypeRange argTypes) { in createBlockInRegion() argument
79 return builder.createBlock(&region, {}, argTypes); in createBlockInRegion()
95 Block *mlir::edsc::buildInNewBlock(TypeRange argTypes, in buildInNewBlock() argument
102 return buildInNewBlock(*block->getParent(), argTypes, builderFn); in buildInNewBlock()
105 Block *mlir::edsc::buildInNewBlock(Region &region, TypeRange argTypes, in buildInNewBlock() argument
110 Block *block = createBlockInRegion(region, argTypes); in buildInNewBlock()
/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/llvm-project/llvm/examples/ExceptionDemo/
DExceptionDemo.cpp1084 ArgTypes argTypes; in createCatchWrappedInvokeFunction() local
1085 argTypes.push_back(builder.getInt32Ty()); in createCatchWrappedInvokeFunction()
1092 argTypes, in createCatchWrappedInvokeFunction()
1691 ArgTypes argTypes; in createStandardUtilityFunctions() local
1698 argTypes.clear(); in createStandardUtilityFunctions()
1699 argTypes.push_back(builder.getInt32Ty()); in createStandardUtilityFunctions()
1700 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions()
1706 argTypes, in createStandardUtilityFunctions()
1717 argTypes.clear(); in createStandardUtilityFunctions()
1718 argTypes.push_back(builder.getInt64Ty()); in createStandardUtilityFunctions()
[all …]
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DForwardingTestUtil.java89 Class<?>[] argTypes = method.getParameterTypes(); in testMethodsForwarded() local
90 Object[] args = new Object[argTypes.length]; in testMethodsForwarded()
91 for (int i = 0; i < argTypes.length; i++) { in testMethodsForwarded()
92 if ((args[i] = argProvider.get(argTypes[i])) == null) { in testMethodsForwarded()
93 args[i] = Defaults.defaultValue(argTypes[i]); in testMethodsForwarded()
DForwardingChannelBuilderTest.java65 Class<?>[] argTypes = method.getParameterTypes(); in allBuilderMethodsReturnThis() local
66 Object[] args = new Object[argTypes.length]; in allBuilderMethodsReturnThis()
67 for (int i = 0; i < argTypes.length; i++) { in allBuilderMethodsReturnThis()
68 args[i] = Defaults.defaultValue(argTypes[i]); in allBuilderMethodsReturnThis()
/external/llvm-project/mlir/include/mlir/IR/
DFunctionImplementation.h59 SmallVectorImpl<Type> &argTypes, SmallVectorImpl<NamedAttrList> &argAttrs,
69 SmallVectorImpl<Type> &argTypes,
88 ArrayRef<Type> argTypes, bool isVariadic,
94 ArrayRef<Type> argTypes, bool isVariadic,
/external/javassist/src/main/javassist/compiler/
DMemberResolver.java79 int[] argTypes, int[] argDims, in lookupMethod() argument
88 argTypes, argDims, argClassNames); in lookupMethod()
97 Method m = lookupMethod(clazz, methodName, argTypes, argDims, in lookupMethod()
105 int[] argTypes, int[] argDims, in lookupMethod() argument
119 argTypes, argDims, argClassNames); in lookupMethod()
144 Method r = lookupMethod(pclazz, methodName, argTypes, in lookupMethod()
157 argTypes, argDims, argClassNames, in lookupMethod()
167 Method r = lookupMethod(pclazz, methodName, argTypes, in lookupMethod()
194 private int compareSignature(String desc, int[] argTypes, in compareSignature() argument
200 int nArgs = argTypes.length; in compareSignature()
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/introspect/
DMemberKey.java28 public MemberKey(String name, Class<?>[] argTypes) in MemberKey() argument
31 _argTypes = (argTypes == null) ? NO_CLASSES : argTypes; in MemberKey()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/codegen/templates/
Dgen_builder.hpp45 SmallVector<Type*, ${len(func['args'])}> argTypes;
47 argTypes.push_back(${arg}->getType());
54 FunctionType* pFuncTy = FunctionType::get(${ func['returnType'] }, argTypes, false);
/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/angle/src/common/
Devent_tracer.cpp34 const unsigned char *argTypes, in AddTraceEvent() argument
46 numArgs, argNames, argTypes, argValues, flags); in AddTraceEvent()
/external/perfetto/gn/standalone/
Dwasm_typescript_declaration.d.ts49 addFunction(f: any, argTypes: string): void;
53 argTypes: string[],
/external/clang/lib/CodeGen/
DCodeGenABITypes.cpp60 ArrayRef<CanQualType> argTypes, in arrangeFreeFunctionCall() argument
64 returnType, /*IsInstanceMethod=*/false, /*IsChainCall=*/false, argTypes, in arrangeFreeFunctionCall()
/external/llvm-project/flang/lib/Evaluate/
Dintrinsics-library.cpp427 const std::vector<DynamicType> &argTypes) { in SearchInHostRuntimeMap() argument
431 if (iter->resultType == resultType && iter->argumentTypes == argTypes) { in SearchInHostRuntimeMap()
440 DynamicType resultType, const std::vector<DynamicType> &argTypes) { in SearchHostRuntime() argument
448 SearchInHostRuntimeMap(*map, name, resultType, argTypes)}) { in SearchHostRuntime()
456 SearchInHostRuntimeMap(*map, name, resultType, argTypes)}) { in SearchHostRuntime()
483 DynamicType resultType, const std::vector<DynamicType> &argTypes) { in GetHostRuntimeWrapper() argument
484 if (const auto *hostFunction{SearchHostRuntime(name, resultType, argTypes)}) { in GetHostRuntimeWrapper()
491 for (auto type : argTypes) { in GetHostRuntimeWrapper()
/external/llvm-project/mlir/lib/Dialect/GPU/IR/
DGPUDialect.cpp494 SmallVectorImpl<Type> &argTypes) { in parseLaunchFuncOperands() argument
501 argTypes, argAttrs, isVariadic); in parseLaunchFuncOperands()
570 SmallVectorImpl<Type> &argTypes) { in parseAttributions() argument
590 argTypes.push_back(type); in parseAttributions()
605 SmallVector<Type, 8> argTypes; in parseGPUFuncOp() local
617 parser, /*allowVariadic=*/false, entryArgs, argTypes, argAttrs, in parseGPUFuncOp()
621 if (entryArgs.empty() && !argTypes.empty()) in parseGPUFuncOp()
628 auto type = builder.getFunctionType(argTypes, resultTypes); in parseGPUFuncOp()
633 entryArgs, argTypes))) in parseGPUFuncOp()
638 unsigned numWorkgroupAttrs = argTypes.size() - type.getNumInputs(); in parseGPUFuncOp()
[all …]
/external/dexmaker/dexmaker/src/main/java/com/android/dx/stock/
DProxyBuilder.java522 TypeId<?>[] argTypes = new TypeId<?>[argClasses.length]; in generateCodeForAllMethods() local
523 for (int i = 0; i < argTypes.length; ++i) { in generateCodeForAllMethods()
524 argTypes[i] = TypeId.get(argClasses[i]); in generateCodeForAllMethods()
528 MethodId<?, ?> methodId = generatedType.getMethod(resultType, name, argTypes); in generateCodeForAllMethods()
558 superMethod = superclassType.getMethod(resultType, name, argTypes); in generateCodeForAllMethods()
567 code.loadConstant(argsLength, argTypes.length); in generateCodeForAllMethods()
578 for (int p = 0; p < argTypes.length; ++p) { in generateCodeForAllMethods()
580 Local<?> parameter = code.getParameter(p, argTypes[p]); in generateCodeForAllMethods()
596 superArgs2[i] = code.getParameter(i, argTypes[i]); in generateCodeForAllMethods()
619 resultType, superMethodName(method), argTypes); in generateCodeForAllMethods()
[all …]

12345