Lines Matching defs:mi

7857     xmlNsMapItemPtr mi;
7876 XML_NSMAP_FOREACH(*map, mi) {
7877 if ((ns->prefix == mi->newNs->prefix) ||
7878 xmlStrEqual(ns->prefix, mi->newNs->prefix)) {
7887 mi = xmlDOMWrapNsMapAddItem(map, 0, NULL,
7889 if (mi == NULL)
7892 mi->shadowDepth = 0;
8371 xmlNsMapItemPtr mi;
8400 XML_NSMAP_FOREACH(*nsMap, mi) {
8401 if ((mi->depth >= XML_TREE_NSMAP_PARENT) &&
8408 ((! ancestorsOnly) || (mi->depth == XML_TREE_NSMAP_PARENT)) &&
8410 (mi->shadowDepth == -1) &&
8412 ((mi->newNs->href != NULL) &&
8413 (mi->newNs->href[0] != 0)) &&
8415 ((! prefixed) || (mi->newNs->prefix != NULL)) &&
8417 ((mi->newNs->href == ns->href) ||
8418 xmlStrEqual(mi->newNs->href, ns->href))) {
8420 mi->oldNs = ns;
8421 *retNs = mi->newNs;
8459 XML_NSMAP_FOREACH(*nsMap, mi) {
8460 if ((mi->depth < depth) &&
8461 (mi->shadowDepth == -1) &&
8462 ((ns->prefix == mi->newNs->prefix) ||
8463 xmlStrEqual(ns->prefix, mi->newNs->prefix))) {
8467 mi->shadowDepth = depth;
8512 xmlNsMapItemPtr /* topmi = NULL, */ mi;
8556 XML_NSMAP_FOREACH(nsMap, mi) {
8557 if ((mi->depth >= XML_TREE_NSMAP_PARENT) &&
8558 (mi->shadowDepth == -1) &&
8559 ((ns->prefix == mi->newNs->prefix) ||
8560 xmlStrEqual(ns->prefix, mi->newNs->prefix)) &&
8561 ((ns->href == mi->newNs->href) ||
8562 xmlStrEqual(ns->href, mi->newNs->href)))
8569 &sizeRedund, &nbRedund, ns, mi->newNs) == -1)
8593 XML_NSMAP_FOREACH(nsMap, mi) {
8594 if ((mi->depth >= XML_TREE_NSMAP_PARENT) &&
8595 (mi->shadowDepth == -1) &&
8596 ((ns->prefix == mi->newNs->prefix) ||
8597 xmlStrEqual(ns->prefix, mi->newNs->prefix))) {
8599 mi->shadowDepth = depth;
8650 XML_NSMAP_FOREACH(nsMap, mi) {
8651 if ((mi->shadowDepth == -1) &&
8652 (cur->ns == mi->oldNs)) {
8654 cur->ns = mi->newNs;
8703 XML_NSMAP_POP(nsMap, mi)
8708 XML_NSMAP_FOREACH(nsMap, mi) {
8709 if (mi->shadowDepth >= depth)
8710 mi->shadowDepth = -1;
8776 xmlNsMapItemPtr mi;
8876 XML_NSMAP_FOREACH(nsMap, mi) {
8877 if ((mi->depth >= XML_TREE_NSMAP_PARENT) &&
8878 (mi->shadowDepth == -1) &&
8879 ((ns->prefix == mi->newNs->prefix) ||
8881 mi->newNs->prefix))) {
8883 mi->shadowDepth = depth;
8914 XML_NSMAP_FOREACH(nsMap, mi) {
8915 if ((mi->shadowDepth == -1) &&
8916 (cur->ns == mi->oldNs)) {
8918 cur->ns = mi->newNs;
9050 XML_NSMAP_POP(nsMap, mi)
9055 XML_NSMAP_FOREACH(nsMap, mi) {
9056 if (mi->shadowDepth >= depth)
9057 mi->shadowDepth = -1;
9143 xmlNsMapItemPtr mi;
9356 XML_NSMAP_FOREACH(nsMap, mi) {
9357 if ((mi->depth >= XML_TREE_NSMAP_PARENT) &&
9358 (mi->shadowDepth == -1) &&
9359 ((ns->prefix == mi->newNs->prefix) ||
9361 mi->newNs->prefix))) {
9366 mi->shadowDepth = depth;
9452 XML_NSMAP_FOREACH(nsMap, mi) {
9453 if ((mi->shadowDepth == -1) &&
9454 (cur->ns == mi->oldNs)) {
9458 clone->ns = mi->newNs;
9567 XML_NSMAP_POP(nsMap, mi)
9572 XML_NSMAP_FOREACH(nsMap, mi) {
9573 if (mi->shadowDepth >= depth)
9574 mi->shadowDepth = -1;