Home
last modified time | relevance | path

Searched refs:KeyError (Results 1 – 25 of 193) sorted by relevance

12345678

/external/lldb/test/unittest2/test/
Dtest_unittest2_with.py34 self.assertRaises(KeyError, _raise, KeyError)
35 self.assertRaises(KeyError, _raise, KeyError("key"))
37 self.assertRaises(KeyError, lambda: None)
43 self.assertRaises(KeyError, _raise, ValueError)
48 with self.assertRaises(KeyError) as cm:
50 raise KeyError
55 with self.assertRaises(KeyError):
56 raise KeyError("key")
58 with self.assertRaises(KeyError):
65 with self.assertRaises(KeyError):
/external/chromium_org/third_party/bintrees/bintrees/
Dtreemixin.py160 except KeyError:
195 except KeyError:
360 raise KeyError(str(key))
376 except KeyError:
406 except KeyError:
419 except KeyError:
430 raise KeyError("popitem(): tree is empty")
492 raise KeyError("Tree is empty")
501 raise KeyError("Tree is empty")
524 raise KeyError("Tree is empty")
[all …]
Dcwalker.pyx105 raise KeyError(str(key))
114 raise KeyError(str(key))
123 raise KeyError(str(key))
132 raise KeyError(str(key))
Dwalker.py108 raise KeyError(str(key))
120 raise KeyError(str(key))
199 raise KeyError(str(key))
219 raise KeyError(str(key))
Dqbintree.pyx47 raise KeyError(key)
67 raise KeyError(str(key))
Dqrbtree.pyx47 raise KeyError(key)
68 raise KeyError(str(key))
Dqavltree.pyx47 raise KeyError(key)
68 raise KeyError(str(key))
Dbintree.py118 raise KeyError(str(key))
153 raise KeyError(str(key))
/external/chromium_org/chrome/test/mini_installer/
Dregistry_verifier.py22 raise KeyError("Unknown root registry key '%s'" % root_key)
39 raise KeyError("Unknown registry value type '%s'" % value_type)
85 raise KeyError("Value '%s' of registry key %s is missing" % (
Dverifier_runner.py35 raise KeyError('Unknown verifier %s' % verifier_name)
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/pyxelator/
Dparse_core.py27 except KeyError:
48 except KeyError:
58 except KeyError:
/external/chromium_org/third_party/skia/tools/
Dbuildbot_globals.py41 class NoSuchGlobalVariable(KeyError):
71 except KeyError:
/external/skia/tools/
Dbuildbot_globals.py41 class NoSuchGlobalVariable(KeyError):
71 except KeyError:
/external/chromium_org/tools/cr/cr/
Dconfig.py36 raise KeyError('unknown')
122 except KeyError:
159 except KeyError as e:
171 raise KeyError(key)
/external/chromium_org/content/common/media/
Dcdm_messages.h22 IPC_ENUM_TRAITS(media::MediaKeys::KeyError)
69 media::MediaKeys::KeyError /* error_code */,
/external/chromium_org/tools/deep_memory_profiler/lib/
Drange_dict.py86 except KeyError:
98 except KeyError: # begin is less than the smallest element.
120 except KeyError: # end is less than the smallest element.
/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/
Ddescriptor_pool_test.py76 except KeyError:
100 except KeyError:
173 except KeyError:
209 except KeyError:
Dpython_message.py146 raise KeyError('HasExtension() expects an extension handle, got: %s' %
150 raise KeyError('"%s" is not an extension.' % extension_handle.full_name)
153 raise KeyError('"%s" is missing a containing_type.'
157 raise KeyError('Extension "%s" extends message type "%s", but this '
346 except KeyError:
596 except KeyError:
613 except KeyError:
657 raise KeyError('"%s" is repeated.' % extension_handle.full_name)
732 except KeyError:
/external/fonttools/Lib/fontTools/ttLib/
D__init__.py374 except KeyError:
405 raise KeyError("'%s' table not found" % tag)
412 raise KeyError("'%s' table not found" % tag)
421 except KeyError:
550 except KeyError:
568 raise KeyError(glyphName)
575 raise KeyError(glyphName)
580 except KeyError:
643 raise KeyError(tag)
693 except KeyError:
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/
Dlru_cache_unittest.py81 self.assertRaises(KeyError, self.lru2.__getitem__, 'key_2')
83 self.assertRaises(KeyError, self.lru2.__getitem__, 'key_2')
/external/chromium_org/third_party/skia/
Dmake.py67 except KeyError:
80 except KeyError:
/external/skia/
Dmake.py67 except KeyError:
80 except KeyError:
/external/fonttools/Lib/fontTools/ttLib/tables/
D_c_m_a_p.py67 except KeyError:
394 except KeyError:
398 except KeyError:
404 except KeyError:
411 raise KeyError(name)
715 except KeyError:
719 except KeyError:
725 except KeyError:
732 raise KeyError(name)
937 except KeyError:
[all …]
/external/protobuf/python/google/protobuf/
Dreflection.py218 raise KeyError('HasExtension() expects an extension handle, got: %s' %
222 raise KeyError('"%s" is not an extension.' % extension_handle.full_name)
225 raise KeyError('Extension "%s" extends message type "%s", but this '
405 except KeyError:
646 except KeyError:
663 except KeyError:
706 raise KeyError('"%s" is repeated.' % extension_handle.full_name)
764 except KeyError:
/external/chromium_org/third_party/protobuf/python/google/protobuf/
Ddescriptor_pool.py107 except KeyError as error:
113 raise KeyError('Cannot find a file named %s' % file_name)
131 except KeyError as error:
137 raise KeyError('Cannot find a file containing %s' % symbol)

12345678