• Home
  • Raw
  • Download

Lines Matching refs:binding

142 typedef struct binding {  struct
144 struct binding *nextTagBinding; argument
145 struct binding *prevPrefixBinding; argument
154 BINDING *binding; argument
2405 b->prefix->binding = b->prevPrefixBinding; in doContent()
2460 b->prefix->binding = b->prevPrefixBinding; in doContent()
2629 BINDING *binding; in storeAtts() local
2810 b = id->prefix->binding; in storeAtts()
2883 for (binding = *bindingsPtr; binding; binding = binding->nextTagBinding) in storeAtts()
2884 binding->attId->name[-1] = 0; in storeAtts()
2891 binding = elementType->prefix->binding; in storeAtts()
2892 if (!binding) in storeAtts()
2898 else if (dtd->defaultPrefix.binding) { in storeAtts()
2899 binding = dtd->defaultPrefix.binding; in storeAtts()
2905 if (ns_triplets && binding->prefix->name) { in storeAtts()
2906 for (; binding->prefix->name[prefixLen++];) in storeAtts()
2910 tagNamePtr->uriLen = binding->uriLen; in storeAtts()
2911 tagNamePtr->prefix = binding->prefix->name; in storeAtts()
2915 n = i + binding->uriLen + prefixLen; in storeAtts()
2916 if (n > binding->uriAlloc) { in storeAtts()
2921 binding->uriAlloc = n + EXPAND_SPARE; in storeAtts()
2922 memcpy(uri, binding->uri, binding->uriLen * sizeof(XML_Char)); in storeAtts()
2924 if (p->name.str == binding->uri) in storeAtts()
2926 FREE(binding->uri); in storeAtts()
2927 binding->uri = uri; in storeAtts()
2930 uri = binding->uri + binding->uriLen; in storeAtts()
2936 memcpy(uri + 1, binding->prefix->name, prefixLen * sizeof(XML_Char)); in storeAtts()
2938 tagNamePtr->str = binding->uri; in storeAtts()
3044 b->prevPrefixBinding = prefix->binding; in addBinding()
3047 prefix->binding = NULL; in addBinding()
3049 prefix->binding = b; in addBinding()
3055 prefix->binding ? uri : 0); in addBinding()
5387 if (dtd->defaultPrefix.binding) { in getContext()
5392 len = dtd->defaultPrefix.binding->uriLen; in getContext()
5396 if (!poolAppendChar(&tempPool, dtd->defaultPrefix.binding->uri[i])) in getContext()
5409 if (!prefix->binding) in getContext()
5418 len = prefix->binding->uriLen; in getContext()
5422 if (!poolAppendChar(&tempPool, prefix->binding->uri[i])) in getContext()
5549 p->defaultPrefix.binding = NULL; in dtdCreate()
5588 p->defaultPrefix.binding = NULL; in dtdReset()