Lines Matching refs:mi

7527     xmlNsMapItemPtr mi;
7546 XML_NSMAP_FOREACH(*map, mi) {
7547 if ((ns->prefix == mi->newNs->prefix) ||
7548 xmlStrEqual(ns->prefix, mi->newNs->prefix)) {
7557 mi = xmlDOMWrapNsMapAddItem(map, 0, NULL,
7559 if (mi == NULL)
7562 mi->shadowDepth = 0;
8041 xmlNsMapItemPtr mi;
8070 XML_NSMAP_FOREACH(*nsMap, mi) {
8071 if ((mi->depth >= XML_TREE_NSMAP_PARENT) &&
8078 ((! ancestorsOnly) || (mi->depth == XML_TREE_NSMAP_PARENT)) &&
8080 (mi->shadowDepth == -1) &&
8082 ((mi->newNs->href != NULL) &&
8083 (mi->newNs->href[0] != 0)) &&
8085 ((! prefixed) || (mi->newNs->prefix != NULL)) &&
8087 ((mi->newNs->href == ns->href) ||
8088 xmlStrEqual(mi->newNs->href, ns->href))) {
8090 mi->oldNs = ns;
8091 *retNs = mi->newNs;
8129 XML_NSMAP_FOREACH(*nsMap, mi) {
8130 if ((mi->depth < depth) &&
8131 (mi->shadowDepth == -1) &&
8132 ((ns->prefix == mi->newNs->prefix) ||
8133 xmlStrEqual(ns->prefix, mi->newNs->prefix))) {
8137 mi->shadowDepth = depth;
8182 xmlNsMapItemPtr /* topmi = NULL, */ mi;
8226 XML_NSMAP_FOREACH(nsMap, mi) {
8227 if ((mi->depth >= XML_TREE_NSMAP_PARENT) &&
8228 (mi->shadowDepth == -1) &&
8229 ((ns->prefix == mi->newNs->prefix) ||
8230 xmlStrEqual(ns->prefix, mi->newNs->prefix)) &&
8231 ((ns->href == mi->newNs->href) ||
8232 xmlStrEqual(ns->href, mi->newNs->href)))
8239 &sizeRedund, &nbRedund, ns, mi->newNs) == -1)
8263 XML_NSMAP_FOREACH(nsMap, mi) {
8264 if ((mi->depth >= XML_TREE_NSMAP_PARENT) &&
8265 (mi->shadowDepth == -1) &&
8266 ((ns->prefix == mi->newNs->prefix) ||
8267 xmlStrEqual(ns->prefix, mi->newNs->prefix))) {
8269 mi->shadowDepth = depth;
8320 XML_NSMAP_FOREACH(nsMap, mi) {
8321 if ((mi->shadowDepth == -1) &&
8322 (cur->ns == mi->oldNs)) {
8324 cur->ns = mi->newNs;
8373 XML_NSMAP_POP(nsMap, mi)
8378 XML_NSMAP_FOREACH(nsMap, mi) {
8379 if (mi->shadowDepth >= depth)
8380 mi->shadowDepth = -1;
8446 xmlNsMapItemPtr mi;
8546 XML_NSMAP_FOREACH(nsMap, mi) {
8547 if ((mi->depth >= XML_TREE_NSMAP_PARENT) &&
8548 (mi->shadowDepth == -1) &&
8549 ((ns->prefix == mi->newNs->prefix) ||
8551 mi->newNs->prefix))) {
8553 mi->shadowDepth = depth;
8584 XML_NSMAP_FOREACH(nsMap, mi) {
8585 if ((mi->shadowDepth == -1) &&
8586 (cur->ns == mi->oldNs)) {
8588 cur->ns = mi->newNs;
8720 XML_NSMAP_POP(nsMap, mi)
8725 XML_NSMAP_FOREACH(nsMap, mi) {
8726 if (mi->shadowDepth >= depth)
8727 mi->shadowDepth = -1;
8813 xmlNsMapItemPtr mi;
9026 XML_NSMAP_FOREACH(nsMap, mi) {
9027 if ((mi->depth >= XML_TREE_NSMAP_PARENT) &&
9028 (mi->shadowDepth == -1) &&
9029 ((ns->prefix == mi->newNs->prefix) ||
9031 mi->newNs->prefix))) {
9036 mi->shadowDepth = depth;
9122 XML_NSMAP_FOREACH(nsMap, mi) {
9123 if ((mi->shadowDepth == -1) &&
9124 (cur->ns == mi->oldNs)) {
9128 clone->ns = mi->newNs;
9237 XML_NSMAP_POP(nsMap, mi)
9242 XML_NSMAP_FOREACH(nsMap, mi) {
9243 if (mi->shadowDepth >= depth)
9244 mi->shadowDepth = -1;