/external/tensorflow/tensorflow/python/training/ |
D | coordinator_test.py | 40 except RuntimeError as e: 157 with self.assertRaisesRegexp(RuntimeError, "threads still running"): 187 args=(coord, ev_1, ev_2, RuntimeError("First"), False)), 190 args=(coord, ev_2, None, RuntimeError("Too late"), False)) 197 with self.assertRaisesRegexp(RuntimeError, "First"): 207 args=(coord, ev_1, ev_2, RuntimeError("First"), True)), 210 args=(coord, ev_2, None, RuntimeError("Too late"), True)) 216 with self.assertRaisesRegexp(RuntimeError, "First"): 255 args=(coord, ev_1, ev_2, RuntimeError("First"))), 258 args=(coord, ev_2, None, RuntimeError("Too late"))) [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_iterlen.py | 85 self.assertRaises(RuntimeError, it.next) 204 raise RuntimeError('hello') 209 raise RuntimeError('hello') 219 self.assertRaises(RuntimeError, list, BadLen()) 220 self.assertRaises(RuntimeError, list, BadLengthHint()) 221 self.assertRaises(RuntimeError, [].extend, BadLen()) 222 self.assertRaises(RuntimeError, [].extend, BadLengthHint()) 223 self.assertRaises(RuntimeError, zip, BadLen()) 224 self.assertRaises(RuntimeError, zip, BadLengthHint()) 225 self.assertRaises(RuntimeError, filter, None, BadLen()) [all …]
|
D | test_call.py | 38 raise RuntimeError 67 raise RuntimeError 75 raise RuntimeError 83 raise RuntimeError 106 raise RuntimeError 117 raise RuntimeError
|
D | test_isinstance.py | 46 raise RuntimeError 59 self.assertRaises(RuntimeError, isinstance, I(), C()) 68 raise RuntimeError 71 self.assertRaises(RuntimeError, isinstance, I(), C()) 94 raise RuntimeError 99 self.assertRaises(RuntimeError, issubclass, C(), S()) 120 raise RuntimeError 123 self.assertRaises(RuntimeError, issubclass, B, C()) 252 self.assertRaises(RuntimeError, blowstack, issubclass, str, str) 257 self.assertRaises(RuntimeError, blowstack, isinstance, '', str)
|
D | test_richcmp.py | 201 def __cmp__(self_, other): raise RuntimeError, "expected" 207 self.assertRaises(RuntimeError, cmp, a, b) 232 self.assertRaises(RuntimeError, operator.eq, a, b) 233 self.assertRaises(RuntimeError, operator.ne, a, b) 234 self.assertRaises(RuntimeError, operator.lt, a, b) 235 self.assertRaises(RuntimeError, operator.le, a, b) 236 self.assertRaises(RuntimeError, operator.gt, a, b) 237 self.assertRaises(RuntimeError, operator.ge, a, b) 244 self.assertRaises(RuntimeError, operator.lt, a, b) 245 self.assertRaises(RuntimeError, operator.le, a, b) [all …]
|
D | test_with.py | 62 raise RuntimeError("Context is not reentrant") 163 raise RuntimeError("Enter threw") 172 self.assertRaises(RuntimeError, shouldThrow) 180 raise RuntimeError(42) 184 self.assertRaises(RuntimeError, shouldThrow) 187 TEST_EXCEPTION = RuntimeError("test exception") 358 self.assertRaises(RuntimeError, shouldThrow) 383 self.assertRaises(RuntimeError, shouldThrow) 401 self.assertRaises(RuntimeError, shouldThrow) 419 self.assertRaises(RuntimeError, shouldThrow) [all …]
|
/external/python/cpython2/Lib/json/tests/ |
D | test_recursion.py | 72 with self.assertRaises(RuntimeError): 74 with self.assertRaises(RuntimeError): 76 with self.assertRaises(RuntimeError): 79 with self.assertRaises(RuntimeError): 81 with self.assertRaises(RuntimeError): 83 with self.assertRaises(RuntimeError): 91 with self.assertRaises(RuntimeError): 93 with self.assertRaises(RuntimeError): 103 with self.assertRaises(RuntimeError):
|
/external/mesa3d/src/mapi/glapi/gen/ |
D | typeexpr.py | 123 … raise RuntimeError("create_initial_types must be called before creating type_expression objects.") 157 raise RuntimeError("Invalid type expression (dangling pointer)") 160 … raise RuntimeError("Invalid type expression (signed / unsigned applied to pointer)") 167 …raise RuntimeError('Invalid type expression (garbage after pointer qualifier -> "%s")' % (self.ori… 175 raise RuntimeError("Invalid type expression (both signed and unsigned specified)") 179 raise RuntimeError("Invalid type expression (dangling const)") 182 raise RuntimeError("Invalid type expression (dangling signed)") 185 raise RuntimeError("Invalid type expression (dangling unsigned)") 196 raise RuntimeError('Unknown base type "%s".' % (type_name))
|
/external/python/cpython3/Lib/test/ |
D | test_isinstance.py | 44 raise RuntimeError 57 self.assertRaises(RuntimeError, isinstance, I(), C()) 66 raise RuntimeError 69 self.assertRaises(RuntimeError, isinstance, I(), C()) 88 raise RuntimeError 92 self.assertRaises(RuntimeError, isinstance, c, bool) 96 self.assertRaises(RuntimeError, isinstance, c, D) 106 raise RuntimeError 111 self.assertRaises(RuntimeError, issubclass, C(), S()) 132 raise RuntimeError [all …]
|
D | test_iterlen.py | 74 self.assertRaises(RuntimeError, next, it) 192 raise RuntimeError('hello') 200 raise RuntimeError('hello') 214 self.assertRaises(RuntimeError, list, BadLen()) 215 self.assertRaises(RuntimeError, list, BadLengthHint()) 216 self.assertRaises(RuntimeError, [].extend, BadLen()) 217 self.assertRaises(RuntimeError, [].extend, BadLengthHint()) 219 self.assertRaises(RuntimeError, b.extend, BadLen()) 220 self.assertRaises(RuntimeError, b.extend, BadLengthHint())
|
D | test_with.py | 61 raise RuntimeError("Context is not reentrant") 166 raise RuntimeError("Enter threw") 175 self.assertRaises(RuntimeError, shouldThrow) 183 raise RuntimeError(42) 187 self.assertRaises(RuntimeError, shouldThrow) 192 self.TEST_EXCEPTION = RuntimeError("test exception") 363 self.assertRaises(RuntimeError, shouldThrow) 388 self.assertRaises(RuntimeError, shouldThrow) 406 self.assertRaises(RuntimeError, shouldThrow) 424 self.assertRaises(RuntimeError, shouldThrow) [all …]
|
/external/autotest/server/cros/ap_configurators/ |
D | belkinF9K1102_ap_configurator.py | 31 raise RuntimeError('Got %s error. You should click the generate ' 34 raise RuntimeError('Unknown alert dialog' + alert.text) 89 raise RuntimeError('Invalid page number passed. Number of pages ' 115 raise RuntimeError('We got a Duplicate Admin error.') 117 raise RuntimeError(str(e)) 134 raise RuntimeError('We got a NoSuchElementException: ' + str(e)) 155 raise RuntimeError('We did not save the page. ' 206 raise RuntimeError('The mode %d not supported by router %s. ', 220 raise RuntimeError('Invalid band sent %s' % band)
|
D | netgear_WNDR_dual_band_configurator.py | 30 raise RuntimeError('Wrong mode selected. %s' % text) 33 raise RuntimeError('%s. Please change the SSID of one band' % text) 43 raise RuntimeError('We have an unhandled alert on AP %s: %s' % 93 raise RuntimeError('Invalid page number passed. Number of pages ' 138 raise RuntimeError('Unsupported mode passed.') 188 raise RuntimeError('Invalid band sent %s' % band) 222 raise RuntimeError('We got an exception: "%s". Check the mode. ' 257 raise RuntimeError('For WPA-PSK the mode should be 54Mbps. %s' % e)
|
D | belkinF9K1105_ap_configurator.py | 28 raise RuntimeError('Got %s error. You should click the generate ' 31 raise RuntimeError('Unknown alert dialog' + alert.text) 86 raise RuntimeError('Invalid page number passed. Number of pages ' 113 raise RuntimeError('We got the Duplicate admin message. ' 137 raise RuntimeError('We could not load the page ' + page_url + 147 raise RuntimeError('Incorrect password error: ' 179 raise RuntimeError("We did not save the changes because we " 229 raise RuntimeError('The mode %d not supported by router %s. ', 243 raise RuntimeError('Invalid band sent %s' % band)
|
D | trendnet692gr_ap_configurator.py | 26 raise RuntimeError(text) 81 raise RuntimeError('Invalid page number passed. Number of pages' 92 raise RuntimeError('Invalid page number passed. Number of pages' 96 raise RuntimeError('Incorrect band band = %s' % self.current_band) 132 raise RuntimeError('The mode selected %d is not supported by router' 144 raise RuntimeError('Invalid band sent %s' % band)
|
D | medialink_ap_configurator.py | 30 raise RuntimeError('We got an alert. %s' % text) 33 raise RuntimeError('Please enable wireless. %s' % text) 36 raise RuntimeError('WEP key should be numbers. %s' % text) 39 raise RuntimeError('There was a system error on AP!') 43 raise RuntimeError('We have an unhandled alert: %s' % text) 82 raise RuntimeError('Invalid page number passed. Number of pages ' 120 raise RuntimeError('Invalid mode passed: %x' % mode)
|
D | trendnet812dru_ap_configurator.py | 27 raise RuntimeError('An unexpected alert was thrown: %s' % text) 64 raise RuntimeError('Invalid page number passed. Number of pages' 75 raise RuntimeError('Invalid page number passed. Number of pages' 79 raise RuntimeError('Incorrect band band = %s' % self.current_band) 97 raise RuntimeError('The mode selected %s is not supported by router'
|
/external/python/cpython2/Lib/ |
D | fileinput.py | 95 raise RuntimeError, "input() already active" 118 raise RuntimeError, "no active input()" 127 raise RuntimeError, "no active input()" 137 raise RuntimeError, "no active input()" 147 raise RuntimeError, "no active input()" 156 raise RuntimeError, "no active input()" 165 raise RuntimeError, "no active input()" 174 raise RuntimeError, "no active input()" 248 raise RuntimeError, "accessing lines out of order"
|
/external/autotest/client/cros/audio/ |
D | alsa_utils.py | 82 raise RuntimeError('amixer command failed') 115 raise RuntimeError('amixer command failed') 149 raise RuntimeError('alsa_helpers -l failed to return card names') 177 raise RuntimeError('arecord -l command failed') 227 raise RuntimeError('arecord -l command failed') 243 raise RuntimeError('%s failed' % cmd) 290 raise RuntimeError('no playback device') 325 raise RuntimeError('no record device') 351 raise RuntimeError('amixer command failed')
|
/external/python/cpython3/Lib/ |
D | fileinput.py | 93 raise RuntimeError("input() already active") 116 raise RuntimeError("no active input()") 125 raise RuntimeError("no active input()") 135 raise RuntimeError("no active input()") 145 raise RuntimeError("no active input()") 154 raise RuntimeError("no active input()") 163 raise RuntimeError("no active input()") 172 raise RuntimeError("no active input()") 263 raise RuntimeError("accessing lines out of order")
|
/external/python/cpython2/Demo/rpc/ |
D | rpc.py | 114 raise RuntimeError, 'no REPLY but %r' % (mtype,) 121 raise RuntimeError, \ 125 raise RuntimeError, \ 127 raise RuntimeError, 'MSG_DENIED: %r' % (stat,) 129 raise RuntimeError, \ 134 raise RuntimeError, 'call failed: PROG_UNAVAIL' 138 raise RuntimeError, \ 141 raise RuntimeError, 'call failed: PROC_UNAVAIL' 143 raise RuntimeError, 'call failed: GARBAGE_ARGS' 145 raise RuntimeError, 'call failed: %r' % (stat,) [all …]
|
/external/tensorflow/tensorflow/tools/git/ |
D | gen_git_source.py | 61 raise RuntimeError("Git directory has unparseable HEAD") 80 raise RuntimeError("Cannot delete directory %s due to permission " 83 raise RuntimeError("Cannot delete non-directory %s, inspect ", 88 raise RuntimeError("gen_git_source.py: Failed to create dir") 261 raise RuntimeError( 329 raise RuntimeError("Must pass --gen_root_path arg when running --configure") 339 raise RuntimeError("--configure or --generate or --raw_generate "
|
/external/toolchain-utils/ |
D | heat_map.py | 53 raise RuntimeError('Failed to generate perf report') 61 raise RuntimeError('Failed to run grep to get base address') 68 raise RuntimeError( 72 raise RuntimeError('Could not find the base address in the profile') 91 raise RuntimeError('Failed to run script to generate heatmap') 141 except RuntimeError, e:
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_futures.py | 159 with self.assertRaises((RuntimeError, AttributeError)): 163 with self.assertRaises((RuntimeError, AttributeError)): 167 with self.assertRaises((RuntimeError, AttributeError)): 171 with self.assertRaises((RuntimeError, AttributeError)): 175 with self.assertRaises((RuntimeError, AttributeError)): 181 except (RuntimeError, AttributeError): 187 except RuntimeError: 193 except RuntimeError: 225 exc = RuntimeError() 236 self.assertRaises(RuntimeError, f.result) [all …]
|
/external/autotest/client/cros/multimedia/ |
D | facade_resource.py | 217 raise RuntimeError('Autotest extension not found') 219 raise RuntimeError('Extension not found in %r' 299 raise RuntimeError('There is no tab for %s' % tab_descriptor) 315 raise RuntimeError('There is no tab for %s' % tab_descriptor) 328 raise RuntimeError('There is no tab for %s' % tab_descriptor) 342 raise RuntimeError('There is no tab for %s' % tab_descriptor)
|