Home
last modified time | relevance | path

Searched refs:hash_code (Results 1 – 10 of 10) sorted by relevance

/aosp12/art/compiler/optimizing/
H A Dgvn.cc86 size_t hash_code = HashCode(instruction); in Add() local
87 size_t index = BucketIndex(hash_code); in Add()
99 size_t hash_code = HashCode(instruction); in Lookup() local
100 size_t index = BucketIndex(hash_code); in Lookup()
103 if (node->GetHashCode() == hash_code) { in Lookup()
115 size_t hash_code = HashCode(instruction); in Contains() local
116 size_t index = BucketIndex(hash_code); in Contains()
321 return (hash_code << 1) | 0; in HashCode()
323 return (hash_code << 1) | 1; in HashCode()
328 size_t BucketIndex(size_t hash_code) const { in BucketIndex()
[all …]
/aosp12/art/runtime/
H A Dmonitor_pool.h48 int32_t hash_code) in CreateMonitor() argument
51 Monitor* mon = new Monitor(self, owner, obj, hash_code); in CreateMonitor()
55 return GetMonitorPool()->CreateMonitorInPool(self, owner, obj, hash_code); in CreateMonitor()
131 int32_t hash_code)
H A Dlock_word.h156 static LockWord FromHashCode(uint32_t hash_code, uint32_t gc_state) { in FromHashCode() argument
157 CHECK_LE(hash_code, static_cast<uint32_t>(kMaxHash)); in FromHashCode()
159 return LockWord((hash_code << kHashShift) | in FromHashCode()
H A Dmonitor.h159 uint32_t hash_code) REQUIRES_SHARED(Locks::mutator_lock_);
182 Monitor(Thread* self, Thread* owner, ObjPtr<mirror::Object> obj, int32_t hash_code)
184 Monitor(Thread* self, Thread* owner, ObjPtr<mirror::Object> obj, int32_t hash_code, MonitorId id)
210 static void Inflate(Thread* self, Thread* owner, ObjPtr<mirror::Object> obj, int32_t hash_code)
H A Dmonitor_pool.cc111 int32_t hash_code) in CreateMonitorInPool() argument
129 Monitor* monitor = new(mon_uninitialized) Monitor(self, owner, obj, hash_code, id); in CreateMonitorInPool()
H A Dmonitor.cc97 Monitor::Monitor(Thread* self, Thread* owner, ObjPtr<mirror::Object> obj, int32_t hash_code) in Monitor() argument
105 hash_code_(hash_code), in Monitor()
130 int32_t hash_code, in Monitor() argument
139 hash_code_(hash_code), in Monitor()
1033 void Monitor::Inflate(Thread* self, Thread* owner, ObjPtr<mirror::Object> obj, int32_t hash_code) { in Inflate() argument
1037 Monitor* m = MonitorPool::CreateMonitor(self, owner, obj, hash_code); in Inflate()
1044 VLOG(monitor) << "monitor: Inflate with hashcode " << hash_code in Inflate()
1055 uint32_t hash_code) { in InflateThinLocked() argument
1060 Inflate(self, self, obj.Get(), hash_code); in InflateThinLocked()
1079 Inflate(self, owner, obj.Get(), hash_code); in InflateThinLocked()
/aosp12/art/runtime/mirror/
H A Dstring.cc52 int32_t hash_code = 0; in ComputeHashCode() local
54 hash_code = ComputeUtf16Hash(GetValueCompressed(), GetLength()); in ComputeHashCode()
56 hash_code = ComputeUtf16Hash(GetValue(), GetLength()); in ComputeHashCode()
58 SetHashCode(hash_code); in ComputeHashCode()
59 return hash_code; in ComputeHashCode()
H A Dobject_test.cc789 int32_t hash_code = mirror::Object::GenerateIdentityHashCode(); in TEST_F() local
790 EXPECT_NE(hash_code, 0); in TEST_F()
/aosp12/frameworks/base/core/proto/android/view/
H A Dsurfacecontrol.proto30 optional int32 hash_code = 1; field
/aosp12/frameworks/base/core/proto/android/server/
H A Dwindowmanagerservice.proto377 optional int32 hash_code = 2; field
437 optional int32 hash_code = 1; field