Home
last modified time | relevance | path

Searched refs:new_hash_code (Results 1 – 2 of 2) sorted by relevance

/art/runtime/mirror/
Dstring.h288 void SetHashCode(int32_t new_hash_code) REQUIRES_SHARED(Locks::mutator_lock_) { in SetHashCode() argument
290 CHECK_EQ(new_hash_code, ComputeHashCode()); in SetHashCode()
293 CHECK(old_hash_code == 0 || old_hash_code == new_hash_code) in SetHashCode()
294 << "old: " << old_hash_code << " new: " << new_hash_code; in SetHashCode()
299 OFFSET_OF_OBJECT_MEMBER(String, hash_code_), new_hash_code); in SetHashCode()
Dstring.cc53 int32_t new_hash_code = ComputeHashCode(); in ComputeAndSetHashCode() local
54 SetHashCode(new_hash_code); in ComputeAndSetHashCode()
55 return new_hash_code; in ComputeAndSetHashCode()