/external/python/cpython3/Lib/test/ |
D | test_raise.py | 38 raise IndexError() 39 except IndexError as e: 42 except IndexError as exc2: 174 raise IndexError from 5 182 raise IndexError from KeyError 183 except IndexError as e: 191 raise IndexError from cause 192 except IndexError as e: 203 raise IndexError from MyException 214 raise IndexError() [all …]
|
D | test_xml_dom_minicompat.py | 21 with self.assertRaises(IndexError): 23 with self.assertRaises(IndexError): 54 with self.assertRaises(IndexError): 56 with self.assertRaises(IndexError):
|
D | list_tests.py | 113 self.assertRaises(IndexError, a.__setitem__, -3, 200) 114 self.assertRaises(IndexError, a.__setitem__, 2, 200) 117 self.assertRaises(IndexError, a.__setitem__, 0, 200) 118 self.assertRaises(IndexError, a.__setitem__, -1, 200) 155 self.assertRaises(IndexError, a.__delitem__, -3) 156 self.assertRaises(IndexError, a.__delitem__, 2) 159 self.assertRaises(IndexError, a.__delitem__, 0) 313 self.assertRaises(IndexError, a.pop, 5) 316 self.assertRaises(IndexError, a.pop)
|
D | test_heapq.py | 107 except IndexError: 126 self.assertRaises(IndexError, self.module.heapreplace, [], None) 208 with self.assertRaises(IndexError): 425 with self.assertRaises((IndexError, RuntimeError)): 432 with self.assertRaises((IndexError, RuntimeError)): 445 self.assertRaises(IndexError, self.module.heappushpop, heap, 1) 464 self.assertRaises((IndexError, RuntimeError), self.module.heappush, list1, g(1)) 465 self.assertRaises((IndexError, RuntimeError), self.module.heappush, list2, h(1))
|
/external/python/cpython2/Lib/ctypes/test/ |
D | test_varsize_struct.py | 42 self.assertRaises(IndexError, array.__setitem__, 0, None) 43 self.assertRaises(IndexError, array.__getitem__, 0) 44 self.assertRaises(IndexError, array.__setitem__, 1, None) 45 self.assertRaises(IndexError, array.__getitem__, 1) 46 self.assertRaises(IndexError, array.__setitem__, -1, None) 47 self.assertRaises(IndexError, array.__getitem__, -1)
|
D | test_arrays.py | 31 with self.assertRaises(IndexError): ia[alen] 32 with self.assertRaises(IndexError): ia[-alen-1] 47 self.assertRaises(IndexError, int_array, *range(alen*2))
|
/external/python/cpython3/Lib/ctypes/test/ |
D | test_varsize_struct.py | 42 self.assertRaises(IndexError, array.__setitem__, 0, None) 43 self.assertRaises(IndexError, array.__getitem__, 0) 44 self.assertRaises(IndexError, array.__setitem__, 1, None) 45 self.assertRaises(IndexError, array.__getitem__, 1) 46 self.assertRaises(IndexError, array.__setitem__, -1, None) 47 self.assertRaises(IndexError, array.__getitem__, -1)
|
/external/llvm-project/clang/lib/CrossTU/ |
D | CrossTranslationUnit.cpp | 138 char IndexError::ID; 140 void IndexError::log(raw_ostream &OS) const { in log() 144 std::error_code IndexError::convertToErrorCode() const { in convertToErrorCode() 152 return llvm::make_error<IndexError>(index_error_code::missing_index_file, in parseCrossTUIndex() 172 return llvm::make_error<IndexError>( in parseCrossTUIndex() 175 return llvm::make_error<IndexError>( in parseCrossTUIndex() 260 return llvm::make_error<IndexError>( in getCrossTUDefinitionImpl() 281 return llvm::make_error<IndexError>(index_error_code::triple_mismatch, in getCrossTUDefinitionImpl() 293 return llvm::make_error<IndexError>(index_error_code::lang_mismatch); in getCrossTUDefinitionImpl() 314 return llvm::make_error<IndexError>( in getCrossTUDefinitionImpl() [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_pickle.py | 27 bad_stack_errors = (IndexError,) 28 bad_mark_errors = (IndexError, pickle.UnpicklingError, 32 struct.error, IndexError, ImportError, 38 bad_stack_errors = (IndexError,) 39 bad_mark_errors = (IndexError, pickle.UnpicklingError, 43 struct.error, IndexError, ImportError,
|
D | test_userstring.py | 52 self.assertRaises(IndexError, s.__setitem__, -4, "bar") 53 self.assertRaises(IndexError, s.__setitem__, 3, "bar") 61 self.assertRaises(IndexError, s.__delitem__, -4) 62 self.assertRaises(IndexError, s.__delitem__, 3)
|
D | test_memoryview.py | 40 self.assertRaises(IndexError, lambda: m[6]) 41 self.assertRaises(IndexError, lambda: m[-7]) 42 self.assertRaises(IndexError, lambda: m[sys.maxsize]) 43 self.assertRaises(IndexError, lambda: m[-sys.maxsize]) 107 self.assertRaises(IndexError, setitem, 6, b"a") 108 self.assertRaises(IndexError, setitem, -7, b"a") 109 self.assertRaises(IndexError, setitem, sys.maxsize, b"a") 110 self.assertRaises(IndexError, setitem, -sys.maxsize, b"a")
|
D | seq_tests.py | 158 self.assertRaises(IndexError, u.__getitem__, -len(u)-1) 159 self.assertRaises(IndexError, u.__getitem__, len(u)) 163 self.assertRaises(IndexError, u.__getitem__, 0) 164 self.assertRaises(IndexError, u.__getitem__, -1) 173 self.assertRaises(IndexError, a.__getitem__, -3) 174 self.assertRaises(IndexError, a.__getitem__, 3) 336 self.assertRaises(IndexError, a.__getitem__, -3) 337 self.assertRaises(IndexError, a.__getitem__, 3)
|
D | list_tests.py | 98 self.assertRaises(IndexError, a.__setitem__, -3, 200) 99 self.assertRaises(IndexError, a.__setitem__, 2, 200) 102 self.assertRaises(IndexError, a.__setitem__, 0, 200) 103 self.assertRaises(IndexError, a.__setitem__, -1, 200) 136 self.assertRaises(IndexError, a.__delitem__, -3) 137 self.assertRaises(IndexError, a.__delitem__, 2) 140 self.assertRaises(IndexError, a.__delitem__, 0) 284 self.assertRaises(IndexError, a.pop, 5) 287 self.assertRaises(IndexError, a.pop)
|
/external/autotest/server/ |
D | base_utils_unittest.py | 63 baddata = ((':22', IndexError), # neglect to pass a hostname #1 64 ('user@', IndexError), # neglect to pass a hostname #2 65 ('user@:22', IndexError), # neglect to pass a hostname #3
|
/external/tensorflow/tensorflow/python/ops/ragged/ |
D | ragged_getitem_test.py | 278 (SLICE_BUILDER[5], (IndexError, ValueError, errors.InvalidArgumentError), 280 (SLICE_BUILDER[-6], (IndexError, ValueError, errors.InvalidArgumentError), 282 (SLICE_BUILDER[0, 2], (IndexError, ValueError, 284 (SLICE_BUILDER[3, 0], (IndexError, ValueError, 309 0], IndexError, 'Too many indices for RaggedTensor'), 408 (SLICE_BUILDER[1, 0], (IndexError, ValueError, 411 (IndexError, ValueError, 413 (SLICE_BUILDER[5], (IndexError, ValueError, errors.InvalidArgumentError), 415 (SLICE_BUILDER[0, 5], (IndexError, ValueError, 437 (SLICE_BUILDER[0], (IndexError, ValueError, errors.InvalidArgumentError), [all …]
|
/external/llvm-project/clang/include/clang/CrossTU/ |
D | CrossTranslationUnit.h | 59 class IndexError : public llvm::ErrorInfo<IndexError> { 62 IndexError(index_error_code C) : Code(C), LineNo(0) {} in IndexError() function 63 IndexError(index_error_code C, std::string FileName, int LineNo = 0) 65 IndexError(index_error_code C, std::string FileName, std::string TripleToName, in IndexError() function 183 void emitCrossTUDiagnostics(const IndexError &IE);
|
/external/perfetto/test/trace_processor/python/ |
D | api_unittest.py | 98 with self.assertRaises(IndexError): 120 with self.assertRaises(IndexError): 139 with self.assertRaises(IndexError): 234 with self.assertRaises(IndexError): 255 with self.assertRaises(IndexError): 273 with self.assertRaises(IndexError):
|
/external/python/cpython3/Lib/sqlite3/test/ |
D | factory.py | 115 with self.assertRaises(IndexError): 117 with self.assertRaises(IndexError): 119 with self.assertRaises(IndexError): 121 with self.assertRaises(IndexError): 123 with self.assertRaises(IndexError): 125 with self.assertRaises(IndexError): 132 with self.assertRaises(IndexError): 134 with self.assertRaises(IndexError):
|
/external/python/cpython3/Lib/multiprocessing/ |
D | shared_memory.py | 373 raise IndexError("Requested position out of range.") 389 raise IndexError("Requested position out of range.") 405 raise IndexError("Requested position out of range.") 431 except IndexError: 432 raise IndexError("index out of range") 445 except IndexError: 446 raise IndexError("assignment index out of range")
|
/external/python/cpython2/Lib/sqlite3/test/ |
D | factory.py | 121 with self.assertRaises(IndexError): 123 with self.assertRaises(IndexError): 125 with self.assertRaises(IndexError): 127 with self.assertRaises(IndexError): 129 with self.assertRaises(IndexError): 131 with self.assertRaises(IndexError):
|
/external/python/cpython2/Lib/json/ |
D | decoder.py | 114 except IndexError: 190 except IndexError: 204 except IndexError: 221 except IndexError: 267 except IndexError:
|
/external/tensorflow/tensorflow/python/keras/utils/ |
D | data_utils_test.py | 110 raise IndexError(item, 'item is not present') 161 with self.assertRaises(IndexError): 171 with self.assertRaises(IndexError): 202 with self.assertRaises(IndexError): 211 with self.assertRaises(IndexError):
|
/external/python/cpython3/Lib/test/test_tools/test_c_analyzer/test_parser/ |
D | test_declarations.py | 550 except IndexError: 558 except IndexError: 566 except IndexError: 574 except IndexError: 582 except IndexError:
|
/external/toolchain-utils/cros_utils/ |
D | timeline_test.py | 45 self.assertRaises(IndexError, tl.GetEventTime, 'B') 49 self.assertRaises(IndexError, tl.GetLastEventTime)
|
/external/python/pybind11/tests/ |
D | test_numpy_array.py | 39 with pytest.raises(IndexError) as excinfo: 42 with pytest.raises(IndexError) as excinfo: 60 with pytest.raises(IndexError) as excinfo: 63 with pytest.raises(IndexError) as excinfo: 94 with pytest.raises(IndexError) as excinfo: 119 with pytest.raises(IndexError) as excinfo: 171 with pytest.raises(IndexError) as excinfo: 174 with pytest.raises(IndexError) as excinfo:
|