Home
last modified time | relevance | path

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

123

/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.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() argument
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/swiftshader/third_party/llvm-7.0/llvm/examples/ExceptionDemo/
DExceptionDemo.cpp1085 ArgTypes argTypes; in createCatchWrappedInvokeFunction() local
1086 argTypes.push_back(builder.getInt32Ty()); in createCatchWrappedInvokeFunction()
1093 argTypes, in createCatchWrappedInvokeFunction()
1692 ArgTypes argTypes; in createStandardUtilityFunctions() local
1699 argTypes.clear(); in createStandardUtilityFunctions()
1700 argTypes.push_back(builder.getInt32Ty()); in createStandardUtilityFunctions()
1701 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions()
1707 argTypes, in createStandardUtilityFunctions()
1718 argTypes.clear(); in createStandardUtilityFunctions()
1719 argTypes.push_back(builder.getInt64Ty()); in createStandardUtilityFunctions()
[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/grpc-grpc-java/core/src/test/java/io/grpc/
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()
DForwardingTestUtil.java61 Class<?>[] argTypes = method.getParameterTypes(); in testMethodsForwarded() local
62 Object[] args = new Object[argTypes.length]; in testMethodsForwarded()
63 for (int i = 0; i < argTypes.length; i++) { in testMethodsForwarded()
64 args[i] = Defaults.defaultValue(argTypes[i]); in testMethodsForwarded()
/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/perfetto/gn/standalone/
Dwasm_typescript_declaration.d.ts49 addFunction(f: any, argTypes: string): void;
53 argTypes: string[],
/external/clang/lib/CodeGen/
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 …]
DCodeGenABITypes.cpp60 ArrayRef<CanQualType> argTypes, in arrangeFreeFunctionCall() argument
64 returnType, /*IsInstanceMethod=*/false, /*IsChainCall=*/false, argTypes, in arrangeFreeFunctionCall()
/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 …]
/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/
DSkChromeTracingTracer.cpp92 const uint8_t* argTypes, in addTraceEvent() argument
101 if (TRACE_VALUE_TYPE_COPY_STRING == argTypes[i]) { in addTraceEvent()
128 traceEventArgs[i].fArgType = argTypes[i]; in addTraceEvent()
129 if (TRACE_VALUE_TYPE_COPY_STRING == argTypes[i]) { in addTraceEvent()
DSkDebugfTracer.cpp17 const uint8_t* argTypes, in addTraceEvent() argument
29 switch (argTypes[i]) { in addTraceEvent()
/external/skqp/tools/trace/
DSkChromeTracingTracer.cpp92 const uint8_t* argTypes, in addTraceEvent() argument
101 if (TRACE_VALUE_TYPE_COPY_STRING == argTypes[i]) { in addTraceEvent()
128 traceEventArgs[i].fArgType = argTypes[i]; in addTraceEvent()
129 if (TRACE_VALUE_TYPE_COPY_STRING == argTypes[i]) { in addTraceEvent()
DSkDebugfTracer.cpp17 const uint8_t* argTypes, in addTraceEvent() argument
29 switch (argTypes[i]) { in addTraceEvent()
/external/icu/icu4c/source/i18n/
Dmsgfmt.cpp239 argTypes(NULL), in MessageFormat()
261 argTypes(NULL), in MessageFormat()
284 argTypes(NULL), in MessageFormat()
306 argTypes(NULL), in MessageFormat()
330 uprv_free(argTypes); in ~MessageFormat()
359 uprv_realloc(argTypes, sizeof(*argTypes) * capacity); in allocateArgTypes()
364 argTypes = a; in allocateArgTypes()
1319 uprv_memcpy(argTypes, that.argTypes, argTypeCount * sizeof(argTypes[0])); in copyObjects()
1616 argTypes[i] = Formattable::kObject; in cacheExplicitFormats()
1668 … if (argTypes[argNumber] != Formattable::kObject && argTypes[argNumber] != formattableType) { in cacheExplicitFormats()
[all …]
/external/mockito/src/test/java/org/mockitoutil/
DSimplePerRealmReloadingClassLoader.java102 …public Object doInRealm(String callableCalledInClassLoaderRealm, Class<?>[] argTypes, Object[] arg… in doInRealm() argument
106 …tance = this.loadClass(callableCalledInClassLoaderRealm).getConstructor(argTypes).newInstance(args… in doInRealm()
/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()

123