Home
last modified time | relevance | path

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

/system/libvintf/
Dparse_string.cpp105 std::ostream &operator<<(std::ostream &os, const KernelConfigTypedValue &kctv) {
106 switch (kctv.mType) {
108 return os << kctv.mStringValue;
110 return os << to_string(kctv.mIntegerValue);
112 return os << to_string(kctv.mRangeValue.first) << "-"
113 << to_string(kctv.mRangeValue.second);
115 return os << to_string(kctv.mTristateValue);
187 bool parseKernelConfigValue(const std::string &s, KernelConfigTypedValue *kctv) { in parseKernelConfigValue() argument
188 switch (kctv->mType) { in parseKernelConfigValue()
190 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.h92 bool parseKernelConfigValue(const std::string &s, KernelConfigTypedValue *kctv);
96 bool parseKernelConfigTypedValue(const std::string& s, KernelConfigTypedValue* kctv);