/aosp_15_r20/external/python/cpython2/Modules/_io/ |
D | textio.c | 526 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 …]
|
D | iobase.c | 101 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.c | 427 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()
|
/aosp_15_r20/external/libxml2/python/ |
H A D | libxml.c | 213 ret = PyObject_CallMethod(file, (char *) "close", (char *) "()"); in xmlPythonFileCloseRaw() 240 ret = PyObject_CallMethod(file, (char *) "read", (char *) "(i)", len); in xmlPythonFileReadRaw() 302 ret = PyObject_CallMethod(file, (char *) "io_read", (char *) "(i)", len); in xmlPythonFileRead() 368 ret = PyObject_CallMethod(file, (char *) "io_write", (char *) "(O)", in xmlPythonFileWrite() 371 ret = PyObject_CallMethod(file, (char *) "write", (char *) "(O)", in xmlPythonFileWrite() 405 ret = PyObject_CallMethod(file, (char *) "io_close", (char *) "()"); in xmlPythonFileClose() 407 ret = PyObject_CallMethod(file, (char *) "flush", (char *) "()"); in xmlPythonFileClose() 864 result = PyObject_CallMethod(handler, (char *) "startElement", in pythonStartElement() 867 result = PyObject_CallMethod(handler, (char *) "start", in pythonStartElement() 885 PyObject_CallMethod(handler, (char *) "startDocument", NULL); in pythonStartDocument() [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/python/framework/ |
H A D | py_context_manager.cc | 32 var_.reset(PyObject_CallMethod(context_manager_.get(), _enter, nullptr)); in Enter() 45 Safe_PyObjectPtr result(PyObject_CallMethod( in ~PyContextManager() 58 PyObject* result = PyObject_CallMethod(context_manager_.get(), _exit, in ~PyContextManager()
|
/aosp_15_r20/external/cronet/third_party/protobuf/python/google/protobuf/pyext/ |
H A D | descriptor_database.cc | 86 PyObject_CallMethod(py_descriptor, "SerializeToString", nullptr)); in GetFileDescriptorProto() 115 ScopedPyObjectPtr py_descriptor(PyObject_CallMethod( in FindFileByName() 124 PyObject_CallMethod(py_database_, "FindFileContainingSymbol", "s#", in FindFileContainingSymbol()
|
/aosp_15_r20/external/protobuf/python/google/protobuf/pyext/ |
H A D | descriptor_database.cc | 86 PyObject_CallMethod(py_descriptor, "SerializeToString", nullptr)); in GetFileDescriptorProto() 115 ScopedPyObjectPtr py_descriptor(PyObject_CallMethod( in FindFileByName() 124 PyObject_CallMethod(py_database_, "FindFileContainingSymbol", "s#", in FindFileContainingSymbol()
|
/aosp_15_r20/external/python/cpython2/Include/ |
D | abstract.h | 9 #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)
|
/aosp_15_r20/external/python/cpython3/Lib/test/ |
D | _testcppext.cpp | 216 result = PyObject_CallMethod(module, "test_api_casts", ""); in _testcppext_exec() 220 result = PyObject_CallMethod(module, "test_unicode", ""); in _testcppext_exec() 224 result = PyObject_CallMethod(module, "test_virtual_object", ""); in _testcppext_exec()
|
/aosp_15_r20/external/python/cpython2/Modules/_sqlite/ |
D | connection.c | 280 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()
|
D | microprotocols.c | 98 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()
|
/aosp_15_r20/external/pytorch/torch/csrc/autograd/ |
H A D | python_anomaly_mode.cpp | 20 THPObjectPtr list(PyObject_CallMethod(mod.get(), "format_stack", "")); in store_stack() 46 THPObjectPtr parent_name_pyobj(PyObject_CallMethod(pyparent, "name", "")); in print_stack()
|
/aosp_15_r20/external/python/cpython3/Modules/_xxtestfuzz/ |
D | fuzzer.c | 301 PyObject* compiled = PyObject_CallMethod( in init_sre_match() 370 PyObject* lines = PyObject_CallMethod(s, "split", "s", "\n"); in fuzz_csv_reader() 376 PyObject* reader = PyObject_CallMethod(csv_module, "reader", "N", lines); in fuzz_csv_reader()
|
/aosp_15_r20/external/python/cpython2/Modules/ |
D | datetimemodule.c | 791 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 …]
|
D | _bisectmodule.c | 93 result = PyObject_CallMethod(list, "insert", "nO", in insort_right() 198 result = PyObject_CallMethod(list, "insert", "nO", in insort_left()
|
/aosp_15_r20/external/python/cpython3/Modules/ |
D | _zoneinfo.c | 192 file_obj = PyObject_CallMethod(_common_mod, "load_tzdata", "O", key); in zoneinfo_new_instance() 215 PyObject *rv = PyObject_CallMethod(file_obj, "close", NULL); in zoneinfo_new_instance() 234 PyObject *tmp = PyObject_CallMethod(file_obj, "close", NULL); in zoneinfo_new_instance() 278 instance = PyObject_CallMethod(weak_cache, "get", "O", key, Py_None); in zoneinfo_new() 291 PyObject_CallMethod(weak_cache, "setdefault", "OO", key, tmp); in zoneinfo_new() 414 PyObject *rv = PyObject_CallMethod(weak_cache, "clear", NULL); in zoneinfo_clear_cache() 854 data_tuple = PyObject_CallMethod(_common_mod, "load_data", "O", file_obj); in load_data() 2216 PyObject *num = PyObject_CallMethod(dt, "toordinal", NULL); in get_local_timestamp() 2501 PyObject_CallMethod(weakref_module, "WeakValueDictionary", ""); in new_weak_cache()
|
/aosp_15_r20/external/tensorflow/tensorflow/python/util/ |
H A D | util.cc | 650 PyObject_CallMethod(spec.get(), to_components, argspec, nested)); in GetValueIteratorForComposite() 882 PyObject_CallMethod(type_spec_1, "_without_tensor_names", nullptr)); in AssertSameStructureHelper() 884 PyObject_CallMethod(type_spec_2, "_without_tensor_names", nullptr)); in AssertSameStructureHelper() 889 PyObject_CallMethod(owned_nameless_type_spec_1.get(), compatible_type, in AssertSameStructureHelper() 976 Safe_PyObjectPtr raw_result(PyObject_CallMethod(o, key_method_name, nullptr)); in MappingKeys()
|
/aosp_15_r20/external/python/cpython2/Objects/ |
D | descrobject.c | 753 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()
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/ |
D | abstract.h | 140 # define PyObject_CallMethod _PyObject_CallMethod_SizeT macro 194 PyAPI_FUNC(PyObject *) PyObject_CallMethod(PyObject *obj,
|
/aosp_15_r20/external/python/cpython3/Include/ |
D | abstract.h | 140 # define PyObject_CallMethod _PyObject_CallMethod_SizeT macro 194 PyAPI_FUNC(PyObject *) PyObject_CallMethod(PyObject *obj,
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/ |
D | abstract.h | 140 # define PyObject_CallMethod _PyObject_CallMethod_SizeT macro 194 PyAPI_FUNC(PyObject *) PyObject_CallMethod(PyObject *obj,
|
/aosp_15_r20/external/pytorch/torch/csrc/ |
H A D | serialization.cpp | 84 THPObjectPtr r(PyObject_CallMethod(fildes, "read", "i", nbytes)); in doPartialPythonReadBuffered() 119 PyObject_CallMethod(fildes, method.c_str(), "O", memview.get())); in doPartialPythonIO()
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/ |
D | abstract.h | 140 # define PyObject_CallMethod _PyObject_CallMethod_SizeT macro 194 PyAPI_FUNC(PyObject *) PyObject_CallMethod(PyObject *obj,
|
/aosp_15_r20/external/python/cpython2/Python/ |
D | mactoolboxglue.c | 47 rv = PyObject_CallMethod(m, "GetErrorString", "i", err); in PyMac_StrError() 124 rv = PyObject_CallMethod(fs, "as_pathname", ""); in PyMac_GetFullPathname()
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/ |
D | abstract.h | 140 # define PyObject_CallMethod _PyObject_CallMethod_SizeT macro 194 PyAPI_FUNC(PyObject *) PyObject_CallMethod(PyObject *obj,
|