Home
last modified time | relevance | path

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

/system/nvram/messages/include/nvram/messages/
Doptional.h27 explicit Optional(ValueType value) : value_(value), valid_(true) {} in Optional()
29 bool valid() const { return valid_; } in valid()
34 valid_ = true; in Activate()
41 valid_ = false; in Clear()
46 bool valid_ = false; variable
/system/core/libunwindstack/
DElf.h45 return valid_ && interface_->GetSoname(name); in GetSoname()
53 return valid_ && interface_->Step(rel_pc, regs, process_memory); in Step()
58 bool valid() { return valid_; } in valid()
71 bool valid_ = false;
DElf.cpp43 valid_ = interface_->Init(); in Init()
44 if (valid_) { in Init()
49 return valid_; in Init()
/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.h95 return valid_;
103 bool valid_; variable
Dutils.cpp80 ArchiveHelper::ArchiveHelper(int fd, const std::string& debug_filename) : valid_(false) { in ArchiveHelper()
83 valid_ = true; in ArchiveHelper()
90 if (valid_) { in ~ArchiveHelper()
/system/connectivity/wificond/scanning/
Dscanner_impl.cpp50 : valid_(true), in ScannerImpl()
88 if (!valid_) { in CheckIsValid()
92 return valid_; in CheckIsValid()
Dscanner_impl.h87 bool valid_; variable
/system/core/libunwindstack/tests/
DRegsTest.cpp30 ElfFake(Memory* memory) : Elf(memory) { valid_ = true; } in ElfFake()