Lines Matching refs:index
133 void DhcpProperties::ClearMappedStringProperty(const size_t& index, in ClearMappedStringProperty() argument
135 CHECK(index < arraysize(kPropertyNames)); in ClearMappedStringProperty()
136 if (properties_.ContainsString(kPropertyNames[index])) { in ClearMappedStringProperty()
137 properties_.RemoveString(kPropertyNames[index]); in ClearMappedStringProperty()
143 string DhcpProperties::GetMappedStringProperty(const size_t& index, in GetMappedStringProperty() argument
145 CHECK(index < arraysize(kPropertyNames)); in GetMappedStringProperty()
146 if (properties_.ContainsString(kPropertyNames[index])) { in GetMappedStringProperty()
147 return properties_.GetString(kPropertyNames[index]); in GetMappedStringProperty()
154 const size_t& index, const string& value, Error* error) { in SetMappedStringProperty() argument
155 CHECK(index < arraysize(kPropertyNames)); in SetMappedStringProperty()
156 if (properties_.ContainsString(kPropertyNames[index]) && in SetMappedStringProperty()
157 properties_.GetString(kPropertyNames[index]) == value) { in SetMappedStringProperty()
160 properties_.SetString(kPropertyNames[index], value); in SetMappedStringProperty()