Lines Matching refs:element
193 Element* element = new Element(); in inspect_apk() local
198 element->name = str; in inspect_apk()
200 element->ns = scope->namespaces[string(str, 0, colon)]; in inspect_apk()
201 element->name.assign(str, colon+1, string::npos); in inspect_apk()
203 element->lineno = atoi(match[3].str().c_str()); in inspect_apk()
204 element->depth = match[1].length() / 2; in inspect_apk()
207 current = element; in inspect_apk()
208 root = element; in inspect_apk()
210 while (element->depth <= current->depth && current->parent != NULL) { in inspect_apk()
213 element->parent = current; in inspect_apk()
214 current->children.push_back(element); in inspect_apk()
215 current = element; in inspect_apk()