Home
last modified time | relevance | path

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

/system/libvintf/
Dparse_string.cpp101 std::ostream &operator<<(std::ostream &os, const KernelConfigTypedValue &kctv) { in operator <<() argument
102 switch (kctv.mType) { in operator <<()
104 return os << kctv.mStringValue; in operator <<()
106 return os << to_string(kctv.mIntegerValue); in operator <<()
108 return os << to_string(kctv.mRangeValue.first) << "-" in operator <<()
109 << to_string(kctv.mRangeValue.second); in operator <<()
111 return os << to_string(kctv.mTristateValue); in operator <<()
156 bool parseKernelConfigValue(const std::string &s, KernelConfigTypedValue *kctv) { in parseKernelConfigValue() argument
157 switch (kctv->mType) { in parseKernelConfigValue()
159 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);
Dparse_string.h78 bool parseKernelConfigValue(const std::string &s, KernelConfigTypedValue *kctv);