• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/libxml/

Lines Matching +defs:source +defs:key

724     int index; /* an index position if significant for IDC key-sequences */
766 * The key sequence of a node table item.
800 xmlSchemaPSVIIDCNodePtr *nodeTable; /* array of key-sequences */
850 xmlSchemaPSVIIDCKeyPtr **keySeqs; /* the key-sequences of the target
1145 return(BAD_CAST "key identity-constraint");
1146 /* return(BAD_CAST "IDC (key)"); */
1683 *buf = xmlStrdup(BAD_CAST "key '");
4525 xmlSchemaPSVIIDCKeyPtr key;
4543 key = tab->keys[j];
4544 if ((key != NULL) && (key->val != NULL)) {
4545 res = xmlSchemaGetCanonValue(key->val, &value);
4552 } else if (key != NULL)
4555 fprintf(output, "(key missing), ");
4565 key = tab->keys[j];
4566 if ((key != NULL) && (key->val != NULL)) {
4567 res = xmlSchemaGetCanonValue(key->val, &value);
4574 } else if (key != NULL)
4577 fprintf(output, "(key missing), ");
6534 * source = anyURI
6541 (!xmlStrEqual(attr->name, BAD_CAST "source"))) ||
6550 xmlSchemaPValAttr(ctxt, NULL, child, "source",
6556 * source = anyURI
6563 if (!xmlStrEqual(attr->name, BAD_CAST "source")) {
8769 (IS_SCHEMA(child, "key")) || (IS_SCHEMA(child, "keyref"))) {
8773 } else if (IS_SCHEMA(child, "key")) {
8792 "(unique | key | keyref)*))");
13367 * @source: the source wildcard
13369 * Clones the namespace constraints of source
13376 xmlSchemaWildcardPtr source)
13380 if ((source == NULL) || (dest == NULL))
13382 dest->any = source->any;
13383 cur = source->nsSet;
13399 if (source->negNsSet != NULL) {
13403 dest->negNsSet->value = source->negNsSet->value;
20249 * Resolve keyRef references to key/unique IDCs.
20297 * the {fields} of the {referenced key}.
20303 "cardinality of the referenced key/unique '%s'",
20780 * 6. IDC key-references:
20781 * - the referenced IDC 'key' or 'unique' definition
21973 * @item: the IDC key
21975 * The validation context is used to store an IDC key.
21981 xmlSchemaPSVIIDCKeyPtr key)
21991 "allocating the IDC key storage list", NULL);
22002 "re-allocating the IDC key storage list", NULL);
22006 vctxt->idcKeys[vctxt->nbIdcKeys++] = key;
22102 * @key: the IDC key
22104 * Frees an IDC key together with its compiled value.
22107 xmlSchemaIDCFreeKey(xmlSchemaPSVIIDCKeyPtr key)
22109 if (key->val != NULL)
22110 xmlSchemaFreeValue(key->val);
22111 xmlFree(key);
22439 * An IDC key node was found by the IDC field.
22443 "IDC: key found\n");
22538 * IDC key-sequences are validated/created on IDC bindings.
22548 xmlSchemaPSVIIDCKeyPtr key = NULL;
22633 if ((key == NULL) && (vctxt->inode->val == NULL)) {
22650 * The key will be anchored on the matcher's list of
22651 * key-sequences. The position in this list is determined
22671 * Create/grow the array of key-sequences.
22683 "allocating an array of key-sequences",
22700 "reallocating an array of key-sequences",
22713 * Get/create the key-sequence.
22728 * The key was already set; report an error.
22745 * Create a key-sequence.
22752 "allocating an IDC key-sequence", NULL);
22760 * Create a key once per node only.
22762 if (key == NULL) {
22763 key = (xmlSchemaPSVIIDCKeyPtr) xmlMalloc(
22765 if (key == NULL) {
22767 "allocating a IDC key", NULL);
22775 key->type = simpleType;
22776 key->val = vctxt->inode->val;
22779 * Store the key in a global list.
22781 if (xmlSchemaIDCStoreKey(vctxt, key) == -1) {
22782 xmlSchemaIDCFreeKey(key);
22786 keySeq[idx] = key;
22802 * out for matching nodes to create a key-sequence for this
22804 * to put the key-sequence, together with the target node
22813 * Check if the matcher has any key-sequences at all, plus
22814 * if it has a key-sequence for the current target node.
22839 * All fields of a "key" IDC must resolve.
22851 * 4.1 If the {identity-constraint category} is unique(/key),
22853 * �key-sequences� whose members are pairwise equal, as
22857 * duplicate key-sequences.
22870 * Compare the key-sequences, key by key.
22883 * One of the keys differs, so the key-sequence
22891 * Duplicate key-sequence found.
22900 * TODO: Try to report the key-sequence.
22905 "Duplicate key-sequence %s in %s",
22955 * consume the key-sequence.
22995 * Free the key-sequence if not added to the IDC table.
23079 * references a key/unique IDC, the keyrefDepth will
23231 * Compare the key-sequences and add to the IDC node-table.
23252 * Equal key-sequence.
23273 * Equal key-sequence found.
23291 * The key-sequence differs.
23381 * Remove duplicate key-sequences.
23388 * Check if the key/unique IDC table needs to be bubbled.
23419 * i.e. the key-sequence within, ...
23439 * ...with every key-sequence of the parent node, already
23440 * evaluated to be a duplicate key-sequence.
23478 * ... and with every key-sequence of the parent node.
23539 * Add the node-table entry (node and key-sequence) of
23678 * Find the IDC node-table for the referenced IDC key/unique.
23689 * Search for a matching key-sequences.
23739 "key-sequence %s of keyref '%s'",
23757 "No match found for key-sequence %s of keyref '%s'",
26309 * A 'keyrefDepth' of a key/unique IDC matches the current