/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/ |
D | With.py | 18 cm = self.ContextManager() 21 with cm: pass 22 with cm: pass 23 with cm: pass 24 with cm: pass 25 with cm: pass 26 with cm: pass 27 with cm: pass 28 with cm: pass 29 with cm: pass [all …]
|
/device/google/contexthub/firmware/lib/libc/ |
D | strcasecmp.c | 79 const u_char *cm = charmap; in strcasecmp() local 83 while (cm[*us1] == cm[*us2++]) in strcasecmp() 86 return (cm[*us1] - cm[*--us2]); in strcasecmp() 93 const u_char *cm = charmap; in strncasecmp() local 98 if (cm[*us1] != cm[*us2++]) in strncasecmp() 99 return (cm[*us1] - cm[*--us2]); in strncasecmp()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_pyclbr.py | 166 cm = self.checkModule 169 cm('random', ignore=('Random',)) # from _random import Random as CoreGenerator 170 cm('cgi', ignore=('log',)) # set with = in module 171 cm('urllib', ignore=('_CFNumberToInt32', 180 cm('pickle') 181 cm('aifc', ignore=('openfp',)) # set with = in module 182 cm('Cookie') 183 cm('sre_parse', ignore=('dump',)) # from sre_constants import * 184 cm('pdb') 185 cm('pydoc') [all …]
|
D | test_with.py | 354 cm = mock_contextmanager_generator() 356 with cm as self.resource: 357 self.assertInWithManagerInvariants(cm) 361 self.assertAfterWithManagerInvariantsWithError(cm) 365 cm = mock_contextmanager_generator() 367 with cm as self.resource: 372 self.assertAfterWithManagerInvariantsWithError(cm, ZeroDivisionError) 451 def cm(): function 455 with cm(): 462 class cm(object): class [all …]
|
D | test_socket.py | 286 with self.assertRaises(TypeError) as cm: 288 self.assertIn('not complex', str(cm.exception)) 289 with self.assertRaises(TypeError) as cm: 291 self.assertIn('not NoneType', str(cm.exception)) 295 with self.assertRaises(TypeError) as cm: 297 self.assertIn('not complex', str(cm.exception)) 298 with self.assertRaises(TypeError) as cm: 300 self.assertIn('not NoneType', str(cm.exception)) 301 with self.assertRaises(TypeError) as cm: 303 self.assertIn('an integer is required', str(cm.exception)) [all …]
|
D | pyclbr_input.py | 33 def cm(self): pass member in C
|
D | test_str.py | 423 with self.assertRaises(TypeError) as cm: 425 exc = str(cm.exception)
|
D | test_xmlrpc.py | 720 cm = self.assertRaisesRegexp(xmlrpclib.ProtocolError, 722 with cm:
|
D | test_unicode.py | 449 with self.assertRaises(TypeError) as cm: 451 exc = str(cm.exception)
|
D | test_argparse.py | 4455 with self.assertRaises(ValueError) as cm: 4457 self.assertEqual(cm.exception.args[0], self.EXPECTED_MESSAGE)
|
D | test_io.py | 2621 with self.assertRaises((ZeroDivisionError, RuntimeError)) as cm: 2628 exc = cm.exception
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
D | funcobject.c | 614 cm_dealloc(classmethod *cm) in cm_dealloc() argument 616 _PyObject_GC_UNTRACK((PyObject *)cm); in cm_dealloc() 617 Py_XDECREF(cm->cm_callable); in cm_dealloc() 618 Py_TYPE(cm)->tp_free((PyObject *)cm); in cm_dealloc() 622 cm_traverse(classmethod *cm, visitproc visit, void *arg) in cm_traverse() argument 624 Py_VISIT(cm->cm_callable); in cm_traverse() 629 cm_clear(classmethod *cm) in cm_clear() argument 631 Py_CLEAR(cm->cm_callable); in cm_clear() 639 classmethod *cm = (classmethod *)self; in cm_descr_get() local 641 if (cm->cm_callable == NULL) { in cm_descr_get() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
D | funcobject.c | 614 cm_dealloc(classmethod *cm) in cm_dealloc() argument 616 _PyObject_GC_UNTRACK((PyObject *)cm); in cm_dealloc() 617 Py_XDECREF(cm->cm_callable); in cm_dealloc() 618 Py_TYPE(cm)->tp_free((PyObject *)cm); in cm_dealloc() 622 cm_traverse(classmethod *cm, visitproc visit, void *arg) in cm_traverse() argument 624 Py_VISIT(cm->cm_callable); in cm_traverse() 629 cm_clear(classmethod *cm) in cm_clear() argument 631 Py_CLEAR(cm->cm_callable); in cm_clear() 639 classmethod *cm = (classmethod *)self; in cm_descr_get() local 641 if (cm->cm_callable == NULL) { in cm_descr_get() [all …]
|
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
D | ColorWheel.java | 162 ColorMatrix cm = new ColorMatrix(); in rotateColor() local 165 cm.setRGB2YUV(); in rotateColor() 167 cm.postConcat(tmp); in rotateColor() 169 cm.postConcat(tmp); in rotateColor() 171 final float[] a = cm.getArray(); in rotateColor()
|
/device/sample/apps/LeanbackWidget/src/com/google/android/leanbacklauncher/partnerwidget/ |
D | ClockWidgetProvider.java | 66 ConnectivityManager cm = (ConnectivityManager) context in getConnectedResId() local 68 NetworkInfo info = cm.getActiveNetworkInfo(); in getConnectedResId()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/ |
D | Grammar.txt | 22 #diagram:output\textwidth 20.04cm\oddsidemargin 0.0cm\evensidemargin 0.0cm
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/ |
D | test_assertions.py | 70 with self.assertRaises(KeyError) as cm: 75 self.assertIs(cm.exception, e)
|
D | test_case.py | 683 with self.assertRaises(self.failureException) as cm: 685 self.assertIn('^', str(cm.exception)) 700 with self.assertRaises(self.failureException) as cm: 702 self.assertNotIn('^', str(cm.exception)) 703 self.assertEqual(str(cm.exception), '%r != %r' % (s1, s2))
|
/device/linaro/bootloader/edk2/QuarkPlatformPkg/ |
D | QuarkPlatformPkg.dec | 366 …# and is equal to 1.75 inches or 4.445 cm. A value of 00h indicates that the enclosure height is u…
|