Searched refs:attrExt (Results 1 – 2 of 2) sorted by relevance
1465 ResXMLTree_attrExt attrExt; in flatten_node() local1498 extData = &attrExt; in flatten_node()1499 extSize = sizeof(attrExt); in flatten_node()1500 memset(&attrExt, 0, sizeof(attrExt)); in flatten_node()1502 attrExt.ns.index = htodl(strings.offsetForString(mNamespaceUri)); in flatten_node()1504 attrExt.ns.index = htodl((uint32_t)-1); in flatten_node()1506 attrExt.name.index = htodl(strings.offsetForString(mElementName)); in flatten_node()1507 attrExt.attributeStart = htods(sizeof(attrExt)); in flatten_node()1508 attrExt.attributeSize = htods(sizeof(attr)); in flatten_node()1509 attrExt.attributeCount = htods(NA); in flatten_node()[all …]
1886 const ResXMLTree_attrExt* attrExt = (const ResXMLTree_attrExt*) in validateNode() local1890 && ((void*)attrExt > (void*)node)) { in validateNode()1891 const size_t attrSize = ((size_t)dtohs(attrExt->attributeSize)) in validateNode()1892 * dtohs(attrExt->attributeCount); in validateNode()1893 if ((dtohs(attrExt->attributeStart)+attrSize) <= (size-headerSize)) { in validateNode()1897 (unsigned int)(dtohs(attrExt->attributeStart)+attrSize), in validateNode()