Home
last modified time | relevance | path

Searched refs:getattr (Results 51 - 75 of 780) sorted by relevance

12345678910>>...32

/third_party/skia/third_party/externals/jinja2/
H A Dnodes.py52 storage.extend(getattr(bases[0], attr, ()))
151 yield name, getattr(self, name)
233 ", ".join("%s=%r" % (arg, getattr(self, arg, None)) for arg in self.fields),
249 value = getattr(node, field)
372 attribute lookups directly into getattr calls and does *not* use the
674 if filter_ is None or getattr(filter_, "contextfilter", False) is True:
679 if eval_ctx.environment.is_async and getattr(
687 if getattr(filter_, "evalcontextfilter", False) is True:
689 elif getattr(filter_, "environmentfilter", False) is True:
764 return self.environment.getattr(sel
[all...]
H A Dasyncfilters.py29 if getattr(normal_filter, "environmentfilter", False) is True:
36 has_evalctxfilter = getattr(normal_filter, "evalcontextfilter", False) is True
37 has_ctxfilter = getattr(normal_filter, "contextfilter", False) is True
/third_party/astc-encoder/Test/
H A Dastc_test_result_report.py166 result.append(getattr(record, field) - getattr(root, field))
184 result.append(getattr(record, field) / getattr(root, field))
/third_party/python/Lib/
H A Dcmd.py214 func = getattr(self, 'do_' + cmd)
270 compfunc = getattr(self, 'complete_' + cmd)
297 func = getattr(self, 'help_' + arg)
300 doc=getattr(self, 'do_' + arg).__doc__
329 elif getattr(self, name).__doc__:
H A Dtempfile.py145 if cur_pid != getattr(self, '_rng_pid', None):
494 a = getattr(file, name)
583 raw = getattr(file, 'buffer', file)
584 raw = getattr(raw, 'raw', raw)
641 raw = getattr(file, 'buffer', file)
642 raw = getattr(raw, 'raw', raw)
676 raw = getattr(file, 'buffer', file)
677 raw = getattr(raw, 'raw', raw)
H A Dtyping.py269 for x in getattr(t, '__parameters__', ()):
290 subargs = getattr(arg, '__typing_unpacked_tuple_args__', None)
873 globalns = getattr(
916 getattr(x, '__typing_is_unpacked_typevartuple__', False))
1030 (isinstance(arg, GenericAlias) and getattr(arg, '__unpacked__', False))):
1092 subargs = getattr(arg, '__typing_unpacked_tuple_args__', None)
1287 return getattr(self.__origin__, attr)
1423 prepare = getattr(param, '__typing_prepare_subst__', None)
1442 substfunc = getattr(old_arg, '__typing_subst__', None)
1446 subparams = getattr(old_ar
[all...]
H A Dpydoc.py99 cls = getattr(cls, name)
109 getattr(getattr(self, name, None), '__func__') is obj.__func__):
117 if cls is None or getattr(cls, name) is not obj:
133 if cls is None or getattr(cls, name) is not obj:
138 if getattr(cls, name) is not obj:
141 slots = getattr(cls, '__slots__', None)
148 doc = _getowndoc(getattr(base, name))
242 self = getattr(fn, '__self__', None)
254 methods[key] = getattr(c
[all...]
H A Dfunctools.py52 value = getattr(wrapped, attr)
58 getattr(wrapper, attr).update(getattr(wrapped, attr, {}))
191 roots = {op for op in _convert if getattr(cls, op, None) is not getattr(object, op, None)}
394 get = getattr(self.func, "__get__", None)
414 return getattr(self.func, "__isabstractmethod__", False)
868 ann = getattr(cls, '__annotations__', {})
911 funcname = getattr(func, '__name__', 'singledispatch function')
955 return getattr(sel
[all...]
/third_party/python/Doc/tools/extensions/
H A Descape4chm.py29 if getattr(app.builder, 'name', '') != 'htmlhelp':
39 if getattr(app.builder, 'name', '') != 'htmlhelp' or exception:
/third_party/python/Lib/test/
H A D_test_embed_structseq.py36 attr = getattr(sys, attr_name)
45 func = getattr(sys, func_name)
H A Dtest_cgi.py35 return getattr(self.err, attr)
260 a = getattr(file, name)
293 got = getattr(fs.list[x], k)
312 got = getattr(fs.list[x], k)
327 got = getattr(fs.list[x], k)
371 got = getattr(files[x], k)
H A Dtest_contextlib.py1095 orig_stdout = getattr(sys, self.orig_stream)
1097 self.assertIs(getattr(sys, self.orig_stream), orig_stdout)
1102 orig_stdout = getattr(sys, self.orig_stream)
1104 print(msg, file=getattr(sys, self.orig_stream))
1105 self.assertIs(getattr(sys, self.orig_stream), orig_stdout)
1117 orig_stdout = getattr(sys, self.orig_stream)
1119 print("Hello", end=" ", file=getattr(sys, self.orig_stream))
1121 print("World!", file=getattr(sys, self.orig_stream))
1122 self.assertIs(getattr(sys, self.orig_stream), orig_stdout)
1129 orig_stdout = getattr(sy
[all...]
/third_party/python/Lib/unittest/test/testmock/
H A Dtesthelpers.py382 self.assertRaises(AttributeError, getattr, mock, 'foo')
480 self.assertRaises(AttributeError, getattr, mock, 'foo')
488 self.assertRaises(AttributeError, getattr, mock.foo, 'foo')
558 self.assertRaises(AttributeError, getattr, mock.append, 'foo')
563 self.assertRaises(AttributeError, getattr, mock.bar, 'foo')
567 self.assertRaises(AttributeError, getattr, mock.sorted, 'foo')
571 self.assertRaises(AttributeError, getattr, mock.attr, 'foo')
679 self.assertRaises(AttributeError, getattr, this_mock, 'b')
686 self.assertRaises(AttributeError, getattr, instance_mock, 'b')
694 self.assertRaises(AttributeError, getattr, instance_moc
[all...]
/third_party/jinja2/
H A Dasyncfilters.py29 if getattr(normal_filter, "environmentfilter", False) is True:
36 has_evalctxfilter = getattr(normal_filter, "evalcontextfilter", False) is True
37 has_ctxfilter = getattr(normal_filter, "contextfilter", False) is True
/third_party/node/deps/v8/third_party/jinja2/
H A Dasyncfilters.py29 if getattr(normal_filter, "environmentfilter", False) is True:
36 has_evalctxfilter = getattr(normal_filter, "evalcontextfilter", False) is True
37 has_ctxfilter = getattr(normal_filter, "contextfilter", False) is True
/third_party/node/tools/inspector_protocol/jinja2/
H A Dasyncfilters.py29 if getattr(normal_filter, 'environmentfilter', False):
33 if not getattr(normal_filter, 'evalcontextfilter', False) and \
34 not getattr(normal_filter, 'contextfilter', False):
H A Dnativetypes.py47 finalize_context = getattr(finalize, 'contextfunction', False)
48 finalize_eval = getattr(finalize, 'evalcontextfunction', False)
49 finalize_env = getattr(finalize, 'environmentfunction', False)
/third_party/python/Lib/test/support/
H A Dsocket_helper.py224 captured_errnos = [getattr(errno, name, num)
226 gai_errnos = [getattr(socket, name, num)
230 n = getattr(err, 'errno', None)
/third_party/python/Lib/lib2to3/pgen2/
H A Dgrammar.py109 setattr(new, dict_attr, getattr(self, dict_attr).copy())
188 opmap[op] = getattr(token, name)
/third_party/PyYAML/tests/lib/
H A Dtest_yaml_ext.py179 py_value = getattr(py_event, attribute, None)
180 c_value = getattr(c_event, attribute, None)
215 value = getattr(event, attribute, None)
216 py_value = getattr(py_event, attribute, None)
217 c_value = getattr(c_event, attribute, None)
268 wrapper.skip = getattr(function, 'skip', [])+['.skip-ext']
/third_party/node/deps/v8/tools/clusterfuzz/foozzie/
H A Dv8_foozzie.py222 return getattr(options, '%s_%s' % (self.label, name))
242 self.arch = getattr(options, label).arch
243 self.config = getattr(options, label).config
244 d8 = getattr(options, label).d8
245 flags = getattr(options, label).flags
252 if getattr(options, fallback_label, None):
/third_party/python/Tools/c-analyzer/cpython/
H A D_capi.py289 outer = getattr(item, _outer)
290 inner = getattr(item, _inner)
397 key = getattr(item, groupby)
511 return {extra: getattr(item, extra)
518 return {extra: getattr(item, extra)
524 return {m: m if getattr(item, extra) == markers[extra][m] else ''
535 # values[m] = m if getattr(item, m) == cur[m] else ''
614 yield f' {extra+":":10} {getattr(item, extra)}'
/third_party/python/Lib/distutils/command/
H A Dinstall.py409 val = not getattr(self, opt_name)
412 val = getattr(self, opt_name)
483 if getattr(self, attrname) is None:
488 val = getattr(self, attr)
510 setattr(self, attr, convert_path(getattr(self, attr)))
550 setattr(self, attr, change_root(self.root, getattr(self, attr)))
/third_party/python/Lib/test/test_email/
H A Dtest_policy.py70 self.assertEqual(getattr(policy, attr), value,
79 isinstance(getattr(email.policy.EmailPolicy, attr),
113 self.assertIsNone(getattr(policy, attr))
129 self.assertEqual(getattr(added, attr), value)
133 self.assertEqual(getattr(added, attr), value)
136 self.assertEqual(getattr(added, attr), value)
/third_party/protobuf/python/google/protobuf/internal/
H A Dwell_known_types.py683 child, getattr(source, name), getattr(destination, name),
689 repeated_source = getattr(source, name)
690 repeated_destination = getattr(destination, name)
697 getattr(destination, name).MergeFrom(getattr(source, name))
699 setattr(destination, name, getattr(source, name))

Completed in 20 milliseconds

12345678910>>...32