HomeSort by relevance Sort by last modified time
    Searched full:hashable (Results 1 - 25 of 100) sorted by null

1 2 3 4

  /frameworks/base/tools/aapt/
ResourceIdCache.cpp 51 String16 hashable = String16(name); local
52 hashable += type;
53 hashable += package;
54 hashable += (onlyPublic ? TRUE16 : FALSE16);
55 return hashable;
  /external/autotest/client/site_tests/firmware_TouchMTB/geometry/
elements.py 46 In order to put an item into a set, it needs to be hashable.
47 To make an object hashable, it must meet the consistency requirement:
105 In order to put an item into a sets.Set, it needs to be hashable.
106 To make an object hashable, it must meet the consistency requirement:
  /external/vboot_reference/firmware/2lib/include/
2fw_hash_tags.h 13 * Tags for types of hashable data.
  /external/autotest/scheduler/
rdb_requests.py 11 defines the set of fields the rdb needs to fulfill the request, and a hashable
122 'hashable %s: %s, %s failed this test.' %
140 """A hashable dictionary.
142 This class assumes all values of the input dict are hashable.
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_hash.py 14 from collections import Hashable
116 self.assertIsInstance(obj, Hashable)
120 self.assertNotIsInstance(obj, Hashable)
123 # Issue #4701: Check that some builtin types are correctly hashable
test_collections.py 12 from collections import Hashable, Iterable, Iterator
293 self.assertNotIsInstance(x, Hashable)
294 self.assertFalse(issubclass(type(x), Hashable), repr(type(x)))
303 self.assertIsInstance(x, Hashable)
304 self.assertTrue(issubclass(type(x), Hashable), repr(type(x)))
305 self.assertRaises(TypeError, Hashable)
307 class H(Hashable):
310 __eq__ = Hashable.__eq__ # Silence Py3k warning
313 self.validate_abstract_methods(Hashable, '__hash__')
314 self.validate_isinstance(Hashable, '__hash__'
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_hash.py 14 from collections import Hashable
116 self.assertIsInstance(obj, Hashable)
120 self.assertNotIsInstance(obj, Hashable)
123 # Issue #4701: Check that some builtin types are correctly hashable
test_collections.py 12 from collections import Hashable, Iterable, Iterator
293 self.assertNotIsInstance(x, Hashable)
294 self.assertFalse(issubclass(type(x), Hashable), repr(type(x)))
303 self.assertIsInstance(x, Hashable)
304 self.assertTrue(issubclass(type(x), Hashable), repr(type(x)))
305 self.assertRaises(TypeError, Hashable)
307 class H(Hashable):
310 __eq__ = Hashable.__eq__ # Silence Py3k warning
313 self.validate_abstract_methods(Hashable, '__hash__')
314 self.validate_isinstance(Hashable, '__hash__'
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_hash.py 14 from collections import Hashable
116 self.assertIsInstance(obj, Hashable)
120 self.assertNotIsInstance(obj, Hashable)
123 # Issue #4701: Check that some builtin types are correctly hashable
test_collections.py 12 from collections import Hashable, Iterable, Iterator
293 self.assertNotIsInstance(x, Hashable)
294 self.assertFalse(issubclass(type(x), Hashable), repr(type(x)))
303 self.assertIsInstance(x, Hashable)
304 self.assertTrue(issubclass(type(x), Hashable), repr(type(x)))
305 self.assertRaises(TypeError, Hashable)
307 class H(Hashable):
310 __eq__ = Hashable.__eq__ # Silence Py3k warning
313 self.validate_abstract_methods(Hashable, '__hash__')
314 self.validate_isinstance(Hashable, '__hash__'
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_hash.py 14 from collections import Hashable
116 self.assertIsInstance(obj, Hashable)
120 self.assertNotIsInstance(obj, Hashable)
123 # Issue #4701: Check that some builtin types are correctly hashable
test_collections.py 12 from collections import Hashable, Iterable, Iterator
293 self.assertNotIsInstance(x, Hashable)
294 self.assertFalse(issubclass(type(x), Hashable), repr(type(x)))
303 self.assertIsInstance(x, Hashable)
304 self.assertTrue(issubclass(type(x), Hashable), repr(type(x)))
305 self.assertRaises(TypeError, Hashable)
307 class H(Hashable):
310 __eq__ = Hashable.__eq__ # Silence Py3k warning
313 self.validate_abstract_methods(Hashable, '__hash__')
314 self.validate_isinstance(Hashable, '__hash__'
    [all...]
  /system/core/crash_reporter/
kernel_collector.cc 346 std::string hashable; local
361 hashable.empty() ? "" : " Saving prior trace.");
363 previous_hashable = hashable;
364 hashable.clear();
380 if (!hashable.empty())
381 hashable.append("|");
386 hashable.append(function_name);
395 // In addition, if the hashable is empty (meaning all frames are uncertain,
398 if (is_watchdog || hashable.empty()) {
399 hashable = previous_hashable
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/
_abcoll.py 14 __all__ = ["Hashable", "Iterable", "Iterator",
32 class Hashable:
41 if cls is Hashable:
225 # Sets are not hashable by default, but subclasses can change this
231 Note that we don't define __hash__: not all sets are hashable.
232 But if you define a hashable set type, its __hash__ should
401 # Mappings are not hashable by default, but subclasses can change this
sets.py 23 Set -- Mutable sets, subclass of BaseSet; not hashable.
25 ImmutableSet -- Immutable sets, subclass of BaseSet; hashable.
28 _TemporarilyImmutableSet -- A wrapper around a Set, hashable,
32 Only hashable objects can be added to a Set. In particular, you cannot
334 # not called __hash__ because a BaseSet should not be hashable;
335 # only an ImmutableSet is hashable.
  /prebuilts/gdb/linux-x86/lib/python2.7/
_abcoll.py 14 __all__ = ["Hashable", "Iterable", "Iterator",
32 class Hashable:
41 if cls is Hashable:
225 # Sets are not hashable by default, but subclasses can change this
231 Note that we don't define __hash__: not all sets are hashable.
232 But if you define a hashable set type, its __hash__ should
401 # Mappings are not hashable by default, but subclasses can change this
sets.py 23 Set -- Mutable sets, subclass of BaseSet; not hashable.
25 ImmutableSet -- Immutable sets, subclass of BaseSet; hashable.
28 _TemporarilyImmutableSet -- A wrapper around a Set, hashable,
32 Only hashable objects can be added to a Set. In particular, you cannot
334 # not called __hash__ because a BaseSet should not be hashable;
335 # only an ImmutableSet is hashable.
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
_abcoll.py 14 __all__ = ["Hashable", "Iterable", "Iterator",
32 class Hashable:
41 if cls is Hashable:
225 # Sets are not hashable by default, but subclasses can change this
231 Note that we don't define __hash__: not all sets are hashable.
232 But if you define a hashable set type, its __hash__ should
401 # Mappings are not hashable by default, but subclasses can change this
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
_abcoll.py 14 __all__ = ["Hashable", "Iterable", "Iterator",
32 class Hashable:
41 if cls is Hashable:
225 # Sets are not hashable by default, but subclasses can change this
231 Note that we don't define __hash__: not all sets are hashable.
232 But if you define a hashable set type, its __hash__ should
401 # Mappings are not hashable by default, but subclasses can change this
  /prebuilts/gdb/darwin-x86/lib/python2.7/unittest/
util.py 102 # elements need not be hashable
144 # elements must be hashable
  /prebuilts/gdb/linux-x86/lib/python2.7/unittest/
util.py 102 # elements need not be hashable
144 # elements must be hashable
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/
util.py 102 # elements need not be hashable
144 # elements must be hashable
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/
util.py 102 # elements need not be hashable
144 # elements must be hashable
  /art/test/utils/python/testgen/
mixins.py 116 collections.abc.Hashable.register(NameComparableMixin)
  /hardware/qcom/msm8996/original-kernel-headers/linux/
msm_ipa.h 304 * Hashable: Rule will be located at the hashable tables
305 * Non_Hashable: Rule will be located at the non-hashable tables
646 * @hashable: bool switch. is this rule hashable or not?
647 * ipa uses hashable rules to cache their hit results to be used in
662 uint8_t hashable; member in struct:ipa_flt_rule
707 * @hashable: bool switch. is this rule hashable or not?
708 * ipa uses hashable rules to cache their hit results to be used i
719 uint8_t hashable; member in struct:ipa_rt_rule
    [all...]

Completed in 693 milliseconds

1 2 3 4