Home | History | Annotate | Download | only in base

Lines Matching defs:copy

13 // Make a deep copy of |node|, but don't include empty lists or dictionaries
14 // in the copy. It's possible for this function to return NULL and it
21 ListValue* copy = new ListValue;
26 copy->Append(child_copy);
28 if (!copy->empty())
29 return copy;
31 delete copy;
37 DictionaryValue* copy = new DictionaryValue;
45 copy->SetWithoutPathExpansion(*it, child_copy);
47 if (!copy->empty())
48 return copy;
50 delete copy;
55 // For everything else, just make a copy.
625 Value* copy = CopyWithoutEmptyChildren(this);
626 return copy ? static_cast<DictionaryValue*>(copy) : new DictionaryValue;
643 // All other cases: Make a copy and hook it up.