Lines Matching refs:value
48 explicit OptionContent(const char* value) : in OptionContent()
49 type(kString), container(value) {} in OptionContent()
51 explicit OptionContent(int value) : in OptionContent()
52 type(kInteger), container(value) {} in OptionContent()
54 explicit OptionContent(int64_t value) : in OptionContent()
55 type(kInteger), container(value) {} in OptionContent()
93 inline bool Equals(const char* value) const { in Equals()
94 DCHECK(value != nullptr); in Equals()
98 return !strncmp(container.s, value, kOptionStringMaxLength); in Equals()
110 inline bool Equals(int64_t value) const { in Equals()
114 return container.i == value; in Equals()
141 explicit OptionContainer(const char* value) { in OptionContainer() argument
142 DCHECK(value != nullptr); in OptionContainer()
143 s = strndup(value, kOptionStringMaxLength); in OptionContainer()
146 explicit OptionContainer(int64_t value) : i(value) {} in OptionContainer() argument