Lines Matching refs:list
47 // Populates |out| with |list|. Returns false if there is no list at the
48 // specified key or if the list has anything other than |T|.
51 const base::ListValue& list, std::vector<T>* out) {
54 for (size_t i = 0; i < list.GetSize(); ++i) {
55 if (!GetItemFromList(list, i, &value))
63 // Populates |out| with |from|.|name|. Returns false if there is no list at
64 // the specified key or if the list has anything other than |T|.
70 const base::ListValue* list = NULL;
71 if (!from.GetListWithoutPathExpansion(name, &list))
74 return PopulateArrayFromList(*list, out);
77 // Creates a new vector containing |list| at |out|. Returns
79 // if anything other than a list of |T| is at the specified key.
82 const base::ListValue& list,
86 for (size_t i = 0; i < list.GetSize(); ++i) {
87 if (!GetItemFromList(list, i, &value)) {
99 // if anything other than a list of |T| is at the specified key.
105 const base::ListValue* list = NULL;
114 list = static_cast<const base::ListValue*>(maybe_list);
117 return PopulateOptionalArrayFromList(*list, out);
163 base::ListValue* list = new base::ListValue();
164 PopulateListFromArray(from, list);
165 return scoped_ptr<base::Value>(list);