/external/python/cpython2/Python/ |
D | Python-ast.c | 393 fields = PyObject_GetAttrString((PyObject*)Py_TYPE(self), "_fields"); in ast_type_init() 443 PyObject *dict = PyObject_GetAttrString(self, "__dict__"); in ast_type_reduce() 3341 tmp = PyObject_GetAttrString(obj, "body"); in obj2ast_mod() 3381 tmp = PyObject_GetAttrString(obj, "body"); in obj2ast_mod() 3419 tmp = PyObject_GetAttrString(obj, "body"); in obj2ast_mod() 3444 tmp = PyObject_GetAttrString(obj, "body"); in obj2ast_mod() 3497 tmp = PyObject_GetAttrString(obj, "lineno"); in obj2ast_stmt() 3509 tmp = PyObject_GetAttrString(obj, "col_offset"); in obj2ast_stmt() 3531 tmp = PyObject_GetAttrString(obj, "name"); in obj2ast_stmt() 3543 tmp = PyObject_GetAttrString(obj, "args"); in obj2ast_stmt() [all …]
|
D | pythonrun.c | 1009 *message = PyObject_GetAttrString(err, "msg"); in parse_syntax_error() 1013 v = PyObject_GetAttrString(err, "filename"); in parse_syntax_error() 1027 v = PyObject_GetAttrString(err, "lineno"); in parse_syntax_error() 1036 v = PyObject_GetAttrString(err, "offset"); in parse_syntax_error() 1050 v = PyObject_GetAttrString(err, "text"); in parse_syntax_error() 1129 PyObject *code = PyObject_GetAttrString(value, "code"); in handle_system_exit() 1285 moduleName = PyObject_GetAttrString(exception, "__module__"); in PyErr_Display()
|
D | codecs.c | 228 inccodec = PyObject_GetAttrString(codec_info, attrname); in codec_makeincrementalcodec() 468 attr = PyObject_GetAttrString(codec, "_is_text_encoding"); in _PyCodec_LookupTextEncoding() 599 PyObject *type = PyObject_GetAttrString(exc, "__class__"); in wrong_exception_type() 601 PyObject *name = PyObject_GetAttrString(type, "__name__"); in wrong_exception_type()
|
/external/python/cpython2/Modules/_multiprocessing/ |
D | multiprocessing.c | 258 pickle_dumps = PyObject_GetAttrString(temp, "dumps"); in init_multiprocessing() 259 pickle_loads = PyObject_GetAttrString(temp, "loads"); in init_multiprocessing() 260 pickle_protocol = PyObject_GetAttrString(temp, "HIGHEST_PROTOCOL"); in init_multiprocessing() 267 BufferTooShort = PyObject_GetAttrString(temp, "BufferTooShort"); in init_multiprocessing()
|
/external/tensorflow/tensorflow/python/util/ |
D | util.cc | 242 Safe_PyObjectPtr cls(PyObject_GetAttrString(to_check, "__class__")); in IsAttrsHelper() 470 cls_.reset(PyObject_GetAttrString(nested_.get(), "__class__")); in AttrsValueIterator() 472 attrs_.reset(PyObject_GetAttrString(cls_.get(), "__attrs_attrs__")); in AttrsValueIterator() 484 Safe_PyObjectPtr name(PyObject_GetAttrString(item.get(), "name")); in next() 836 PyObject* klass = PyObject_GetAttrString(o, "__class__"); in IsNamedtuple() 838 PyObject* base = PyObject_GetAttrString(klass, "__base__"); in IsNamedtuple() 870 Safe_PyObjectPtr fields = make_safe(PyObject_GetAttrString(o, "_fields")); in IsNamedtuple() 893 Safe_PyObjectPtr f1 = make_safe(PyObject_GetAttrString(o1, "_fields")); in SameNamedtuples() 894 Safe_PyObjectPtr f2 = make_safe(PyObject_GetAttrString(o2, "_fields")); in SameNamedtuples()
|
/external/tensorflow/tensorflow/python/eager/ |
D | pywrap_tfe_src.cc | 193 PyObject_GetAttrString(py_value, "_value")); in ParseDimensionValue() 252 PyObject_GetAttrString(py_value, "_type_enum")); in ParseTypeValue() 387 PyObject* name_attr = PyObject_GetAttrString(py_value.get(), "name"); in SetOpAttrList() 595 PyObject* name_attr = PyObject_GetAttrString(py_value, "name"); in SetOpAttrScalar() 911 PyObject* id_field = PyObject_GetAttrString(tensor, "_id"); in FastTensorId() 924 PyObject* dtype_field = PyObject_GetAttrString(tensor, "dtype"); in FastTensorDtype() 928 PyObject* enum_field = PyObject_GetAttrString(dtype_field, "_type_enum"); in FastTensorDtype() 980 num_elements_ = PyObject_GetAttrString(py_vspace_, "num_elements_fn"); in Initialize() 984 aggregate_fn_ = PyObject_GetAttrString(py_vspace_, "aggregate_fn"); in Initialize() 988 zeros_fn_ = PyObject_GetAttrString(py_vspace_, "zeros_fn"); in Initialize() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/python/ |
D | numpy_bridge.cc | 312 PyObject* attr = PyObject_GetAttrString(o, attr_name.c_str()); in GetAttrAsString() 329 PyObject* attr = PyObject_GetAttrString(o, attr_name.c_str()); in GetAttrAsInt32() 571 PyObject* fo = PyObject_GetAttrString(o, field); in GetIntAttr() 591 PyObject* attr = PyObject_GetAttrString(o, attr_name); in HandleStringAttribute() 629 PyObject* attr = PyObject_GetAttrString(o, attr_name); in HandleBoolAttribute() 652 PyObject* seq = PyObject_GetAttrString(o, attr_name); in HandleRepeatedInt64Attribute()
|
/external/libchrome/third_party/markupsafe/ |
D | _speedups.c | 49 markup = PyObject_GetAttrString(module, "Markup"); in init_constants() 132 html = PyObject_GetAttrString(text, "__html__"); in escape()
|
/external/python/cpython3/Python/ |
D | importdl.c | 102 name_unicode = PyObject_GetAttrString(spec, "name"); in _PyImport_LoadDynamicModuleWithSpec() 118 path = PyObject_GetAttrString(spec, "origin"); in _PyImport_LoadDynamicModuleWithSpec()
|
D | import.c | 595 external = PyObject_GetAttrString(interp->importlib, "_bootstrap_external"); in PyImport_GetMagicNumber() 598 pyc_magic = PyObject_GetAttrString(external, "_RAW_MAGIC_NUMBER"); in PyImport_GetMagicNumber() 899 external= PyObject_GetAttrString(interp->importlib, in PyImport_ExecCodeModuleWithPathnames() 982 external = PyObject_GetAttrString(interp->importlib, "_bootstrap_external"); in PyImport_ExecCodeModuleObject() 1169 name = PyObject_GetAttrString(spec, "name"); in _imp_create_builtin() 2128 name = PyObject_GetAttrString(spec, "name"); in _imp_create_dynamic_impl() 2133 path = PyObject_GetAttrString(spec, "origin"); in _imp_create_dynamic_impl()
|
/external/python/cpython2/Objects/ |
D | object.c | 1134 PyObject_GetAttrString(PyObject *v, const char *name) in PyObject_GetAttrString() function 1151 PyObject *res = PyObject_GetAttrString(v, name); in PyObject_HasAttrString() 1668 PyObject *call = PyObject_GetAttrString(x, "__call__"); in PyCallable_Check() 1703 classdict = PyObject_GetAttrString(aclass, "__dict__"); in merge_class_dict() 1714 bases = PyObject_GetAttrString(aclass, "__bases__"); in merge_class_dict() 1761 list = PyObject_GetAttrString(obj, attrname); in merge_list_attr() 1839 PyObject *dict = PyObject_GetAttrString(obj, "__dict__"); in _specialized_dir_module() 1868 dict = PyObject_GetAttrString(obj, "__dict__"); in _generic_dir() 1895 itsclass = PyObject_GetAttrString(obj, "__class__"); in _generic_dir() 1925 dirfunc = PyObject_GetAttrString(obj, "__dir__"); in _dir_object()
|
/external/protobuf/python/google/protobuf/pyext/ |
D | extension_dict.cc | 228 ScopedPyObjectPtr extensions_by_name(PyObject_GetAttrString( in _FindExtensionByName() 243 ScopedPyObjectPtr extensions_by_number(PyObject_GetAttrString( in _FindExtensionByNumber()
|
D | descriptor_database.cc | 134 PyObject_GetAttrString(py_database_, "FindFileContainingExtension")); in FindFileContainingExtension()
|
D | message.cc | 261 WKT_classes = PyObject_GetAttrString(well_known_types.get(), "WKTBASES"); in New() 1746 PyObject_GetAttrString(message_module.get(), "EncodeError")); in CheckAndGetInteger() 2001 ScopedPyObjectPtr number(PyObject_GetAttrString(extension_handle, "number")); in CheckAndGetInteger() 2933 PyObject_GetAttrString(collections.get(), "MutableSequence")); in CheckAndGetInteger() 2959 PyObject_GetAttrString(containers.get(), "MutableMapping")); in CheckAndGetInteger() 3054 PyObject_GetAttrString(enum_type_wrapper, "EnumTypeWrapper"); in CheckAndGetInteger() 3062 EncodeError_class = PyObject_GetAttrString(message_module, "EncodeError"); in CheckAndGetInteger() 3063 DecodeError_class = PyObject_GetAttrString(message_module, "DecodeError"); in CheckAndGetInteger() 3064 PythonMessage_class = PyObject_GetAttrString(message_module, "Message"); in CheckAndGetInteger() 3071 PickleError_class = PyObject_GetAttrString(pickle_module, "PickleError"); in CheckAndGetInteger()
|
/external/python/cpython2/Modules/ |
D | future_builtins.c | 98 iter_func = PyObject_GetAttrString(itertools, *cur_func); in initfuture_builtins()
|
D | _json.c | 375 errmsg_fn = PyObject_GetAttrString(decoder, "errmsg"); in raise_errmsg() 397 joinfn = PyObject_GetAttrString(ustr, "join"); in join_list_unicode() 1718 s->encoding = PyObject_GetAttrString(ctx, "encoding"); in scanner_new() 1740 s->strict = PyObject_GetAttrString(ctx, "strict"); in scanner_new() 1743 s->object_hook = PyObject_GetAttrString(ctx, "object_hook"); in scanner_new() 1746 s->pairs_hook = PyObject_GetAttrString(ctx, "object_pairs_hook"); in scanner_new() 1749 s->parse_float = PyObject_GetAttrString(ctx, "parse_float"); in scanner_new() 1752 s->parse_int = PyObject_GetAttrString(ctx, "parse_int"); in scanner_new() 1755 s->parse_constant = PyObject_GetAttrString(ctx, "parse_constant"); in scanner_new()
|
/external/python/cpython3/Doc/includes/ |
D | run-func.c | 23 pFunc = PyObject_GetAttrString(pModule, argv[2]); in main()
|
D | capsulethunk.h | 104 PyObject *object2 = PyObject_GetAttrString(object, trace); in PyCapsule_Import()
|
/external/python/cpython2/Doc/includes/ |
D | run-func.c | 23 pFunc = PyObject_GetAttrString(pModule, argv[2]); in main()
|
D | capsulethunk.h | 104 PyObject *object2 = PyObject_GetAttrString(object, trace); in PyCapsule_Import()
|
/external/python/cpython2/Modules/_ctypes/ |
D | stgdict.c | 195 fields = PyObject_GetAttrString(descr->proto, "_fields_"); in MakeFields() 272 anon = PyObject_GetAttrString(type, "_anonymous_"); in MakeAnonFields() 352 isPacked = PyObject_GetAttrString(type, "_pack_"); in PyCStructUnionType_update_stgdict()
|
/external/python/cpython3/Modules/_ctypes/ |
D | stgdict.c | 211 fields = PyObject_GetAttrString(descr->proto, "_fields_"); in MakeFields() 288 anon = PyObject_GetAttrString(type, "_anonymous_"); in MakeAnonFields() 368 isPacked = PyObject_GetAttrString(type, "_pack_"); in PyCStructUnionType_update_stgdict()
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | py_util.cc | 61 PyObject_GetAttrString(tb_module, "format_exception"); in TryAppendTraceback()
|
/external/python/cpython3/Modules/cjkcodecs/ |
D | cjkcodecs.h | 252 cofunc = PyObject_GetAttrString(mod, "__create_codec"); in getmultibytecodec() 369 o = PyObject_GetAttrString(mod, symbol); in importmap()
|
/external/python/cpython3/Modules/ |
D | _json.c | 336 JSONDecodeError = PyObject_GetAttrString(decoder, "JSONDecodeError"); in raise_errmsg() 1215 strict = PyObject_GetAttrString(ctx, "strict"); in scanner_new() 1222 s->object_hook = PyObject_GetAttrString(ctx, "object_hook"); in scanner_new() 1225 s->object_pairs_hook = PyObject_GetAttrString(ctx, "object_pairs_hook"); in scanner_new() 1228 s->parse_float = PyObject_GetAttrString(ctx, "parse_float"); in scanner_new() 1231 s->parse_int = PyObject_GetAttrString(ctx, "parse_int"); in scanner_new() 1234 s->parse_constant = PyObject_GetAttrString(ctx, "parse_constant"); in scanner_new()
|