Home
last modified time | relevance | path

Searched refs:PyObject_CallFunction (Results 1 – 25 of 91) 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()
684 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/
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.c2152 error = PyObject_CallFunction(elementtree_parseerror_obj, "s", buffer);
2199 res = PyObject_CallFunction(self->handle_data, "O", value);
2276 res = PyObject_CallFunction(self->handle_start, "OO", tag, attrib);
2301 res = PyObject_CallFunction(self->handle_data, "O", data);
2325 res = PyObject_CallFunction(self->handle_end, "O", tag);
2396 res = PyObject_CallFunction(self->handle_comment, "O", comment);
2415 res = PyObject_CallFunction(self->handle_pi, "OO", target, data);
2649 return PyObject_CallFunction(self->handle_close, "");
2687 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/cpython3/Modules/
D_elementtree.c2500 node = PyObject_CallFunction(self->element_factory, "OO", tag, attrib); in treebuilder_handle_start()
2504 node = PyObject_CallFunction(self->element_factory, "OO", tag, attrib); in treebuilder_handle_start()
2836 error = PyObject_CallFunction(st->parseerror_obj, "O", errmsg); in expat_set_error()
2899 res = PyObject_CallFunction(self->handle_data, "O", value); in expat_default_handler()
2981 res = PyObject_CallFunction(self->handle_start, "OO", tag, attrib); in expat_start_handler()
3009 res = PyObject_CallFunction(self->handle_data, "O", data); in expat_data_handler()
3036 res = PyObject_CallFunction(self->handle_end, "O", tag); in expat_end_handler()
3095 res = PyObject_CallFunction(self->handle_comment, "O", comment); in expat_comment_handler()
3146 res = PyObject_CallFunction(self->handle_doctype, "OOO", in expat_start_doctype_handler()
3166 res = PyObject_CallFunction(parser_doctype, "OOO", in expat_start_doctype_handler()
[all …]
Dreadline.c871 r = PyObject_CallFunction(func, NULL); in on_hook()
954 r = PyObject_CallFunction(readlinestate_global->completion_display_matches_hook, in on_completion_display_matches_hook()
1011 r = PyObject_CallFunction(readlinestate_global->completer, "Ni", t, state); in on_completion()
D_lsprof.c550 sinfo = PyObject_CallFunction((PyObject*) &StatsSubEntryType, in statsForSubEntry()
588 info = PyObject_CallFunction((PyObject*) &StatsEntryType, in statsForEntry()
/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.c342 converted = PyObject_CallFunction(converter, "O", item); in _pysqlite_fetch_one_row()
380 … converted = PyObject_CallFunction(self->connection->text_factory, "s#", val_str, nbytes); in _pysqlite_fetch_one_row()
901 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/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()
/external/python/cpython3/Modules/_sqlite/
Dcursor.c275 converted = PyObject_CallFunction(converter, "O", item); in _pysqlite_fetch_one_row()
323 … converted = PyObject_CallFunction(self->connection->text_factory, "y#", val_str, nbytes); in _pysqlite_fetch_one_row()
792 next_row = PyObject_CallFunction(self->row_factory, "OO", self, next_row_tuple); in pysqlite_cursor_iternext()
Dconnection.c145 …self->statement_cache = (pysqlite_Cache*)PyObject_CallFunction((PyObject*)&pysqlite_CacheType, "Oi… in pysqlite_connection_init()
648 *aggregate_instance = PyObject_CallFunction(aggregate_class, NULL); in _pysqlite_step_callback()
894 …ret = PyObject_CallFunction((PyObject*)user_arg, "issss", action, arg1, arg2, dbname, access_attem… in _authorizer_callback()
936 ret = PyObject_CallFunction((PyObject*)user_arg, NULL); in _progress_handler()
Dcache.c183 data = PyObject_CallFunction(self->factory, "O", key); in pysqlite_cache_get()
/external/python/cpython2/Include/
Dabstract.h8 #define PyObject_CallFunction _PyObject_CallFunction_SizeT macro
326 PyAPI_FUNC(PyObject *) PyObject_CallFunction(PyObject *callable_object,
/external/python/cpython3/Python/
Dcodecs.c285 ret = PyObject_CallFunction(inccodec, "s", errors); in codec_makeincrementalcodec()
287 ret = PyObject_CallFunction(inccodec, NULL); in codec_makeincrementalcodec()
323 streamcodec = PyObject_CallFunction(codeccls, "Os", stream, errors); in codec_getstreamcodec()
325 streamcodec = PyObject_CallFunction(codeccls, "O", stream); in codec_getstreamcodec()
/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.h8 #define PyObject_CallFunction _PyObject_CallFunction_SizeT macro
372 PyAPI_FUNC(PyObject *) PyObject_CallFunction(PyObject *callable_object,
/external/python/cpython2/PC/os2vacpp/
Dpython.def306 PyObject_CallFunction
/external/python/cpython3/Modules/_ctypes/
Dcallproc.c901 return PyObject_CallFunction(restype, "i", *(int *)result); in GetResult()
1676 result = PyObject_CallFunction((PyObject *)Py_TYPE(&PyCPointer_Type), in POINTER()
1694 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()

1234