/external/protobuf/python/google/protobuf/pyext/ |
D | descriptor_pool.cc | 48 #define PyString_AsStringAndSize(ob, charpp, sizep) \ macro 176 if (PyString_AsStringAndSize(arg, &name, &name_size) < 0) { in FindMessageByName() 224 if (PyString_AsStringAndSize(arg, &name, &name_size) < 0) { in FindFileByName() 242 if (PyString_AsStringAndSize(arg, &name, &name_size) < 0) { in FindFieldByName() 260 if (PyString_AsStringAndSize(arg, &name, &name_size) < 0) { in FindExtensionByName() 277 if (PyString_AsStringAndSize(arg, &name, &name_size) < 0) { in FindEnumTypeByName() 294 if (PyString_AsStringAndSize(arg, &name, &name_size) < 0) { in FindOneofByName() 311 if (PyString_AsStringAndSize(arg, &name, &name_size) < 0) { in FindFileContainingSymbol()
|
D | message.cc | 82 #define PyString_AsStringAndSize(ob, charpp, sizep) \ macro 489 if (PyString_AsStringAndSize(key, &key_str_data, &key_str_size) != 0) in ForEachCompositeField() 897 if (PyString_AsStringAndSize(name, &field_name, &size) < 0) { in CheckAndGetInteger() 934 if (PyString_AsStringAndSize(value, &enum_label, &size) < 0) { in CheckAndGetInteger() 1414 if (PyString_AsStringAndSize(arg, &field_name, &size) < 0) { in CheckAndGetInteger() 2059 if (PyString_AsStringAndSize(arg, &name_data, &name_size) < 0) in CheckAndGetInteger()
|
D | descriptor_containers.cc | 67 #define PyString_AsStringAndSize(ob, charpp, sizep) \ macro 172 if (PyString_AsStringAndSize(key, &name, &name_size) < 0) { in _GetItemByKey() 189 if (PyString_AsStringAndSize(key, &camelcase_name, &name_size) < 0) { in _GetItemByKey()
|
D | descriptor.cc | 55 #define PyString_AsStringAndSize(ob, charpp, sizep) \ macro 118 if (PyString_AsStringAndSize(frame->f_code->co_filename, in _CalledFromGeneratedFile()
|
/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()
|
D | _bsddb.c | 117 #define PyBytes_AsStringAndSize PyString_AsStringAndSize
|
/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/tensorflow/tensorflow/lite/python/interpreter_wrapper/ |
D | python_utils.cc | 167 return PyString_AsStringAndSize(obj, data, length); in ConvertFromPyString()
|
/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/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/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/tensorflow/tensorflow/python/lib/core/ |
D | py_func.cc | 353 if (unicode && PyString_AsStringAndSize(unicode, &ptr, &size) != -1) { in PyObjectToString()
|
/external/python/cpython2/PC/os2emx/ |
D | python27.def | 539 "PyString_AsStringAndSize"
|
/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()
|
/external/python/cpython2/Mac/Modules/cf/ |
D | _CFmodule.c | 1332 if( PyString_AsStringAndSize(v, &cStr, &cLen) < 0 ) return 0; in CFDataRefObj_Convert()
|
/external/python/cpython2/Modules/_ctypes/ |
D | _ctypes.c | 1230 if (-1 == PyString_AsStringAndSize(value, &ptr, &size)) in CharArray_set_raw()
|
/external/python/cpython2/Misc/ |
D | HISTORY | 8712 - Add PyString_AsStringAndSize() function that provides access to the
|