Home
last modified time | relevance | path

Searched refs:attr_name (Results 1 – 13 of 13) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/
Dstubout.py42 def SmartSet(self, obj, attr_name, new_attr): argument
63 (not inspect.isclass(obj) and obj.__dict__.has_key(attr_name))):
65 orig_attr = getattr(obj, attr_name)
80 orig_attr = getattr(obj, attr_name)
89 old_attribute = obj.__dict__.get(attr_name)
93 self.stubs.append((orig_obj, attr_name, orig_attr))
94 setattr(orig_obj, attr_name, new_attr)
Dmox.py208 def StubOutWithMock(self, obj, attr_name, use_mock_anything=False): argument
222 attr_to_replace = getattr(obj, attr_name)
228 self.stubs.Set(obj, attr_name, stub)
1350 for attr_name in dir(base):
1351 d[attr_name] = getattr(base, attr_name)
/frameworks/base/tools/aapt2/java/
DJavaClassGenerator.cpp85 static std::string TransformNestedAttr(const ResourceNameRef& attr_name, in TransformNestedAttr() argument
92 if (!attr_name.package.empty() && in TransformNestedAttr()
93 package_name_to_generate != attr_name.package) { in TransformNestedAttr()
94 output += "_" + JavaClassGenerator::TransformToFieldName(attr_name.package); in TransformNestedAttr()
96 output += "_" + JavaClassGenerator::TransformToFieldName(attr_name.entry); in TransformNestedAttr()
315 const ResourceName& attr_name = entry.attr_ref->name.value(); in ProcessStyleable() local
317 << (!attr_name.package.empty() ? attr_name.package in ProcessStyleable()
319 << ":" << attr_name.entry << "}</code></td>"; in ProcessStyleable()
383 const ResourceName& attr_name = styleable_attr.attr_ref->name.value(); in ProcessStyleable() local
385 StringPiece package_name = attr_name.package; in ProcessStyleable()
[all …]
/frameworks/base/tools/aapt2/compile/
DInlineXmlFormatParser.cpp33 std::string attr_name; member
81 decl.attr_name = name.entry; in Visit()
169 parent_el->attributes.push_back(xml::Attribute{decl.attr_namespace_uri, decl.attr_name, in Consume()
/frameworks/base/media/mca/filterfw/jni/
Djni_shader_program.cpp261 jstring attr_name, in Java_android_filterfw_core_ShaderProgram_setShaderAttributeValues() argument
271 const std::string attr_string = ToCppString(env, attr_name); in Java_android_filterfw_core_ShaderProgram_setShaderAttributeValues()
290 jstring attr_name, in Java_android_filterfw_core_ShaderProgram_setShaderAttributeVertexFrame() argument
303 const std::string attr_string = ToCppString(env, attr_name); in Java_android_filterfw_core_ShaderProgram_setShaderAttributeVertexFrame()
Djni_shader_program.h131 jstring attr_name,
138 jstring attr_name,
/frameworks/base/tools/aapt2/xml/
DXmlDom.cpp455 const StringPiece& attr_ns, const StringPiece& attr_name, in FindChildWithAttribute() argument
458 ns, name, attr_ns, attr_name, attr_value)); in FindChildWithAttribute()
463 const StringPiece& attr_name, in FindChildWithAttribute() argument
468 if (attr_ns.empty() && attr_name.empty()) { in FindChildWithAttribute()
472 const Attribute* attr = el->FindAttribute(attr_ns, attr_name); in FindChildWithAttribute()
DXmlDom.h113 const android::StringPiece& attr_name,
119 const android::StringPiece& attr_name,
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/m4/
Dacx_pthread.m4207 attr_name=unknown
210 [attr_name=$attr; break])
212 AC_MSG_RESULT($attr_name)
213 if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
214 AC_DEFINE_UNQUOTED(PTHREAD_CREATE_JOINABLE, $attr_name,
/frameworks/base/tools/aapt2/link/
DManifestFixer.cpp414 const StringPiece& attr_name, xml::Element* el) { in FullyQualifyClassName() argument
415 xml::Attribute* attr = el->FindAttribute(attr_ns, attr_name); in FullyQualifyClassName()
/frameworks/native/libs/vr/libvrflinger/
Dhardware_composer.cpp374 auto get_attr = [&](hwc2_attribute_t attr, const char* attr_name) in GetDisplayParams()
381 GetDisplayName(is_primary), attr_name, in GetDisplayParams()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/pyext/
Ddescriptor.cc138 static int CheckCalledFromGeneratedFile(const char* attr_name) { in CheckCalledFromGeneratedFile() argument
143 "attribute is not writable: %s", attr_name); in CheckCalledFromGeneratedFile()
Dmessage.cc112 ScopedPyObjectPtr attr_name(PyString_FromStringAndSize( in AddFieldNumberToClass() local
114 if (attr_name == NULL) { in AddFieldNumberToClass()
121 if (PyObject_SetAttr(cls, attr_name.get(), number.get()) == -1) { in AddFieldNumberToClass()