/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_multibytecodec_support.py | 286 csetch = chr(csetval & 0xff)
288 csetch = chr(csetval >> 24) + chr((csetval >> 16) & 0xff) + \
291 csetch = chr(csetval >> 16) + \
294 csetch = chr(csetval >> 8) + chr(csetval & 0xff)
301 urt_wa[unich] = csetch
303 self._testpoint(csetch, unich)
318 def _testpoint(self, csetch, unich):
319 if (csetch, unich) not in self.pass_enctest:
321 self.assertEqual(unich.encode(self.encoding), csetch)
324 repr(unich), repr(csetch), exc.reason)) [all...] |
/external/python/cpython2/Lib/test/ |
test_multibytecodec_support.py | 296 csetch = chr(csetval & 0xff) 298 csetch = chr(csetval >> 24) + chr((csetval >> 16) & 0xff) + \ 301 csetch = chr(csetval >> 16) + \ 304 csetch = chr(csetval >> 8) + chr(csetval & 0xff) 311 urt_wa[unich] = csetch 313 self._testpoint(csetch, unich) 328 def _testpoint(self, csetch, unich): 329 if (csetch, unich) not in self.pass_enctest: 331 self.assertEqual(unich.encode(self.encoding), csetch) 334 repr(unich), repr(csetch), exc.reason) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_multibytecodec_support.py | 298 csetch = chr(csetval & 0xff) 300 csetch = chr(csetval >> 24) + chr((csetval >> 16) & 0xff) + \ 303 csetch = chr(csetval >> 16) + \ 306 csetch = chr(csetval >> 8) + chr(csetval & 0xff) 313 urt_wa[unich] = csetch 315 self._testpoint(csetch, unich) 330 def _testpoint(self, csetch, unich): 331 if (csetch, unich) not in self.pass_enctest: 333 self.assertEqual(unich.encode(self.encoding), csetch) 336 repr(unich), repr(csetch), exc.reason) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_multibytecodec_support.py | 298 csetch = chr(csetval & 0xff) 300 csetch = chr(csetval >> 24) + chr((csetval >> 16) & 0xff) + \ 303 csetch = chr(csetval >> 16) + \ 306 csetch = chr(csetval >> 8) + chr(csetval & 0xff) 313 urt_wa[unich] = csetch 315 self._testpoint(csetch, unich) 330 def _testpoint(self, csetch, unich): 331 if (csetch, unich) not in self.pass_enctest: 333 self.assertEqual(unich.encode(self.encoding), csetch) 336 repr(unich), repr(csetch), exc.reason) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_multibytecodec_support.py | 298 csetch = chr(csetval & 0xff) 300 csetch = chr(csetval >> 24) + chr((csetval >> 16) & 0xff) + \ 303 csetch = chr(csetval >> 16) + \ 306 csetch = chr(csetval >> 8) + chr(csetval & 0xff) 313 urt_wa[unich] = csetch 315 self._testpoint(csetch, unich) 330 def _testpoint(self, csetch, unich): 331 if (csetch, unich) not in self.pass_enctest: 333 self.assertEqual(unich.encode(self.encoding), csetch) 336 repr(unich), repr(csetch), exc.reason) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_multibytecodec_support.py | 298 csetch = chr(csetval & 0xff) 300 csetch = chr(csetval >> 24) + chr((csetval >> 16) & 0xff) + \ 303 csetch = chr(csetval >> 16) + \ 306 csetch = chr(csetval >> 8) + chr(csetval & 0xff) 313 urt_wa[unich] = csetch 315 self._testpoint(csetch, unich) 330 def _testpoint(self, csetch, unich): 331 if (csetch, unich) not in self.pass_enctest: 333 self.assertEqual(unich.encode(self.encoding), csetch) 336 repr(unich), repr(csetch), exc.reason) [all...] |
/external/python/cpython3/Lib/test/ |
multibytecodec_support.py | 316 csetch = bytes([csetval & 0xff]) 318 csetch = bytes([(csetval >> 24), ((csetval >> 16) & 0xff), 321 csetch = bytes([(csetval >> 16), ((csetval >> 8) & 0xff), 324 csetch = bytes([(csetval >> 8), (csetval & 0xff)]) 331 urt_wa[unich] = csetch 333 self._testpoint(csetch, unich) 348 def _testpoint(self, csetch, unich): 349 if (csetch, unich) not in self.pass_enctest: 350 self.assertEqual(unich.encode(self.encoding), csetch) 351 if (csetch, unich) not in self.pass_dectest [all...] |