py_elements      1382 source4/lib/ldb/pyldb.c 	PyObject *py_elements = NULL;
py_elements      1391 source4/lib/ldb/pyldb.c 					 &py_elements, &flags, &name))
py_elements      1396 source4/lib/ldb/pyldb.c 	if (py_elements != NULL) {
py_elements      1398 source4/lib/ldb/pyldb.c 		if (PyString_Check(py_elements)) {
py_elements      1401 source4/lib/ldb/pyldb.c 			el->values[0].data = (uint8_t *)PyString_AsString(py_elements);
py_elements      1402 source4/lib/ldb/pyldb.c 			el->values[0].length = PyString_Size(py_elements);
py_elements      1403 source4/lib/ldb/pyldb.c 		} else if (PySequence_Check(py_elements)) {
py_elements      1404 source4/lib/ldb/pyldb.c 			el->num_values = PySequence_Size(py_elements);
py_elements      1407 source4/lib/ldb/pyldb.c 				PyObject *item = PySequence_GetItem(py_elements, i);
py_elements       108 source4/lib/registry/pyregistry.c 	PyObject *py_hivekey, *py_elements = Py_None;
py_elements       112 source4/lib/registry/pyregistry.c 	if (!PyArg_ParseTuple(args, "OI|O", &py_hivekey, &hkey, &py_elements))
py_elements       115 source4/lib/registry/pyregistry.c 	if (!PyList_Check(py_elements) && py_elements != Py_None) {
py_elements       120 source4/lib/registry/pyregistry.c 	if (py_elements == Py_None) {
py_elements       124 source4/lib/registry/pyregistry.c 		elements = talloc_array(NULL, const char *, PyList_Size(py_elements));
py_elements       125 source4/lib/registry/pyregistry.c 		for (i = 0; i < PyList_Size(py_elements); i++)
py_elements       126 source4/lib/registry/pyregistry.c 			elements[i] = PyString_AsString(PyList_GetItem(py_elements, i));