Home
last modified time | relevance | path

Searched refs:PyString_AsStringAndSize (Results 1 – 25 of 26) sorted by relevance

12

/external/protobuf/python/google/protobuf/pyext/
Ddescriptor_pool.cc48 #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()
Dmessage.cc82 #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()
Ddescriptor_containers.cc67 #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()
Ddescriptor.cc55 #define PyString_AsStringAndSize(ob, charpp, sizep) \ macro
118 if (PyString_AsStringAndSize(frame->f_code->co_filename, in _CalledFromGeneratedFile()
/external/python/cpython2/Include/
Dbytesobject.h26 #define PyBytes_AsStringAndSize PyString_AsStringAndSize
Dstringobject.h172 PyAPI_FUNC(int) PyString_AsStringAndSize(
/external/python/cpython2/Modules/
Dstropmodule.c387 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()
Ddbmmodule.c174 if (PyString_AsStringAndSize(v, &ptr, &size)) in dbm_contains()
DcStringIO.c490 if (PyString_AsStringAndSize(s, &c, &n) == -1) { in O_writelines()
D_bsddb.c117 #define PyBytes_AsStringAndSize PyString_AsStringAndSize
/external/python/cpython2/Modules/_sqlite/
Dstatement.c176 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/
Dpython_utils.cc167 return PyString_AsStringAndSize(obj, data, length); in ConvertFromPyString()
/external/python/cpython2/Objects/
Dframeobject.c173 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()
Dstringobject.c773 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()
Dfloatobject.c1504 if (PyString_AsStringAndSize(arg, &s, &length)) in float_fromhex()
/external/python/cpython2/Modules/_multiprocessing/
Dconnection.h274 if (PyString_AsStringAndSize(pickled_string, &buffer, &length) < 0) in connection_send_obj()
/external/python/cpython2/Doc/data/
Drefcounts.dat1253 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/
Dstring.rst188 .. 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/
Dpy_func.cc353 if (unicode && PyString_AsStringAndSize(unicode, &ptr, &size) != -1) { in PyObjectToString()
/external/python/cpython2/PC/os2emx/
Dpython27.def539 "PyString_AsStringAndSize"
/external/python/cpython2/Python/
Dbltinmodule.c699 if (PyString_AsStringAndSize(cmd, &str, NULL)) { in builtin_eval()
Dceval.c5119 if (PyString_AsStringAndSize(prog, &str, NULL)) in exec_statement()
/external/python/cpython2/Mac/Modules/cf/
D_CFmodule.c1332 if( PyString_AsStringAndSize(v, &cStr, &cLen) < 0 ) return 0; in CFDataRefObj_Convert()
/external/python/cpython2/Modules/_ctypes/
D_ctypes.c1230 if (-1 == PyString_AsStringAndSize(value, &ptr, &size)) in CharArray_set_raw()
/external/python/cpython2/Misc/
DHISTORY8712 - Add PyString_AsStringAndSize() function that provides access to the

12