• Home
  • Raw
  • Download

Lines Matching refs:raw

57 ffi_raw_to_ptrarray (ffi_cif *cif, ffi_raw *raw, void **args)  in ffi_raw_to_ptrarray()  argument
70 *args = (void*) ((char*)(raw++) + FFI_SIZEOF_ARG - 1); in ffi_raw_to_ptrarray()
75 *args = (void*) ((char*)(raw++) + FFI_SIZEOF_ARG - 2); in ffi_raw_to_ptrarray()
81 *args = (void*) ((char*)(raw++) + FFI_SIZEOF_ARG - 4); in ffi_raw_to_ptrarray()
87 *args = (raw++)->ptr; in ffi_raw_to_ptrarray()
92 *args = (raw++)->ptr; in ffi_raw_to_ptrarray()
96 *args = (void*) &(raw++)->ptr; in ffi_raw_to_ptrarray()
100 *args = raw; in ffi_raw_to_ptrarray()
101 raw += FFI_ALIGN ((*tp)->size, FFI_SIZEOF_ARG) / FFI_SIZEOF_ARG; in ffi_raw_to_ptrarray()
115 *args = (raw++)->ptr; in ffi_raw_to_ptrarray()
121 *args = (raw++)->ptr; in ffi_raw_to_ptrarray()
125 *args = (void*) raw; in ffi_raw_to_ptrarray()
126 raw += FFI_ALIGN ((*tp)->size, sizeof (void*)) / sizeof (void*); in ffi_raw_to_ptrarray()
138 ffi_ptrarray_to_raw (ffi_cif *cif, void **args, ffi_raw *raw) in ffi_ptrarray_to_raw() argument
148 (raw++)->uint = *(UINT8*) (*args); in ffi_ptrarray_to_raw()
152 (raw++)->sint = *(SINT8*) (*args); in ffi_ptrarray_to_raw()
156 (raw++)->uint = *(UINT16*) (*args); in ffi_ptrarray_to_raw()
160 (raw++)->sint = *(SINT16*) (*args); in ffi_ptrarray_to_raw()
165 (raw++)->uint = *(UINT32*) (*args); in ffi_ptrarray_to_raw()
169 (raw++)->sint = *(SINT32*) (*args); in ffi_ptrarray_to_raw()
175 (raw++)->ptr = *args; in ffi_ptrarray_to_raw()
180 (raw++)->ptr = *args; in ffi_ptrarray_to_raw()
184 (raw++)->ptr = **(void***) args; in ffi_ptrarray_to_raw()
188 memcpy ((void*) raw->data, (void*)*args, (*tp)->size); in ffi_ptrarray_to_raw()
189 raw += FFI_ALIGN ((*tp)->size, FFI_SIZEOF_ARG) / FFI_SIZEOF_ARG; in ffi_ptrarray_to_raw()
204 void ffi_raw_call (ffi_cif *cif, void (*fn)(void), void *rvalue, ffi_raw *raw) in ffi_raw_call() argument
207 ffi_raw_to_ptrarray (cif, raw, avalue); in ffi_raw_call()
217 ffi_raw *raw = (ffi_raw*)alloca (ffi_raw_size (cif)); in ffi_translate_args() local
220 ffi_ptrarray_to_raw (cif, avalue, raw); in ffi_translate_args()
221 (*cl->fun) (cif, rvalue, raw, cl->user_data); in ffi_translate_args()