Home
last modified time | relevance | path

Searched refs:crc_ (Results 1 – 9 of 9) sorted by relevance

/external/icing/icing/util/
Dcrc32.cc39 uint32_t Crc32::Get() const { return crc_; } in Get()
42 crc_ = UpdateCrc32(crc_, str); in Append()
43 return crc_; in Append()
91 crc_ ^= update_crc; in UpdateWithXor()
92 return crc_; in UpdateWithXor()
Dcrc32.h34 Crc32() : crc_(0) {} in Crc32()
36 explicit Crc32(uint32_t init_crc) : crc_(init_crc) {} in Crc32()
39 return crc_ == other.Get();
98 uint32_t crc_;
/external/pigweed/pw_kvs/public/pw_kvs/
Dcrc16_checksum.h26 : ChecksumAlgorithm(std::as_bytes(std::span<uint16_t>(&crc_, 1))) {} in ChecksumCrc16()
28 void Reset() override { crc_ = checksum::Crc16Ccitt::kInitialValue; } in Reset()
31 crc_ = checksum::Crc16Ccitt::Calculate(data, crc_); in Update()
35 uint16_t crc_ = checksum::Crc16Ccitt::kInitialValue;
/external/pigweed/pw_persistent_ram/public/pw_persistent_ram/
Dpersistent.h69 ~Mutator() { persistent_.crc_ = persistent_.CalculateCrc(); } in ~Mutator()
97 crc_ = CalculateCrc(); in emplace()
105 crc_ = CalculateCrc();
113 crc_ = 0; in reset()
118 return crc_ == CalculateCrc(); // There's a value if its CRC matches. in has_value()
170 volatile uint16_t crc_; member
/external/stressapptest/src/
Dpattern.cc237 crc_ = NULL; in Pattern()
241 if (crc_ != NULL) { in ~Pattern()
242 delete crc_; in ~Pattern()
276 if (crc_ != NULL) { in CalculateCrc()
277 delete crc_; in CalculateCrc()
279 crc_ = new AdlerChecksum(); in CalculateCrc()
280 crc_->Set(a1, a2, b1, b2); in CalculateCrc()
Dpattern.h68 const AdlerChecksum *crc() {return crc_;} in crc()
78 AdlerChecksum *crc_; // CRC of this pattern. variable
/external/google-breakpad/src/common/mac/
Dmacho_id.cc59 crc_(0), in MachoID()
68 crc_(0), in MachoID()
93 uint32_t sum1 = crc_ & 0xFFFF; in UpdateCRC()
94 uint32_t sum2 = (crc_ >> 16) & 0xFFFF; in UpdateCRC()
121 crc_ = (sum2 << 16) | sum1; in UpdateCRC()
217 crc_ = 0; in Adler32()
222 return crc_; in Adler32()
Dmacho_id.h120 uint32_t crc_; variable
/external/libabigail/src/
Dabg-ir.cc1321 uint64_t crc_; member
1339 crc_(0), in priv()
1369 crc_(crc), in priv()
1754 {return priv_->crc_;} in get_crc()
1761 {priv_->crc_ = crc;} in set_crc()