Home
last modified time | relevance | path

Searched refs:py_opt (Results 1 – 2 of 2) sorted by relevance

/dports/biology/hisat2/hisat2-2.2.1/hisat2lib/pymodule/
H A Dht2module.c79 PyObject *py_opt = NULL; in conv_ht2opt() local
81 py_opt = PyDict_New(); in conv_ht2opt()
82 if(py_opt == NULL) { in conv_ht2opt()
93 HT2_OPT_BUILD(py_opt, opts, offRate, "i"); in conv_ht2opt()
94 HT2_OPT_BUILD(py_opt, opts, useMm, "i"); in conv_ht2opt()
96 HT2_OPT_BUILD(py_opt, opts, mmSweep, "i"); in conv_ht2opt()
104 return py_opt; in conv_ht2opt()
121 HT2_OPT_UPDATE(py_opt, ht2opt, offRate); in update_ht2_options()
122 HT2_OPT_UPDATE(py_opt, ht2opt, useMm); in update_ht2_options()
123 HT2_OPT_UPDATE(py_opt, ht2opt, mmSweep); in update_ht2_options()
[all …]
/dports/devel/libsigrokdecode/libsigrokdecode-0.5.3/
H A Ddecoder.c257 PyObject *py_opts, *py_opt, *py_str, *py_values, *py_default, *py_item; in get_options() local
286 py_opt = PyTuple_GetItem(py_opts, opt); in get_options()
287 if (!py_opt) in get_options()
290 if (!PyDict_Check(py_opt)) { in get_options()
300 py_str = PyDict_GetItemString(py_opt, "id"); in get_options()
309 py_str = PyDict_GetItemString(py_opt, "desc"); in get_options()
315 py_default = PyDict_GetItemString(py_opt, "default"); in get_options()
326 py_values = PyDict_GetItemString(py_opt, "values"); in get_options()