Home
last modified time | relevance | path

Searched refs:PyObject_CallMethodNoArgs (Results 1 – 25 of 32) sorted by relevance

12

/aosp_15_r20/external/python/cpython3/Modules/_io/
Dtextio.c515 PyObject *state = PyObject_CallMethodNoArgs(self->decoder, in _io_IncrementalNewlineDecoder_getstate_impl()
595 return PyObject_CallMethodNoArgs(self->decoder, &_Py_ID(reset)); in _io_IncrementalNewlineDecoder_reset_impl()
858 res = PyObject_CallMethodNoArgs(self->buffer, &_Py_ID(readable)); in _textiowrapper_set_decoder()
913 res = PyObject_CallMethodNoArgs(self->buffer, &_Py_ID(writable)); in _textiowrapper_set_encoder()
959 PyObject *cookieObj = PyObject_CallMethodNoArgs( in _textiowrapper_fix_encoder_state()
1199 res = PyObject_CallMethodNoArgs(buffer, &_Py_ID(seekable)); in _io_TextIOWrapper___init___impl()
1354 PyObject *res = PyObject_CallMethodNoArgs((PyObject *)self, &_Py_ID(flush)); in _io_TextIOWrapper_reconfigure_impl()
1493 res = PyObject_CallMethodNoArgs((PyObject *)self, &_Py_ID(flush)); in _io_TextIOWrapper_detach_impl()
1700 ret = PyObject_CallMethodNoArgs(self->buffer, &_Py_ID(flush)); in _io_TextIOWrapper_write_impl()
1710 ret = PyObject_CallMethodNoArgs(self->decoder, &_Py_ID(reset)); in _io_TextIOWrapper_write_impl()
[all …]
Diobase.c233 res = PyObject_CallMethodNoArgs(self, &_Py_ID(flush)); in _io__IOBase_close_impl()
278 res = PyObject_CallMethodNoArgs((PyObject *)self, &_Py_ID(close)); in iobase_finalize()
379 PyObject *res = PyObject_CallMethodNoArgs(self, &_Py_ID(seekable)); in _PyIOBase_check_seekable()
412 PyObject *res = PyObject_CallMethodNoArgs(self, &_Py_ID(readable)); in _PyIOBase_check_readable()
445 PyObject *res = PyObject_CallMethodNoArgs(self, &_Py_ID(writable)); in _PyIOBase_check_writable()
474 return PyObject_CallMethodNoArgs(self, &_Py_ID(close)); in iobase_exit()
652 PyObject *line = PyObject_CallMethodNoArgs(self, &_Py_ID(readline)); in iobase_iternext()
913 return PyObject_CallMethodNoArgs(self, &_Py_ID(readall)); in _io__RawIOBase_read_impl()
Dbufferedio.c446 return PyObject_CallMethodNoArgs(self->raw, &_Py_ID(flush)); in buffered_simple_flush()
498 res = PyObject_CallMethodNoArgs((PyObject *)self, &_Py_ID(flush)); in buffered_close()
506 res = PyObject_CallMethodNoArgs(self->raw, &_Py_ID(close)); in buffered_close()
533 res = PyObject_CallMethodNoArgs((PyObject *)self, &_Py_ID(flush)); in buffered_detach()
550 return PyObject_CallMethodNoArgs(self->raw, &_Py_ID(seekable)); in buffered_seekable()
557 return PyObject_CallMethodNoArgs(self->raw, &_Py_ID(readable)); in buffered_readable()
564 return PyObject_CallMethodNoArgs(self->raw, &_Py_ID(writable)); in buffered_writable()
587 return PyObject_CallMethodNoArgs(self->raw, &_Py_ID(fileno)); in buffered_fileno()
594 return PyObject_CallMethodNoArgs(self->raw, &_Py_ID(isatty)); in buffered_isatty()
658 res = PyObject_CallMethodNoArgs(self->raw, &_Py_ID(tell)); in _buffered_raw_tell()
[all …]
D_iomodule.c347 PyObject *res = PyObject_CallMethodNoArgs(raw, &_Py_ID(isatty)); in _io_open_impl()
441 close_result = PyObject_CallMethodNoArgs(result, &_Py_ID(close)); in _io_open_impl()
Dstringio.c411 line = PyObject_CallMethodNoArgs((PyObject *)self, in stringio_iternext()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/cpython/
Dabstract.h76 #define _PyObject_CallMethodNoArgs PyObject_CallMethodNoArgs
104 PyObject_CallMethodNoArgs(PyObject *self, PyObject *name) in PyObject_CallMethodNoArgs() function
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/cpython/
Dabstract.h76 #define _PyObject_CallMethodNoArgs PyObject_CallMethodNoArgs
104 PyObject_CallMethodNoArgs(PyObject *self, PyObject *name) in PyObject_CallMethodNoArgs() function
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/cpython/
Dabstract.h76 #define _PyObject_CallMethodNoArgs PyObject_CallMethodNoArgs
104 PyObject_CallMethodNoArgs(PyObject *self, PyObject *name) in PyObject_CallMethodNoArgs() function
/aosp_15_r20/external/python/cpython3/Include/cpython/
Dabstract.h76 #define _PyObject_CallMethodNoArgs PyObject_CallMethodNoArgs
104 PyObject_CallMethodNoArgs(PyObject *self, PyObject *name) in PyObject_CallMethodNoArgs() function
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/cpython/
Dabstract.h76 #define _PyObject_CallMethodNoArgs PyObject_CallMethodNoArgs
104 PyObject_CallMethodNoArgs(PyObject *self, PyObject *name) in PyObject_CallMethodNoArgs() function
/aosp_15_r20/external/python/cpython3/Python/
Dpylifecycle.c1455 if (PyObject_CallMethodNoArgs(modules, &_Py_ID(clear)) == NULL) { in finalize_clear_modules_dict()
1633 tmp = PyObject_CallMethodNoArgs(fout, &_Py_ID(flush)); in flush_std_files()
1643 tmp = PyObject_CallMethodNoArgs(ferr, &_Py_ID(flush)); in flush_std_files()
2270 res = PyObject_CallMethodNoArgs(raw, &_Py_ID(isatty)); in create_stdio()
2541 res = PyObject_CallMethodNoArgs(ferr, &_Py_ID(flush)); in _Py_FatalError_PrintExc()
2902 result = PyObject_CallMethodNoArgs(threading, &_Py_ID(_shutdown)); in wait_for_thread_shutdown()
Dbltinmodule.c2056 PyObject *tmp = PyObject_CallMethodNoArgs(file, &_Py_ID(flush)); in builtin_print_impl()
2119 tmp = PyObject_CallMethodNoArgs(ferr, &_Py_ID(flush)); in builtin_input_impl()
2128 tmp = PyObject_CallMethodNoArgs(fin, &_Py_ID(fileno)); in builtin_input_impl()
2141 tmp = PyObject_CallMethodNoArgs(fout, &_Py_ID(fileno)); in builtin_input_impl()
2179 tmp = PyObject_CallMethodNoArgs(fout, &_Py_ID(flush)); in builtin_input_impl()
2274 tmp = PyObject_CallMethodNoArgs(fout, &_Py_ID(flush)); in builtin_input_impl()
Dtraceback.c492 res = PyObject_CallMethodNoArgs(binary, &_Py_ID(close)); in display_source_line_with_margin()
511 res = PyObject_CallMethodNoArgs(fob, &_Py_ID(close)); in display_source_line_with_margin()
/aosp_15_r20/external/python/cpython3/Objects/
Ddescrobject.c1117 return PyObject_CallMethodNoArgs(pp->mapping, &_Py_ID(keys)); in mappingproxy_keys()
1123 return PyObject_CallMethodNoArgs(pp->mapping, &_Py_ID(values)); in mappingproxy_values()
1129 return PyObject_CallMethodNoArgs(pp->mapping, &_Py_ID(items)); in mappingproxy_items()
1135 return PyObject_CallMethodNoArgs(pp->mapping, &_Py_ID(copy)); in mappingproxy_copy()
1141 return PyObject_CallMethodNoArgs(pp->mapping, &_Py_ID(__reversed__)); in mappingproxy_reversed()
Dfileobject.c63 result = PyObject_CallMethodNoArgs(f, &_Py_ID(readline)); in PyFile_GetLine()
Dodictobject.c963 items = PyObject_CallMethodNoArgs((PyObject *)od, &_Py_ID(items)); in odict_reduce()
1421 PyObject *items = PyObject_CallMethodNoArgs( in odict_repr()
Dweakrefobject.c463 PyObject* res = PyObject_CallMethodNoArgs(proxy, &_Py_ID(SPECIAL)); \
/aosp_15_r20/external/python/cpython3/Modules/
Dfaulthandler.c185 result = PyObject_CallMethodNoArgs(file, &_Py_ID(fileno)); in faulthandler_get_fileno()
203 result = PyObject_CallMethodNoArgs(file, &_Py_ID(flush)); in faulthandler_get_fileno()
1358 PyObject *res = PyObject_CallMethodNoArgs(module, &_Py_ID(enable)); in faulthandler_init_enable()
D_threadmodule.c1458 PyObject *res = PyObject_CallMethodNoArgs(file, &_Py_ID(flush)); in thread_excepthook_file()
/aosp_15_r20/external/python/cpython3/Doc/c-api/
Dcall.rst207 | :c:func:`PyObject_CallMethodNoArgs` | obj + name | --- | --- |
330 .. c:function:: PyObject* PyObject_CallMethodNoArgs(PyObject *obj, PyObject *name)
/aosp_15_r20/external/pytorch/torch/csrc/utils/
H A Dpythoncapi_compat.h402 PyObject_CallMethodNoArgs(PyObject *obj, PyObject *name) in PyObject_CallMethodNoArgs() function
/aosp_15_r20/external/python/cpython3/Modules/_sqlite/
Dmodule.c189 name = PyObject_CallMethodNoArgs(orig_name, state->str_upper); in pysqlite_register_converter_impl()
Dconnection.c875 function_result = PyObject_CallMethodNoArgs(*aggregate_instance, in final_callback()
1115 PyObject *res = PyObject_CallMethodNoArgs(*cls, ctx->state->str_value); in value_callback()
Dcursor.c201 upcase_key = PyObject_CallMethodNoArgs(key, state->str_upper); in _pysqlite_get_converter()
/aosp_15_r20/external/pytorch/torch/csrc/dynamo/
H A Dpython_compiled_autograd.cpp459 if (PyObject_CallMethodNoArgs(get(), method_name) == nullptr) { in ~ClosingTHPObjectPtr()

12