Lines Matching defs:elem

831      * @param elem the element to output
838 * @param elem the element to output
987 Element *elem = new Element(name, value);
988 elem->parent = parent;
989 elem->attributes = attributes;
990 elem->namespaces = namespaces;
991 elem->line = line;
996 elem->addChild((*iter)->clone());
998 return elem;
2910 bool getAttribute(Element *elem, const String &name, String &result);
2915 bool getValue(Element *elem, String &result);
3116 bool parsePatternSet(Element *elem,
3125 bool parseFileSet(Element *elem,
3131 bool parseFileList(Element *elem,
3509 Element *elem = parser.parse(outString);
3510 if (!elem)
3516 res = elem->getTagValue(name);
3519 res = elem->getTagAttribute("entry", name);
4701 bool MakeBase::getAttribute(Element *elem, const String &name,
4704 String s = elem->getAttribute(name);
4717 bool MakeBase::getValue(Element *elem, String &result)
4719 String s = elem->getValue();
4733 bool MakeBase::parsePatternSet(Element *elem,
4739 std::vector<Element *> children = elem->getChildren();
4772 bool MakeBase::parseFileSet(Element *elem,
4776 String name = elem->getName();
4788 if (!parsePatternSet(elem, propRef, includes, excludes))
4793 std::vector<Element *> children = elem->getChildren();
4810 if (!propRef.getAttribute(elem, "dir", dir))
4846 bool MakeBase::parseFileList(Element *elem,
4852 std::vector<Element *> children = elem->getChildren();
4876 if (!propRef.getAttribute(elem, "dir", dir))
6628 virtual bool parse(Element *elem)
6634 Task *createTask(Element *elem, int lineNr);
6664 String getAttribute(Element *elem, const String &attrName)
6977 virtual bool parse(Element *elem)
6980 if (!parent.getAttribute(elem, "command", commandOpt))
6984 if (!parent.getAttribute(elem, "cc", ccCommandOpt))
6986 if (!parent.getAttribute(elem, "cxx", cxxCommandOpt))
6988 if (!parent.getAttribute(elem, "destdir", destOpt))
6990 if (!parent.getAttribute(elem, "continueOnError", continueOnErrorOpt))
6992 if (!parent.getAttribute(elem, "refreshCache", refreshCacheOpt))
6995 std::vector<Element *> children = elem->getChildren();
7226 virtual bool parse(Element *elem)
7228 if (!parent.getAttribute(elem, "file", fileNameOpt))
7230 if (!parent.getAttribute(elem, "tofile", toFileNameOpt))
7234 if (!parent.getAttribute(elem, "todir", toDirNameOpt))
7238 if (!parent.getAttribute(elem, "verbose", verboseOpt))
7243 std::vector<Element *> children = elem->getChildren();
7369 virtual bool parse(Element *elem)
7371 if (!parent.getAttribute(elem, "command", commandOpt))
7373 if (!parent.getAttribute(elem, "out", destPathOpt))
7376 std::vector<Element *> children = elem->getChildren();
7473 virtual bool parse(Element *elem)
7475 if (!parent.getAttribute(elem, "command", commandOpt))
7477 if (!parent.getAttribute(elem, "template", templateFileOpt))
7479 if (!parent.getAttribute(elem, "out", destPathOpt))
7482 std::vector<Element *> children = elem->getChildren();
7580 virtual bool parse(Element *elem)
7582 if (!parent.getAttribute(elem, "command", commandOpt))
7584 if (!parent.getAttribute(elem, "workingdir", workingDirOpt))
7661 virtual bool parse(Element *elem)
7663 if (!parent.getAttribute(elem, "file", fileNameOpt))
7667 if (!parent.getAttribute(elem, "dir", dirNameOpt))
7681 if (!parent.getAttribute(elem, "verbose", verboseOpt))
7683 if (!parent.getAttribute(elem, "quiet", quietOpt))
7685 if (!parent.getAttribute(elem, "failonerror", failOnErrorOpt))
7730 virtual bool parse(Element *elem)
7732 if (!parent.getValue(elem, textOpt))
7735 if (!parent.getAttribute(elem, "message", messageOpt))
7788 virtual bool parse(Element *elem)
7790 if (!parent.getAttribute(elem, "command", commandOpt))
7792 if (!parent.getAttribute(elem, "basedir", basedirOpt))
7794 if (!parent.getAttribute(elem, "destfile", destfileOpt))
7907 virtual bool parse(Element *elem)
7909 if (!parent.getAttribute(elem, "command", commandOpt))
7911 if (!parent.getAttribute(elem, "srcdir", srcdirOpt))
7913 if (!parent.getAttribute(elem, "destdir", destdirOpt))
7920 if (!parent.getAttribute(elem, "target", targetOpt))
8068 virtual bool parse(Element *elem)
8070 if (!parent.getAttribute(elem, "command", commandOpt))
8072 if (!parent.getAttribute(elem, "objcopycommand", objcopyCommandOpt))
8074 if (!parent.getAttribute(elem, "stripcommand", stripCommandOpt))
8076 if (!parent.getAttribute(elem, "out", fileNameOpt))
8078 if (!parent.getAttribute(elem, "strip", doStripOpt))
8080 if (!parent.getAttribute(elem, "symfile", symFileNameOpt))
8083 std::vector<Element *> children = elem->getChildren();
8169 virtual bool parse(Element *elem)
8171 if (!parent.getAttribute(elem, "file", fileNameOpt))
8173 if (!parent.getAttribute(elem, "force", forceOpt))
8180 if (!parent.getValue(elem, textOpt))
8221 virtual bool parse(Element *elem)
8223 if (!parent.getAttribute(elem, "dir", dirNameOpt))
8341 virtual bool parse(Element *elem)
8343 if (!parent.getAttribute(elem, "command", commandOpt))
8345 if (!parent.getAttribute(elem, "todir", toDirNameOpt))
8347 if (!parent.getAttribute(elem, "out", outNameOpt))
8349 if (!parent.getAttribute(elem, "owndir", owndirOpt))
8352 std::vector<Element *> children = elem->getChildren();
8437 virtual bool parse(Element *elem)
8440 if (!parent.getAttribute(elem, "name", pkgNameOpt))
8449 if (!parent.getAttribute(elem, "property", propNameOpt))
8457 if (!parent.getAttribute(elem, "path", pkgConfigPathOpt))
8460 if (!parent.getAttribute(elem, "prefix", prefixOpt))
8463 if (!parent.getAttribute(elem, "query", queryOpt))
8515 virtual bool parse(Element *elem)
8517 if (!parent.getAttribute(elem, "command", commandOpt))
8519 if (!parent.getAttribute(elem, "file", fileNameOpt))
8579 virtual bool parse(Element *elem)
8581 if (!parent.getAttribute(elem, "command", commandOpt))
8583 if (!parent.getAttribute(elem, "file", fileNameOpt))
8585 if (!parent.getAttribute(elem, "out", outNameOpt))
8587 std::vector<Element *> children = elem->getChildren();
8705 virtual bool parse(Element *elem)
8707 if (!parent.getAttribute(elem, "command", commandOpt))
8709 if (!parent.getAttribute(elem, "file", fileNameOpt))
8711 if (!parent.getAttribute(elem, "import", impFileNameOpt))
8713 if (!parent.getAttribute(elem, "def", defFileNameOpt))
8716 std::vector<Element *> children = elem->getChildren();
8827 virtual bool parse(Element *elem)
8829 if (!parent.getAttribute(elem, "command", commandOpt))
8831 if (!parent.getAttribute(elem, "file", fileNameOpt))
8834 std::vector<Element *> children = elem->getChildren();
8909 virtual bool parse(Element *elem)
8911 if (!parent.getAttribute(elem, "command", commandOpt))
8913 if (!parent.getAttribute(elem, "file", fileNameOpt))
8915 if (!parent.getAttribute(elem, "symfile", symFileNameOpt))
8975 virtual bool parse(Element *elem)
8978 if (!parent.getAttribute(elem, "file", fileNameOpt))
9010 virtual bool parse(Element *elem)
9022 Task *Task::createTask(Element *elem, int lineNr)
9024 String tagName = elem->getName();
9077 if (!task->parse(elem))
9371 bool parseProperty(Element *elem);
9763 bool Make::parseProperty(Element *elem)
9765 std::vector<Attribute> &attrs = elem->getAttributes();
9774 if (!getAttribute(elem, "value", val))
9782 if (!getAttribute(elem, "location", val))
9801 if (!getAttribute(elem, "prefix", prefix))
9913 Element *elem = children[i];
9914 setLine(elem->getLine());
9915 String tagName = elem->getName();
9920 description = parser.trim(elem->getValue());
9926 if (!parseProperty(elem))
9933 String tname = elem->getAttribute("name");
9934 String tdesc = elem->getAttribute("description");
9935 String tdeps = elem->getAttribute("depends");
9936 String tif = elem->getAttribute("if");
9937 String tunless = elem->getAttribute("unless");
9944 std::vector<Element *> telems = elem->getChildren();