Home
last modified time | relevance | path

Searched refs:PyObject_CallMethod (Results 1 – 25 of 73) sorted by relevance

123

/external/python/cpython2/Modules/_io/
Dtextio.c526 return PyObject_CallMethod(self->decoder, in incrementalnewlinedecoder_setstate()
881 self->encoding = PyObject_CallMethod( in textiowrapper_init()
953 res = PyObject_CallMethod(buffer, "readable", NULL); in textiowrapper_init()
977 res = PyObject_CallMethod(buffer, "writable", NULL); in textiowrapper_init()
1033 res = PyObject_CallMethod(buffer, "seekable", NULL); in textiowrapper_init()
1282 PyObject *newtext = PyObject_CallMethod( in textiowrapper_write()
1338 ret = PyObject_CallMethod(self->decoder, "reset", NULL); in textiowrapper_write()
1517 PyObject *bytes = PyObject_CallMethod(self->buffer, "read", NULL); in textiowrapper_read()
1980 res = PyObject_CallMethod(self->decoder, "setstate", in _textiowrapper_decoder_setstate()
2047 cookieObj = PyObject_CallMethod((PyObject *)self, "tell", NULL); in textiowrapper_seek()
[all …]
Diobase.c101 return PyObject_CallMethod(self, "seek", "ii", 0, 1); in iobase_tell()
480 PyObject *readahead = PyObject_CallMethod(self, "peek", "i", 1); in iobase_readline()
520 b = PyObject_CallMethod(self, "read", "n", nreadahead); in iobase_readline()
616 PyObject *ret = PyObject_CallMethod(result, "extend", "O", self); in iobase_readlines()
812 return PyObject_CallMethod(self, "readall", NULL); in rawiobase_read()
853 PyObject *data = PyObject_CallMethod(self, "read", in rawiobase_readall()
D_iomodule.c427 PyObject *res = PyObject_CallMethod(raw, "isatty", NULL); in io_open()
449 PyObject *res = PyObject_CallMethod(raw, "fileno", NULL); in io_open()
531 close_result = PyObject_CallMethod(result, "close", NULL); in io_open()
/external/protobuf/python/google/protobuf/pyext/
Ddescriptor_database.cc84 PyObject_CallMethod(py_descriptor, "SerializeToString", NULL)); in GetFileDescriptorProto()
113 ScopedPyObjectPtr py_descriptor(PyObject_CallMethod( in FindFileByName()
122 PyObject_CallMethod(py_database_, "FindFileContainingSymbol", "s#", in FindFileContainingSymbol()
Dmessage.cc1082 ScopedPyObjectPtr ok(PyObject_CallMethod( in CheckAndGetInteger()
1091 PyObject_CallMethod(map.get(), "update", "O", value)); in CheckAndGetInteger()
1727 PyObject_CallMethod(comma.get(), "join", "O", errors.get())); in CheckAndGetInteger()
2938 PyObject_CallMethod(mutable_sequence.get(), "register", "O", in CheckAndGetInteger()
2943 PyObject_CallMethod(mutable_sequence.get(), "register", "O", in CheckAndGetInteger()
Ddescriptor_pool.cc460 PyObject_CallMethod(file_descriptor_proto, "SerializeToString", NULL)); in Add()
/external/python/cpython2/Modules/_sqlite/
Dmicroprotocols.c98 PyObject *adapted = PyObject_CallMethod(proto, "__adapt__", "O", obj); in pysqlite_microprotocols_adapt()
113 PyObject *adapted = PyObject_CallMethod(obj, "__conform__","O", proto); in pysqlite_microprotocols_adapt()
Dconnection.c280 ret = PyObject_CallMethod(self->apsw_connection, "close", ""); in pysqlite_connection_dealloc()
378 ret = PyObject_CallMethod(self->apsw_connection, "close", ""); in pysqlite_connection_close()
775 function_result = PyObject_CallMethod(*aggregate_instance, "finalize", ""); in _pysqlite_final_callback()
1260 cursor = PyObject_CallMethod((PyObject*)self, "cursor", ""); in pysqlite_connection_execute()
1289 cursor = PyObject_CallMethod((PyObject*)self, "cursor", ""); in pysqlite_connection_executemany()
1318 cursor = PyObject_CallMethod((PyObject*)self, "cursor", ""); in pysqlite_connection_executescript()
1485 uppercase_name = PyObject_CallMethod((PyObject *)&PyString_Type, in pysqlite_connection_create_collation()
1569 result = PyObject_CallMethod((PyObject*)self, method_name, ""); in pysqlite_connection_exit()
Dmodule.c188 name = PyObject_CallMethod(orig_name, "upper", ""); in module_register_converter()
/external/python/cpython2/Include/
Dabstract.h9 #define PyObject_CallMethod _PyObject_CallMethod_SizeT macro
340 PyAPI_FUNC(PyObject *) PyObject_CallMethod(PyObject *o, char *m,
1332 #define PyMapping_Keys(O) PyObject_CallMethod(O,"keys",NULL)
1342 #define PyMapping_Values(O) PyObject_CallMethod(O,"values",NULL)
1354 #define PyMapping_Items(O) PyObject_CallMethod(O,"items",NULL)
/external/libxml2/python/
Dlibxml.c935 result = PyObject_CallMethod(handler, (char *) "startElement", in pythonStartElement()
938 result = PyObject_CallMethod(handler, (char *) "start", in pythonStartElement()
959 PyObject_CallMethod(handler, (char *) "startDocument", NULL); in pythonStartDocument()
978 PyObject_CallMethod(handler, (char *) "endDocument", NULL); in pythonEndDocument()
1000 result = PyObject_CallMethod(handler, (char *) "endElement", in pythonEndElement()
1006 result = PyObject_CallMethod(handler, (char *) "end", in pythonEndElement()
1025 result = PyObject_CallMethod(handler, (char *) "reference", in pythonReference()
1050 result = PyObject_CallMethod(handler, (char *) "characters", in pythonCharacters()
1053 result = PyObject_CallMethod(handler, (char *) "data", in pythonCharacters()
1079 PyObject_CallMethod(handler, in pythonIgnorableWhitespace()
[all …]
/external/python/cpython2/Modules/
D_bisectmodule.c93 result = PyObject_CallMethod(list, "insert", "nO", in insort_right()
198 result = PyObject_CallMethod(list, "insert", "nO", in insort_left()
Ddatetimemodule.c791 result = PyObject_CallMethod(tzinfo, methname, "O", tzinfoarg); in call_tzinfo_method()
951 result = PyObject_CallMethod(tzinfo, "tzname", "O", tzinfoarg); in call_tzname()
1282 Zreplacement = PyObject_CallMethod( in wrap_strftime()
1349 result = PyObject_CallMethod(time, "strftime", "OO", in wrap_strftime()
1403 result = PyObject_CallMethod(time, "time", "()"); in time_time()
1420 result = PyObject_CallMethod(time, "struct_time", in build_struct_time()
2362 result = PyObject_CallMethod(cls, "fromtimestamp", "O", time); in date_today()
2515 return PyObject_CallMethod((PyObject *)self, "isoformat", "()"); in date_str()
2541 tuple = PyObject_CallMethod((PyObject *)self, "timetuple", "()"); in date_strftime()
2573 return PyObject_CallMethod((PyObject *)self, "strftime", "O", format); in date_format()
[all …]
/external/python/cpython2/Objects/
Ddescrobject.c753 return PyObject_CallMethod(pp->dict, "get", "(OO)", key, def); in proxy_get()
777 return PyObject_CallMethod(pp->dict, "iterkeys", NULL); in proxy_iterkeys()
783 return PyObject_CallMethod(pp->dict, "itervalues", NULL); in proxy_itervalues()
789 return PyObject_CallMethod(pp->dict, "iteritems", NULL); in proxy_iteritems()
794 return PyObject_CallMethod(pp->dict, "copy", NULL); in proxy_copy()
/external/python/cpython2/Python/
Dmactoolboxglue.c47 rv = PyObject_CallMethod(m, "GetErrorString", "i", err); in PyMac_StrError()
124 rv = PyObject_CallMethod(fs, "as_pathname", ""); in PyMac_GetFullPathname()
/external/python/cpython3/Include/
Dabstract.h140 # define PyObject_CallMethod _PyObject_CallMethod_SizeT macro
308 PyAPI_FUNC(PyObject *) PyObject_CallMethod(PyObject *obj,
/external/python/cpython2/Modules/cjkcodecs/
Dmultibytecodec.c1252 cres = PyObject_CallMethod(self->stream, in mbstreamreader_iread()
1255 cres = PyObject_CallMethod(self->stream, in mbstreamreader_iread()
1564 wr = PyObject_CallMethod(self->stream, "write", "O", str); in mbstreamwriter_iwrite()
1632 wr = PyObject_CallMethod(self->stream, "write", "O", pwrt); in mbstreamwriter_reset()
/external/python/cpython3/Doc/faq/
Dextending.rst112 The :c:func:`PyObject_CallMethod` function can be used to call an arbitrary
118 PyObject_CallMethod(PyObject *object, const char *method_name,
127 res = PyObject_CallMethod(f, "seek", "(ii)", 10, 0);
/external/python/cpython2/PC/os2vacpp/
Dpython.def307 PyObject_CallMethod
/external/tensorflow/tensorflow/python/util/
Dutil.cc101 Safe_PyObjectPtr raw_result(PyObject_CallMethod(o, key_method_name, nullptr)); in MappingKeys()
573 nested = PyObject_CallMethod(nested, expand_method_name, nullptr); in GetValueIteratorForComposite()
/external/python/cpython3/Programs/
D_testembed.c341 PyObject *res = PyObject_CallMethod(json, "dumps", "O", config); in dump_config_impl()
/external/python/cpython2/Mac/Modules/cf/
Dpycfbridge.c248 *dst = PyObject_CallMethod(src, "CFType", ""); in PyCF_Python2CF_simple()
/external/python/cpython2/Doc/data/
Drefcounts.dat927 PyObject_CallMethod:PyObject*::+1:
928 PyObject_CallMethod:PyObject*:o:0:
929 PyObject_CallMethod:char*:m::
930 PyObject_CallMethod:char*:format::
931 PyObject_CallMethod::...::
/external/python/cpython2/PC/
D_msi.c125 PyObject *result = PyObject_CallMethod(pv, "status", "iii", typeStatus, cb1, cb2); in FNFCISTATUS()
136 PyObject *result = PyObject_CallMethod(pv, "getnextcabinet", "i", pccab->iCab); in FNFCIGETNEXTCABINET()
/external/python/cpython2/Doc/faq/
Dextending.rst118 The :c:func:`PyObject_CallMethod` function can be used to call an arbitrary
124 PyObject_CallMethod(PyObject *object, char *method_name,
133 res = PyObject_CallMethod(f, "seek", "(ii)", 10, 0);

123