/external/python/cpython3/Modules/_ctypes/libffi_msvc/ |
D | ffi.c | 45 register char *argp; in ffi_prep_args() local 48 argp = stack; in ffi_prep_args() 51 *(void **) argp = ecif->rvalue; in ffi_prep_args() 52 argp += sizeof(void *); in ffi_prep_args() 64 if ((sizeof(void *) - 1) & (size_t) argp) in ffi_prep_args() 65 argp = (char *) ALIGN(argp, sizeof(void *)); in ffi_prep_args() 74 *(intptr_t *) argp = (intptr_t)*(SINT8 *)(* p_argv); in ffi_prep_args() 78 *(uintptr_t *) argp = (uintptr_t)*(UINT8 *)(* p_argv); in ffi_prep_args() 82 *(intptr_t *) argp = (intptr_t)*(SINT16 *)(* p_argv); in ffi_prep_args() 86 *(uintptr_t *) argp = (uintptr_t)*(UINT16 *)(* p_argv); in ffi_prep_args() [all …]
|
/external/python/cpython2/Modules/_ctypes/libffi/src/alpha/ |
D | ffi.c | 82 unsigned long *stack, *argp; in ffi_call() local 93 argp = stack = alloca(cif->bytes + 4*FFI_SIZEOF_ARG); in ffi_call() 96 *(void **) argp++ = rvalue; in ffi_call() 109 *(SINT64 *) argp = *(SINT8 *)(* avalue); in ffi_call() 113 *(SINT64 *) argp = *(UINT8 *)(* avalue); in ffi_call() 117 *(SINT64 *) argp = *(SINT16 *)(* avalue); in ffi_call() 121 *(SINT64 *) argp = *(UINT16 *)(* avalue); in ffi_call() 127 *(SINT64 *) argp = *(SINT32 *)(* avalue); in ffi_call() 133 *(UINT64 *) argp = *(UINT64 *)(* avalue); in ffi_call() 137 if (argp - stack < 6) in ffi_call() [all …]
|
/external/libffi/src/alpha/ |
D | ffi.c | 82 unsigned long *stack, *argp; in ffi_call() local 93 argp = stack = alloca(cif->bytes + 4*FFI_SIZEOF_ARG); in ffi_call() 96 *(void **) argp++ = rvalue; in ffi_call() 109 *(SINT64 *) argp = *(SINT8 *)(* avalue); in ffi_call() 113 *(SINT64 *) argp = *(UINT8 *)(* avalue); in ffi_call() 117 *(SINT64 *) argp = *(SINT16 *)(* avalue); in ffi_call() 121 *(SINT64 *) argp = *(UINT16 *)(* avalue); in ffi_call() 127 *(SINT64 *) argp = *(SINT32 *)(* avalue); in ffi_call() 133 *(UINT64 *) argp = *(UINT64 *)(* avalue); in ffi_call() 137 if (argp - stack < 6) in ffi_call() [all …]
|
/external/libffi/src/arc/ |
D | ffi.c | 51 char *argp; in ffi_prep_args() local 55 argp = stack; in ffi_prep_args() 59 *(void **) argp = ecif->rvalue; in ffi_prep_args() 60 argp += 4; in ffi_prep_args() 75 if ((alignment - 1) & (unsigned) argp) in ffi_prep_args() 76 argp = (char *) ALIGN (argp, alignment); in ffi_prep_args() 86 *(signed int *) argp = (signed int) *(SINT8 *) (*p_argv); in ffi_prep_args() 90 *(unsigned int *) argp = (unsigned int) *(UINT8 *) (*p_argv); in ffi_prep_args() 94 *(signed int *) argp = (signed int) *(SINT16 *) (*p_argv); in ffi_prep_args() 98 *(unsigned int *) argp = (unsigned int) *(UINT16 *) (*p_argv); in ffi_prep_args() [all …]
|
/external/python/cpython2/Modules/_ctypes/libffi/src/arc/ |
D | ffi.c | 51 char *argp; in ffi_prep_args() local 55 argp = stack; in ffi_prep_args() 59 *(void **) argp = ecif->rvalue; in ffi_prep_args() 60 argp += 4; in ffi_prep_args() 75 if ((alignment - 1) & (unsigned) argp) in ffi_prep_args() 76 argp = (char *) ALIGN (argp, alignment); in ffi_prep_args() 86 *(signed int *) argp = (signed int) *(SINT8 *) (*p_argv); in ffi_prep_args() 90 *(unsigned int *) argp = (unsigned int) *(UINT8 *) (*p_argv); in ffi_prep_args() 94 *(signed int *) argp = (signed int) *(SINT16 *) (*p_argv); in ffi_prep_args() 98 *(unsigned int *) argp = (unsigned int) *(UINT16 *) (*p_argv); in ffi_prep_args() [all …]
|
/external/python/cpython2/Modules/_ctypes/libffi_arm_wince/ |
D | ffi.c | 45 register char *argp; in ffi_prep_args() local 48 argp = stack; in ffi_prep_args() 51 *(void **) argp = ecif->rvalue; in ffi_prep_args() 52 argp += 4; in ffi_prep_args() 69 if ((argalign - 1) & (unsigned) argp) { in ffi_prep_args() 70 argp = (char *) ALIGN(argp, argalign); in ffi_prep_args() 80 *(signed int *) argp = (signed int)*(SINT8 *)(* p_argv); in ffi_prep_args() 84 *(unsigned int *) argp = (unsigned int)*(UINT8 *)(* p_argv); in ffi_prep_args() 88 *(signed int *) argp = (signed int)*(SINT16 *)(* p_argv); in ffi_prep_args() 92 *(unsigned int *) argp = (unsigned int)*(UINT16 *)(* p_argv); in ffi_prep_args() [all …]
|
/external/python/cpython2/Modules/_ctypes/libffi_msvc/ |
D | ffi.c | 45 register char *argp; in ffi_prep_args() local 48 argp = stack; in ffi_prep_args() 51 *(void **) argp = ecif->rvalue; in ffi_prep_args() 52 argp += sizeof(void *); in ffi_prep_args() 64 if ((sizeof(void *) - 1) & (size_t) argp) in ffi_prep_args() 65 argp = (char *) ALIGN(argp, sizeof(void *)); in ffi_prep_args() 74 *(signed int *) argp = (signed int)*(SINT8 *)(* p_argv); in ffi_prep_args() 78 *(unsigned int *) argp = (unsigned int)*(UINT8 *)(* p_argv); in ffi_prep_args() 82 *(signed int *) argp = (signed int)*(SINT16 *)(* p_argv); in ffi_prep_args() 86 *(unsigned int *) argp = (unsigned int)*(UINT16 *)(* p_argv); in ffi_prep_args() [all …]
|
/external/python/cpython2/Modules/_ctypes/libffi/src/nios2/ |
D | ffi.c | 83 char *argp = stack; in ffi_prep_args() local 91 (*(void **) argp) = ecif->rvalue; in ffi_prep_args() 92 argp += 4; in ffi_prep_args() 103 if ((alignment - 1) & (unsigned) argp) in ffi_prep_args() 104 argp = (char *) ALIGN (argp, alignment); in ffi_prep_args() 114 *(signed int *) argp = (signed int) *(SINT8 *) avalue; in ffi_prep_args() 118 *(unsigned int *) argp = (unsigned int) *(UINT8 *) avalue; in ffi_prep_args() 122 *(signed int *) argp = (signed int) *(SINT16 *) avalue; in ffi_prep_args() 126 *(unsigned int *) argp = (unsigned int) *(UINT16 *) avalue; in ffi_prep_args() 130 memcpy (argp, avalue, atype->size); in ffi_prep_args() [all …]
|
/external/libffi/src/nios2/ |
D | ffi.c | 83 char *argp = stack; in ffi_prep_args() local 91 (*(void **) argp) = ecif->rvalue; in ffi_prep_args() 92 argp += 4; in ffi_prep_args() 103 if ((alignment - 1) & (unsigned) argp) in ffi_prep_args() 104 argp = (char *) ALIGN (argp, alignment); in ffi_prep_args() 114 *(signed int *) argp = (signed int) *(SINT8 *) avalue; in ffi_prep_args() 118 *(unsigned int *) argp = (unsigned int) *(UINT8 *) avalue; in ffi_prep_args() 122 *(signed int *) argp = (signed int) *(SINT16 *) avalue; in ffi_prep_args() 126 *(unsigned int *) argp = (unsigned int) *(UINT16 *) avalue; in ffi_prep_args() 130 memcpy (argp, avalue, atype->size); in ffi_prep_args() [all …]
|
/external/python/cpython2/Modules/_ctypes/libffi/src/sparc/ |
D | ffi.c | 41 char *argp; in ffi_prep_args_v8() local 45 argp = stack + 16*sizeof(int); in ffi_prep_args_v8() 51 *(int *) argp = (long)ecif->rvalue; in ffi_prep_args_v8() 54 argp += sizeof(int); in ffi_prep_args_v8() 60 ((int*)argp)[0] = 0; in ffi_prep_args_v8() 61 ((int*)argp)[1] = 0; in ffi_prep_args_v8() 62 ((int*)argp)[2] = 0; in ffi_prep_args_v8() 63 ((int*)argp)[3] = 0; in ffi_prep_args_v8() 64 ((int*)argp)[4] = 0; in ffi_prep_args_v8() 65 ((int*)argp)[5] = 0; in ffi_prep_args_v8() [all …]
|
/external/libffi/src/sparc/ |
D | ffi.c | 41 char *argp; in ffi_prep_args_v8() local 45 argp = stack + 16*sizeof(int); in ffi_prep_args_v8() 51 *(int *) argp = (long)ecif->rvalue; in ffi_prep_args_v8() 54 argp += sizeof(int); in ffi_prep_args_v8() 60 ((int*)argp)[0] = 0; in ffi_prep_args_v8() 61 ((int*)argp)[1] = 0; in ffi_prep_args_v8() 62 ((int*)argp)[2] = 0; in ffi_prep_args_v8() 63 ((int*)argp)[3] = 0; in ffi_prep_args_v8() 64 ((int*)argp)[4] = 0; in ffi_prep_args_v8() 65 ((int*)argp)[5] = 0; in ffi_prep_args_v8() [all …]
|
/external/python/cpython2/Modules/_ctypes/libffi/src/metag/ |
D | ffi.c | 41 register char *argp; in ffi_prep_args() local 44 argp = stack; in ffi_prep_args() 48 argp -= 4; in ffi_prep_args() 49 *(void **) argp = ecif->rvalue; in ffi_prep_args() 61 argp -= z; in ffi_prep_args() 64 argp = (char *) ALIGN_DOWN(ALIGN_DOWN(argp, (*p_arg)->alignment), 4); in ffi_prep_args() 71 *(signed int *) argp = (signed int)*(SINT8 *)(* p_argv); in ffi_prep_args() 74 *(unsigned int *) argp = (unsigned int)*(UINT8 *)(* p_argv); in ffi_prep_args() 77 *(signed int *) argp = (signed int)*(SINT16 *)(* p_argv); in ffi_prep_args() 80 *(unsigned int *) argp = (unsigned int)*(UINT16 *)(* p_argv); in ffi_prep_args() [all …]
|
/external/python/cpython2/Modules/_ctypes/libffi/src/m88k/ |
D | ffi.c | 76 char *argp, *stackp; in ffi_prep_args() local 113 argp = (char *)regp; in ffi_prep_args() 115 argp = stackp; in ffi_prep_args() 129 argp = (char *)regp; in ffi_prep_args() 131 argp = stackp; in ffi_prep_args() 135 if (argp == stackp && a > sizeof (int)) in ffi_prep_args() 138 argp = stackp; in ffi_prep_args() 144 *(signed int *) argp = (signed int) *(SINT8 *) *p_argv; in ffi_prep_args() 148 *(unsigned int *) argp = (unsigned int) *(UINT8 *) *p_argv; in ffi_prep_args() 152 *(signed int *) argp = (signed int) *(SINT16 *) *p_argv; in ffi_prep_args() [all …]
|
/external/libffi/src/m88k/ |
D | ffi.c | 76 char *argp, *stackp; in ffi_prep_args() local 113 argp = (char *)regp; in ffi_prep_args() 115 argp = stackp; in ffi_prep_args() 129 argp = (char *)regp; in ffi_prep_args() 131 argp = stackp; in ffi_prep_args() 135 if (argp == stackp && a > sizeof (int)) in ffi_prep_args() 138 argp = stackp; in ffi_prep_args() 144 *(signed int *) argp = (signed int) *(SINT8 *) *p_argv; in ffi_prep_args() 148 *(unsigned int *) argp = (unsigned int) *(UINT8 *) *p_argv; in ffi_prep_args() 152 *(signed int *) argp = (signed int) *(SINT16 *) *p_argv; in ffi_prep_args() [all …]
|
/external/libffi/src/metag/ |
D | ffi.c | 41 register char *argp; in ffi_prep_args() local 44 argp = stack; in ffi_prep_args() 48 argp -= 4; in ffi_prep_args() 49 *(void **) argp = ecif->rvalue; in ffi_prep_args() 61 argp -= z; in ffi_prep_args() 64 argp = (char *) ALIGN_DOWN(ALIGN_DOWN(argp, (*p_arg)->alignment), 4); in ffi_prep_args() 71 *(signed int *) argp = (signed int)*(SINT8 *)(* p_argv); in ffi_prep_args() 74 *(unsigned int *) argp = (unsigned int)*(UINT8 *)(* p_argv); in ffi_prep_args() 77 *(signed int *) argp = (signed int)*(SINT16 *)(* p_argv); in ffi_prep_args() 80 *(unsigned int *) argp = (unsigned int)*(UINT16 *)(* p_argv); in ffi_prep_args() [all …]
|
/external/python/cpython2/Modules/_ctypes/libffi/src/arm/ |
D | ffi.c | 43 static char* ffi_align(ffi_type **p_arg, char *argp) in ffi_align() argument 57 if ((alignment - 1) & (unsigned) argp) in ffi_align() 59 argp = (char *) ALIGN(argp, alignment); in ffi_align() 64 argp = (char *) ALIGN(argp, 4); in ffi_align() 66 return argp; in ffi_align() 71 register char* argp = stack; in ffi_put_arg() local 81 *(signed int *) argp = (signed int)*(SINT8 *)(* p_argv); in ffi_put_arg() 85 *(unsigned int *) argp = (unsigned int)*(UINT8 *)(* p_argv); in ffi_put_arg() 89 *(signed int *) argp = (signed int)*(SINT16 *)(* p_argv); in ffi_put_arg() 93 *(unsigned int *) argp = (unsigned int)*(UINT16 *)(* p_argv); in ffi_put_arg() [all …]
|
/external/libffi/src/arm/ |
D | ffi.c | 43 static char* ffi_align(ffi_type **p_arg, char *argp) in ffi_align() argument 57 if ((alignment - 1) & (unsigned) argp) in ffi_align() 59 argp = (char *) ALIGN(argp, alignment); in ffi_align() 64 argp = (char *) ALIGN(argp, 4); in ffi_align() 66 return argp; in ffi_align() 71 register char* argp = stack; in ffi_put_arg() local 81 *(signed int *) argp = (signed int)*(SINT8 *)(* p_argv); in ffi_put_arg() 85 *(unsigned int *) argp = (unsigned int)*(UINT8 *)(* p_argv); in ffi_put_arg() 89 *(signed int *) argp = (signed int)*(SINT16 *)(* p_argv); in ffi_put_arg() 93 *(unsigned int *) argp = (unsigned int)*(UINT16 *)(* p_argv); in ffi_put_arg() [all …]
|
/external/python/cpython2/Modules/_ctypes/libffi/src/m32r/ |
D | ffi.c | 41 char *argp; in ffi_prep_args() local 45 argp = stack; in ffi_prep_args() 49 *(void **) argp = ecif->rvalue; in ffi_prep_args() 50 argp += 4; in ffi_prep_args() 63 if (((*p_arg)->alignment - 1) & (unsigned) argp) in ffi_prep_args() 64 argp = (char *) ALIGN (argp, (*p_arg)->alignment); in ffi_prep_args() 77 *(signed int *) argp = (signed int)*(SINT8 *)(* p_argv); in ffi_prep_args() 81 *(unsigned int *) argp = (unsigned int)*(UINT8 *)(* p_argv); in ffi_prep_args() 85 *(signed int *) argp = (signed int)*(SINT16 *)(* p_argv); in ffi_prep_args() 89 *(unsigned int *) argp = (unsigned int)*(UINT16 *)(* p_argv); in ffi_prep_args() [all …]
|
/external/libffi/src/m32r/ |
D | ffi.c | 41 char *argp; in ffi_prep_args() local 45 argp = stack; in ffi_prep_args() 49 *(void **) argp = ecif->rvalue; in ffi_prep_args() 50 argp += 4; in ffi_prep_args() 63 if (((*p_arg)->alignment - 1) & (unsigned) argp) in ffi_prep_args() 64 argp = (char *) ALIGN (argp, (*p_arg)->alignment); in ffi_prep_args() 77 *(signed int *) argp = (signed int)*(SINT8 *)(* p_argv); in ffi_prep_args() 81 *(unsigned int *) argp = (unsigned int)*(UINT8 *)(* p_argv); in ffi_prep_args() 85 *(signed int *) argp = (signed int)*(SINT16 *)(* p_argv); in ffi_prep_args() 89 *(unsigned int *) argp = (unsigned int)*(UINT16 *)(* p_argv); in ffi_prep_args() [all …]
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | SelectorExtras.h | 21 va_list argp) { in getKeywordSelectorImpl() argument 25 while (const char *s = va_arg(argp, const char *)) in getKeywordSelectorImpl() 31 static inline Selector getKeywordSelector(ASTContext &Ctx, va_list argp) { in getKeywordSelector() argument 32 const char *First = va_arg(argp, const char *); in getKeywordSelector() 34 return getKeywordSelectorImpl(Ctx, First, argp); in getKeywordSelector() 40 va_list argp; in getKeywordSelector() local 41 va_start(argp, First); in getKeywordSelector() 42 Selector result = getKeywordSelectorImpl(Ctx, First, argp); in getKeywordSelector() 43 va_end(argp); in getKeywordSelector() 52 va_list argp; in lazyInitKeywordSelector() local [all …]
|
/external/python/cpython3/Modules/_ctypes/libffi_osx/x86/ |
D | x86-ffi_darwin.c | 44 register char *argp; in ffi_prep_args() local 47 argp = stack; in ffi_prep_args() 51 *(void **) argp = ecif->rvalue; in ffi_prep_args() 52 argp += 4; in ffi_prep_args() 64 if ((sizeof(int) - 1) & (unsigned) argp) in ffi_prep_args() 65 argp = (char *) ALIGN(argp, sizeof(int)); in ffi_prep_args() 74 *(signed int *) argp = (signed int)*(SINT8 *)(* p_argv); in ffi_prep_args() 78 *(unsigned int *) argp = (unsigned int)*(UINT8 *)(* p_argv); in ffi_prep_args() 82 *(signed int *) argp = (signed int)*(SINT16 *)(* p_argv); in ffi_prep_args() 86 *(unsigned int *) argp = (unsigned int)*(UINT16 *)(* p_argv); in ffi_prep_args() [all …]
|
/external/python/cpython2/Modules/_ctypes/libffi_osx/x86/ |
D | x86-ffi_darwin.c | 44 register char *argp; in ffi_prep_args() local 47 argp = stack; in ffi_prep_args() 51 *(void **) argp = ecif->rvalue; in ffi_prep_args() 52 argp += 4; in ffi_prep_args() 64 if ((sizeof(int) - 1) & (unsigned) argp) in ffi_prep_args() 65 argp = (char *) ALIGN(argp, sizeof(int)); in ffi_prep_args() 74 *(signed int *) argp = (signed int)*(SINT8 *)(* p_argv); in ffi_prep_args() 78 *(unsigned int *) argp = (unsigned int)*(UINT8 *)(* p_argv); in ffi_prep_args() 82 *(signed int *) argp = (signed int)*(SINT16 *)(* p_argv); in ffi_prep_args() 86 *(unsigned int *) argp = (unsigned int)*(UINT16 *)(* p_argv); in ffi_prep_args() [all …]
|
/external/python/cpython2/Modules/_ctypes/libffi/src/mips/ |
D | ffi.c | 56 FFI_ASSERT(argp <= &stack[bytes]); \ 57 if (argp == &stack[bytes]) \ 59 argp = stack; \ 77 char *argp; in ffi_prep_args() local 85 argp = &stack[bytes - (8 * sizeof(ffi_arg))]; in ffi_prep_args() 87 argp = stack; in ffi_prep_args() 89 argp = stack; in ffi_prep_args() 100 *(ffi_arg *) argp = (ffi_arg) ecif->rvalue; in ffi_prep_args() 101 argp += sizeof(ffi_arg); in ffi_prep_args() 117 if ((a - 1) & (unsigned long) argp) in ffi_prep_args() [all …]
|
/external/libffi/src/mips/ |
D | ffi.c | 56 FFI_ASSERT(argp <= &stack[bytes]); \ 57 if (argp == &stack[bytes]) \ 59 argp = stack; \ 77 char *argp; in ffi_prep_args() local 85 argp = &stack[bytes - (8 * sizeof(ffi_arg))]; in ffi_prep_args() 87 argp = stack; in ffi_prep_args() 89 argp = stack; in ffi_prep_args() 100 *(ffi_arg *) argp = (ffi_arg) ecif->rvalue; in ffi_prep_args() 101 argp += sizeof(ffi_arg); in ffi_prep_args() 117 if ((a - 1) & (unsigned long) argp) in ffi_prep_args() [all …]
|
/external/python/cpython2/Modules/_ctypes/libffi/src/sh/ |
D | ffi.c | 117 register char *argp; in ffi_prep_args() local 125 argp = stack; in ffi_prep_args() 129 *(void **) argp = ecif->rvalue; in ffi_prep_args() 130 argp += 4; in ffi_prep_args() 155 *(signed int *) argp = (signed int)*(SINT8 *)(* p_argv); in ffi_prep_args() 159 *(unsigned int *) argp = (unsigned int)*(UINT8 *)(* p_argv); in ffi_prep_args() 163 *(signed int *) argp = (signed int)*(SINT16 *)(* p_argv); in ffi_prep_args() 167 *(unsigned int *) argp = (unsigned int)*(UINT16 *)(* p_argv); in ffi_prep_args() 171 *(unsigned int *) argp = (unsigned int)*(UINT32 *)(* p_argv); in ffi_prep_args() 177 argp += z; in ffi_prep_args() [all …]
|