Home
last modified time | relevance | path

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

12

/third_party/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.c77 ebl_tid_registers_t *setfunc __attribute__ ((unused)), in ppc_set_initial_registers_tid() argument
117 if (! setfunc (0, GPRS, dwarf_regs, arg)) in ppc_set_initial_registers_tid()
121 if (! setfunc (65, 1, &link, arg)) in ppc_set_initial_registers_tid()
126 return setfunc (-1, 1, &pc, 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()
Dcsky_initreg.c46 ebl_tid_registers_t *setfunc __attribute__ ((unused)), in csky_set_initial_registers_tid() argument
83 setfunc (-1, 1, &dwarf_regs[32], arg); in csky_set_initial_registers_tid()
85 return setfunc (0, 38, dwarf_regs, arg); in csky_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()
/third_party/python/Modules/_ctypes/
Dcallbacks.c136 SETFUNC setfunc, in _CallPythonObject() argument
258 assert(setfunc); in _CallPythonObject()
277 PyObject *keep = setfunc(mem, result, 0); in _CallPythonObject()
289 else if (setfunc != _ctypes_get_fielddesc("O")->setfunc) { in _CallPythonObject()
317 p->setfunc, in closure_fcn()
341 p->setfunc = NULL; in CThunkObject_new()
386 p->setfunc = NULL; in _ctypes_alloc_callback()
390 if (dict == NULL || dict->setfunc == NULL) { in _ctypes_alloc_callback()
395 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
325 PyCData_set(PyObject *dst, PyObject *type, SETFUNC setfunc, PyObject *value,
D_ctypes.c1704 parg->obj = fd->setfunc(&parg->value, value, 0); in c_wchar_p_from_param()
1724 if (dict && (dict->setfunc == _ctypes_get_fielddesc("u")->setfunc)) { in c_wchar_p_from_param()
1733 if (dict && (dict->setfunc == _ctypes_get_fielddesc("u")->setfunc)) { in c_wchar_p_from_param()
1771 parg->obj = fd->setfunc(&parg->value, value, 0); in c_char_p_from_param()
1791 if (dict && (dict->setfunc == _ctypes_get_fielddesc("c")->setfunc)) { in c_char_p_from_param()
1800 if (dict && (dict->setfunc == _ctypes_get_fielddesc("c")->setfunc)) { in c_char_p_from_param()
1843 parg->obj = fd->setfunc(&parg->value, value, 0); in c_void_p_from_param()
1861 parg->obj = fd->setfunc(&parg->value, value, 0); in c_void_p_from_param()
1878 parg->obj = fd->setfunc(&parg->value, value, 0); in c_void_p_from_param()
2020 stgdict->setfunc = fmt->setfunc_swapped; in CreateSwappedType()
[all …]
Dcfield.c55 SETFUNC setfunc = NULL; in PyCField_FromDesc() local
126 setfunc = fd->setfunc; in PyCField_FromDesc()
131 setfunc = fd->setfunc; in PyCField_FromDesc()
136 self->setfunc = setfunc; in PyCField_FromDesc()
218 return PyCData_set(inst, self->proto, self->setfunc, value, in PyCField_set()
/third_party/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.h158 ebl_tid_registers_t *setfunc,
177 bool EBLHOOK(unwind) (Ebl *ebl, Dwarf_Addr pc, ebl_tid_registers_t *setfunc,
Dlibebl.h334 ebl_tid_registers_t *setfunc,
387 extern bool ebl_unwind (Ebl *ebl, Dwarf_Addr pc, ebl_tid_registers_t *setfunc,
/third_party/python/Lib/test/
Dinspect_fodder2.py53 def setfunc(func): function
55 setfunc(lambda x, y: x*y)
/third_party/elfutils/libdwfl/
Dframe_unwind.c666 setfunc (int firstreg, unsigned nregs, const Dwarf_Word *regs, void *arg) in setfunc() function
755 if (! ebl_unwind (ebl, pc, setfunc, getfunc, readfunc, state, &signal_frame)) in __libdwfl_frame_unwind()

12