Home
last modified time | relevance | path

Searched refs:setattr (Results 1 – 16 of 16) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/
Dstubout.py94 setattr(orig_obj, attr_name, new_attr)
105 setattr(*args)
126 setattr(parent, child_name, new_child)
139 setattr(parent, child_name, old_child)
Dmox.py1355 setattr(cls, func_name, MoxMetaTestBase.CleanUpTest(cls, func))
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/
Dservice_reflection.py154 setattr(cls, method.name, self._GenerateNonImplementedMethod(method))
263 setattr(cls, method.name, self._GenerateStubMethod(method))
Djson_format.py436 setattr(message, field.name, _ConvertScalarFieldValue(value, field))
515 setattr(message, 'value', _ConvertScalarFieldValue(value, field))
Dtext_format.py838 setattr(message, field.name, value)
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
Dpython_message.py367 setattr(cls, enum_type.name, enum_type_wrapper.EnumTypeWrapper(enum_type))
369 setattr(cls, enum_value.name, enum_value.number)
533 setattr(self, field_name, field_value)
584 setattr(cls, constant_name, field.number)
635 setattr(cls, property_name, property(getter, setter, doc=doc))
691 setattr(cls, property_name, property(getter, setter, doc=doc))
735 setattr(cls, property_name, property(getter, setter, doc=doc))
743 setattr(cls, constant_name, extension_field.number)
Dreflection_test.py316 setattr(composite_field, scalar_field_name, new_val)
335 setattr(old_composite_field, scalar_field_name, new_val)
597 self.assertRaises(AttributeError, setattr, proto, 'repeated_int32', 10)
599 self.assertRaises(AttributeError, setattr, proto, 'repeated_int32', [10])
601 self.assertRaises(AttributeError, setattr, proto,
605 self.assertRaises(AttributeError, setattr, proto.repeated_nested_message,
608 self.assertRaises(AttributeError, setattr, proto.repeated_float,
611 self.assertRaises(AttributeError, setattr, proto, 'nonexistent_field', 23)
615 self.assertRaises(TypeError, setattr, proto, 'optional_int32', 1.1)
616 self.assertRaises(TypeError, setattr, proto, 'optional_int32', 'foo')
[all …]
D_parameterized.py277 setattr(class_object, name, meth)
Dwell_known_types.py610 setattr(destination, name, getattr(source, name))
Dwell_known_types_test.py443 setattr(msg, field_name, getattr(src, field_name))
/frameworks/ml/nn/tools/test_generator/tests/
Dtest.py68 setattr(TestGeneratorTests, test_name, test)
/frameworks/compile/slang/tests/
Dslang_test.py67 setattr(SlangTests, test_name, test)
/frameworks/rs/tests/lldb/tests/
Drun_test.py43 setattr(self, key, val)
/frameworks/rs/tests/lldb/
Drun_tests.py127 setattr(this_module, opt_name, '')
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/php/ext/google/protobuf/
Dupb.c3030 static void setattr(tarjan *t, const upb_refcounted *r, uint64_t attr) { in setattr() function
3041 setattr(t, r, GRAY); in set_gray()
3049 setattr(t, r, GREEN | (t->index << 2) | (t->index << 33)); in push()
3064 setattr(t, r, WHITE | (upb_inttable_count(&t->groups) - 2) << 8); in pop()
3095 setattr(t, r, ((uint64_t)lowlink << 33) | (getattr(t, r) & 0x1FFFFFFFF)); in set_lowlink()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/ext/google/protobuf_c/
Dupb.c3189 static void setattr(tarjan *t, const upb_refcounted *r, uint64_t attr) { in setattr() function
3200 setattr(t, r, GRAY); in set_gray()
3208 setattr(t, r, GREEN | (t->index << 2) | (t->index << 33)); in push()
3223 setattr(t, r, WHITE | (upb_inttable_count(&t->groups) - 2) << 8); in pop()
3254 setattr(t, r, ((uint64_t)lowlink << 33) | (getattr(t, r) & 0x1FFFFFFFF)); in set_lowlink()