Home
last modified time | relevance | path

Searched refs:pyvalue (Results 1 – 25 of 79) sorted by relevance

1234

/dports/devel/py-jep/jep-3.9.1/src/main/c/Jep/
H A Dpyembed.c1863 PyObject *pyvalue; in pyembed_setparameter_string() local
1871 pyvalue = Py_None; in pyembed_setparameter_string()
1876 if (pyvalue) { in pyembed_setparameter_string()
1900 PyObject *pyvalue; in pyembed_setparameter_bool() local
1908 if (pyvalue) { in pyembed_setparameter_bool()
1932 PyObject *pyvalue; in pyembed_setparameter_int() local
1940 if (pyvalue) { in pyembed_setparameter_int()
1965 PyObject *pyvalue; in pyembed_setparameter_long() local
1973 if (pyvalue) { in pyembed_setparameter_long()
2006 if (pyvalue) { in pyembed_setparameter_double()
[all …]
/dports/graphics/opencolorio/OpenColorIO-1.1.1/src/pyglue/
H A DPyExponentTransform.cpp125 PyObject* pyvalue = Py_None;
129 &pyvalue, &direction )) return -1;
132 if(pyvalue != Py_None)
135 if(!FillFloatVectorFromPySequence(pyvalue, data) ||
/dports/graphics/opencolorio-tools/OpenColorIO-1.1.1/src/pyglue/
H A DPyExponentTransform.cpp125 PyObject* pyvalue = Py_None;
129 &pyvalue, &direction )) return -1;
132 if(pyvalue != Py_None)
135 if(!FillFloatVectorFromPySequence(pyvalue, data) ||
/dports/graphics/py-opencolorio/OpenColorIO-1.1.1/src/pyglue/
H A DPyExponentTransform.cpp125 PyObject* pyvalue = Py_None;
129 &pyvalue, &direction )) return -1;
132 if(pyvalue != Py_None)
135 if(!FillFloatVectorFromPySequence(pyvalue, data) ||
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/interfaces/python/typemaps/
H A Dpython.dict.intm13 PyObject *pykey, *pyvalue;
15 while(PyDict_Next(${slarg}, &pos, &pykey, &pyvalue))
20 ${helper.getInConversion(valtype, 'value', 'pyvalue' ,method)}
H A Dpython.map.intm14 PyObject *pykey, *pyvalue;
16 while(PyDict_Next(${slarg}, &pos, &pykey, &pyvalue))
21 ${helper.getInConversion(valtype, 'value', 'pyvalue' ,method)}
/dports/devel/py-omniorb/omniORBpy-4.2.4/modules/
H A DpyPOAFunc.cc70 if (pyptype.valid() && pyvalue.valid()) { in createPolicyObject()
78 getEnumVal(pyvalue)); in createPolicyObject()
85 getEnumVal(pyvalue)); in createPolicyObject()
92 getEnumVal(pyvalue)); in createPolicyObject()
99 getEnumVal(pyvalue)); in createPolicyObject()
106 getEnumVal(pyvalue)); in createPolicyObject()
113 getEnumVal(pyvalue)); in createPolicyObject()
120 getEnumVal(pyvalue)); in createPolicyObject()
129 if (!PyList_Check(pyvalue)) in createPolicyObject()
175 policy = f(pyvalue); in createPolicyObject()
[all …]
/dports/devel/py-omniorb/omniORBpy-4.2.4/modules/ziop/
H A DpyZIOP.cc211 omniPy::PyRefHolder pyvalue(PyObject_GetAttrString(pypolicy, in convertPolicies() local
214 if (pyptype.valid() && pyvalue.valid()) { in convertPolicies()
218 ps[idx] = convertCompressionEnablingPolicy(pyvalue); in convertPolicies()
221 ps[idx] = convertCompressorIdLevelListPolicy(pyvalue); in convertPolicies()
224 ps[idx] = convertCompressionLowValuePolicy(pyvalue); in convertPolicies()
227 ps[idx] = convertCompressionMinRatioPolicy(pyvalue); in convertPolicies()
/dports/graphics/py-pyinsane2/pyinsane2-2.0.13/pyinsane2/wia/
H A Dproperties.h34 int pyobject_to_int(const struct wia_property *property_spec, PyObject *pyvalue, int fail_value);
35 int pyobject_to_clsid(const struct wia_property *property_spec, PyObject *pyvalue, CLSID **out);
H A Dproperties.cpp918 int pyobject_to_int(const struct wia_property *property_spec, PyObject *pyvalue, int fail_value) in pyobject_to_int() argument
927 if (PyLong_Check(pyvalue)) in pyobject_to_int()
928 return PyLong_AsLong(pyvalue); in pyobject_to_int()
931 if (PyUnicode_Check(pyvalue) && str2int != NULL) { in pyobject_to_int()
933 strncpy_s(str, PyUnicode_AsUTF8(pyvalue), sizeof(str)); in pyobject_to_int()
962 int pyobject_to_clsid(const struct wia_property *property_spec, PyObject *pyvalue, CLSID **out) in pyobject_to_clsid() argument
968 if (!PyUnicode_Check(pyvalue)) { in pyobject_to_clsid()
976 value = PyUnicode_AsUTF8(pyvalue); in pyobject_to_clsid()
H A Drawapi.cpp595 …tic int _set_property(IWiaItem2 *item, const struct wia_property *property_spec, PyObject *pyvalue) in _set_property() argument
609 propvalue.lVal = pyobject_to_int(property_spec, pyvalue, -1); in _set_property()
618 propvalue.lVal = pyobject_to_int(property_spec, pyvalue, -1); in _set_property()
637 if (!pyobject_to_clsid(property_spec, pyvalue, &propvalue.puuid)) { in _set_property()
/dports/lang/cython-devel/cython-2b1e743/Cython/Includes/cpython/
H A Dcontextvars.pxd121 pyvalue = default_value
124 pyvalue = <object>value
126 return pyvalue
138 pyvalue = <object>value
140 return pyvalue
/dports/textproc/py-pikepdf/pikepdf-2.16.1/src/qpdf/
H A Dobject.cpp396 [](QPDFObjectHandle &h, std::string const &key, py::object pyvalue) { in init_object() argument
397 auto value = objecthandle_encode(pyvalue); in init_object()
401 [](QPDFObjectHandle &h, QPDFObjectHandle &name, py::object pyvalue) { in init_object() argument
402 auto value = objecthandle_encode(pyvalue); in init_object()
442 [](QPDFObjectHandle &h, std::string const &name, py::object pyvalue) { in init_object() argument
446 auto value = objecthandle_encode(pyvalue); in init_object()
453 baseobj.attr("__setattr__")(py::cast(h), py::str(name), pyvalue); in init_object()
596 [](QPDFObjectHandle &h, int index, py::object pyvalue) { in init_object() argument
598 auto value = objecthandle_encode(pyvalue); in init_object()
/dports/databases/py-psycopg2/psycopg2-2.9.2/psycopg/
H A Dcursor.h97 RAISES_NEG HIDDEN int curs_withhold_set(cursorObject *self, PyObject *pyvalue);
98 RAISES_NEG HIDDEN int curs_scrollable_set(cursorObject *self, PyObject *pyvalue);
H A Dconnection_type.c649 psyco_conn_autocommit_set(connectionObject *self, PyObject *pyvalue) in psyco_conn_autocommit_set() argument
654 if (-1 == (value = PyObject_IsTrue(pyvalue))) { return -1; } in psyco_conn_autocommit_set()
681 psyco_conn_isolation_level_set(connectionObject *self, PyObject *pyvalue) in psyco_conn_isolation_level_set() argument
686 if (0 > (value = _psyco_conn_parse_isolevel(pyvalue))) { return -1; } in psyco_conn_isolation_level_set()
781 psyco_conn_readonly_set(connectionObject *self, PyObject *pyvalue) in psyco_conn_readonly_set() argument
786 if (0 > (value = _psyco_conn_parse_onoff(pyvalue))) { return -1; } in psyco_conn_readonly_set()
828 psyco_conn_deferrable_set(connectionObject *self, PyObject *pyvalue) in psyco_conn_deferrable_set() argument
833 if (0 > (value = _psyco_conn_parse_onoff(pyvalue))) { return -1; } in psyco_conn_deferrable_set()
H A Dcursor_type.c1701 curs_withhold_set(cursorObject *self, PyObject *pyvalue) in curs_withhold_set() argument
1705 if (pyvalue != Py_False && self->name == NULL) { in curs_withhold_set()
1711 if ((value = PyObject_IsTrue(pyvalue)) == -1) in curs_withhold_set()
1746 curs_scrollable_set(cursorObject *self, PyObject *pyvalue) in curs_scrollable_set() argument
1750 if (pyvalue != Py_None && self->name == NULL) { in curs_scrollable_set()
1756 if (pyvalue == Py_None) { in curs_scrollable_set()
1758 } else if ((value = PyObject_IsTrue(pyvalue)) == -1) { in curs_scrollable_set()
/dports/databases/py-kyotocabinet/kyotocabinet-python-1.23/
H A Dkyotocabinet.cc683 Py_DECREF(pyvalue); in maptopymap()
944 cls_err_children[code] = pyvalue; in err_define_child()
1539 SoftString value(pyvalue); in cur_set_value()
2441 SoftString value(pyvalue); in db_set()
2464 SoftString value(pyvalue); in db_add()
2487 SoftString value(pyvalue); in db_replace()
2510 SoftString value(pyvalue); in db_append()
2804 SoftString value(pyvalue); in db_set_bulk()
2896 Py_DECREF(pyvalue); in db_get_bulk()
3600 if (pyvalue) { in db_op_setitem()
[all …]
/dports/math/py-kiwisolver/kiwisolver-1.1.0/py/
H A Dsolver.cpp157 PyObject* pyvalue; in Solver_suggestValue() local
158 if( !PyArg_ParseTuple( args, "OO", &pyvar, &pyvalue ) ) in Solver_suggestValue()
163 if( !convert_to_double( pyvalue, value ) ) in Solver_suggestValue()
/dports/sysutils/ganglia-monitor-core/ganglia-3.7.2/gmond/modules/python/
H A Dmod_python.c516 PyObject *pyvalue; in build_params_dict() local
521 pyvalue = PyString_FromString(value); in build_params_dict()
522 if (name && pyvalue) { in build_params_dict()
523 PyDict_SetItemString(params_dict, name, pyvalue); in build_params_dict()
524 Py_DECREF(pyvalue); in build_params_dict()
/dports/print/scribus-devel/scribus-1.5.7/scribus/plugins/scripter/python/
H A Dscribusscript.py94 pyvalue = self.validate(value)
98 pyvalue = self.default
99 return pyvalue
/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/src/libs/qtcreatorcdbext/
H A Dqtcreatorcdbext.pro89 pyvalue.cpp
96 pyvalue.h
H A Dqtcreatorcdbext.qbs83 "pyvalue.cpp",
84 "pyvalue.h",
/dports/devel/omniORB/omniORB-4.2.4/src/tool/omniidl/cxx/
H A Didlpython.cc1062 PyObject* pyvalue = in visitValueAbs() local
1071 ASSERT_PYOBJ(pyvalue); in visitValueAbs()
1072 registerPyDecl(a->scopedName(), pyvalue); in visitValueAbs()
1082 PyObject* r = PyObject_CallMethod(pyvalue, (char*)"_setContents", in visitValueAbs()
1085 result_ = pyvalue; in visitValueAbs()
1132 PyObject* pyvalue = in visitValue() local
1142 ASSERT_PYOBJ(pyvalue); in visitValue()
1143 registerPyDecl(v->scopedName(), pyvalue); in visitValue()
1153 PyObject* r = PyObject_CallMethod(pyvalue, (char*)"_setContents", in visitValue()
1156 result_ = pyvalue; in visitValue()
/dports/databases/py-apsw/apsw-3.35.4-r1/src/
H A Dapsw.c1874 PyObject *pyvalue; in initapsw() local
1897 pyvalue = PyInt_FromLong(value); in initapsw()
1898 if (!pyname || !pyvalue) in initapsw()
1900 PyDict_SetItem(thedict, pyname, pyvalue); in initapsw()
1901 PyDict_SetItem(thedict, pyvalue, pyname); in initapsw()
1903 Py_DECREF(pyvalue); in initapsw()
/dports/net/ns3/ns-allinone-3.35/ns-3.35/bindings/python/
H A Dns3module_helpers.cc237 PyObject *pyvalue = PyString_FromStringAndSize (value.data(), value.size()); in Parse() local
238 PyObject_SetAttrString (m_namespace, (char *) m_variable.c_str(), pyvalue); in Parse()

1234