Home
last modified time | relevance | path

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

12

/third_party/protobuf/python/google/protobuf/pyext/
Ddescriptor_database.cc84 PyObject_CallMethod(py_descriptor, "SerializeToString", NULL)); in GetFileDescriptorProto()
113 ScopedPyObjectPtr py_descriptor(PyObject_CallMethod( in FindFileByName()
122 PyObject_CallMethod(py_database_, "FindFileContainingSymbol", "s#", in FindFileContainingSymbol()
Dmessage.cc1142 ScopedPyObjectPtr ok(PyObject_CallMethod( in InitAttributes()
1151 PyObject_CallMethod(map.get(), "update", "O", value)); in InitAttributes()
1719 PyObject_CallMethod(comma.get(), "join", "O", errors.get())); in InternalSerializeToString()
2985 PyObject_CallMethod(mutable_sequence.get(), "register", "O", in InitProto2MessageModule()
2990 PyObject_CallMethod(mutable_sequence.get(), "register", "O", in InitProto2MessageModule()
Ddescriptor_pool.cc623 PyObject_CallMethod(file_descriptor_proto, "SerializeToString", NULL)); in Add()
/third_party/python/Modules/_xxtestfuzz/
Dfuzzer.c301 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()
/third_party/python/Modules/
D_zoneinfo.c188 file_obj = PyObject_CallMethod(_common_mod, "load_tzdata", "O", key); in zoneinfo_new_instance()
211 PyObject *rv = PyObject_CallMethod(file_obj, "close", NULL); in zoneinfo_new_instance()
230 PyObject *tmp = PyObject_CallMethod(file_obj, "close", NULL); in zoneinfo_new_instance()
274 instance = PyObject_CallMethod(weak_cache, "get", "O", key, Py_None); in zoneinfo_new()
287 PyObject_CallMethod(weak_cache, "setdefault", "OO", key, tmp); in zoneinfo_new()
410 PyObject *rv = PyObject_CallMethod(weak_cache, "clear", NULL); in zoneinfo_clear_cache()
850 data_tuple = PyObject_CallMethod(_common_mod, "load_data", "O", file_obj); in load_data()
2212 PyObject *num = PyObject_CallMethod(dt, "toordinal", NULL); in get_local_timestamp()
2497 PyObject_CallMethod(weakref_module, "WeakValueDictionary", ""); in new_weak_cache()
D_abc.c774 subclasses = PyObject_CallMethod(self, "__subclasses__", NULL); in _abc__abc_subclasscheck_impl()
D_asynciomodule.c2998 PyObject *fut_result = PyObject_CallMethod(o, "result", NULL); in task_wakeup()
Darraymodule.c3074 PyObject *res = PyObject_CallMethod(mutablesequence, "register", "O", in array_modexec()
D_datetimemodule.c1164 offset = PyObject_CallMethod(tzinfo, name, "O", tzinfoarg); in call_tzinfo_method()
/third_party/python/Include/
Dabstract.h140 # define PyObject_CallMethod _PyObject_CallMethod_SizeT macro
194 PyAPI_FUNC(PyObject *) PyObject_CallMethod(PyObject *obj,
/third_party/python/Doc/faq/
Dextending.rst112 The :c:func:`PyObject_CallMethod` function can be used to call an arbitrary
118 PyObject_CallMethod(PyObject *object, const char *method_name,
127 res = PyObject_CallMethod(f, "seek", "(ii)", 10, 0);
/third_party/python/Objects/
Diterobject.c391 PyObject *ret = PyObject_CallMethod(awaitable, meth, "O", arg); in anextawaitable_proxy()
Dmoduleobject.c698 return PyObject_CallMethod(interp->importlib, "_module_repr", "O", m); in module_repr()
Dcall.c562 PyObject_CallMethod(PyObject *obj, const char *name, const char *format, ...) in PyObject_CallMethod() function
/third_party/python/Programs/
D_testembed.c1071 return PyObject_CallMethod(io, "open", "Os", path, "rb"); in _open_code_hook()
1111 ? PyObject_CallMethod(io, "open_code", "s", "$$test-filename") in test_open_code_hook()
/third_party/python/Doc/c-api/
Dset.rst17 the abstract object protocol (including :c:func:`PyObject_CallMethod`,
Dcall.rst207 | :c:func:`PyObject_CallMethod` | obj + ``char*`` | format | --- |
293 .. c:function:: PyObject* PyObject_CallMethod(PyObject *obj, const char *name, const char *format, …
/third_party/python/Doc/data/
Drefcounts.dat1606 PyObject_CallMethod:PyObject*::+1:
1607 PyObject_CallMethod:PyObject*:o:0:
1608 PyObject_CallMethod:const char*:m::
1609 PyObject_CallMethod:const char*:format::
1610 PyObject_CallMethod::...::
Dstable_abi.dat473 function,PyObject_CallMethod,3.2,
/third_party/python/Modules/cjkcodecs/
Dmultibytecodec.c1412 cres = PyObject_CallMethod(self->stream, in mbstreamreader_iread()
1415 cres = PyObject_CallMethod(self->stream, in mbstreamreader_iread()
/third_party/python/Python/
Dpylifecycle.c190 PyObject *value = PyObject_CallMethod(importlib, "_install", in init_importlib()
207 value = PyObject_CallMethod(tstate->interp->importlib, in init_importlib_external()
/third_party/python/PC/
Dpython3dll.c429 EXPORT_FUNC(PyObject_CallMethod)
/third_party/python/Doc/whatsnew/
D3.10.rst1948 module with :c:func:`PyImport_ImportModule`, :c:func:`PyObject_CallMethod`,
1953 fileobject = PyObject_CallMethod(io_module, "open", "ss", filename, "rb");
1954 source_bytes_object = PyObject_CallMethod(fileobject, "read", "");
1955 result = PyObject_CallMethod(fileobject, "close", "");
/third_party/python/Misc/
Dstable_abi.txt1043 function PyObject_CallMethod
/third_party/python/Modules/_decimal/
D_decimal.c5723 ASSIGN_PTR(obj, PyObject_CallMethod(Number, "register", "(O)", in PyInit__decimal()
5734 ASSIGN_PTR(DecimalTuple, (PyTypeObject *)PyObject_CallMethod(collections, in PyInit__decimal()

12