Home
last modified time | relevance | path

Searched refs:p_arg (Results 1 – 22 of 22) sorted by relevance

/third_party/libffi/src/avr32/
Dffi.c71 ffi_type **p_arg; in ffi_prep_args() local
86 for(i = 0, p_arg = ecif->cif->arg_types; i < ecif->cif->nargs; in ffi_prep_args()
87 i++, p_arg++) in ffi_prep_args()
89 size_t z = (*p_arg)->size; in ffi_prep_args()
90 int alignment = (*p_arg)->alignment; in ffi_prep_args()
91 int type = (*p_arg)->type; in ffi_prep_args()
99 if(pass_struct_on_stack(*p_arg)) in ffi_prep_args()
135 if(type == FFI_TYPE_STRUCT && (*p_arg)->elements[1] == NULL) in ffi_prep_args()
136 type = (*p_arg)->elements[0]->type; in ffi_prep_args()
240 ffi_type **p_arg; in ffi_call() local
[all …]
/third_party/libffi/src/sh/
Dffi.c118 register ffi_type **p_arg; in ffi_prep_args() local
141 for (i = 0, p_arg = ecif->cif->arg_types; i < avn; i++, p_arg++, p_argv++) in ffi_prep_args()
145 z = (*p_arg)->size; in ffi_prep_args()
152 switch ((*p_arg)->type) in ffi_prep_args()
182 if ((*p_arg)->type == FFI_TYPE_FLOAT) in ffi_prep_args()
197 else if ((*p_arg)->type == FFI_TYPE_DOUBLE) in ffi_prep_args()
230 for (i = 0, p_arg = ecif->cif->arg_types; i < avn; i++, p_arg++, p_argv++) in ffi_prep_args()
234 z = (*p_arg)->size; in ffi_prep_args()
241 switch ((*p_arg)->type) in ffi_prep_args()
271 if ((*p_arg)->type == FFI_TYPE_FLOAT) in ffi_prep_args()
[all …]
/third_party/libffi/src/s390/
Dffi.c515 void **p_arg; in ffi_closure_helper_SYSV() local
525 p_arg = avalue = alloca (cif->nargs * sizeof (void *)); in ffi_closure_helper_SYSV()
534 for (ptr = cif->arg_types, i = cif->nargs; i > 0; i--, p_arg++, ptr++) in ffi_closure_helper_SYSV()
574 *p_arg = &p_fpr[n_fpr++]; in ffi_closure_helper_SYSV()
576 *p_arg = &p_ov[n_ov], in ffi_closure_helper_SYSV()
582 *p_arg = &p_fpr[n_fpr++]; in ffi_closure_helper_SYSV()
584 *p_arg = (char *)&p_ov[n_ov++] + sizeof (long) - 4; in ffi_closure_helper_SYSV()
591 *p_arg = &p_gpr[n_gpr++]; in ffi_closure_helper_SYSV()
593 *p_arg = &p_ov[n_ov++]; in ffi_closure_helper_SYSV()
598 *p_arg = &p_gpr[n_gpr], n_gpr += 2; in ffi_closure_helper_SYSV()
[all …]
/third_party/libffi/src/m32r/
Dffi.c42 ffi_type **p_arg; in ffi_prep_args() local
56 for (i = ecif->cif->nargs, p_arg = ecif->cif->arg_types; in ffi_prep_args()
58 i--, p_arg++) in ffi_prep_args()
63 if (((*p_arg)->alignment - 1) & (unsigned) argp) in ffi_prep_args()
64 argp = (char *) FFI_ALIGN (argp, (*p_arg)->alignment); in ffi_prep_args()
69 z = (*p_arg)->size; in ffi_prep_args()
74 switch ((*p_arg)->type) in ffi_prep_args()
93 z = (*p_arg)->size; in ffi_prep_args()
94 if ((*p_arg)->alignment != 1) in ffi_prep_args()
111 if ((*p_arg)->type == FFI_TYPE_STRUCT) in ffi_prep_args()
/third_party/libffi/src/m88k/
Dffi.c79 ffi_type **p_arg; in ffi_prep_args() local
94 for (i = ecif->cif->nargs, p_arg = ecif->cif->arg_types; i != 0; i--, p_arg++) in ffi_prep_args()
99 z = (*p_arg)->size; in ffi_prep_args()
100 t = (*p_arg)->type; in ffi_prep_args()
101 a = (*p_arg)->alignment; in ffi_prep_args()
274 ffi_type **p_arg; in ffi_prep_closure_args_OBSD() local
280 for (i = cif->nargs, p_arg = cif->arg_types; i != 0; i--, p_arg++) in ffi_prep_closure_args_OBSD()
285 z = (*p_arg)->size; in ffi_prep_closure_args_OBSD()
286 t = (*p_arg)->type; in ffi_prep_closure_args_OBSD()
287 a = (*p_arg)->alignment; in ffi_prep_closure_args_OBSD()
/third_party/libffi/src/metag/
Dffi.c42 register ffi_type **p_arg; in ffi_prep_args() local
55 for (i = ecif->cif->nargs, p_arg = ecif->cif->arg_types; (i != 0); i--, p_arg++, p_argv++) in ffi_prep_args()
60 z = (*p_arg)->size; in ffi_prep_args()
64 argp = (char *) FFI_ALIGN_DOWN(FFI_ALIGN_DOWN(argp, (*p_arg)->alignment), 4); in ffi_prep_args()
68 switch ((*p_arg)->type) in ffi_prep_args()
82 memcpy(argp, *p_argv, (*p_arg)->size); in ffi_prep_args()
301 register ffi_type **p_arg; in ffi_prep_incoming_args_SYSV() local
314 for (i = cif->nargs, p_arg = cif->arg_types; (i != 0); i--, p_arg++) { in ffi_prep_incoming_args_SYSV()
318 alignment = (*p_arg)->alignment; in ffi_prep_incoming_args_SYSV()
324 z = (*p_arg)->size; in ffi_prep_incoming_args_SYSV()
/third_party/libffi/src/sh64/
Dffi.c65 register ffi_type **p_arg; in ffi_prep_args() local
78 for (i = 0, p_arg = ecif->cif->arg_types; i < avn; i++, p_arg++, p_argv++) in ffi_prep_args()
83 z = (*p_arg)->size; in ffi_prep_args()
84 align = (*p_arg)->alignment; in ffi_prep_args()
87 switch ((*p_arg)->type) in ffi_prep_args()
116 switch ((*p_arg)->type) in ffi_prep_args()
354 ffi_type **p_arg; in ffi_closure_helper_SYSV() local
378 for (i = 0, p_arg = cif->arg_types; i < avn; i++, p_arg++) in ffi_closure_helper_SYSV()
383 z = (*p_arg)->size; in ffi_closure_helper_SYSV()
388 switch ((*p_arg)->type) in ffi_closure_helper_SYSV()
[all …]
/third_party/libffi/src/vax/
Dffi.c56 ffi_type **p_arg; in ffi_prep_args() local
69 for (i = ecif->cif->nargs, p_arg = ecif->cif->arg_types; in ffi_prep_args()
71 i--, p_arg++) in ffi_prep_args()
75 z = (*p_arg)->size; in ffi_prep_args()
78 switch ((*p_arg)->type) in ffi_prep_args()
205 ffi_type **p_arg; in ffi_prep_closure_elfbsd() local
209 for (i = cif->nargs, p_arg = cif->arg_types; i != 0; i--, p_arg++) in ffi_prep_closure_elfbsd()
213 z = (*p_arg)->size; in ffi_prep_closure_elfbsd()
/third_party/libffi/src/pa/
Dffi.c145 register ffi_type **p_arg; in ffi_prep_args_pa32() local
154 p_arg = ecif->cif->arg_types; in ffi_prep_args_pa32()
159 int type = (*p_arg)->type; in ffi_prep_args_pa32()
235 len = (*p_arg)->size; in ffi_prep_args_pa32()
256 p_arg++; in ffi_prep_args_pa32()
425 ffi_type **p_arg; in ffi_closure_inner_pa32() local
441 p_arg = cif->arg_types; in ffi_closure_inner_pa32()
445 int type = (*p_arg)->type; in ffi_closure_inner_pa32()
456 avalue[i] = (char *)(stack - slot) + sizeof(UINT32) - (*p_arg)->size; in ffi_closure_inner_pa32()
508 if((*p_arg)->size <= 4) in ffi_closure_inner_pa32()
[all …]
/third_party/libffi/src/arc/
Dffi.c51 ffi_type **p_arg; in ffi_prep_args() local
63 for (i = ecif->cif->nargs, p_arg = ecif->cif->arg_types; in ffi_prep_args()
64 (i != 0); i--, p_arg++) in ffi_prep_args()
70 alignment = (((*p_arg)->alignment - 1) | 3) + 1; in ffi_prep_args()
76 z = (*p_arg)->size; in ffi_prep_args()
81 switch ((*p_arg)->type) in ffi_prep_args()
100 memcpy (argp, *p_argv, (*p_arg)->size); in ffi_prep_args()
113 if ((*p_arg)->type == FFI_TYPE_STRUCT) in ffi_prep_args()
/third_party/libffi/src/ia64/
Dffi.c297 ffi_type **p_arg; in ffi_call() local
310 for (i = 0, p_arg = cif->arg_types; i < avn; i++, p_arg++) in ffi_call()
312 switch ((*p_arg)->type) in ffi_call()
368 size_t size = (*p_arg)->size; in ffi_call()
369 size_t align = (*p_arg)->alignment; in ffi_call()
370 int hfa_type = hfa_element_type (*p_arg, 0); in ffi_call()
472 ffi_type **p_arg; in ffi_closure_unix_inner() local
486 for (i = 0, p_arg = cif->arg_types; i < avn; i++, p_arg++) in ffi_closure_unix_inner()
489 switch ((*p_arg)->type) in ffi_closure_unix_inner()
557 size_t size = (*p_arg)->size; in ffi_closure_unix_inner()
[all …]
/third_party/libffi/src/bfin/
Dffi.c149 ffi_type **p_arg; in ffi_prep_args() local
152 for (i = ecif->cif->nargs, p_arg = ecif->cif->arg_types; in ffi_prep_args()
154 i--, p_arg++) { in ffi_prep_args()
156 z = (*p_arg)->size; in ffi_prep_args()
159 switch ((*p_arg)->type) { in ffi_prep_args()
179 memcpy(argp, *p_argv, (*p_arg)->size); in ffi_prep_args()
/third_party/libffi/src/m68k/
Dffi.c42 ffi_type **p_arg; in ffi_prep_args() local
59 for (i = ecif->cif->nargs, p_arg = ecif->cif->arg_types; in ffi_prep_args()
61 i--, p_arg++) in ffi_prep_args()
63 size_t z = (*p_arg)->size; in ffi_prep_args()
64 int type = (*p_arg)->type; in ffi_prep_args()
258 ffi_type **p_arg; in ffi_prep_incoming_args_SYSV() local
263 for (i = cif->nargs, p_arg = cif->arg_types; (i != 0); i--, p_arg++) in ffi_prep_incoming_args_SYSV()
267 z = (*p_arg)->size; in ffi_prep_incoming_args_SYSV()
/third_party/libffi/src/cris/
Dffi.c76 ffi_type **p_arg; in ffi_prep_args() local
82 for (i = ecif->cif->nargs, p_arg = ecif->cif->arg_types; in ffi_prep_args()
83 (i != 0); i--, p_arg++) in ffi_prep_args()
87 switch ((*p_arg)->type) in ffi_prep_args()
91 z = (*p_arg)->size; in ffi_prep_args()
107 struct_count = struct_count + (*p_arg)->size; in ffi_prep_args()
110 memcpy ((stack + uiLocOnStack), *p_argv, (*p_arg)->size); in ffi_prep_args()
115 z = (*p_arg)->size; in ffi_prep_args()
118 switch ((*p_arg)->type) in ffi_prep_args()
/third_party/python/Modules/_ctypes/libffi_osx/x86/
Dx86-ffi_darwin.c45 register ffi_type **p_arg; in ffi_prep_args() local
57 for (i = ecif->cif->nargs, p_arg = ecif->cif->arg_types; in ffi_prep_args()
59 i--, p_arg++) in ffi_prep_args()
67 z = (*p_arg)->size; in ffi_prep_args()
71 switch ((*p_arg)->type) in ffi_prep_args()
272 register ffi_type **p_arg; in ffi_prep_incoming_args_SYSV() local
283 for (i = cif->nargs, p_arg = cif->arg_types; (i != 0); i--, p_arg++) in ffi_prep_incoming_args_SYSV()
292 z = (*p_arg)->size; in ffi_prep_incoming_args_SYSV()
/third_party/libffi/src/frv/
Dffi.c42 register ffi_type **p_arg; in ffi_prep_args() local
48 for (i = ecif->cif->nargs, p_arg = ecif->cif->arg_types; in ffi_prep_args()
50 i--, p_arg++) in ffi_prep_args()
54 z = (*p_arg)->size; in ffi_prep_args()
56 if ((*p_arg)->type == FFI_TYPE_STRUCT) in ffi_prep_args()
75 switch ((*p_arg)->type) in ffi_prep_args()
/third_party/libffi/src/moxie/
Dffi.c40 register ffi_type **p_arg; in ffi_prep_args() local
52 for (i = ecif->cif->nargs, p_arg = ecif->cif->arg_types; in ffi_prep_args()
54 i--, p_arg++) in ffi_prep_args()
58 z = (*p_arg)->size; in ffi_prep_args()
60 if ((*p_arg)->type == FFI_TYPE_STRUCT) in ffi_prep_args()
68 switch ((*p_arg)->type) in ffi_prep_args()
/third_party/libffi/src/microblaze/
Dffi.c45 ffi_type** p_arg; in ffi_prep_args() local
70 for (i = 0, p_arg = ecif->cif->arg_types; i < ecif->cif->nargs; in ffi_prep_args()
71 i++, p_arg++) in ffi_prep_args()
73 size_t size = (*p_arg)->size; in ffi_prep_args()
74 int type = (*p_arg)->type; in ffi_prep_args()
/third_party/libffi/src/mips/
Dffi.c79 ffi_type **p_arg; in ffi_prep_args() local
108 for (i = 0, p_arg = ecif->cif->arg_types; i < ecif->cif->nargs; i++, p_arg++) in ffi_prep_args()
114 a = (*p_arg)->alignment; in ffi_prep_args()
124 z = (*p_arg)->size; in ffi_prep_args()
127 int type = (*p_arg)->type; in ffi_prep_args()
191 memcpy(argp, *p_argv, (*p_arg)->size); in ffi_prep_args()
/third_party/libffi/src/sparc/
Dffi.c185 ffi_type **p_arg; in ffi_prep_args_v8() local
215 p_arg = cif->arg_types; in ffi_prep_args_v8()
218 ffi_type *ty = p_arg[i]; in ffi_prep_args_v8()
Dffi64.c330 ffi_type **p_arg; in ffi_prep_args_v9() local
359 p_arg = cif->arg_types; in ffi_prep_args_v9()
362 ffi_type *ty = p_arg[i]; in ffi_prep_args_v9()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cGPUShaderFP64Tests.cpp13137 glw::GLdouble* p_arg = (glw::GLdouble*)argument_src; in call() local
13143 p_result[component] = p_function(p_arg[component]); in call()
13172 ArgT* p_arg = (ArgT*)argument_src; in call() local
13185 const ArgT first_arg = p_arg[component * component_step_0]; in call()
13446 const glw::GLdouble* p_arg = (const glw::GLdouble*)argument_src; in call() local
13461 const glw::GLdouble first_arg = p_arg[component * component_step_0]; in call()
13462 const glw::GLdouble second_arg = p_arg[component * component_step_1 + n_components_0]; in call()
13463 …const glw::GLdouble third_arg = p_arg[component * component_step_2 + n_components_0 + n_component… in call()