Home
last modified time | relevance | path

Searched refs:PyBytes_AS_STRING (Results 1 – 5 of 5) sorted by relevance

/external/protobuf/python/google/protobuf/pyext/
Ddescriptor.cc49 (PyUnicode_Check(ob)? PyUnicode_AsUTF8(ob): PyBytes_AS_STRING(ob))
Dmessage.cc74 (PyUnicode_Check(ob)? PyUnicode_AsUTF8(ob): PyBytes_AS_STRING(ob))
1233 char* buffer = PyBytes_AS_STRING(result); in CheckAndGetInteger()
1264 char *cstr = PyBytes_AS_STRING(static_cast<PyObject*>(s)); in CheckAndGetInteger()
Drepeated_scalar_container.cc55 (PyUnicode_Check(ob)? PyUnicode_AsUTF8(ob): PyBytes_AS_STRING(ob))
/external/libxml2/python/
Dtypes.c628 str = xmlStrndup((const xmlChar *) PyBytes_AS_STRING(obj), in libxml_xmlXPathObjectPtrConvert()
648 str = xmlStrndup((const xmlChar *) PyBytes_AS_STRING(b), in libxml_xmlXPathObjectPtrConvert()
Dlibxml_wrap.h35 #define PyBytes_AS_STRING PyString_AS_STRING macro