Home
last modified time | relevance | path

Searched refs:PyObject_GetAttrString (Results 1 – 25 of 69) sorted by relevance

123

/third_party/python/Modules/_xxtestfuzz/
Dfuzzer.c92 struct_error = PyObject_GetAttrString(struct_module, "error"); in init_struct_unpack()
96 struct_unpack_method = PyObject_GetAttrString(struct_module, "unpack"); in init_struct_unpack()
155 json_loads_method = PyObject_GetAttrString(json_module, "loads"); in init_json_loads()
201 sre_compile_method = PyObject_GetAttrString(sre_compile_module, "compile"); in init_sre_compile()
210 sre_error_exception = PyObject_GetAttrString(sre_constants, "error"); in init_sre_compile()
214 PyObject* debug_flag = PyObject_GetAttrString(sre_constants, "SRE_FLAG_DEBUG"); in init_sre_compile()
328 PyObject* match_callable = PyObject_GetAttrString(pattern, "match"); in fuzz_sre_match()
348 csv_error = PyObject_GetAttrString(csv_module, "Error"); in init_csv_reader()
/third_party/protobuf/python/google/protobuf/pyext/
Ddescriptor_database.cc134 PyObject_GetAttrString(py_database_, "FindFileContainingExtension")); in FindFileContainingExtension()
153 PyObject_GetAttrString(py_database_, "FindAllExtensionNumbers")); in FindAllExtensionNumbers()
Dmessage.cc274 WKT_classes = PyObject_GetAttrString(well_known_types.get(), "WKTBASES"); in New()
1738 PyObject_GetAttrString(message_module.get(), "EncodeError")); in InternalSerializeToString()
2980 PyObject_GetAttrString(collections.get(), "MutableSequence")); in InitProto2MessageModule()
3068 PyObject_GetAttrString(enum_type_wrapper, "EnumTypeWrapper"); in InitProto2MessageModule()
3076 EncodeError_class = PyObject_GetAttrString(message_module, "EncodeError"); in InitProto2MessageModule()
3077 DecodeError_class = PyObject_GetAttrString(message_module, "DecodeError"); in InitProto2MessageModule()
3078 PythonMessage_class = PyObject_GetAttrString(message_module, "Message"); in InitProto2MessageModule()
3085 PickleError_class = PyObject_GetAttrString(pickle_module, "PickleError"); in InitProto2MessageModule()
/third_party/skia/third_party/externals/markupsafe/
D_speedups.c49 markup = PyObject_GetAttrString(module, "Markup"); in init_constants()
132 html = PyObject_GetAttrString(text, "__html__"); in escape()
/third_party/python/Python/
Dimportdl.c105 name_unicode = PyObject_GetAttrString(spec, "name"); in _PyImport_LoadDynamicModuleWithSpec()
121 path = PyObject_GetAttrString(spec, "origin"); in _PyImport_LoadDynamicModuleWithSpec()
Dimport.c382 external = PyObject_GetAttrString(interp->importlib, "_bootstrap_external"); in PyImport_GetMagicNumber()
385 pyc_magic = PyObject_GetAttrString(external, "_RAW_MAGIC_NUMBER"); in PyImport_GetMagicNumber()
738 external= PyObject_GetAttrString(interp->importlib, in PyImport_ExecCodeModuleWithPathnames()
826 external = PyObject_GetAttrString(tstate->interp->importlib, in PyImport_ExecCodeModuleObject()
1058 PyObject *name = PyObject_GetAttrString(spec, "name"); in _imp_create_builtin()
2019 name = PyObject_GetAttrString(spec, "name"); in _imp_create_dynamic_impl()
2024 path = PyObject_GetAttrString(spec, "origin"); in _imp_create_dynamic_impl()
Dpylifecycle.c1575 PyObject *tmp = PyObject_GetAttrString(fobj, "closed"); in file_is_closed()
2074 PyObject *loader = PyObject_GetAttrString(interp->importlib, in add_main_module()
2291 if (!(wrapper = PyObject_GetAttrString(iomod, "open"))) { in init_set_builtins_open()
2378 encoding_attr = PyObject_GetAttrString(std, "encoding"); in init_sys_streams()
/third_party/node/tools/inspector_protocol/markupsafe/
D_speedups.c49 markup = PyObject_GetAttrString(module, "Markup"); in init_constants()
132 html = PyObject_GetAttrString(text, "__html__"); in escape()
/third_party/boost/libs/python/src/
Dobject_protocol.cpp45 PyObject_GetAttrString(target.ptr(), const_cast<char*>(key)) in getattr()
51 PyObject* result = PyObject_GetAttrString(target.ptr(), const_cast<char*>(key)); in getattr()
Dwrapper.cpp20 ::PyObject_GetAttrString( in get_override()
/third_party/python/Doc/includes/
Drun-func.c24 pFunc = PyObject_GetAttrString(pModule, argv[2]); in main()
/third_party/python/Modules/
D_zoneinfo.c250 PyObject_GetAttrString((PyObject *)type, "_weak_cache"); in get_weak_cache()
579 PyObject *replace = PyObject_GetAttrString(tmp, "replace"); in zoneinfo_fromutc()
664 PyObject_GetAttrString(pickle, "PicklingError"); in zoneinfo_reduce()
677 PyObject *constructor = PyObject_GetAttrString(obj_self, "_unpickle"); in zoneinfo_reduce()
2223 num = PyObject_GetAttrString(dt, "hour"); in get_local_timestamp()
2233 num = PyObject_GetAttrString(dt, "minute"); in get_local_timestamp()
2243 num = PyObject_GetAttrString(dt, "second"); in get_local_timestamp()
2661 PyObject_GetAttrString(_tzpath_module, "find_tzfile"); in zoneinfomodule_exec()
2672 io_open = PyObject_GetAttrString(io_module, "open"); in zoneinfomodule_exec()
Dmain.c270 runmodule = PyObject_GetAttrString(runpy, "_run_module_as_main"); in pymain_run_module()
449 hook = PyObject_GetAttrString(sys, "__interactivehook__"); in pymain_run_interactive_hook()
D_elementtree.c3684 self->handle_start_ns = PyObject_GetAttrString(target, "start_ns"); in _elementtree_XMLParser___init___impl()
3688 self->handle_end_ns = PyObject_GetAttrString(target, "end_ns"); in _elementtree_XMLParser___init___impl()
3692 self->handle_start = PyObject_GetAttrString(target, "start"); in _elementtree_XMLParser___init___impl()
3696 self->handle_data = PyObject_GetAttrString(target, "data"); in _elementtree_XMLParser___init___impl()
3700 self->handle_end = PyObject_GetAttrString(target, "end"); in _elementtree_XMLParser___init___impl()
3704 self->handle_comment = PyObject_GetAttrString(target, "comment"); in _elementtree_XMLParser___init___impl()
3708 self->handle_pi = PyObject_GetAttrString(target, "pi"); in _elementtree_XMLParser___init___impl()
3712 self->handle_close = PyObject_GetAttrString(target, "close"); in _elementtree_XMLParser___init___impl()
3716 self->handle_doctype = PyObject_GetAttrString(target, "doctype"); in _elementtree_XMLParser___init___impl()
3953 reader = PyObject_GetAttrString(file, "read"); in _elementtree_XMLParser__parse_whole()
[all …]
D_json.c1184 strict = PyObject_GetAttrString(ctx, "strict"); in scanner_new()
1191 s->object_hook = PyObject_GetAttrString(ctx, "object_hook"); in scanner_new()
1194 s->object_pairs_hook = PyObject_GetAttrString(ctx, "object_pairs_hook"); in scanner_new()
1197 s->parse_float = PyObject_GetAttrString(ctx, "parse_float"); in scanner_new()
1200 s->parse_int = PyObject_GetAttrString(ctx, "parse_int"); in scanner_new()
1203 s->parse_constant = PyObject_GetAttrString(ctx, "parse_constant"); in scanner_new()
D_testbuffer.c323 pack_into = PyObject_GetAttrString(structobj, "pack_into"); in pack_from_list()
424 pack_into = PyObject_GetAttrString(structobj, "pack_into"); in pack_single()
581 unpack_from = PyObject_GetAttrString(structmodule, "unpack_from"); in unpack_single()
704 unpack_from = PyObject_GetAttrString(structobj, "unpack_from"); in ndarray_as_list()
2850 Struct = PyObject_GetAttrString(structmodule, "Struct"); in PyInit__testbuffer()
2851 calcsize = PyObject_GetAttrString(structmodule, "calcsize"); in PyInit__testbuffer()
/third_party/python/Modules/cjkcodecs/
Dcjkcodecs.h253 PyObject *cofunc = PyObject_GetAttrString(mod, "__create_codec"); in getmultibytecodec()
371 o = PyObject_GetAttrString(mod, symbol); in importmap()
Dmultibytecodec.c1046 codec = PyObject_GetAttrString((PyObject *)type, "codec"); in mbiencoder_new()
1321 codec = PyObject_GetAttrString((PyObject *)type, "codec"); in mbidecoder_new()
1638 codec = PyObject_GetAttrString((PyObject *)type, "codec"); in mbstreamreader_new()
1845 codec = PyObject_GetAttrString((PyObject *)type, "codec"); in mbstreamwriter_new()
/third_party/python/Modules/_ctypes/
Dcallbacks.c493 func = PyObject_GetAttrString(mod, "DllGetClassObject"); in Call_GetClassObject()
568 func = PyObject_GetAttrString(mod, "DllCanUnloadNow"); in Call_CanUnloadNow()
/third_party/python/Objects/
Dcapsule.c226 PyObject *object2 = PyObject_GetAttrString(object, trace); in PyCapsule_Import()
Dcall.c570 PyObject *callable = PyObject_GetAttrString(obj, name); in PyObject_CallMethod()
596 PyObject *callable = PyObject_GetAttrString(obj, name); in PyEval_CallMethod()
644 PyObject *callable = PyObject_GetAttrString(obj, name); in _PyObject_CallMethod_SizeT()
/third_party/boost/libs/python/src/object/
Denum.cpp46 PyObject *mod = PyObject_GetAttrString( self_, "__module__"); in enum_repr()
Dfunction.cpp442 dict = handle<>(PyObject_GetAttrString(ns, const_cast<char*>("__dict__"))); in add_to_namespace()
492 allow_null(::PyObject_GetAttrString(name_space.ptr(), const_cast<char*>("__name__")))); in add_to_namespace()
/third_party/markupsafe/
D_speedups.c14 markup = PyObject_GetAttrString(module, "Markup"); in init_constants()
/third_party/boost/libs/python/doc/reference/
Derrors.qbk56 PyObject_GetAttrString(obj.ptr(), "__name__"));

123