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) {
103 switch (kctv.mType) {
105 return os << kctv.mStringValue;
107 return os << to_string(kctv.mIntegerValue);
109 return os << to_string(kctv.mRangeValue.first) << "-"
110 << to_string(kctv.mRangeValue.second);
112 return os << to_string(kctv.mTristateValue);
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);