Lines Matching defs:cur
313 const Value* cur = this;
315 if (!cur->is_dict() || (cur = cur->FindKey(component)) == nullptr)
318 return cur;
357 Value* cur = this;
360 if (!cur->is_dict())
365 auto found = cur->dict_.lower_bound(path_component);
366 if (found == cur->dict_.end() || found->first != path_component) {
368 auto inserted = cur->dict_.try_emplace(
370 cur = inserted->second.get();
372 cur = found->second.get();
376 // "cur" will now contain the last dictionary to insert or replace into.
377 if (!cur->is_dict())
379 return cur->SetKey(*cur_path, std::move(value));