Home
last modified time | relevance | path

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

/device/google/cuttlefish/host/commands/secure_env/
Dtpm_serialize.cpp43 TpmSerializable<T>::TpmSerializable(T* instance) : instance_(instance) {} in TpmSerializable()
48 auto rc = MarshalFn<T>(instance_, nullptr, sizeof(T), &size); in SerializedSize()
60 auto rc = MarshalFn<T>(instance_, buf, end - buf, &offset); in Serialize()
73 auto rc = UnmarshalFn<T>(*buf_ptr, end - *buf_ptr, &offset, instance_); in Deserialize()
Dtpm_serialize.h48 Type* instance_;
/device/google/contexthub/util/nanotool/
Dcalibrationfile.cpp26 std::shared_ptr<CalibrationFile> CalibrationFile::instance_; member in android::CalibrationFile
29 if (!CalibrationFile::instance_) { in Instance()
32 CalibrationFile::instance_ = inst; in Instance()
36 return CalibrationFile::instance_; in Instance()
Dcalibrationfile.h50 static std::shared_ptr<CalibrationFile> instance_; variable