Lines Matching refs:in_value
735 Value* DictionaryValue::Set(StringPiece path, std::unique_ptr<Value> in_value) { in Set() argument
737 DCHECK(in_value); in Set()
758 ->SetWithoutPathExpansion(current_path, std::move(in_value)); in Set()
761 Value* DictionaryValue::SetBoolean(StringPiece path, bool in_value) { in SetBoolean() argument
762 return Set(path, std::make_unique<Value>(in_value)); in SetBoolean()
765 Value* DictionaryValue::SetInteger(StringPiece path, int in_value) { in SetInteger() argument
766 return Set(path, std::make_unique<Value>(in_value)); in SetInteger()
769 Value* DictionaryValue::SetDouble(StringPiece path, double in_value) { in SetDouble() argument
770 return Set(path, std::make_unique<Value>(in_value)); in SetDouble()
773 Value* DictionaryValue::SetString(StringPiece path, StringPiece in_value) { in SetString() argument
774 return Set(path, std::make_unique<Value>(in_value)); in SetString()
777 Value* DictionaryValue::SetString(StringPiece path, const string16& in_value) { in SetString() argument
778 return Set(path, std::make_unique<Value>(in_value)); in SetString()
783 std::unique_ptr<DictionaryValue> in_value) { in SetDictionary() argument
784 return static_cast<DictionaryValue*>(Set(path, std::move(in_value))); in SetDictionary()
788 std::unique_ptr<ListValue> in_value) { in SetList() argument
789 return static_cast<ListValue*>(Set(path, std::move(in_value))); in SetList()
794 std::unique_ptr<Value> in_value) { in SetWithoutPathExpansion() argument
797 auto result = dict_.try_emplace(key, std::move(in_value)); in SetWithoutPathExpansion()
800 result.first->second = std::move(in_value); in SetWithoutPathExpansion()
1179 bool ListValue::Set(size_t index, std::unique_ptr<Value> in_value) { in Set() argument
1180 if (!in_value) in Set()
1186 list_[index] = std::move(*in_value); in Set()
1315 void ListValue::Append(std::unique_ptr<Value> in_value) { in Append() argument
1316 list_.push_back(std::move(*in_value)); in Append()
1319 void ListValue::AppendBoolean(bool in_value) { in AppendBoolean() argument
1320 list_.emplace_back(in_value); in AppendBoolean()
1323 void ListValue::AppendInteger(int in_value) { in AppendInteger() argument
1324 list_.emplace_back(in_value); in AppendInteger()
1327 void ListValue::AppendDouble(double in_value) { in AppendDouble() argument
1328 list_.emplace_back(in_value); in AppendDouble()
1331 void ListValue::AppendString(StringPiece in_value) { in AppendString() argument
1332 list_.emplace_back(in_value); in AppendString()
1335 void ListValue::AppendString(const string16& in_value) { in AppendString() argument
1336 list_.emplace_back(in_value); in AppendString()
1341 for (const auto& in_value : in_values) in AppendStrings() local
1342 list_.emplace_back(in_value); in AppendStrings()
1347 for (const auto& in_value : in_values) in AppendStrings() local
1348 list_.emplace_back(in_value); in AppendStrings()
1351 bool ListValue::AppendIfNotPresent(std::unique_ptr<Value> in_value) { in AppendIfNotPresent() argument
1352 DCHECK(in_value); in AppendIfNotPresent()
1353 if (ContainsValue(list_, *in_value)) in AppendIfNotPresent()
1356 list_.push_back(std::move(*in_value)); in AppendIfNotPresent()
1360 bool ListValue::Insert(size_t index, std::unique_ptr<Value> in_value) { in Insert() argument
1361 DCHECK(in_value); in Insert()
1365 list_.insert(list_.begin() + index, std::move(*in_value)); in Insert()