Home
last modified time | relevance | path

Searched refs:setfunc (Results 1 – 25 of 33) sorted by relevance

12

/external/elfutils/backends/
Dsparc_initreg.c45 ebl_tid_registers_t *setfunc __attribute__ ((unused)), in EBLHOOK()
64 if (!setfunc (-1, 1, (Dwarf_Word *) &regs.tpc, arg)) in EBLHOOK()
69 if (!setfunc (0, 1, &zero, arg)) in EBLHOOK()
71 if (!setfunc (1, 7, (Dwarf_Word *) &regs.u_regs[0], arg)) in EBLHOOK()
75 if (!setfunc (8, 8, (Dwarf_Word *) &regs.u_regs[7], arg)) in EBLHOOK()
120 if (!setfunc (16, 8, &locals_outs[0], arg)) in EBLHOOK()
124 if (!setfunc (24, 8, &locals_outs[8], arg)) in EBLHOOK()
Daarch64_unwind.c47 ebl_tid_registers_t *setfunc, ebl_tid_registers_get_t *getfunc, in EBLHOOK()
56 if (lr == 0 || !setfunc(-1, 1, &lr, arg)) in EBLHOOK()
76 setfunc(LR_REG, 1, &newLr, arg); in EBLHOOK()
77 setfunc(FP_REG, 1, &newFp, arg); in EBLHOOK()
78 setfunc(SP_REG, 1, &newSp, arg); in EBLHOOK()
Driscv_initreg.c45 ebl_tid_registers_t *setfunc __attribute__ ((unused)), in riscv_set_initial_registers_tid() argument
62 if (! setfunc (0, 1, &zero, arg)) in riscv_set_initial_registers_tid()
66 if (! setfunc (1, 32, (Dwarf_Word *) &gregs[1], arg)) in riscv_set_initial_registers_tid()
70 if (! setfunc (-1, 1, (Dwarf_Word *) &gregs[0], arg)) in riscv_set_initial_registers_tid()
Dppc64_unwind.c49 ebl_tid_registers_t *setfunc, ebl_tid_registers_get_t *getfunc, in EBLHOOK()
62 || ! setfunc (-1, 1, &lr, arg)) in EBLHOOK()
71 setfunc(SP_REG, 1, &newSp, arg); in EBLHOOK()
72 setfunc(LR_REG, 1, &newLr, arg); in EBLHOOK()
Dx86_64_unwind.c44 ebl_tid_registers_t *setfunc, ebl_tid_registers_get_t *getfunc, in x86_64_unwind() argument
69 if (!setfunc(fpReg, 1, &prev_fp, arg)) in x86_64_unwind()
73 if (!setfunc(spReg, 1, &fp, arg)) in x86_64_unwind()
76 if (!setfunc(-1, 1, &ret, arg)) in x86_64_unwind()
Daarch64_initreg.c51 ebl_tid_registers_t *setfunc __attribute__ ((unused)), in aarch64_set_initial_registers_tid() argument
67 if (! setfunc (0, 32, (Dwarf_Word *) &gregs.regs[0], arg)) in aarch64_set_initial_registers_tid()
71 if (! setfunc (-1, 1, (Dwarf_Word *) &gregs.pc, arg)) in aarch64_set_initial_registers_tid()
87 if (! setfunc (64, 32, dwarf_fregs, arg)) in aarch64_set_initial_registers_tid()
Ds390_initreg.c46 ebl_tid_registers_t *setfunc __attribute__ ((unused)), in s390_set_initial_registers_tid() argument
65 if (! setfunc (0, 16, dwarf_regs, arg)) in s390_set_initial_registers_tid()
81 if (! setfunc (16, 16, dwarf_regs, arg)) in s390_set_initial_registers_tid()
84 return setfunc (-1, 1, dwarf_regs, arg); in s390_set_initial_registers_tid()
Dppc_initreg.c71 ebl_tid_registers_t *setfunc __attribute__ ((unused)), in ppc_set_initial_registers_tid() argument
100 if (! setfunc (0, GPRS, dwarf_regs, arg)) in ppc_set_initial_registers_tid()
104 if (! setfunc (65, 1, dwarf_regs, arg)) in ppc_set_initial_registers_tid()
109 return setfunc (-1, 1, dwarf_regs, arg); in ppc_set_initial_registers_tid()
Ds390_unwind.c46 s390_unwind (Ebl *ebl, Dwarf_Addr pc, ebl_tid_registers_t *setfunc, in s390_unwind() argument
86 if (! setfunc (-1, 1, &val, arg)) in s390_unwind()
133 if (! setfunc (0, 16, gprs, arg)) in s390_unwind()
135 if (! setfunc (16, 16, fprs, arg)) in s390_unwind()
Di386_unwind.c49 ebl_tid_registers_t *setfunc, ebl_tid_registers_get_t *getfunc, in i386_unwind() argument
80 if (! setfunc (ESP, 2, regs, arg) || ! setfunc (-1, 1, &ret_addr, arg)) in i386_unwind()
Darm_initreg.c56 ebl_tid_registers_t *setfunc __attribute__ ((unused)), in arm_set_initial_registers_tid() argument
72 return setfunc (0, 16, dwarf_regs, arg); in arm_set_initial_registers_tid()
89 return setfunc (0, 16, dwarf_regs, arg); in arm_set_initial_registers_tid()
Dm68k_initreg.c43 ebl_tid_registers_t *setfunc __attribute__ ((unused)), in m68k_set_initial_registers_tid() argument
72 if (! setfunc (0, 16, dwarf_regs, arg)) in m68k_set_initial_registers_tid()
77 if (! setfunc (24, 1, dwarf_regs, arg)) in m68k_set_initial_registers_tid()
Dx86_64_initreg.c44 ebl_tid_registers_t *setfunc __attribute__ ((unused)), in x86_64_set_initial_registers_tid() argument
71 return setfunc (0, 17, dwarf_regs, arg); in x86_64_set_initial_registers_tid()
Di386_initreg.c44 ebl_tid_registers_t *setfunc __attribute__ ((unused)), in i386_set_initial_registers_tid() argument
77 return setfunc (0, 9, dwarf_regs, arg); in i386_set_initial_registers_tid()
/external/python/cpython3/Modules/_ctypes/
Dcallbacks.c128 SETFUNC setfunc, in _CallPythonObject() argument
251 assert(setfunc); in _CallPythonObject()
257 keep = setfunc(mem, result, 0); in _CallPythonObject()
272 else if (setfunc != _ctypes_get_fielddesc("O")->setfunc) { in _CallPythonObject()
294 p->setfunc, in closure_fcn()
318 p->setfunc = NULL; in CThunkObject_new()
364 p->setfunc = NULL; in _ctypes_alloc_callback()
368 if (dict == NULL || dict->setfunc == NULL) { in _ctypes_alloc_callback()
373 p->setfunc = dict->setfunc; in _ctypes_alloc_callback()
Dctypes.h66 SETFUNC setfunc; member
164 SETFUNC setfunc; member
179 SETFUNC setfunc; /* setter function if proto is NULL */ member
200 SETFUNC setfunc; /* Only for simple objects */ member
323 PyCData_set(PyObject *dst, PyObject *type, SETFUNC setfunc, PyObject *value,
D_ctypes.c1590 parg->obj = fd->setfunc(&parg->value, value, 0); in c_wchar_p_from_param()
1610 if (dict && (dict->setfunc == _ctypes_get_fielddesc("u")->setfunc)) { in c_wchar_p_from_param()
1619 if (dict && (dict->setfunc == _ctypes_get_fielddesc("u")->setfunc)) { in c_wchar_p_from_param()
1654 parg->obj = fd->setfunc(&parg->value, value, 0); in c_char_p_from_param()
1674 if (dict && (dict->setfunc == _ctypes_get_fielddesc("c")->setfunc)) { in c_char_p_from_param()
1683 if (dict && (dict->setfunc == _ctypes_get_fielddesc("c")->setfunc)) { in c_char_p_from_param()
1723 parg->obj = fd->setfunc(&parg->value, value, 0); in c_void_p_from_param()
1741 parg->obj = fd->setfunc(&parg->value, value, 0); in c_void_p_from_param()
1758 parg->obj = fd->setfunc(&parg->value, value, 0); in c_void_p_from_param()
1898 stgdict->setfunc = fmt->setfunc_swapped; in CreateSwappedType()
[all …]
/external/python/cpython2/Modules/_ctypes/
Dcallbacks.c209 SETFUNC setfunc, in _CallPythonObject() argument
334 assert(setfunc); in _CallPythonObject()
340 keep = setfunc(mem, result, 0); in _CallPythonObject()
355 else if (setfunc != _ctypes_get_fielddesc("O")->setfunc) { in _CallPythonObject()
378 p->setfunc, in closure_fcn()
403 p->setfunc = NULL; in CThunkObject_new()
449 p->setfunc = NULL; in _ctypes_alloc_callback()
453 if (dict == NULL || dict->setfunc == NULL) { in _ctypes_alloc_callback()
458 p->setfunc = dict->setfunc; in _ctypes_alloc_callback()
Dctypes.h106 SETFUNC setfunc; member
204 SETFUNC setfunc; member
219 SETFUNC setfunc; /* setter function if proto is NULL */ member
240 SETFUNC setfunc; /* Only for simple objects */ member
365 PyCData_set(PyObject *dst, PyObject *type, SETFUNC setfunc, PyObject *value,
/external/python/cpython2/Lib/plat-mac/Carbon/
DControlAccessor.py30 setfunc, getfunc = _accessdict[selector]
31 setfunc(control, part, selector, data)
44 setfunc, getfunc = _accessdict[selector]
/external/elfutils/libebl/
Deblunwind.c36 ebl_unwind (Ebl *ebl, Dwarf_Addr pc, ebl_tid_registers_t *setfunc, in ebl_unwind() argument
43 return ebl->unwind (ebl, pc, setfunc, getfunc, readfunc, arg, signal_framep); in ebl_unwind()
Deblinitreg.c38 ebl_tid_registers_t *setfunc, in ebl_set_initial_registers_tid() argument
44 return ebl->set_initial_registers_tid (tid, setfunc, arg); in ebl_set_initial_registers_tid()
Debl-hooks.h162 ebl_tid_registers_t *setfunc,
181 bool EBLHOOK(unwind) (Ebl *ebl, Dwarf_Addr pc, ebl_tid_registers_t *setfunc,
/external/python/cpython2/Lib/test/
Dinspect_fodder2.py53 def setfunc(func): function
55 setfunc(lambda x, y: x*y)
/external/python/cpython3/Lib/test/
Dinspect_fodder2.py53 def setfunc(func): function
55 setfunc(lambda x, y: x*y)

12