Lines Matching refs:name
120 /** Find the stream type enum corresponding to the stream type name or return false */
135 const char* name = xmlLibrary.Attribute("name");
137 if (name == nullptr || path == nullptr) {
138 ALOGE("library must have a name and a path: %s", dump(xmlLibrary));
141 libraries->push_back({name, path});
145 /** Find an element in a collection by its name.
149 T* findByName(const char* name, std::vector<T>& collection) {
151 [name] (auto& item) { return item.name == name; });
161 const char* name = xmlEffect.Attribute("name");
162 if (name == nullptr) {
163 ALOGE("%s must have a name: %s", xmlEffect.Value(), dump(xmlEffect));
166 effect.name = name;
170 // Retrieve library name and uuid from xml
174 ALOGE("effect must have a library name and a uuid: %s", dump(xmlImpl));
178 // Convert library name to a pointer to the previously loaded library