Searched refs:attrExt (Results 1 – 2 of 2) sorted by relevance
1434 ResXMLTree_attrExt attrExt; in flatten_node() local1467 extData = &attrExt; in flatten_node()1468 extSize = sizeof(attrExt); in flatten_node()1469 memset(&attrExt, 0, sizeof(attrExt)); in flatten_node()1471 attrExt.ns.index = htodl(strings.offsetForString(mNamespaceUri)); in flatten_node()1473 attrExt.ns.index = htodl((uint32_t)-1); in flatten_node()1475 attrExt.name.index = htodl(strings.offsetForString(mElementName)); in flatten_node()1476 attrExt.attributeStart = htods(sizeof(attrExt)); in flatten_node()1477 attrExt.attributeSize = htods(sizeof(attr)); in flatten_node()1478 attrExt.attributeCount = htods(NA); in flatten_node()[all …]
1618 const ResXMLTree_attrExt* attrExt = (const ResXMLTree_attrExt*) in validateNode() local1622 && ((void*)attrExt > (void*)node)) { in validateNode()1623 const size_t attrSize = ((size_t)dtohs(attrExt->attributeSize)) in validateNode()1624 * dtohs(attrExt->attributeCount); in validateNode()1625 if ((dtohs(attrExt->attributeStart)+attrSize) <= (size-headerSize)) { in validateNode()1629 (unsigned int)(dtohs(attrExt->attributeStart)+attrSize), in validateNode()