Home
last modified time | relevance | path

Searched refs:py_data (Results 1 – 25 of 55) sorted by relevance

123

/dports/graphics/blender/blender-2.91.0/source/blender/python/intern/
H A Dbpy_props.c283 BLI_assert(py_data != NULL); in bpy_prop_update_cb()
335 BLI_assert(py_data != NULL); in bpy_prop_boolean_get_cb()
397 BLI_assert(py_data != NULL); in bpy_prop_boolean_set_cb()
505 BLI_assert(py_data != NULL); in bpy_prop_boolean_array_get_cb()
573 BLI_assert(py_data != NULL); in bpy_prop_boolean_array_set_cb()
631 BLI_assert(py_data != NULL); in bpy_prop_int_get_cb()
690 BLI_assert(py_data != NULL); in bpy_prop_int_set_cb()
749 BLI_assert(py_data != NULL); in bpy_prop_int_array_get_cb()
817 BLI_assert(py_data != NULL); in bpy_prop_int_array_set_cb()
1744 if (!py_data) { in bpy_prop_py_data_get()
[all …]
/dports/astro/py-astropy/astropy-5.0/astropy/wcs/src/
H A Ddistortion_wrap.c19 Py_VISIT(self->py_data); in PyDistLookup_traverse()
28 Py_CLEAR(self->py_data); in PyDistLookup_clear()
39 Py_XDECREF(self->py_data); in PyDistLookup_dealloc()
56 self->py_data = NULL; in PyDistLookup_new()
83 self->py_data = array_obj; in PyDistLookup_init()
159 if (self->py_data == NULL) { in PyDistLookup_get_data()
163 Py_INCREF(self->py_data); in PyDistLookup_get_data()
177 Py_CLEAR(self->py_data); in PyDistLookup_set_data()
188 Py_XDECREF(self->py_data); in PyDistLookup_set_data()
242 if (self->py_data) { in PyDistLookup___copy__()
[all …]
/dports/devel/folly/folly-2021.12.27.00/folly/python/
H A Diobuf.h51 auto* py_data = (PyBufferData*)userData; in iobuf_from_python()
52 auto* py_object = py_data->py_object; in iobuf_from_python()
55 } else if (py_data->executor) { in iobuf_from_python()
56 py_data->executor->add( in iobuf_from_python()
82 delete py_data; in iobuf_from_python()
/dports/security/py-pyvex/pyvex-9.0.5405/pyvex/lifting/
H A D__init__.py59 py_data = data
66 py_data = None
83 … u_data = ffi.from_buffer(ffi.BVoidP, py_data + b'\0' * 8 if type(py_data) is bytes else py_data)
84 … max_bytes = min(len(py_data), max_bytes) if max_bytes is not None else len(py_data)
88 if py_data is None:
94 u_data = py_data
/dports/net/samba412/samba-4.12.15/lib/crypto/
H A Dpy_crypto.c31 PyObject *py_data, *py_key, *result; in py_crypto_arcfour_crypt_blob() local
37 if (!PyArg_ParseTuple(args, "OO", &py_data, &py_key)) in py_crypto_arcfour_crypt_blob()
40 if (!PyBytes_Check(py_data)) { in py_crypto_arcfour_crypt_blob()
52 data.length = PyBytes_Size(py_data); in py_crypto_arcfour_crypt_blob()
53 data.data = talloc_memdup(ctx, PyBytes_AsString(py_data), data.length); in py_crypto_arcfour_crypt_blob()
/dports/net/py-kombu/kombu-4.6.11/t/unit/
H A Dtest_serialization.py32 py_data = { variable
50 pickle_data = pickle.dumps(py_data, protocol=pickle_protocol)
62 msgpack_py_data = dict(py_data)
183 content_encoding='utf-8') == py_data
187 dumps(py_data, serializer='json')[-1],
235 content_encoding='utf-8') == py_data
241 dumps(py_data, serializer='yaml')[-1],
256 content_encoding='binary') == py_data
260 b = pickle.loads(dumps(py_data, serializer='pickle')[-1]),
/dports/security/vault/vault-1.8.2/vendor/github.com/apache/arrow/python/pyarrow/tests/
H A Dtest_jvm.py204 def test_jvm_array(root_allocator, pa_type, py_data, jvm_type): argument
208 jvm_vector.allocateNew(len(py_data))
209 for i, val in enumerate(py_data):
214 jvm_vector.setValueCount(len(py_data))
216 py_array = pa.array(py_data, type=pa_type)
341 def test_jvm_record_batch(root_allocator, pa_type, py_data, jvm_type, argument
346 jvm_vector.allocateNew(len(py_data))
347 for i, val in enumerate(py_data):
351 jvm_vector.setValueCount(len(py_data))
369 jvm_vsr = jvm_vsr(jvm_fields, jvm_vectors, len(py_data))
[all …]
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/python/pyarrow/tests/
H A Dtest_jvm.py223 def test_jvm_array(root_allocator, pa_type, py_data, jvm_type): argument
227 jvm_vector.allocateNew(len(py_data))
228 for i, val in enumerate(py_data):
233 jvm_vector.setValueCount(len(py_data))
235 py_array = pa.array(py_data, type=pa_type)
360 def test_jvm_record_batch(root_allocator, pa_type, py_data, jvm_type, argument
365 jvm_vector.allocateNew(len(py_data))
366 for i, val in enumerate(py_data):
370 jvm_vector.setValueCount(len(py_data))
388 jvm_vsr = jvm_vsr(jvm_fields, jvm_vectors, len(py_data))
[all …]
/dports/databases/arrow/apache-arrow-6.0.1/python/pyarrow/tests/
H A Dtest_jvm.py223 def test_jvm_array(root_allocator, pa_type, py_data, jvm_type): argument
227 jvm_vector.allocateNew(len(py_data))
228 for i, val in enumerate(py_data):
233 jvm_vector.setValueCount(len(py_data))
235 py_array = pa.array(py_data, type=pa_type)
360 def test_jvm_record_batch(root_allocator, pa_type, py_data, jvm_type, argument
365 jvm_vector.allocateNew(len(py_data))
366 for i, val in enumerate(py_data):
370 jvm_vector.setValueCount(len(py_data))
388 jvm_vsr = jvm_vsr(jvm_fields, jvm_vectors, len(py_data))
[all …]
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/r/R/
H A Dflight.R58 py_data <- reticulate::r_to_py(data) functionVar
59 writer <- client$do_put(descriptor_for_path(path), py_data$schema)[[1]]
61 writer$write_batch(py_data)
63 writer$write_table(py_data)
/dports/databases/arrow/apache-arrow-6.0.1/r/R/
H A Dflight.R60 py_data <- reticulate::r_to_py(data) functionVar
61 writer <- client$do_put(descriptor_for_path(path), py_data$schema)[[1]]
63 writer$write_batch(py_data)
65 writer$write_table(py_data)
/dports/security/vault/vault-1.8.2/vendor/github.com/apache/arrow/cpp/src/arrow/python/
H A Dio.cc112 PyObject* py_data = in Write() local
116 PyObject* result = cpp_PyObject_CallMethod(file_.obj(), "write", "(O)", py_data); in Write()
117 Py_XDECREF(py_data); in Write()
126 PyObject* py_data = wrap_buffer(buffer); in Write() local
129 PyObject* result = cpp_PyObject_CallMethod(file_.obj(), "write", "(O)", py_data); in Write()
130 Py_XDECREF(py_data); in Write()
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/cpp/src/arrow/python/
H A Dio.cc125 PyObject* py_data = in Write() local
129 PyObject* result = cpp_PyObject_CallMethod(file_.obj(), "write", "(O)", py_data); in Write()
130 Py_XDECREF(py_data); in Write()
139 PyObject* py_data = wrap_buffer(buffer); in Write() local
142 PyObject* result = cpp_PyObject_CallMethod(file_.obj(), "write", "(O)", py_data); in Write()
143 Py_XDECREF(py_data); in Write()
/dports/databases/arrow/apache-arrow-6.0.1/cpp/src/arrow/python/
H A Dio.cc125 PyObject* py_data = in Write() local
129 PyObject* result = cpp_PyObject_CallMethod(file_.obj(), "write", "(O)", py_data); in Write()
130 Py_XDECREF(py_data); in Write()
139 PyObject* py_data = wrap_buffer(buffer); in Write() local
142 PyObject* result = cpp_PyObject_CallMethod(file_.obj(), "write", "(O)", py_data); in Write()
143 Py_XDECREF(py_data); in Write()
/dports/devel/libsigrokdecode/libsigrokdecode-0.5.3/
H A Dtype_decoder.c318 PyObject *py_data, *py_res; in Decoder_put() local
329 py_data = NULL; in Decoder_put()
340 &output_id, &py_data)) { in Decoder_put()
375 if (convert_annotation(di, py_data, &pdata) != SRD_OK) { in Decoder_put()
395 end_sample, py_data))) { in Decoder_put()
406 pdata.data = py_data; in Decoder_put()
414 if (convert_binary(di, py_data, &pdata) != SRD_OK) { in Decoder_put()
427 if (convert_meta(&pdata, py_data) != SRD_OK) { in Decoder_put()
/dports/graphics/blender/blender-2.91.0/extern/audaspace/bindings/python/
H A DPySequence.cpp201 PyObject* py_data; in Sequence_setAnimationData() local
206 if(!PyArg_ParseTuple(args, "iiOO:setAnimationData", &type, &frame, &py_data, &animatedo)) in Sequence_setAnimationData()
209 if(!PySequence_Check(py_data)) in Sequence_setAnimationData()
215 py_data_len= PySequence_Size(py_data); in Sequence_setAnimationData()
225 py_value = PySequence_GetItem(py_data, i); in Sequence_setAnimationData()
H A DPySequenceEntry.cpp91 PyObject* py_data; in SequenceEntry_setAnimationData() local
96 if(!PyArg_ParseTuple(args, "iiOO:setAnimationData", &type, &frame, &py_data, &animatedo)) in SequenceEntry_setAnimationData()
99 if(!PySequence_Check(py_data)) in SequenceEntry_setAnimationData()
105 py_data_len= PySequence_Size(py_data); in SequenceEntry_setAnimationData()
115 py_value = PySequence_GetItem(py_data, i); in SequenceEntry_setAnimationData()
/dports/devel/py-thriftpy2/thriftpy2-0.4.14/thriftpy2/protocol/cybin/
H A Dcybin.pyx226 py_data = data[:size]
230 py_data = string_val[:size]
232 return py_data
236 py_data = c_read_binary(buf, size)
238 return (<char *>py_data)[:size].decode("utf-8")
240 return py_data
/dports/devel/pycharm-pro/pycharm-2020.2.3/plugins/python/helpers/third_party/thriftpy/_shaded_thriftpy/protocol/cybin/
H A Dcybin.pyx226 py_data = data[:size]
230 py_data = string_val[:size]
232 return py_data
236 py_data = c_read_binary(buf, size)
238 return py_data.decode("utf-8")
240 return py_data
/dports/astro/py-astropy/astropy-5.0/astropy/wcs/include/astropy_wcs/
H A Ddistortion_wrap.h17 /*@null@*/ /*@shared@*/ PyArrayObject* py_data; member
/dports/devel/py-yaml/PyYAML-5.4.1/tests/lib/
H A Dtest_yaml_ext.py130 def _compare_scanners(py_data, c_data, verbose): argument
131 py_tokens = list(yaml.scan(py_data, Loader=yaml.PyLoader))
169 def _compare_parsers(py_data, c_data, verbose): argument
170 py_events = list(yaml.parse(py_data, Loader=yaml.PyLoader))
/dports/devel/py-yaml/PyYAML-5.4.1/tests/lib3/
H A Dtest_yaml_ext.py130 def _compare_scanners(py_data, c_data, verbose): argument
131 py_tokens = list(yaml.scan(py_data, Loader=yaml.PyLoader))
169 def _compare_parsers(py_data, c_data, verbose): argument
170 py_events = list(yaml.parse(py_data, Loader=yaml.PyLoader))
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/awx/awx/test/awx/
H A Dconftest.py122 py_data = django_response.data
123 sanitize_dict(py_data)
/dports/x11-toolkits/pyl-gtk2/pygtk-2.24.0/gtk/
H A Dgtkiconview.override106 PyObject *func, *data, *py_data = Py_None;
110 kwlist, &func, &py_data)) {
118 data = Py_BuildValue("(OO)", func, py_data);
/dports/math/py-pyodeint/pyodeint-0.10.4/external/anyode/include/anyode/
H A Danyode_numpy.hpp288 …PyObject * py_data = PyArray_SimpleNewFromData(1, data_dims, this->real_type_tag, static_cast<Real… in sparse_jac_csc() local
294 …PyObject * py_arglist = Py_BuildValue("(OOOOO)", t_scalar, py_yarr, py_data, py_colptrs, py_rowval… in sparse_jac_csc()
299 Py_DECREF(py_data); in sparse_jac_csc()

123