/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_bool.py | 24 print >> fo, False, True 34 self.assertEqual(repr(True), 'True') 36 self.assertEqual(eval(repr(True)), True) 40 self.assertEqual(str(True), 'True') 45 self.assertEqual(int(True), 1) 46 self.assertIsNot(int(True), True) 51 self.assertEqual(float(True), 1.0) 52 self.assertIsNot(float(True), True) 57 self.assertEqual(long(True), 1L) 58 self.assertIsNot(long(True), True) [all …]
|
D | test_exception_variations.py | 14 hit_except = True 16 hit_else = True 18 hit_finally = True 32 hit_except = True 34 hit_else = True 36 hit_finally = True 49 hit_except = True 51 hit_finally = True 63 hit_except = True 65 hit_finally = True [all …]
|
D | test_typechecks.py | 35 self.assertEqual(Integer.__subclasscheck__(int), True) 39 self.assertEqual(issubclass(int, Integer), True) 40 self.assertEqual(issubclass(int, (Integer,)), True) 45 self.assertEqual(isinstance(42, Integer), True) 46 self.assertEqual(isinstance(42, (Integer,)), True) 51 self.assertEqual(isinstance(Integer(), Integer), True) 52 self.assertEqual(isinstance(Integer(), (Integer,)), True) 55 self.assertEqual(issubclass(Integer, Integer), True) 56 self.assertEqual(issubclass(Integer, (Integer,)), True) 59 self.assertEqual(issubclass(SubInt, Integer), True) [all …]
|
D | test_locale.py | 183 self._test_format("%d", 4200, grouping=True, out='4%s200' % self.sep) 184 self._test_format("%+d", 4200, grouping=True, out='+4%s200' % self.sep) 185 self._test_format("%+d", -4200, grouping=True, out='-4%s200' % self.sep) 188 self._test_format("%10d", 4200, grouping=True, 190 self._test_format("%-10d", -4200, grouping=True, 281 self._test_currency(50000, "$50,000.00", grouping=True) 283 grouping=True, international=True) 290 self._test_format("%.2f", 12345.67, grouping=True, out='12345.67') 293 self._test_format("%9.2f", 12345.67, grouping=True, out=' 12345.67') 303 self._test_format("%.2f", 345.67, grouping=True, out='345,67') [all …]
|
D | test_isinstance.py | 188 self.assertEqual(True, isinstance(Super(), Super)) 193 self.assertEqual(True, isinstance(Child(), Super)) 198 self.assertEqual(True, isinstance(AbstractSuper(), AbstractSuper)) 203 self.assertEqual(True, isinstance(AbstractChild(), AbstractChild)) 204 self.assertEqual(True, isinstance(AbstractChild(), AbstractSuper)) 210 self.assertEqual(True, issubclass(Super, Super)) 214 self.assertEqual(True, issubclass(Child, Child)) 215 self.assertEqual(True, issubclass(Child, Super)) 220 self.assertEqual(True, issubclass(AbstractSuper, AbstractSuper)) 224 self.assertEqual(True, issubclass(AbstractChild, AbstractChild)) [all …]
|
D | string_tests.py | 787 self.checkequal(True, 'a', 'islower') 790 self.checkequal(True, 'abc', 'islower') 792 self.checkequal(True, 'abc\n', 'islower') 798 self.checkequal(True, 'A', 'isupper') 800 self.checkequal(True, 'ABC', 'isupper') 802 self.checkequal(True, 'ABC\n', 'isupper') 808 self.checkequal(True, 'A', 'istitle') 810 self.checkequal(True, 'A Titlecased Line', 'istitle') 811 self.checkequal(True, 'A\nTitlecased Line', 'istitle') 812 self.checkequal(True, 'A Titlecased, Line', 'istitle') [all …]
|
D | test_richcmp.py | 126 self.checkequal("lt", a, b, [True, True, False, False, False]) 127 self.checkequal("le", a, b, [True, True, True, False, False]) 128 self.checkequal("eq", a, b, [False, False, True, False, False]) 129 self.checkequal("ne", a, b, [True, True, False, True, True ]) 130 self.checkequal("gt", a, b, [False, False, False, True, True ]) 131 self.checkequal("ge", a, b, [False, False, True, True, True ]) 171 self.checkvalue("le", 0, 0, True ) 172 self.checkvalue("eq", 0, 0, True ) 175 self.checkvalue("ge", 0, 0, True ) 177 self.checkvalue("lt", 0, 1, True ) [all …]
|
D | test_print.py | 23 (False, False, True): 25 (False, True, False): 27 (False, True, True): 29 (True, False, False): 31 (True, False, True): 33 (True, True, False): 35 (True, True, True): 122 buf = Recorder(True)
|
D | test_base64.py | 147 eq(base64.b32decode('', True), '') 148 eq(base64.b32decode('ME======', True), 'a') 149 eq(base64.b32decode('MFRA====', True), 'ab') 150 eq(base64.b32decode('MFRGG===', True), 'abc') 151 eq(base64.b32decode('MFRGGZA=', True), 'abcd') 152 eq(base64.b32decode('MFRGGZDF', True), 'abcde') 154 eq(base64.b32decode('me======', True), 'a') 155 eq(base64.b32decode('mfra====', True), 'ab') 156 eq(base64.b32decode('mfrgg===', True), 'abc') 157 eq(base64.b32decode('mfrggza=', True), 'abcd') [all …]
|
D | test_cookielib.py | 260 c.save(filename, ignore_discard=True) 262 c.load(filename, ignore_discard=True) 353 ("http://foo.bar.com/", ".foo.bar.com", True), 354 ("http://foo.bar.com/", "foo.bar.com", True), 355 ("http://foo.bar.com/", ".bar.com", True), 356 ("http://foo.bar.com/", "com", True), 358 ("http://foo.com/", ".foo.com", True), 359 ("http://foo.com/", "foo.com", True), 360 ("http://foo.com/", "com", True), 362 ("http://foo/", ".foo", True), [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/json/tests/ |
D | test_scanstring.py | 9 scanstring('"z\\ud834\\udd20x"', 1, None, True), 14 scanstring(u'"z\U0001d120x"', 1, None, True), 18 scanstring(u'"z\U0001d120x"', 1, None, True), 22 scanstring('"\\u007b"', 1, None, True), 26 … scanstring('"A JSON payload should be an object or array, not a string."', 1, None, True), 30 scanstring('["Unclosed array"', 2, None, True), 34 scanstring('["extra comma",]', 2, None, True), 38 scanstring('["double extra comma",,]', 2, None, True), 42 scanstring('["Comma after the close"],', 2, None, True), 46 scanstring('["Extra close"]]', 2, None, True), [all …]
|
D | test_dump.py | 16 {True: False, False: True}, sort_keys=True), 19 {2: 3.0, 4.0: 5L, False: 1, 6L: True}, sort_keys=True),
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/tests/ |
D | test_scanstring.py | 10 scanstring(u'"z\U0001d120x"', 1, None, True), 14 scanstring(u'"z\U0001d120x"', 1, None, True), 18 scanstring('"\\u007b"', 1, None, True), 22 … scanstring('"A JSON payload should be an object or array, not a string."', 1, None, True), 26 scanstring('["Unclosed array"', 2, None, True), 30 scanstring('["extra comma",]', 2, None, True), 34 scanstring('["double extra comma",,]', 2, None, True), 38 scanstring('["Comma after the close"],', 2, None, True), 42 scanstring('["Extra close"]]', 2, None, True), 46 scanstring('{"Extra comma": true,}', 2, None, True), [all …]
|
D | test_dump.py | 16 {True: False, False: True}, sort_keys=True), 19 {2: 3.0, 4.0: 5L, False: 1, 6L: True}, sort_keys=True),
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/ |
D | ParserValidate.py | 42 return True 57 return True 78 return True 87 return True 109 return True 119 return True 133 return True 143 return True 145 return True 148 return True [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
D | dummy_thread.py | 52 _main = True 107 self.locked_status = True 108 return True 111 self.locked_status = True 112 return True 128 return True 136 _main = True 145 _interrupt = True
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | dummy_thread.py | 52 _main = True 107 self.locked_status = True 108 return True 111 self.locked_status = True 112 return True 128 return True 136 _main = True 145 _interrupt = True
|
D | mimetypes.py | 64 def __init__(self, filenames=(), strict=True): 72 self.add_type(type, ext, True) 78 def add_type(self, type, ext, strict=True): 95 def guess_type(self, url, strict=True): 142 types_map = self.types_map[True] 157 def guess_all_extensions(self, type, strict=True): 169 extensions = self.types_map_inv[True].get(type, []) 176 def guess_extension(self, type, strict=True): 194 def read(self, filename, strict=True): 205 def readfp(self, fp, strict=True): [all …]
|
D | webbrowser.py | 58 def open(url, new=0, autoraise=True): 62 return True 108 return True 111 return True 118 return True 125 return True 132 return True 147 def open(self, url, new=0, autoraise=True): 171 def open(self, url, new=0, autoraise=True): 178 p = subprocess.Popen(cmdline, close_fds=True) [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/json/ |
D | __init__.py | 113 ensure_ascii=True, 114 check_circular=True, 115 allow_nan=True, 122 def dump(obj, fp, skipkeys=False, ensure_ascii=True, check_circular=True, 123 allow_nan=True, cls=None, indent=None, separators=None, 185 def dumps(obj, skipkeys=False, ensure_ascii=True, check_circular=True, 186 allow_nan=True, cls=None, indent=None, separators=None,
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Core/ |
D | DependencyRules.py | 66 return True 79 Result = True 99 Result = True 102 Result = True 135 Found = True 158 return True 170 Found = True 203 return True, DpObj 241 return True 251 Removable = True [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/ |
D | __init__.py | 113 ensure_ascii=True, 114 check_circular=True, 115 allow_nan=True, 122 def dump(obj, fp, skipkeys=False, ensure_ascii=True, check_circular=True, 123 allow_nan=True, cls=None, indent=None, separators=None, 193 def dumps(obj, skipkeys=False, ensure_ascii=True, check_circular=True, 194 allow_nan=True, cls=None, indent=None, separators=None,
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Object/Parser/ |
D | InfHeaderObject.py | 48 return True 64 return True 80 return True 96 return True 112 return True
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/ |
D | parser.py | 67 while True: 87 def parse(self, fp, headersonly=True): 88 return Parser.parse(self, fp, True) 90 def parsestr(self, text, headersonly=True): 91 return Parser.parsestr(self, text, True)
|
/device/google/cuttlefish_common/tools/ |
D | upload_to_gce_and_run.py | 23 shell=True) 34 shell=True) 46 shell=True) 52 shell=True) 60 shell=True) 77 '-instance', type=str, required=True,
|