Home
last modified time | relevance | path

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

123

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/
Dtextio.c526 return PyObject_CallMethod(self->decoder, in incrementalnewlinedecoder_setstate()
879 self->encoding = PyObject_CallMethod( in textiowrapper_init()
939 res = PyObject_CallMethod(buffer, "readable", NULL); in textiowrapper_init()
964 res = PyObject_CallMethod(buffer, "writable", NULL); in textiowrapper_init()
1022 res = PyObject_CallMethod(buffer, "seekable", NULL); in textiowrapper_init()
1271 PyObject *newtext = PyObject_CallMethod( in textiowrapper_write()
1326 ret = PyObject_CallMethod(self->decoder, "reset", NULL); in textiowrapper_write()
1507 PyObject *bytes = PyObject_CallMethod(self->buffer, "read", NULL); in textiowrapper_read()
1971 res = PyObject_CallMethod(self->decoder, "setstate", in _textiowrapper_decoder_setstate()
2038 cookieObj = PyObject_CallMethod((PyObject *)self, "tell", NULL); in textiowrapper_seek()
[all …]
Diobase.c99 return PyObject_CallMethod(self, "seek", "ii", 0, 1); in iobase_tell()
470 PyObject *readahead = PyObject_CallMethod(self, "peek", "i", 1); in iobase_readline()
510 b = PyObject_CallMethod(self, "read", "n", nreadahead); in iobase_readline()
602 PyObject *ret = PyObject_CallMethod(result, "extend", "O", self); in iobase_readlines()
785 return PyObject_CallMethod(self, "readall", NULL); in rawiobase_read()
826 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()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/
Dtextio.c517 return PyObject_CallMethod(self->decoder, in incrementalnewlinedecoder_setstate()
863 self->encoding = PyObject_CallMethod( in textiowrapper_init()
923 res = PyObject_CallMethod(buffer, "readable", NULL); in textiowrapper_init()
948 res = PyObject_CallMethod(buffer, "writable", NULL); in textiowrapper_init()
1006 res = PyObject_CallMethod(buffer, "seekable", NULL); in textiowrapper_init()
1248 PyObject *newtext = PyObject_CallMethod( in textiowrapper_write()
1303 ret = PyObject_CallMethod(self->decoder, "reset", NULL); in textiowrapper_write()
1473 PyObject *bytes = PyObject_CallMethod(self->buffer, "read", NULL); in textiowrapper_read()
1925 res = PyObject_CallMethod(self->decoder, "setstate", in _textiowrapper_decoder_setstate()
1992 cookieObj = PyObject_CallMethod((PyObject *)self, "tell", NULL); in textiowrapper_seek()
[all …]
Diobase.c99 return PyObject_CallMethod(self, "seek", "ii", 0, 1); in iobase_tell()
470 PyObject *readahead = PyObject_CallMethod(self, "peek", "i", 1); in iobase_readline()
504 b = PyObject_CallMethod(self, "read", "n", nreadahead); in iobase_readline()
590 PyObject *ret = PyObject_CallMethod(result, "extend", "O", self); in iobase_readlines()
770 return PyObject_CallMethod(self, "readall", NULL); in rawiobase_read()
811 PyObject *data = PyObject_CallMethod(self, "read", in rawiobase_readall()
D_iomodule.c425 PyObject *res = PyObject_CallMethod(raw, "isatty", NULL); in io_open()
447 PyObject *res = PyObject_CallMethod(raw, "fileno", NULL); in io_open()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/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.c277 ret = PyObject_CallMethod(self->apsw_connection, "close", ""); in pysqlite_connection_dealloc()
367 ret = PyObject_CallMethod(self->apsw_connection, "close", ""); in pysqlite_connection_close()
763 function_result = PyObject_CallMethod(*aggregate_instance, "finalize", ""); in _pysqlite_final_callback()
1241 cursor = PyObject_CallMethod((PyObject*)self, "cursor", ""); in pysqlite_connection_execute()
1270 cursor = PyObject_CallMethod((PyObject*)self, "cursor", ""); in pysqlite_connection_executemany()
1299 cursor = PyObject_CallMethod((PyObject*)self, "cursor", ""); in pysqlite_connection_executescript()
1457 uppercase_name = PyObject_CallMethod(name, "upper", ""); in pysqlite_connection_create_collation()
1540 result = PyObject_CallMethod((PyObject*)self, method_name, ""); in pysqlite_connection_exit()
Dmodule.c188 name = PyObject_CallMethod(orig_name, "upper", ""); in module_register_converter()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/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)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/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)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_bisectmodule.c89 result = PyObject_CallMethod(list, "insert", "nO", in insort_right()
190 result = PyObject_CallMethod(list, "insert", "iO", 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()
2357 result = PyObject_CallMethod(cls, "fromtimestamp", "O", time); in date_today()
2510 return PyObject_CallMethod((PyObject *)self, "isoformat", "()"); in date_str()
2536 tuple = PyObject_CallMethod((PyObject *)self, "timetuple", "()"); in date_strftime()
2568 return PyObject_CallMethod((PyObject *)self, "strftime", "O", format); in date_format()
[all …]
Dbz2module.c1112 ret = PyObject_CallMethod(self->file, "seek", "(i)", 0); in BZ2File_seek()
1226 ret = PyObject_CallMethod(self->file, "close", NULL); in BZ2File_close()
1258 PyObject *ret = PyObject_CallMethod((PyObject *) self, "close", NULL); in BZ2File_exit()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/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()
2357 result = PyObject_CallMethod(cls, "fromtimestamp", "O", time); in date_today()
2510 return PyObject_CallMethod((PyObject *)self, "isoformat", "()"); in date_str()
2536 tuple = PyObject_CallMethod((PyObject *)self, "timetuple", "()"); in date_strftime()
2568 return PyObject_CallMethod((PyObject *)self, "strftime", "O", format); in date_format()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Ddescrobject.c716 return PyObject_CallMethod(pp->dict, "get", "(OO)", key, def); in proxy_get()
740 return PyObject_CallMethod(pp->dict, "iterkeys", NULL); in proxy_iterkeys()
746 return PyObject_CallMethod(pp->dict, "itervalues", NULL); in proxy_itervalues()
752 return PyObject_CallMethod(pp->dict, "iteritems", NULL); in proxy_iteritems()
757 return PyObject_CallMethod(pp->dict, "copy", NULL); in proxy_copy()
Ddictobject.c2933 tmp = PyObject_CallMethod(result, "difference_update", "O", other); in dictviews_sub()
2951 tmp = PyObject_CallMethod(result, "intersection_update", "O", other); in dictviews_and()
2969 tmp = PyObject_CallMethod(result, "update", "O", other); in dictviews_or()
2987 tmp = PyObject_CallMethod(result, "symmetric_difference_update", "O", in dictviews_xor()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/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()
Ddictobject.c2971 tmp = PyObject_CallMethod(result, "difference_update", "O", other); in dictviews_sub()
2989 tmp = PyObject_CallMethod(result, "intersection_update", "O", other); in dictviews_and()
3007 tmp = PyObject_CallMethod(result, "update", "O", other); in dictviews_or()
3025 tmp = PyObject_CallMethod(result, "symmetric_difference_update", "O", in dictviews_xor()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dmactoolboxglue.c47 rv = PyObject_CallMethod(m, "GetErrorString", "i", err); in PyMac_StrError()
124 rv = PyObject_CallMethod(fs, "as_pathname", ""); in PyMac_GetFullPathname()
Dpythonrun.c327 sys_isatty = PyObject_CallMethod(sys_stream, "isatty", ""); in Py_InitializeEx()
339 sys_isatty = PyObject_CallMethod(sys_stream, "isatty", ""); in Py_InitializeEx()
351 sys_isatty = PyObject_CallMethod(sys_stream, "isatty", ""); in Py_InitializeEx()
1696 result = PyObject_CallMethod(threading, "_shutdown", ""); in wait_for_thread_shutdown()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dpythonrun.c339 sys_isatty = PyObject_CallMethod(sys_stream, "isatty", ""); in Py_InitializeEx()
351 sys_isatty = PyObject_CallMethod(sys_stream, "isatty", ""); in Py_InitializeEx()
363 sys_isatty = PyObject_CallMethod(sys_stream, "isatty", ""); in Py_InitializeEx()
1721 result = PyObject_CallMethod(threading, "_shutdown", ""); in wait_for_thread_shutdown()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/cjkcodecs/
Dmultibytecodec.c1250 cres = PyObject_CallMethod(self->stream, in mbstreamreader_iread()
1253 cres = PyObject_CallMethod(self->stream, in mbstreamreader_iread()
1562 wr = PyObject_CallMethod(self->stream, "write", "O", str); in mbstreamwriter_iwrite()
1627 wr = PyObject_CallMethod(self->stream, "write", "O", pwrt); in mbstreamwriter_reset()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/cjkcodecs/
Dmultibytecodec.c1253 cres = PyObject_CallMethod(self->stream, in mbstreamreader_iread()
1256 cres = PyObject_CallMethod(self->stream, in mbstreamreader_iread()
1565 wr = PyObject_CallMethod(self->stream, "write", "O", str); in mbstreamwriter_iwrite()
1630 wr = PyObject_CallMethod(self->stream, "write", "O", pwrt); in mbstreamwriter_reset()

123