Searched refs:__name__ (Results 1 – 25 of 2821) sorted by relevance
12345678910>>...113
/external/python/cpython2/Lib/test/ |
D | test_pkg.py | 107 self.assertEqual(t2.__name__, "t2") 108 self.assertEqual(t2.sub.__name__, "t2.sub") 109 self.assertEqual(t2.sub.subsub.__name__, "t2.sub.subsub") 123 self.assertEqual(sub.__name__, "t2.sub") 124 self.assertEqual(subsub.__name__, "t2.sub.subsub") 125 self.assertEqual(sub.subsub.__name__, "t2.sub.subsub") 131 self.assertEqual(t2.__name__, "t2") 132 self.assertEqual(t2.sub.__name__, "t2.sub") 133 self.assertEqual(t2.sub.subsub.__name__, "t2.sub.subsub") 153 self.assertEqual(t3.__name__, "t3") [all …]
|
D | test_xml_etree_c.py | 75 py__name__ = test_xml_etree.__name__ 77 if __name__ != '__main__': 78 test_xml_etree.__name__ = __name__ 84 test_xml_etree.__name__ = py__name__ 86 if __name__ == '__main__':
|
D | test_module.py | 16 s = foo.__name__ 25 self.assertEqual(foo.__name__, "foo") 32 self.assertEqual(foo.__name__, "foo") 40 self.assertEqual(foo.__name__, "foo") 51 self.assertEqual(foo.__name__, "foo") 84 if __name__ == '__main__':
|
D | test_importlib.py | 126 self.assertEqual(module.__name__, 'top_level') 136 self.assertEqual(module.__name__, name) 143 self.assertEqual(module.__name__, 'a.b.c.d') 151 self.assertEqual(module.__name__, 'a.c') 162 self.assertEqual(module.__name__, name) 175 if __name__ == '__main__':
|
D | test_pep352.py | 41 (ins.__class__.__name__, attr)) 82 "%s is not a subclass of %s" % (exc.__name__, 83 superclasses[-1][1].__name__)) 111 [repr(exc), exc.__class__.__name__ + repr(exc.args)], 124 [repr(exc), exc.__class__.__name__ + repr(exc.args)], 135 [repr(exc), exc.__class__.__name__ + '()'], [True, True]) 238 if __name__ == '__main__':
|
D | test_pyclbr.py | 85 objname = obj.__name__ 87 objname = "_%s%s" % (obj.im_class.__name__, objname) 106 real_bases = [base.__name__ for base in py_item.__bases__] 131 self.assertEqualsOrIgnored(py_item.__name__, value.name, 141 return item.__module__ == module.__name__ 201 if __name__ == "__main__":
|
D | test_univnewlines.py | 126 CTest.__name__ = str("C" + test.__name__) 129 PyTest.__name__ = str("Py" + test.__name__) 134 if __name__ == '__main__':
|
D | test_warnings.py | 289 self.assertEqual(w[-1].filename, warning_tests.__name__) 298 module_name = warning_tests.__name__ 301 warning_tests.__name__ = '__main__' 309 warning_tests.__name__ = module_name 315 module_name = warning_tests.__name__ 319 warning_tests.__name__ = '__main__' 328 warning_tests.__name__ = module_name 336 module_name = warning_tests.__name__ 340 warning_tests.__name__ = '__main__' 349 warning_tests.__name__ = module_name [all …]
|
/external/autotest/client/cros/cellular/pseudomodem/ |
D | utils.py | 47 func.__name__, 52 func.__name__, 62 func.__name__, 67 func.__name__, 77 return_logger('Response[%s] OK: |%s|' % (func.__name__, 80 raise_logger('Response[%s] ERROR: |%s|' % (func.__name__, 94 'of %s', return_cb_arg, func.__name__) 100 'of %s', raise_cb_arg, func.__name__)
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/ |
D | util.py | 16 decorated.__name__ = fn.__name__ 76 self.__name__ = fget.__name__ 81 obj.__dict__[self.__name__] = result = self.fget(obj) 95 self.__name__ = fget.__name__ 103 memo.__name__ = self.__name__ 105 obj.__dict__[self.__name__] = memo 107 oneshot.__name__ = self.__name__ 289 if cls.__name__ == 'mod': 291 elif cls.__name__ == 'AST':
|
/external/autotest/contrib/ |
D | modelviz.py | 119 'name': '"%s"' % app.__name__, 126 'name': appmodel.__name__, 135 'type': type(field).__name__, 149 'target': field.rel.to.__name__, 150 'type': type(field).__name__, 200 if __name__ == "__main__":
|
/external/antlr/antlr-3.4/runtime/Python/unittests/ |
D | testbase.py | 7 (self.__class__.__name__, name, reason)) 20 raise BrokenTest(test_method.__name__, reason) 22 replacement.__name__ = 'XXX_' + test_method.__name__
|
/external/python/cpython2/Demo/metaclasses/ |
D | Trace.py | 23 self.__name__ = name 76 fullname = self.__class.__name__ + "." + name 84 self.__name__ = name 94 self.__name__, self.inst, args, kw) 101 self.__name__, t, v) 106 self.__name__, rv) 143 if __name__ == '__main__':
|
D | Meta.py | 14 self.__name__ = self.func.__name__ 60 self.__name__ = name 117 if __name__ == '__main__':
|
D | Enum.py | 42 self.__name__ = name 78 s = self.__name__ 80 s = s + '(' + string.join(map(lambda x: x.__name__, 168 if __name__ == '__main__':
|
D | Eiffel.py | 75 self.pre = getattr(inst, self.__name__ + "_pre") 79 self.post = getattr(inst, self.__name__ + "_post") 112 if __name__ == '__main__':
|
/external/protobuf/python/google/protobuf/ |
D | __init__.py | 35 if __name__ != '__main__': 37 __import__('pkg_resources').declare_namespace(__name__) 39 __path__ = __import__('pkgutil').extend_path(__path__, __name__)
|
/external/parameter-framework/upstream/tools/clientSimulator/clientsimulator/testGenerator/ |
D | TestVectorFactory.py | 48 self.__logger = logging.getLogger(__name__) 68 criterionClass.__name__] 73 criterionClass.__name__))
|
/external/autotest/server/cros/ap_configurators/ |
D | ap_configurator.py | 188 self.__class__.__name__, 189 self.set_using_ap_spec.__name__) 199 self.__class__.__name__, 200 self.apply_settings.__name__)
|
/external/python/cpython2/Lib/ |
D | fractions.py | 179 (cls.__name__, f, type(f).__name__)) 181 raise TypeError("Cannot convert %r to %s." % (f, cls.__name__)) 193 (cls.__name__, dec, type(dec).__name__)) 196 raise TypeError("Cannot convert %s to %s." % (dec, cls.__name__)) 369 forward.__name__ = '__' + fallback_operator.__name__ + '__' 382 reverse.__name__ = '__r' + fallback_operator.__name__ + '__'
|
/external/selinux/python/sepolgen/src/sepolgen/ |
D | lex.py | 131 newfindex.append((getattr(object,f[0].__name__),f[1])) 137 c.lexstateerrorf[key] = getattr(object,ef.__name__) 168 taberr[key] = ef.__name__ 308 func.__name__, newtok.type),lexdata[lexpos:]) 399 result.append((f[0].__name__,f[1])) 439 lexindexfunc[i] = (handle,handle.__name__[2:]) 672 print("%s:%d: Rule '%s' has too many arguments." % (file,line,f.__name__)) 677 print("%s:%d: Rule '%s' requires an argument." % (file,line,f.__name__)) 682 print("%s:%d: Rule '%s' must be defined as a string." % (file,line,f.__name__)) 693 c = re.compile("(?P<%s>%s)" % (f.__name__,f.__doc__), re.VERBOSE | reflags) [all …]
|
/external/python/cpython2/Tools/framer/framer/ |
D | bases.py | 53 self.name = getattr(self, "abbrev", self.__name__) 72 filename = self.__name__ + "module.c" 74 name = v["ModuleName"] = self.__name__ 137 self.name = getattr(self, "abbrev", self.__name__) 162 self.__slots[TP_NAME] = '"%s.%s"' % (self.__module, self.__name__) 175 v["TypeName"] = self.__name__ 176 v["CTypeName"] = "Py%s_Type" % self.__name__
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | BitmapGlyphMetrics.py | 33 writer.begintag(self.__class__.__name__) 38 writer.endtag(self.__class__.__name__) 51 print("Warning: unknown name '%s' being ignored in %s." % name, self.__class__.__name__)
|
/external/python/cpython2/Lib/email/ |
D | __init__.py | 76 self.__name__ = 'email.' + module_name 79 __import__(self.__name__) 80 mod = sys.modules[self.__name__]
|
/external/python/cpython2/Lib/bsddb/test/ |
D | test_associate.py | 80 self.filename = self.__class__.__name__ + '.db' 94 self.__class__.__name__ 128 self.filename = self.__class__.__name__ + '.db' 186 self.__class__.__name__ 208 self.__class__.__name__ 217 self.__class__.__name__ 225 self.__class__.__name__ 338 self.__class__.__name__ 464 if __name__ == '__main__':
|
12345678910>>...113