| /external/protobuf/python/google/protobuf/pyext/ |
| D | descriptor_pool.cc | 51 #define PyString_AsStringAndSize(ob, charpp, sizep) \ macro 237 if (PyString_AsStringAndSize(arg, &name, &name_size) < 0) { in FindMessageByName() 261 if (PyString_AsStringAndSize(arg, &name, &name_size) < 0) { in FindFileByName() 278 if (PyString_AsStringAndSize(arg, &name, &name_size) < 0) { in FindFieldByName() 299 if (PyString_AsStringAndSize(arg, &name, &name_size) < 0) { in FindExtensionByName() 321 if (PyString_AsStringAndSize(arg, &name, &name_size) < 0) { in FindEnumTypeByName() 342 if (PyString_AsStringAndSize(arg, &name, &name_size) < 0) { in FindOneofByName() 363 if (PyString_AsStringAndSize(arg, &name, &name_size) < 0) { in FindServiceByName() 383 if (PyString_AsStringAndSize(arg, &name, &name_size) < 0) { in FindMethodByName() 403 if (PyString_AsStringAndSize(arg, &name, &name_size) < 0) { in FindFileContainingSymbol()
|
| D | extension_dict.cc | 54 #define PyString_AsStringAndSize(ob, charpp, sizep) \ macro 233 if (PyString_AsStringAndSize(arg, &name, &name_size) < 0) { in _FindExtensionByName()
|
| D | message_factory.cc | 45 #define PyString_AsStringAndSize(ob, charpp, sizep) \ macro
|
| D | descriptor_containers.cc | 67 #define PyString_AsStringAndSize(ob, charpp, sizep) \ macro 174 if (PyString_AsStringAndSize(key, &name, &name_size) < 0) { in _GetItemByKey() 191 if (PyString_AsStringAndSize(key, &camelcase_name, &name_size) < 0) { in _GetItemByKey()
|
| D | message.cc | 88 #define PyString_AsStringAndSize(ob, charpp, sizep) \ macro 436 if (PyString_AsStringAndSize(name, &attr, &attr_size) >= 0 && in GetClassAttribute() 957 if (PyString_AsStringAndSize(value, &enum_label, &size) < 0) { in GetIntegerEnumValue() 1436 if (PyString_AsStringAndSize(arg, &field_name, &size) < 0) { in HasField() 1618 if (PyString_AsStringAndSize(arg, &field_name, &size) < 0) { in ClearField() 2009 if (PyString_AsStringAndSize(arg, &name_data, &name_size) < 0) in WhichOneof()
|
| D | descriptor.cc | 58 #define PyString_AsStringAndSize(ob, charpp, sizep) \ macro 119 if (PyString_AsStringAndSize(frame->f_code->co_filename, in _CalledFromGeneratedFile() 1688 if (PyString_AsStringAndSize(arg, &name, &name_size) < 0) { in FindMethodByName()
|
| /external/tensorflow/tensorflow/lite/python/interpreter_wrapper/ |
| D | python_utils.cc | 32 return PyString_AsStringAndSize(obj, data, length); in ConvertFromPyString()
|
| /external/python/cpython2/Include/ |
| D | bytesobject.h | 26 #define PyBytes_AsStringAndSize PyString_AsStringAndSize
|
| D | stringobject.h | 172 PyAPI_FUNC(int) PyString_AsStringAndSize(
|
| /external/python/cpython2/Modules/ |
| D | stropmodule.c | 387 if (PyString_AsStringAndSize(args, &s, &len)) in do_strip() 468 if (PyString_AsStringAndSize(args, &s, &n)) in strop_lower() 507 if (PyString_AsStringAndSize(args, &s, &n)) in strop_upper() 547 if (PyString_AsStringAndSize(args, &s, &n)) in strop_capitalize() 726 if (PyString_AsStringAndSize(args, &s, &n)) in strop_swapcase()
|
| D | dbmmodule.c | 174 if (PyString_AsStringAndSize(v, &ptr, &size)) in dbm_contains()
|
| D | cStringIO.c | 490 if (PyString_AsStringAndSize(s, &c, &n) == -1) { in O_writelines()
|
| /external/python/cpython2/Modules/_sqlite/ |
| D | statement.c | 176 PyString_AsStringAndSize(parameter, &string, &buflen); in pysqlite_statement_bind_parameter() 181 PyString_AsStringAndSize(stringval, &string, &buflen); in pysqlite_statement_bind_parameter()
|
| /external/python/cpython2/Objects/ |
| D | frameobject.c | 173 PyString_AsStringAndSize(f->f_code->co_lnotab, in frame_setlineno() 199 PyString_AsStringAndSize(f->f_code->co_code, (char **)&code, &code_len); in frame_setlineno()
|
| D | stringobject.c | 773 if (PyString_AsStringAndSize(op, &s, &len)) in string_getsize() 783 if (PyString_AsStringAndSize(op, &s, &len)) in string_getbuffer() 805 PyString_AsStringAndSize(register PyObject *obj, in PyString_AsStringAndSize() function 4038 if (PyString_AsStringAndSize(result, (char **)&s, &llen) < 0) { in _PyString_FormatLong()
|
| D | floatobject.c | 1504 if (PyString_AsStringAndSize(arg, &s, &length)) in float_fromhex()
|
| /external/python/cpython2/Modules/_multiprocessing/ |
| D | connection.h | 274 if (PyString_AsStringAndSize(pickled_string, &buffer, &length) < 0) in connection_send_obj()
|
| /external/python/cpython2/Doc/c-api/ |
| D | string.rst | 188 .. c:function:: int PyString_AsStringAndSize(PyObject *obj, char **buffer, Py_ssize_t *length) 203 :c:func:`PyString_AsStringAndSize` returns ``-1`` and raises :exc:`TypeError`.
|
| /external/python/cpython2/Doc/data/ |
| D | refcounts.dat | 1253 PyString_AsStringAndSize:int::: 1254 PyString_AsStringAndSize:PyObject*:obj:0: 1255 PyString_AsStringAndSize:char**:buffer:: 1256 PyString_AsStringAndSize:int*:length::
|
| /external/python/cpython2/PC/os2emx/ |
| D | python27.def | 539 "PyString_AsStringAndSize"
|
| /external/python/pybind11/include/pybind11/detail/ |
| D | common.h | 201 #define PYBIND11_BYTES_AS_STRING_AND_SIZE PyString_AsStringAndSize
|
| /external/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/ |
| D | PythonDataObjects.cpp | 439 int r = PyString_AsStringAndSize(m_py_obj, &c, &size); in AsUTF8()
|
| /external/marisa-trie/bindings/python/ |
| D | marisa-swig_wrap.cxx | 869 # ifndef PyString_AsStringAndSize 870 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s… macro 2889 PyString_AsStringAndSize(obj, &cstr, &len); in SWIG_AsCharPtrAndSize()
|
| /external/python/cpython2/Python/ |
| D | bltinmodule.c | 699 if (PyString_AsStringAndSize(cmd, &str, NULL)) { in builtin_eval()
|
| D | ceval.c | 5119 if (PyString_AsStringAndSize(prog, &str, NULL)) in exec_statement()
|