Home
last modified time | relevance | path

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

/third_party/elfutils/backends/
H A Dsparc_initreg.c45 ebl_tid_registers_t *setfunc __attribute__ ((unused)), in set_initial_registers_tid()
64 if (!setfunc (-1, 1, (Dwarf_Word *) &regs.tpc, arg)) in set_initial_registers_tid()
69 if (!setfunc (0, 1, &zero, arg)) in set_initial_registers_tid()
71 if (!setfunc (1, 7, (Dwarf_Word *) &regs.u_regs[0], arg)) in set_initial_registers_tid()
75 if (!setfunc (8, 8, (Dwarf_Word *) &regs.u_regs[7], arg)) in set_initial_registers_tid()
120 if (!setfunc (16, 8, &locals_outs[0], arg)) in set_initial_registers_tid()
124 if (!setfunc (24, 8, &locals_outs[8], arg)) in set_initial_registers_tid()
H A Daarch64_unwind.c47 ebl_tid_registers_t *setfunc, ebl_tid_registers_get_t *getfunc, in unwind()
56 if (lr == 0 || !setfunc(-1, 1, &lr, arg)) in unwind()
76 setfunc(LR_REG, 1, &newLr, arg); in unwind()
77 setfunc(FP_REG, 1, &newFp, arg); in unwind()
78 setfunc(SP_REG, 1, &newSp, arg); in unwind()
46 unwind(Ebl *ebl __attribute__ ((unused)), Dwarf_Addr pc __attribute__ ((unused)), ebl_tid_registers_t *setfunc, ebl_tid_registers_get_t *getfunc, ebl_pid_memory_read_t *readfunc, void *arg, bool *signal_framep __attribute__ ((unused))) unwind() argument
H A Driscv_initreg.c45 ebl_tid_registers_t *setfunc __attribute__ ((unused)), in riscv_set_initial_registers_tid()
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()
H A Dppc64_unwind.c49 ebl_tid_registers_t *setfunc, ebl_tid_registers_get_t *getfunc, in unwind()
62 || ! setfunc (-1, 1, &lr, arg)) in unwind()
71 setfunc(SP_REG, 1, &newSp, arg); in unwind()
72 setfunc(LR_REG, 1, &newLr, arg); in unwind()
47 unwind(Ebl *ebl __attribute__ ((unused)), Dwarf_Addr pc __attribute__ ((unused)), ebl_tid_registers_t *setfunc, ebl_tid_registers_get_t *getfunc, ebl_pid_memory_read_t *readfunc, void *arg, bool *signal_framep __attribute__ ((unused))) unwind() argument
H A Dx86_64_unwind.c44 ebl_tid_registers_t *setfunc, ebl_tid_registers_get_t *getfunc, in x86_64_unwind()
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()
42 x86_64_unwind(Ebl *ebl __attribute__ ((unused)), Dwarf_Addr pc __attribute__ ((unused)), ebl_tid_registers_t *setfunc, ebl_tid_registers_get_t *getfunc, ebl_pid_memory_read_t *readfunc, void *arg, bool *signal_framep __attribute__ ((unused))) x86_64_unwind() argument
H A Daarch64_initreg.c51 ebl_tid_registers_t *setfunc __attribute__ ((unused)), in aarch64_set_initial_registers_tid()
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()
H A Ds390_initreg.c46 ebl_tid_registers_t *setfunc __attribute__ ((unused)), in s390_set_initial_registers_tid()
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()
H A Dppc_initreg.c77 ebl_tid_registers_t *setfunc __attribute__ ((unused)), in ppc_set_initial_registers_tid()
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()
H A 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()
H A Di386_unwind.c40 them being next to each other when calling getfunc and setfunc. */
49 ebl_tid_registers_t *setfunc, ebl_tid_registers_get_t *getfunc, in i386_unwind()
80 if (! setfunc (ESP, 2, regs, arg) || ! setfunc (-1, 1, &ret_addr, arg)) in i386_unwind()
47 i386_unwind(Ebl *ebl __attribute__ ((unused)), Dwarf_Addr pc __attribute__ ((unused)), ebl_tid_registers_t *setfunc, ebl_tid_registers_get_t *getfunc, ebl_pid_memory_read_t *readfunc, void *arg, bool *signal_framep __attribute__ ((unused))) i386_unwind() argument
H A Dm68k_initreg.c43 ebl_tid_registers_t *setfunc __attribute__ ((unused)), in m68k_set_initial_registers_tid()
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()
H A Dcsky_initreg.c46 ebl_tid_registers_t *setfunc __attribute__ ((unused)), in csky_set_initial_registers_tid()
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()
H A Darm_initreg.c56 ebl_tid_registers_t *setfunc __attribute__ ((unused)), in arm_set_initial_registers_tid()
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()
H A Dx86_64_initreg.c44 ebl_tid_registers_t *setfunc __attribute__ ((unused)), in x86_64_set_initial_registers_tid()
71 return setfunc (0, 17, dwarf_regs, arg); in x86_64_set_initial_registers_tid()
H A Di386_initreg.c44 ebl_tid_registers_t *setfunc __attribute__ ((unused)), in i386_set_initial_registers_tid()
77 return setfunc (0, 9, dwarf_regs, arg); in i386_set_initial_registers_tid()
/third_party/python/Modules/_ctypes/
H A Dcallbacks.c152 SETFUNC setfunc, in _CallPythonObject()
252 assert(setfunc); in _CallPythonObject()
263 stays valid. If there is no such object, the setfunc will in _CallPythonObject()
271 PyObject *keep = setfunc(mem, result, 0); in _CallPythonObject()
279 else if (setfunc != _ctypes_get_fielddesc("O")->setfunc) { in _CallPythonObject()
312 p->setfunc, in closure_fcn()
336 p->setfunc = NULL; in CThunkObject_new()
380 p->setfunc = NULL; in _ctypes_alloc_callback()
384 if (dict == NULL || dict->setfunc in _ctypes_alloc_callback()
150 _CallPythonObject(void *mem, ffi_type *restype, SETFUNC setfunc, PyObject *callable, PyObject *converters, int flags, void **pArgs) _CallPythonObject() argument
[all...]
H A Dctypes.h87 SETFUNC setfunc; member
185 SETFUNC setfunc; member
200 SETFUNC setfunc; /* setter function if proto is NULL */ member
221 SETFUNC setfunc; /* Only for simple objects */ member
244 setfunc and getfunc is only set for simple data types, it is copied from the
273 - setfunc: store a python value in a memory block
346 PyCData_set(PyObject *dst, PyObject *type, SETFUNC setfunc, PyObject *value,
H A D_ctypes.c1680 parg->obj = fd->setfunc(&parg->value, value, 0); in c_wchar_p_from_param()
1700 if (dict && (dict->setfunc == _ctypes_get_fielddesc("u")->setfunc)) { in c_wchar_p_from_param()
1709 if (dict && (dict->setfunc == _ctypes_get_fielddesc("u")->setfunc)) { in c_wchar_p_from_param()
1747 parg->obj = fd->setfunc(&parg->value, value, 0); in c_char_p_from_param()
1767 if (dict && (dict->setfunc == _ctypes_get_fielddesc("c")->setfunc)) { in c_char_p_from_param()
1776 if (dict && (dict->setfunc == _ctypes_get_fielddesc("c")->setfunc)) { in c_char_p_from_param()
3084 _PyCData_set(CDataObject *dst, PyObject *type, SETFUNC setfunc, PyObject *value, Py_ssize_t size, char *ptr) _PyCData_set() argument
3192 PyCData_set(PyObject *dst, PyObject *type, SETFUNC setfunc, PyObject *value, Py_ssize_t index, Py_ssize_t size, char *ptr) PyCData_set() argument
[all...]
H A 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()
H A Dstgdict.c274 new_descr->setfunc = fdescr->setfunc; in MakeFields()
/third_party/elfutils/libebl/
H A 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()
H A Deblinitreg.c38 ebl_tid_registers_t *setfunc, in ebl_set_initial_registers_tid()
44 return ebl->set_initial_registers_tid (tid, setfunc, arg); in ebl_set_initial_registers_tid()
37 ebl_set_initial_registers_tid(Ebl *ebl, pid_t tid, ebl_tid_registers_t *setfunc, void *arg) ebl_set_initial_registers_tid() argument
H A 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/
H A Dinspect_fodder2.py53 def setfunc(func): function
55 setfunc(lambda x, y: x*y)
/third_party/elfutils/libdwfl/
H A 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()

Completed in 14 milliseconds