/external/tensorflow/tensorflow/python/framework/ |
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()
|
/external/protobuf/python/google/protobuf/pyext/ |
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()
|
D | message.cc | 1075 ScopedPyObjectPtr ok(PyObject_CallMethod( in InitAttributes() 1084 PyObject_CallMethod(map.get(), "update", "O", value)); in InitAttributes() 1658 PyObject_CallMethod(comma.get(), "join", "O", errors.get())); in InternalSerializeToString() 2959 PyObject_CallMethod(mutable_sequence.get(), "register", "O", in InitProto2MessageModule() 2964 PyObject_CallMethod(mutable_sequence.get(), "register", "O", in InitProto2MessageModule()
|
/external/cronet/tot/third_party/protobuf/python/google/protobuf/pyext/ |
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()
|
D | message.cc | 1075 ScopedPyObjectPtr ok(PyObject_CallMethod( in InitAttributes() 1084 PyObject_CallMethod(map.get(), "update", "O", value)); in InitAttributes() 1658 PyObject_CallMethod(comma.get(), "join", "O", errors.get())); in InternalSerializeToString() 2959 PyObject_CallMethod(mutable_sequence.get(), "register", "O", in InitProto2MessageModule() 2964 PyObject_CallMethod(mutable_sequence.get(), "register", "O", in InitProto2MessageModule()
|
/external/cronet/stable/third_party/protobuf/python/google/protobuf/pyext/ |
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()
|
D | message.cc | 1075 ScopedPyObjectPtr ok(PyObject_CallMethod( in InitAttributes() 1084 PyObject_CallMethod(map.get(), "update", "O", value)); in InitAttributes() 1658 PyObject_CallMethod(comma.get(), "join", "O", errors.get())); in InternalSerializeToString() 2959 PyObject_CallMethod(mutable_sequence.get(), "register", "O", in InitProto2MessageModule() 2964 PyObject_CallMethod(mutable_sequence.get(), "register", "O", in InitProto2MessageModule()
|
/external/libxml2/python/ |
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 …]
|
/external/python/cpython3/Lib/test/test_cppext/ |
D | extension.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()
|
/external/pytorch/torch/csrc/autograd/ |
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()
|
D | python_hook.cpp | 246 PyObject_CallMethod( in apply_with_saved()
|
/external/python/cpython3/Modules/_xxtestfuzz/ |
D | fuzzer.c | 302 PyObject* compiled = PyObject_CallMethod( in init_sre_match() 371 PyObject* lines = PyObject_CallMethod(s, "split", "s", "\n"); in fuzz_csv_reader() 377 PyObject* reader = PyObject_CallMethod(csv_module, "reader", "N", lines); in fuzz_csv_reader() 490 PyObject *result = PyObject_CallMethod(xmlparser_instance, "_parse_whole", "O", input); in fuzz_elementtree_parsewhole()
|
/external/python/cpython3/Modules/ |
D | _lsprof.c | 757 PyObject *check = PyObject_CallMethod(monitoring, in profiler_enable() 772 PyObject *register_result = PyObject_CallMethod(monitoring, "register_callback", in profiler_enable() 783 PyObject *event_result = PyObject_CallMethod(monitoring, "set_events", "ii", in profiler_enable() 839 result = PyObject_CallMethod(monitoring, "register_callback", "iiO", self->tool_id, in profiler_disable() 848 result = PyObject_CallMethod(monitoring, "set_events", "ii", self->tool_id, 0); in profiler_disable() 855 result = PyObject_CallMethod(monitoring, "free_tool_id", "i", self->tool_id); in profiler_disable()
|
D | _zoneinfo.c | 234 file_obj = PyObject_CallMethod(meth, "load_tzdata", "O", key); in zoneinfo_new_instance() 258 PyObject *rv = PyObject_CallMethod(file_obj, "close", NULL); in zoneinfo_new_instance() 273 PyObject *tmp = PyObject_CallMethod(file_obj, "close", NULL); in zoneinfo_new_instance() 323 instance = PyObject_CallMethod(weak_cache, "get", "O", key, Py_None); in zoneinfo_ZoneInfo_impl() 336 PyObject_CallMethod(weak_cache, "setdefault", "OO", key, tmp); in zoneinfo_ZoneInfo_impl() 497 PyObject *rv = PyObject_CallMethod(weak_cache, "clear", NULL); in zoneinfo_ZoneInfo_clear_cache_impl() 966 data_tuple = PyObject_CallMethod(state->_common_mod, "load_data", "O", in load_data() 2263 PyObject *num = PyObject_CallMethod(dt, "toordinal", NULL); in get_local_timestamp()
|
/external/pytorch/torch/csrc/utils/ |
D | device_lazy_init.cpp | 50 auto res = THPObjectPtr(PyObject_CallMethod(module.get(), "_lazy_init", "")); in device_lazy_init()
|
/external/python/cpython3/Modules/_testcapi/ |
D | hash.c | 15 PyObject *result = PyObject_CallMethod(types, "SimpleNamespace", NULL); in hash_getfuncdef()
|
/external/tensorflow/tensorflow/python/util/ |
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()
|
/external/pytorch/torch/csrc/ |
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()
|
/external/pytorch/torch/csrc/dynamo/ |
D | python_compiled_autograd.cpp | 573 pyinputs = check(PyObject_CallMethod( in _compiled_autograd_impl() 597 pyinputs = check(PyObject_CallMethod( in _compiled_autograd_impl() 636 pyoutputs = check(PyObject_CallMethod( in _compiled_autograd_impl()
|
/external/python/cpython3/Doc/faq/ |
D | extending.rst | 112 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);
|
/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/upb/python/ |
D | descriptor_pool.c | 148 PyObject_CallMethod(self->db, "FindFileContainingSymbol", "O", sym); in PyUpb_DescriptorPool_TryLoadSymbol() 158 PyObject_CallMethod(self->db, "FindFileByName", "O", filename); in PyUpb_DescriptorPool_TryLoadFilename()
|
D | message.c | 330 PyObject* ok = PyObject_CallMethod(dst, "Clear", NULL); in PyUpb_Message_InitMessageMapEntry() 333 ok = PyObject_CallMethod(dst, "MergeFrom", "O", src); in PyUpb_Message_InitMessageMapEntry() 365 tmp = PyObject_CallMethod(map, "update", "O", value); in PyUpb_Message_InitMapAttributes() 1065 extend_result = PyObject_CallMethod(errors, "extend", "O", list); in PyUpb_Message_IsInitializedAppendErrors() 1825 PyObject* upper = PyObject_CallMethod(name, "upper", ""); in PyUpb_MessageMeta_AddFieldNumber()
|
D | repeated.c | 809 (ret1 = PyObject_CallMethod(seq, "register", "O", type1)) && in PyUpb_Repeated_RegisterAsSequence() 810 (ret2 = PyObject_CallMethod(seq, "register", "O", type2)); in PyUpb_Repeated_RegisterAsSequence()
|
/external/python/cpython3/Objects/ |
D | iterobject.c | 399 PyObject *ret = PyObject_CallMethod(awaitable, meth, "O", arg); in anextawaitable_proxy()
|
/external/python/cpython3/Include/ |
D | abstract.h | 237 PyAPI_FUNC(PyObject *) PyObject_CallMethod(PyObject *obj,
|