Home
last modified time | relevance | path

Searched refs:getattr (Results 1 – 20 of 20) sorted by relevance

/frameworks/rs/tests/lldb/tests/harness/
Ddecorators.py132 if getattr(func, 'im_class', None):
135 if getattr(func, 'im_func', None):
140 module_name = getattr(func, '__module__')
152 if not getattr(func, 'deprecation_warned', False):
Dtest_base.py95 if self.wimpy and not getattr(obj, 'wimpy', False):
109 key=lambda item: getattr(item, 'test_order', float('Inf'))
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/
Dstubout.py65 orig_attr = getattr(obj, attr_name)
80 orig_attr = getattr(obj, attr_name)
119 old_child = getattr(parent, child_name)
Dmox.py222 attr_to_replace = getattr(obj, attr_name)
381 if callable(getattr(class_to_mock, method)):
412 return getattr(self._class_to_mock, name)
1351 d[attr_name] = getattr(base, attr_name)
1372 mox_obj = getattr(self, 'mox', None)
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
D_parameterized.py262 assert not getattr(class_object, '_id_suffix', None), (
378 if getattr(func, '__x_use_name__', False):
385 id_suffix[new_name] = getattr(func, '__x_extra_id__', '')
Dwell_known_types.py590 child, getattr(source, name), getattr(destination, name),
596 repeated_source = getattr(source, name)
597 repeated_destination = getattr(destination, name)
608 getattr(destination, name).MergeFrom(getattr(source, name))
610 setattr(destination, name, getattr(source, name))
Dwell_known_types_test.py433 repeated_src = getattr(src, field_name)
434 repeated_msg = getattr(msg, field_name)
441 getattr(msg, field_name).CopyFrom(getattr(src, field_name))
443 setattr(msg, field_name, getattr(src, field_name))
Dreflection_test.py304 composite_field = getattr(proto, composite_field_name)
305 original_scalar_value = getattr(composite_field, scalar_field_name)
317 self.assertEqual(new_val, getattr(composite_field, scalar_field_name))
328 composite_field = getattr(proto, composite_field_name)
332 self.assertEqual(0, getattr(composite_field, scalar_field_name))
338 self.assertEqual(0, getattr(composite_field, scalar_field_name))
624 self.assertIsInstance(getattr(proto, field_name), expected_type)
627 self.assertIsInstance(getattr(proto2, field_name), expected_type)
652 self.assertEqual(expected_min, getattr(pb, field_name))
654 self.assertEqual(expected_max, getattr(pb, field_name))
[all …]
Dmessage_test.py569 getattr(msg, attribute)
/frameworks/opt/gamesdk/
Dab_info.py8 print('{}: {}'.format(attr, getattr(pb, attr)))
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/
Djson_format.py259 value = getattr(message, which)
417 sub_message = getattr(message, field.name).add()
430 getattr(message, field.name).append(
433 sub_message = getattr(message, field.name)
537 self.ConvertMessage(value[key], getattr(
540 getattr(message, field.name)[key_value] = _ConvertScalarFieldValue(
Dtext_format.py744 any_message = getattr(message, field.name).add()
746 any_message = getattr(message, field.name)
755 sub_message = getattr(message, field.name).add()
760 sub_message = getattr(message, field.name)
771 value = getattr(message, field.name)[sub_message.key]
774 getattr(message, field.name)[sub_message.key] = sub_message.value
823 getattr(message, field.name).append(value)
Dservice_reflection.py170 method = getattr(srvc, method_descriptor.name)
Ddescriptor.py47 _USE_C_DESCRIPTORS = getattr(_message, '_USE_C_DESCRIPTORS', False)
128 options_class = getattr(descriptor_pb2, self._options_class_name)
/frameworks/compile/libbcc/tests/debuginfo/host-tests/
Dlit.cfg30 build_top = getattr(config, 'build_top', None)
/frameworks/compile/libbcc/tests/debuginfo/target-tests/
Dlit.cfg28 build_top = getattr(config, 'build_top', None)
/frameworks/base/startop/scripts/app_startup/
Dapp_startup_runner.py95 to_str = getattr(i, '__str__')
Danalyze_metrics.py83 to_str = getattr(i, '__str__')
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/php/ext/google/protobuf/
Dupb.c3023 static uint64_t getattr(const tarjan *t, const upb_refcounted *r) { in getattr() function
3082 return (getattr(t, r) >> 2) & 0x7FFFFFFF; in idx()
3087 return getattr(t, r) >> 33; in lowlink()
3095 setattr(t, r, ((uint64_t)lowlink << 33) | (getattr(t, r) & 0x1FFFFFFFF)); in set_lowlink()
3104 groupnum = getattr(t, r) >> 8; in group()
3118 leader_slot = (getattr(t, r) >> 8) + 1; in groupleader()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/ext/google/protobuf_c/
Dupb.c3182 static uint64_t getattr(const tarjan *t, const upb_refcounted *r) { in getattr() function
3241 return (getattr(t, r) >> 2) & 0x7FFFFFFF; in idx()
3246 return getattr(t, r) >> 33; in lowlink()
3254 setattr(t, r, ((uint64_t)lowlink << 33) | (getattr(t, r) & 0x1FFFFFFFF)); in set_lowlink()
3263 groupnum = getattr(t, r) >> 8; in group()
3277 leader_slot = (getattr(t, r) >> 8) + 1; in groupleader()