Home
last modified time | relevance | path

Searched refs:rvalue (Results 1 – 25 of 64) sorted by relevance

123

/external/libffi/src/m32r/
Dffi.c49 *(void **) argp = ecif->rvalue; in ffi_prep_args()
178 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument
187 if ((rvalue == NULL) && in ffi_call()
190 ecif.rvalue = alloca (cif->rtype->size); in ffi_call()
193 ecif.rvalue = rvalue; in ffi_call()
199 cif->flags, ecif.rvalue, fn); in ffi_call()
208 *(unsigned long *)(ecif.rvalue) <<= (4 - size) * 8; in ffi_call()
214 memcpy (ecif.rvalue, ecif.rvalue + 8-size, size); in ffi_call()
222 memcpy (ecif.rvalue, ecif.rvalue + 8-size, size); in ffi_call()
/external/libffi/src/x86/
Dffi.c52 *(void **) argp = ecif->rvalue; in ffi_prep_args()
191 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument
201 if ((rvalue == NULL) && in ffi_call()
204 ecif.rvalue = alloca(cif->rtype->size); in ffi_call()
207 ecif.rvalue = rvalue; in ffi_call()
213 ffi_call_SYSV(ffi_prep_args, &ecif, cif->bytes, cif->flags, ecif.rvalue, in ffi_call()
219 ecif.rvalue, fn); in ffi_call()
273 ffi_prep_incoming_args_SYSV(char *stack, void **rvalue, void **avalue, in ffi_prep_incoming_args_SYSV() argument
284 *rvalue = *(void **) argp; in ffi_prep_incoming_args_SYSV()
435 ffi_raw_call(ffi_cif *cif, void (*fn)(void), void *rvalue, ffi_raw *fake_avalue) in ffi_raw_call() argument
[all …]
/external/mesa3d/src/glsl/
Dopt_constant_folding.cpp54 virtual void handle_rvalue(ir_rvalue **rvalue);
60 ir_constant_folding_visitor::handle_rvalue(ir_rvalue **rvalue) in handle_rvalue() argument
62 if (*rvalue == NULL || (*rvalue)->ir_type == ir_type_constant) in handle_rvalue()
70 ir_expression *expr = (*rvalue)->as_expression(); in handle_rvalue()
78 ir_constant *constant = (*rvalue)->constant_expression_value(); in handle_rvalue()
80 *rvalue = constant; in handle_rvalue()
83 (*rvalue)->accept(this); in handle_rvalue()
Dopt_noop_swizzle.cpp45 void handle_rvalue(ir_rvalue **rvalue);
50 ir_noop_swizzle_visitor::handle_rvalue(ir_rvalue **rvalue) in handle_rvalue() argument
52 if (!*rvalue) in handle_rvalue()
55 ir_swizzle *swiz = (*rvalue)->as_swizzle(); in handle_rvalue()
70 *rvalue = swiz->val; in handle_rvalue()
Dlower_noise.cpp41 void handle_rvalue(ir_rvalue **rvalue) in handle_rvalue() argument
43 if (!*rvalue) in handle_rvalue()
46 ir_expression *expr = (*rvalue)->as_expression(); in handle_rvalue()
54 *rvalue = ir_constant::zero(hieralloc_parent(expr), expr->type); in handle_rvalue()
Dir_expression_flattening.cpp54 void handle_rvalue(ir_rvalue **rvalue);
72 ir_expression_flattening_visitor::handle_rvalue(ir_rvalue **rvalue) in handle_rvalue() argument
76 ir_rvalue *ir = *rvalue; in handle_rvalue()
91 *rvalue = new(ctx) ir_dereference_variable(var); in handle_rvalue()
Dlower_vector.cpp41 void handle_rvalue(ir_rvalue **rvalue);
116 lower_vector_visitor::handle_rvalue(ir_rvalue **rvalue) in handle_rvalue() argument
118 if (!*rvalue) in handle_rvalue()
121 ir_expression *expr = (*rvalue)->as_expression(); in handle_rvalue()
211 *rvalue = new(mem_ctx) ir_dereference_variable(temp); in handle_rvalue()
Dopt_tree_grafting.cpp79 bool do_graft(ir_rvalue **rvalue);
115 ir_tree_grafting_visitor::do_graft(ir_rvalue **rvalue) in do_graft() argument
117 if (!*rvalue) in do_graft()
120 ir_dereference_variable *deref = (*rvalue)->as_dereference_variable(); in do_graft()
130 (*rvalue)->print(); in do_graft()
135 *rvalue = this->graft_assign->rhs; in do_graft()
Dopt_constant_propagation.cpp100 void handle_rvalue(ir_rvalue **rvalue);
120 ir_constant_propagation_visitor::handle_rvalue(ir_rvalue **rvalue) in handle_rvalue() argument
122 if (this->in_assignee || !*rvalue) in handle_rvalue()
125 const glsl_type *type = (*rvalue)->type; in handle_rvalue()
130 ir_dereference_variable *deref = (*rvalue)->as_dereference_variable(); in handle_rvalue()
132 swiz = (*rvalue)->as_swizzle(); in handle_rvalue()
198 *rvalue = new(hieralloc_parent(deref)) ir_constant(type, &data); in handle_rvalue()
/external/libffi/src/
Djava_raw_api.c236 ffi_java_rvalue_to_raw (ffi_cif *cif, void *rvalue) in ffi_java_rvalue_to_raw() argument
244 *(UINT64 *)rvalue <<= 32; in ffi_java_rvalue_to_raw()
254 *(SINT64 *)rvalue <<= 32; in ffi_java_rvalue_to_raw()
264 ffi_java_raw_to_rvalue (ffi_cif *cif, void *rvalue) in ffi_java_raw_to_rvalue() argument
272 *(UINT64 *)rvalue >>= 32; in ffi_java_raw_to_rvalue()
282 *(SINT64 *)rvalue >>= 32; in ffi_java_raw_to_rvalue()
298 void ffi_java_raw_call (ffi_cif *cif, void (*fn)(void), void *rvalue, in ffi_java_raw_call() argument
303 ffi_call (cif, fn, rvalue, avalue); in ffi_java_raw_call()
304 ffi_java_rvalue_to_raw (cif, rvalue); in ffi_java_raw_call()
310 ffi_java_translate_args (ffi_cif *cif, void *rvalue, in ffi_java_translate_args() argument
[all …]
/external/libffi/src/arm/
Dffi.c45 *(void **) argp = ecif->rvalue; in ffi_prep_args()
154 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument
169 if ((rvalue == NULL) && in ffi_call()
172 ecif.rvalue = alloca(cif->rtype->size); in ffi_call()
175 ecif.rvalue = &temp; in ffi_call()
177 ecif.rvalue = rvalue; in ffi_call()
182 ffi_call_SYSV(ffi_prep_args, &ecif, cif->bytes, cif->flags, ecif.rvalue, in ffi_call()
191 memcpy (rvalue, &temp, cif->rtype->size); in ffi_call()
231 ffi_prep_incoming_args_SYSV(char *stack, void **rvalue, in ffi_prep_incoming_args_SYSV() argument
243 *rvalue = *(void **) argp; in ffi_prep_incoming_args_SYSV()
/external/libffi/src/frv/
Dffi.c134 void *rvalue, in ffi_call() argument
145 if ((rvalue == NULL) && in ffi_call()
148 ecif.rvalue = alloca(cif->rtype->size); in ffi_call()
151 ecif.rvalue = rvalue; in ffi_call()
158 cif->flags, ecif.rvalue, fn); in ffi_call()
237 long long rvalue; in ffi_closure_eabi() local
238 (closure->fun) (cif, &rvalue, avalue, closure->user_data); in ffi_closure_eabi()
243 asm ("ldi @(%0, #0), gr8" : : "r" (&rvalue)); in ffi_closure_eabi()
244 asm ("ldi @(%0, #0), gr9" : : "r" (&((int *) &rvalue)[1])); in ffi_closure_eabi()
/external/libffi/src/sparc/
Dffi.c50 *(int *) argp = (long)ecif->rvalue; in ffi_prep_args_v8()
152 *(unsigned long long *) argp = (unsigned long)ecif->rvalue; in ffi_prep_args_v9()
368 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument
371 void *rval = rvalue; in ffi_call()
379 ecif.rvalue = rvalue; in ffi_call()
387 if (rvalue == NULL) in ffi_call()
388 ecif.rvalue = alloca(cif->rtype->size); in ffi_call()
400 cif->flags, rvalue, fn); in ffi_call()
407 if (rvalue && rval && cif->rtype->type == FFI_TYPE_STRUCT) in ffi_call()
408 ffi_v9_layout_struct(cif->rtype, 0, (char *)rvalue, (char *)rval, ((char *)rval)+32); in ffi_call()
[all …]
/external/libffi/src/s390/
Dffi.c200 p_gpr[n_gpr++] = (unsigned long) ecif->rvalue; in ffi_prep_args()
503 void *rvalue, in ffi_call() argument
511 ecif.rvalue = rvalue; in ffi_call()
514 if (rvalue == NULL) in ffi_call()
517 ecif.rvalue = alloca (cif->rtype->size); in ffi_call()
526 ret_type, ecif.rvalue, fn); in ffi_call()
553 void *rvalue = &ret_buffer; in ffi_closure_helper_SYSV() local
573 rvalue = (void *) p_gpr[n_gpr++]; in ffi_closure_helper_SYSV()
682 (closure->fun) (closure->cif, rvalue, avalue, closure->user_data); in ffi_closure_helper_SYSV()
697 p_fpr[0] = (long long) *(unsigned int *) rvalue << 32; in ffi_closure_helper_SYSV()
[all …]
/external/libffi/src/sh64/
Dffi.c73 *(void **) argp = ecif->rvalue; in ffi_prep_args()
249 /*@out@*/ void *rvalue, in ffi_call() argument
263 ecif.rvalue = &trvalue; in ffi_call()
264 else if ((rvalue == NULL) && in ffi_call()
268 ecif.rvalue = alloca(cif->rtype->size); in ffi_call()
272 ecif.rvalue = rvalue; in ffi_call()
279 cif->flags, cif->flags2, ecif.rvalue, fn); in ffi_call()
287 if (rvalue in ffi_call()
290 memcpy (rvalue, &trvalue, cif->rtype->size); in ffi_call()
347 ffi_closure_helper_SYSV (ffi_closure *closure, UINT64 *rvalue, in ffi_closure_helper_SYSV() argument
[all …]
/external/libffi/src/alpha/
Dffi.c79 ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument
87 if (rvalue == NULL && cif->flags == FFI_TYPE_STRUCT) in ffi_call()
88 rvalue = alloca(cif->rtype->size); in ffi_call()
95 *(void **) argp++ = rvalue; in ffi_call()
168 ffi_call_osf(stack, cif->bytes, cif->flags, rvalue, fn); in ffi_call()
205 ffi_closure_osf_inner(ffi_closure *closure, void *rvalue, unsigned long *argp) in ffi_closure_osf_inner() argument
221 rvalue = (void *) argp[0]; in ffi_closure_osf_inner()
280 closure->fun (cif, rvalue, avalue, closure->user_data); in ffi_closure_osf_inner()
/external/libffi/src/pa/
Dffi.c374 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument
384 if (rvalue == NULL in ffi_call()
392 ecif.rvalue = alloca(cif->rtype->size); in ffi_call()
395 ecif.rvalue = rvalue; in ffi_call()
401 …, bytes=%u, flags=%u, rvalue=%p, fn=%p\n", &ecif, cif->bytes, cif->flags, ecif.rvalue, (void *)fn); in ffi_call()
403 cif->flags, ecif.rvalue, fn); in ffi_call()
421 void *rvalue; in ffi_closure_inner_pa32() local
433 rvalue = (void *)r28; in ffi_closure_inner_pa32()
435 rvalue = &ret[0]; in ffi_closure_inner_pa32()
523 (closure->fun) (cif, rvalue, avalue, closure->user_data); in ffi_closure_inner_pa32()
[all …]
/external/javassist/src/main/javassist/tools/rmi/
DAppletServer.java152 Object rvalue = null; in processRMI() local
157 rvalue = convertRvalue(eo.methods[methodId].invoke(eo.object, in processRMI()
174 out.writeObject(rvalue); in processRMI()
208 private Object convertRvalue(Object rvalue) in convertRvalue() argument
211 if (rvalue == null) in convertRvalue()
214 String classname = rvalue.getClass().getName(); in convertRvalue()
216 return new RemoteRef(exportObject(null, rvalue), classname); in convertRvalue()
218 return rvalue; in convertRvalue()
DObjectImporter.java205 Object rvalue; in call() local
241 rvalue = null; in call()
244 rvalue = din.readObject(); in call()
252 if (rvalue instanceof RemoteRef) { in call()
253 RemoteRef ref = (RemoteRef)rvalue; in call()
254 rvalue = createProxy(ref.oid, ref.classname); in call()
268 return rvalue; in call()
/external/libffi/src/sh/
Dffi.c129 *(void **) argp = ecif->rvalue; in ffi_prep_args()
412 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument
425 ecif.rvalue = &trvalue; in ffi_call()
426 else if ((rvalue == NULL) && in ffi_call()
429 ecif.rvalue = alloca(cif->rtype->size); in ffi_call()
432 ecif.rvalue = rvalue; in ffi_call()
437 ffi_call_SYSV(ffi_prep_args, &ecif, cif->bytes, cif->flags, ecif.rvalue, in ffi_call()
445 if (rvalue in ffi_call()
448 memcpy (rvalue, &trvalue, cif->rtype->size); in ffi_call()
513 ffi_closure_helper_SYSV (ffi_closure *closure, void *rvalue, in ffi_closure_helper_SYSV() argument
[all …]
/external/libffi/src/m68k/
Dffi.c40 struct_value_ptr = ecif->rvalue; in ffi_prep_args()
169 ffi_call (ffi_cif *cif, void (*fn) (), void *rvalue, void **avalue) in ffi_call() argument
179 if (rvalue == NULL in ffi_call()
182 ecif.rvalue = alloca (cif->rtype->size); in ffi_call()
184 ecif.rvalue = rvalue; in ffi_call()
190 ecif.rvalue, fn); in ffi_call()
/external/libffi/src/mips/
Dffi.c95 *(ffi_arg *) argp = (ffi_arg) ecif->rvalue; in ffi_prep_args()
504 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument
514 if ((rvalue == NULL) && in ffi_call()
516 ecif.rvalue = alloca(cif->rtype->size); in ffi_call()
518 ecif.rvalue = rvalue; in ffi_call()
526 cif->flags, ecif.rvalue, fn); in ffi_call()
535 void *rvalue_copy = ecif.rvalue; in ffi_call()
547 memcpy(ecif.rvalue, rvalue_copy, cif->rtype->size); in ffi_call()
657 void *rvalue, ffi_arg *ar, in ffi_closure_mips_inner_O32() argument
675 rvalue = (void *)(UINT32)ar[0]; in ffi_closure_mips_inner_O32()
[all …]
/external/libffi/src/powerpc/
Dffi_darwin.c118 *next_arg++ = (unsigned)(char *)ecif->rvalue; in ffi_prep_args()
432 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) in ffi_call() argument
442 if ((rvalue == NULL) && in ffi_call()
445 ecif.rvalue = alloca(cif->rtype->size); in ffi_call()
448 ecif.rvalue = rvalue; in ffi_call()
453 ffi_call_AIX(&ecif, -cif->bytes, cif->flags, ecif.rvalue, fn, in ffi_call()
457 ffi_call_DARWIN(&ecif, -cif->bytes, cif->flags, ecif.rvalue, fn, in ffi_call()
630 int ffi_closure_helper_DARWIN (ffi_closure* closure, void * rvalue, in ffi_closure_helper_DARWIN() argument
665 rvalue = (void *) *pgr; in ffi_closure_helper_DARWIN()
796 (closure->fun) (cif, rvalue, avalue, closure->user_data); in ffi_closure_helper_DARWIN()
/external/clang/test/SemaObjCXX/
DNSString-type.mm5 …pected-error {{cannot initialize a variable of type 'void (^)()' with an rvalue of type 'NSString …
7 …pected-error {{cannot initialize a variable of type 'void (^)()' with an rvalue of type 'NSString …
8 …pected-error {{cannot initialize a variable of type 'void (^)()' with an rvalue of type 'NSString …
/external/libffi/src/cris/
Dffi.c243 ffi_call (ffi_cif * cif, void (*fn) (), void *rvalue, void **avalue) in ffi_call() argument
250 if ((rvalue == NULL) && (cif->rtype->type == FFI_TYPE_STRUCT)) in ffi_call()
252 ecif.rvalue = alloca (cif->rtype->size); in ffi_call()
255 ecif.rvalue = rvalue; in ffi_call()
261 cif->flags, ecif.rvalue, fn); in ffi_call()

123