Home
last modified time | relevance | path

Searched refs:PyObject_CallFunction (Results 1 – 25 of 86) sorted by relevance

1234

/external/python/cpython2/Modules/_io/
D_iomodule.c415 raw = PyObject_CallFunction((PyObject *)&PyFileIO_Type, in io_open()
497 buffer = PyObject_CallFunction(Buffered_class, "Oi", raw, buffering); in io_open()
512 wrapper = PyObject_CallFunction((PyObject *)&PyTextIOWrapper_Type, in io_open()
658 _PyIO_unsupported_operation = PyObject_CallFunction( in init_io()
/external/python/cpython3/Modules/_io/
D_iomodule.c375 raw = PyObject_CallFunction(RawIO_class, in _io_open_impl()
452 buffer = PyObject_CallFunction(Buffered_class, "Oi", raw, buffering); in _io_open_impl()
467 wrapper = PyObject_CallFunction((PyObject *)&PyTextIOWrapper_Type, in _io_open_impl()
661 state->unsupported_operation = PyObject_CallFunction( in PyInit__io()
/external/python/cpython2/Python/
Dcodecs.c232 ret = PyObject_CallFunction(inccodec, "s", errors); in codec_makeincrementalcodec()
234 ret = PyObject_CallFunction(inccodec, NULL); in codec_makeincrementalcodec()
270 streamcodec = PyObject_CallFunction(codeccls, "Os", stream, errors); in codec_getstreamcodec()
272 streamcodec = PyObject_CallFunction(codeccls, "O", stream); in codec_getstreamcodec()
/external/protobuf/python/google/protobuf/pyext/
Ddescriptor_database.cc141 PyObject_CallFunction(py_method.get(), "s#i", containing_type.c_str(), in FindFileContainingExtension()
/external/python/cpython2/Modules/_sqlite/
Dconnection.c161 …self->statement_cache = (pysqlite_Cache*)PyObject_CallFunction((PyObject*)&pysqlite_CacheType, "Oi… in pysqlite_connection_init()
232 (pysqlite_Cache *)PyObject_CallFunction((PyObject *)&pysqlite_CacheType, "O", self)); in pysqlite_flush_statement_cache()
710 *aggregate_instance = PyObject_CallFunction(aggregate_class, ""); in _pysqlite_step_callback()
936 …ret = PyObject_CallFunction((PyObject*)user_arg, "issss", action, arg1, arg2, dbname, access_attem… in _authorizer_callback()
972 ret = PyObject_CallFunction((PyObject*)user_arg, ""); in _progress_handler()
Dcursor.c341 converted = PyObject_CallFunction(converter, "O", item); in _pysqlite_fetch_one_row()
379 … converted = PyObject_CallFunction(self->connection->text_factory, "s#", val_str, nbytes); in _pysqlite_fetch_one_row()
900 next_row = PyObject_CallFunction(self->row_factory, "OO", self, next_row_tuple); in pysqlite_cursor_iternext()
Dcache.c184 data = PyObject_CallFunction(self->factory, "O", key); in pysqlite_cache_get()
/external/python/cpython2/Modules/
Dreadline.c729 r = PyObject_CallFunction(func, NULL); in on_hook()
799 r = PyObject_CallFunction(completion_display_matches_hook, in on_completion_display_matches_hook()
855 r = PyObject_CallFunction(completer, "si", text, state); in on_completion()
D_elementtree.c2195 error = PyObject_CallFunction(elementtree_parseerror_obj, "s", buffer);
2242 res = PyObject_CallFunction(self->handle_data, "O", value);
2319 res = PyObject_CallFunction(self->handle_start, "OO", tag, attrib);
2344 res = PyObject_CallFunction(self->handle_data, "O", data);
2368 res = PyObject_CallFunction(self->handle_end, "O", tag);
2439 res = PyObject_CallFunction(self->handle_comment, "O", comment);
2458 res = PyObject_CallFunction(self->handle_pi, "OO", target, data);
2738 return PyObject_CallFunction(self->handle_close, "");
2776 buffer = PyObject_CallFunction(reader, "i", 64*1024);
D_lsprof.c553 sinfo = PyObject_CallFunction((PyObject*) &StatsSubEntryType, in statsForSubEntry()
591 info = PyObject_CallFunction((PyObject*) &StatsEntryType, in statsForEntry()
/external/python/cpython2/Objects/
Ddescrobject.c1234 return PyObject_CallFunction(gs->prop_get, "(O)", obj); in property_descr_get()
1255 res = PyObject_CallFunction(func, "(O)", obj); in property_descr_set()
1257 res = PyObject_CallFunction(func, "(OO)", obj, value); in property_descr_set()
1294 new = PyObject_CallFunction(type, "OOOO", get, set, del, doc); in property_copy()
Dexceptions.c1696 return PyObject_CallFunction(PyExc_UnicodeEncodeError, "su#nns", in PyUnicodeEncodeError_Create()
1780 return PyObject_CallFunction(PyExc_UnicodeDecodeError, "ss#nns", in PyUnicodeDecodeError_Create()
1877 return PyObject_CallFunction(PyExc_UnicodeTranslateError, "u#nns", in PyUnicodeTranslateError_Create()
/external/python/cpython3/Modules/_sqlite/
Dcursor.c274 converted = PyObject_CallFunction(converter, "O", item); in _pysqlite_fetch_one_row()
322 … converted = PyObject_CallFunction(self->connection->text_factory, "y#", val_str, nbytes); in _pysqlite_fetch_one_row()
764 next_row = PyObject_CallFunction(self->row_factory, "OO", self, next_row_tuple); in pysqlite_cursor_iternext()
Dcache.c183 data = PyObject_CallFunction(self->factory, "O", key); in pysqlite_cache_get()
Dconnection.c156 …self->statement_cache = (pysqlite_Cache*)PyObject_CallFunction((PyObject*)&pysqlite_CacheType, "Oi… in pysqlite_connection_init()
881 …ret = PyObject_CallFunction((PyObject*)user_arg, "issss", action, arg1, arg2, dbname, access_attem… in _authorizer_callback()
1518 res = PyObject_CallFunction(progress, "iii", rc, in pysqlite_connection_backup()
/external/python/cpython2/Include/
Dabstract.h8 #define PyObject_CallFunction _PyObject_CallFunction_SizeT macro
326 PyAPI_FUNC(PyObject *) PyObject_CallFunction(PyObject *callable_object,
/external/python/cpython2/Mac/Modules/
DNav.c62 rv = PyObject_CallFunction(pyfunc, "ls#", (long)callBackSelector, in my_eventProc()
86 rv = PyObject_CallFunction(pyfunc, "s#", (void *)callBackParms, sizeof(NavCBRec)); in my_previewProc()
112 rv = PyObject_CallFunction(pyfunc, "O&s#h", in my_filterProc()
/external/python/cpython3/Include/
Dabstract.h139 # define PyObject_CallFunction _PyObject_CallFunction_SizeT macro
296 PyAPI_FUNC(PyObject *) PyObject_CallFunction(PyObject *callable,
/external/python/cpython3/Modules/
D_lsprof.c550 sinfo = PyObject_CallFunction((PyObject*) &StatsSubEntryType, in statsForSubEntry()
588 info = PyObject_CallFunction((PyObject*) &StatsEntryType, in statsForEntry()
Dreadline.c942 r = PyObject_CallFunction(readlinestate_global->completion_display_matches_hook, in on_completion_display_matches_hook()
995 r = PyObject_CallFunction(readlinestate_global->completer, "Ni", t, state); in on_completion()
/external/python/cpython2/PC/os2vacpp/
Dpython.def306 PyObject_CallFunction
/external/python/cpython3/Modules/_ctypes/
Dcallproc.c916 return PyObject_CallFunction(restype, "i", *(int *)result); in GetResult()
1719 result = PyObject_CallFunction((PyObject *)Py_TYPE(&PyCPointer_Type), in POINTER()
1737 result = PyObject_CallFunction((PyObject *)Py_TYPE(&PyCPointer_Type), in POINTER()
/external/python/cpython2/Modules/_ctypes/
Dcallproc.c933 return PyObject_CallFunction(restype, "i", *(int *)result); in GetResult()
1834 result = PyObject_CallFunction((PyObject *)Py_TYPE(&PyCPointer_Type), in POINTER()
1851 result = PyObject_CallFunction((PyObject *)Py_TYPE(&PyCPointer_Type), in POINTER()
/external/python/cpython2/Modules/_multiprocessing/
Dconnection.h234 result = PyObject_CallFunction(BufferTooShort, in connection_recvbytes_into()
/external/python/cpython2/Doc/data/
Drefcounts.dat918 PyObject_CallFunction:PyObject*::+1:
919 PyObject_CallFunction:PyObject*:callable_object:0:
920 PyObject_CallFunction:char*:format::
921 PyObject_CallFunction::...::

1234