Home
last modified time | relevance | path

Searched refs:valid_ (Results 1 – 4 of 4) sorted by relevance

/system/update_engine/common/
Dhash_calculator.cc31 HashCalculator::HashCalculator() : valid_(false) { in HashCalculator()
32 valid_ = (SHA256_Init(&ctx_) == 1); in HashCalculator()
33 LOG_IF(ERROR, !valid_) << "SHA256_Init failed"; in HashCalculator()
39 TEST_AND_RETURN_FALSE(valid_); in Update()
Dhash_calculator.h98 bool valid_; variable
/system/extras/simpleperf/
Dutils.h92 return valid_;
100 bool valid_; variable
Dutils.cpp75 ArchiveHelper::ArchiveHelper(int fd, const std::string& debug_filename) : valid_(false) { in ArchiveHelper()
78 valid_ = true; in ArchiveHelper()
85 if (valid_) { in ~ArchiveHelper()