Home
last modified time | relevance | path

Searched refs:kctv (Results 1 – 3 of 3) sorted by relevance

/system/libvintf/
Dparse_string.cpp102 std::ostream &operator<<(std::ostream &os, const KernelConfigTypedValue &kctv) { in operator <<() argument
103 switch (kctv.mType) { in operator <<()
105 return os << kctv.mStringValue; in operator <<()
107 return os << to_string(kctv.mIntegerValue); in operator <<()
109 return os << to_string(kctv.mRangeValue.first) << "-" in operator <<()
110 << to_string(kctv.mRangeValue.second); in operator <<()
112 return os << to_string(kctv.mTristateValue); in operator <<()
184 bool parseKernelConfigValue(const std::string &s, KernelConfigTypedValue *kctv) { in parseKernelConfigValue() argument
185 switch (kctv->mType) { in parseKernelConfigValue()
187 kctv->mStringValue = s; in parseKernelConfigValue()
[all …]
/system/libvintf/include/vintf/
DKernelConfigTypedValue.h50 friend std::ostream &operator<<(std::ostream &os, const KernelConfigTypedValue &kctv);
51 friend bool parseKernelConfigValue(const std::string &s, KernelConfigTypedValue *kctv);
52 friend bool parseKernelConfigTypedValue(const std::string& s, KernelConfigTypedValue* kctv);
Dparse_string.h95 bool parseKernelConfigValue(const std::string &s, KernelConfigTypedValue *kctv);
99 bool parseKernelConfigTypedValue(const std::string& s, KernelConfigTypedValue* kctv);