Home
last modified time | relevance | path

Searched refs:PyString_FromString (Results 1 – 7 of 7) sorted by relevance

/external/selinux/policycoreutils/sepolicy/
Dcommon.h17 PyObject *obj = PyString_FromString(value); in py_append_string()
43 PyObject *obj = PyString_FromString(value); in py_insert_string()
Dsearch.c192 obj = PyString_FromString(tmp); in get_ra_results()
202 obj = PyString_FromString(tmp); in get_ra_results()
330 obj = PyString_FromString(apol_cond_expr_type_to_str(expr_type)); in get_bool()
344 obj = PyString_FromString(bool_name); in get_bool()
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc68 #define PyString_FromString PyUnicode_FromString macro
837 ScopedPyObjectPtr extend_name(PyString_FromString("extend")); in CheckAndGetInteger()
1146 arg_in_oneof.reset(PyString_FromString(field_descriptor->name().c_str())); in CheckAndGetInteger()
1212 ScopedPyObjectPtr comma(PyString_FromString(",")); in CheckAndGetInteger()
1289 return PyString_FromString(output.c_str()); in CheckAndGetInteger()
1479 return PyString_FromString(field_in_oneof->name().c_str()); in CheckAndGetInteger()
1866 ScopedPyObjectPtr _NUMBER_string(PyString_FromString("_FIELD_NUMBER")); in CheckAndGetInteger()
2061 ScopedPyObjectPtr method_name(PyString_FromString("MessageToString")); in CheckAndGetInteger()
2403 kDESCRIPTOR = PyString_FromString("DESCRIPTOR"); in CheckAndGetInteger()
2404 k__descriptors = PyString_FromString("__descriptors"); in CheckAndGetInteger()
[all …]
/external/opencv3/modules/python/src2/
Dpycompat.hpp58 #define PyString_FromString PyUnicode_FromString macro
Dcv2.cpp590 return PyString_FromString(value.empty() ? "" : value.c_str()); in pyopencv_from()
1321 PyDict_SetItemString(d, "__version__", PyString_FromString(CV_VERSION));
/external/libxml2/python/
Dtypes.c18 #define PY_IMPORT_STRING PyString_FromString
Dlibxml.c52 #define PY_IMPORT_STRING PyString_FromString