Lines Matching refs:result
261 const Value* result = FindKey(key);
262 if (!result || result->type() != type)
264 return result;
278 auto result = dict_.try_emplace(key, std::move(val_ptr));
279 if (!result.second) {
281 result.first->second = std::move(val_ptr);
283 return result.first->second.get();
340 const Value* result = FindPath(path);
341 if (!result || result->type() != type)
343 return result;
740 auto result = dict_.try_emplace(key, std::move(in_value));
741 if (!result.second) {
743 result.first->second = std::move(in_value);
745 return result.first->second.get();
827 bool result = Get(path, &value);
828 if (!result || !value->is_blob())
845 bool result = Get(path, &value);
846 if (!result || !value->is_dict())
864 bool result = Get(path, &value);
865 if (!result || !value->is_list())
939 bool result = GetWithoutPathExpansion(key, &value);
940 if (!result || !value->is_dict())
962 bool result = GetWithoutPathExpansion(key, &value);
963 if (!result || !value->is_list())
1011 bool result = false;
1021 result = subdict->RemovePath(path.substr(delimiter_position + 1), out_value);
1022 if (result && subdict->empty())
1025 return result;
1081 [[maybe_unused]] auto result = value.release();
1161 bool result = Get(index, &value);
1162 if (!result || !value->is_dict())
1178 bool result = Get(index, &value);
1179 if (!result || !value->is_list())