Home
last modified time | relevance | path

Searched refs:RuntimeError (Results 1 – 25 of 396) sorted by relevance

12345678910>>...16

/third_party/mesa3d/src/mapi/glapi/gen/
Dtypeexpr.py123 … 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))
/third_party/mesa3d/src/imagination/csbgen/
Dgen_pack_header.py121 raise RuntimeError("Element cannot be nested in %s. Element Type: %s"
154 raise RuntimeError("Enum redefined. Enum: %s" % element.name)
159 raise RuntimeError("Struct redefined. Struct: %s" % element.name)
165 raise RuntimeError("Define redefined. Define: %s" % element.full_name)
232 raise RuntimeError("Value is being redefined. Value: '%s'" % element.name)
239 raise RuntimeError("Enum definition is empty. Enum: '%s'" % self.full_name)
317 raise RuntimeError("Unknown condition: '%s'" % element.name)
330 raise RuntimeError(
448 … raise RuntimeError("Only address fields can have a shift attribute. Field: '%s'" % self.name)
455 … raise RuntimeError("Field of address type requires a shift attribute. Field '%s'" % self.name)
[all …]
/third_party/python/Lib/test/
Dtest_iterlen.py74 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())
Dtest_isinstance.py46 raise RuntimeError
59 self.assertRaises(RuntimeError, isinstance, I(), C())
68 raise RuntimeError
71 self.assertRaises(RuntimeError, isinstance, I(), C())
90 raise RuntimeError
94 self.assertRaises(RuntimeError, isinstance, c, bool)
98 self.assertRaises(RuntimeError, isinstance, c, D)
108 raise RuntimeError
113 self.assertRaises(RuntimeError, issubclass, C(), S())
134 raise RuntimeError
[all …]
Dtest_with.py61 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 …]
Daudit-tests.py20 def __init__(self, raise_on_events=None, exc_type=RuntimeError):
150 with assertRaises(RuntimeError):
210 with assertRaises(RuntimeError):
275 if exc_type is not RuntimeError:
288 raise RuntimeError("fatal-error")
305 write_unraisable_exc(RuntimeError("nonfatal-error"), "for audit hook test", None)
325 raise RuntimeError("Expected EnumKey(HKLM, 10000) to fail")
408 raise RuntimeError("Expected sqlite3.load_extension to fail")
Dtest_script_helper.py43 mock_popen.side_effect = RuntimeError('bail out of unittest')
46 except RuntimeError as err:
62 mock_popen.side_effect = RuntimeError('bail out of unittest')
65 except RuntimeError as err:
Dtest_frame.py70 with self.assertRaises(RuntimeError):
72 with self.assertRaises(RuntimeError):
84 with self.assertRaises(RuntimeError):
86 with self.assertRaises(RuntimeError):
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/spec_tools/
Dvalidity.py22 raise RuntimeError("Illegal component of a VUID anchor name!")
62 raise RuntimeError("Tried to add a blank validity line!")
67 …raise RuntimeError('Cannot add a validity entry with an anchor to a collection that does not know …
73 raise RuntimeError("Duplicate validity added!")
79 raise RuntimeError('addText called when collection in strict mode')
91 raise RuntimeError("The two sets contain some shared entries! " + str(dupes))
100 raise RuntimeError(
211 raise RuntimeError("No parts added?")
/third_party/jerryscript/tools/
Drun_jerry_tdd_executable.py60 raise RuntimeError('Run [', cmd, '] timeout, timeout_limit = ', timeout_limit, 's')
71 raise RuntimeError("Run [" + cmd + "] failed!")
79 raise RuntimeError("Run [" + cmd + "] failed!")
91 raise RuntimeError("Run [" + cmd + "] failed!")
93 raise RuntimeError("Run [" + cmd + "] with no expect !")
/third_party/vk-gl-cts/scripts/
Dcheck_swiftshader_runtime.py39 raise RuntimeError("Python version needs to be 3 or greater.")
146 raise RuntimeError("go not found. (apt-get install -y golang-go)")
148 raise RuntimeError("CMake not found. (version 3.13 or later needed)")
150 raise RuntimeError("Ninja not found. (apt-get install -y ninja-build)")
152 raise RuntimeError("Git not found. (apt-get install -y git)")
154 raise RuntimeError("vk-gl-cts source directory must be provided. Use --help for more info.")
200 … raise RuntimeError("Skipped four lines, no starting line found. Has the file order changed?")
263 …raise RuntimeError(f"Expected PASS, FAIL, NOT_SUPPORTED, UNSUPPORTED, CRASH, COMPATIBILITY_WARNING…
327 raise RuntimeError(f"Tests in different locations: {t0['Test']}\n")
479 …raise RuntimeError("No comparable files provided. Please provide them with flag --files. Use --hel…
/third_party/node/deps/npm/node_modules/tuf-js/dist/
Derror.js3 …rsionError = exports.RepositoryError = exports.PersistError = exports.RuntimeError = exports.Value…
8 class RuntimeError extends Error { class
10 exports.RuntimeError = RuntimeError;
Dstore.js52 throw new error_1.RuntimeError('Cannot update timestamp after snapshot');
91 throw new error_1.RuntimeError('Cannot update snapshot before timestamp');
94 throw new error_1.RuntimeError('Cannot update snapshot after targets');
134 throw new error_1.RuntimeError('Cannot update delegated targets before snapshot');
141 throw new error_1.RuntimeError(`No trusted ${delegatorName} metadata`);
/third_party/python/Lib/test/test_asyncio/
Dtest_futures.py144 with self.assertRaisesRegex(RuntimeError, 'There is no current event loop'):
180 with self.assertRaises((RuntimeError, AttributeError)):
184 with self.assertRaises((RuntimeError, AttributeError)):
188 with self.assertRaises((RuntimeError, AttributeError)):
192 with self.assertRaises((RuntimeError, AttributeError)):
196 with self.assertRaises((RuntimeError, AttributeError)):
202 except (RuntimeError, AttributeError):
208 except RuntimeError:
214 except RuntimeError:
267 exc = RuntimeError()
[all …]
/third_party/python/Lib/
Dfileinput.py88 raise RuntimeError("input() already active")
112 raise RuntimeError("no active input()")
121 raise RuntimeError("no active input()")
131 raise RuntimeError("no active input()")
141 raise RuntimeError("no active input()")
150 raise RuntimeError("no active input()")
159 raise RuntimeError("no active input()")
168 raise RuntimeError("no active input()")
274 raise RuntimeError("accessing lines out of order")
Dthreading.py193 raise RuntimeError("cannot release un-acquired lock")
210 raise RuntimeError("cannot release un-acquired lock")
312 raise RuntimeError("cannot wait on un-acquired lock")
370 raise RuntimeError("cannot notify on un-acquired lock")
769 class BrokenBarrierError(RuntimeError):
920 raise RuntimeError("thread.__init__() not called")
923 raise RuntimeError("threads can only be started once")
1082 raise RuntimeError("Thread.__init__() not called")
1084 raise RuntimeError("cannot join thread before it is started")
1086 raise RuntimeError("cannot join current thread")
[all …]
Dcontextlib.py137 raise RuntimeError("generator didn't yield") from None
146 raise RuntimeError("generator didn't stop")
159 except RuntimeError as exc:
185 raise RuntimeError("generator didn't stop after throw()")
201 raise RuntimeError("generator didn't yield") from None
210 raise RuntimeError("generator didn't stop")
223 except RuntimeError as exc:
249 raise RuntimeError("generator didn't stop after athrow()")
/third_party/protobuf/csharp/src/Google.Protobuf.Conformance/
DConformance.cs846 case ResultOneofCase.RuntimeError: in ConformanceResponse()
847 RuntimeError = other.RuntimeError; in ConformanceResponse()
916 public string RuntimeError { property in Conformance.ConformanceResponse
917 get { return resultCase_ == ResultOneofCase.RuntimeError ? (string) result_ : ""; }
920 resultCase_ = ResultOneofCase.RuntimeError;
1006 RuntimeError = 2, enumerator
1040 if (RuntimeError != other.RuntimeError) return false; in Equals()
1055 if (resultCase_ == ResultOneofCase.RuntimeError) hash ^= RuntimeError.GetHashCode(); in GetHashCode()
1082 if (resultCase_ == ResultOneofCase.RuntimeError) { in WriteTo()
1084 output.WriteString(RuntimeError); in WriteTo()
[all …]
/third_party/python/Lib/asyncio/
Dtasks.py54 except RuntimeError:
142 raise RuntimeError('Task does not support set_result operation')
145 raise RuntimeError('Task does not support set_exception operation')
256 new_exc = RuntimeError(
263 new_exc = RuntimeError(
277 new_exc = RuntimeError(
288 new_exc = RuntimeError(
295 new_exc = RuntimeError(f'Task got bad yield: {result!r}')
898 raise RuntimeError(f"Cannot enter into task {task!r} while another "
906 raise RuntimeError(f"Leaving task {task!r} does not match "
/third_party/python/Lib/tkinter/test/test_tkinter/
Dtest_font.py125 self.assertRaises(RuntimeError, font.families)
135 self.assertRaises(RuntimeError, font.families)
138 self.assertRaises(RuntimeError, font.names)
149 self.assertRaises(RuntimeError, font.names)
152 self.assertRaises(RuntimeError, font.nametofont, fontname)
159 self.assertRaises(RuntimeError, font.nametofont, fontname)
Dtest_images.py26 self.assertRaises(RuntimeError, tkinter.image_types)
34 self.assertRaises(RuntimeError, tkinter.image_types)
37 self.assertRaises(RuntimeError, tkinter.image_names)
43 self.assertRaises(RuntimeError, tkinter.image_names)
46 self.assertRaises(RuntimeError, tkinter.BitmapImage)
52 self.assertRaises(RuntimeError, tkinter.BitmapImage)
55 self.assertRaises(RuntimeError, tkinter.PhotoImage)
61 self.assertRaises(RuntimeError, tkinter.PhotoImage)
/third_party/node/deps/v8/tools/vim/
Dninja_output.py13 from exceptions import RuntimeError
66 raise RuntimeError('Unable to find a valid ninja output directory.')
71 raise RuntimeError('Expected a single path argument.')
/third_party/python/Lib/unittest/test/
Dtest_functiontestcase.py28 raise RuntimeError('raised by setUp')
56 raise RuntimeError('raised by test')
111 raise RuntimeError('raised by tearDown')
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
Dantora-prep.py241 raise RuntimeError(f'No such file {self.srcpath}')
367 raise RuntimeError(f'Will not overwrite {text}: {path}')
411 RuntimeError(f'Wrote Page {self.dstpath} to Partials, but no Pages link supplied')
422 raise RuntimeError(f'Cannot open output file {path}')
520 raise RuntimeError(f'Error reading filelist {args.filelist}')
564 raise RuntimeError(f'Cannot open output pageMap.cjs file {args.pagemappath}')
/third_party/python/Doc/library/
Dwinsound.rst22 system is not able to beep the speaker, :exc:`RuntimeError` is raised.
33 indicates an error, :exc:`RuntimeError` is raised.
44 error, :exc:`RuntimeError` is raised.
58 raise :exc:`RuntimeError`. Do not use with :const:`SND_FILENAME`.
102 combination of this flag and :const:`SND_ASYNC` will raise :exc:`RuntimeError`.

12345678910>>...16