• Home
  • Raw
  • Download

Lines Matching refs:curElem

41     const XMLElement *curElem = rootElem;  in printElementNames()  local
43 while (curElem != nullptr) { in printElementNames()
44 LOG(VERBOSE) << "[ELEM] " << prefix << curElem->Name(); in printElementNames()
45 const XMLAttribute *curAttr = curElem->FirstAttribute(); in printElementNames()
52 printElementNames(curElem->FirstChildElement(), prefix + "\t"); in printElementNames()
54 curElem = curElem->NextSiblingElement(); in printElementNames()
65 const XMLElement *curElem = aCameraElem->FirstChildElement(); in readCameraInfo() local
66 while (curElem != nullptr) { in readCameraInfo()
67 if (!strcmp(curElem->Name(), "group")) { in readCameraInfo()
69 const char *id = curElem->FindAttribute("id")->Value(); in readCameraInfo()
75 if (!readCameraDeviceInfo(aCamera, curElem)) { in readCameraInfo()
82 const char *sync = curElem->FindAttribute("synchronized")->Value(); in readCameraInfo()
95 } else if (!strcmp(curElem->Name(), "device")) { in readCameraInfo()
97 const char *id = curElem->FindAttribute("id")->Value(); in readCameraInfo()
100 const char *pos = curElem->FindAttribute("position")->Value(); in readCameraInfo()
106 if (!readCameraDeviceInfo(aCamera, curElem)) { in readCameraInfo()
119 LOG(DEBUG) << "Unknown element " << curElem->Name() << " is ignored"; in readCameraInfo()
122 curElem = curElem->NextSiblingElement(); in readCameraInfo()
170 const XMLElement *curElem = nullptr; in readCameraCapabilities() local
173 curElem = aCapElem->FirstChildElement("supported_controls"); in readCameraCapabilities()
174 if (curElem != nullptr) { in readCameraCapabilities()
175 const XMLElement *ctrlElem = curElem->FirstChildElement("control"); in readCameraCapabilities()
201 curElem = aCapElem->FirstChildElement("stream"); in readCameraCapabilities()
202 while (curElem != nullptr) { in readCameraCapabilities()
204 const XMLAttribute *idAttr = curElem->FindAttribute("id"); in readCameraCapabilities()
205 const XMLAttribute *widthAttr = curElem->FindAttribute("width"); in readCameraCapabilities()
206 const XMLAttribute *heightAttr = curElem->FindAttribute("height"); in readCameraCapabilities()
207 const XMLAttribute *fmtAttr = curElem->FindAttribute("format"); in readCameraCapabilities()
208 const XMLAttribute *fpsAttr = curElem->FindAttribute("framerate"); in readCameraCapabilities()
230 curElem = curElem->NextSiblingElement("stream"); in readCameraCapabilities()
253 const XMLElement *curElem = aParamElem->FirstChildElement("parameter"); in readCameraMetadata() local
256 while (curElem != nullptr) { in readCameraMetadata()
257 if (ConfigManagerUtil::convertToMetadataTag(curElem->FindAttribute("name")->Value(), in readCameraMetadata()
267 curElem->FindAttribute("size")->Value(), in readCameraMetadata()
268 curElem->FindAttribute("value")->Value(), in readCameraMetadata()
288 curElem->FindAttribute("value")->Value(), in readCameraMetadata()
305 size_t len = strlen(curElem->FindAttribute("value")->Value()); in readCameraMetadata()
308 curElem->FindAttribute("value")->Value(), in readCameraMetadata()
336 << curElem->FindAttribute("name")->Value() in readCameraMetadata()
342 << curElem->FindAttribute("name")->Value() in readCameraMetadata()
346 curElem = curElem->NextSiblingElement("parameter"); in readCameraMetadata()