• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/libxml2-26/libxml2/

Lines Matching +defs:tab +defs:stop +defs:list

13  *     types in the redef list are equal
26 * <simpleContent>, <complexContent>, <list>, <union>
338 #define HSTOP(ctx) if ((ctx)->stop) goto exit;
627 int stop; /* If the parser should stop; i.e. a critical error. */
757 xmlSchemaIDCAugPtr next; /* next in a list */
825 xmlSchemaIDCStateObjPtr next; /* next if in a list */
827 int *history; /* list of (depth, state-id) tuples */
846 xmlSchemaIDCMatcherPtr next; /* next in the list */
847 xmlSchemaIDCMatcherPtr nextCached; /* next in the cache list */
853 xmlSchemaItemListPtr targets; /* list of target-node
1001 xmlSchemaIDCAugPtr aidcs; /* a list of augmented IDC informations */
1007 xmlSchemaPSVIIDCNodePtr *idcNodes; /* list of all IDC node-table entries*/
1011 xmlSchemaPSVIIDCKeyPtr *idcKeys; /* list of all IDC node-table entries */
1098 xmlSchemaComponentListFree(xmlSchemaItemListPtr list);
1485 int list;
1492 list = xmlSchemaValueGetNext(val) ? 1 : 0;
1521 if (! list)
1593 *buf = xmlStrdup(BAD_CAST "list type 'xs:");
1613 *buf = xmlStrcat(*buf, BAD_CAST "list type");
2468 msg = xmlStrcat(msg, BAD_CAST "list type");
3042 * Reports an illegal facet for <list> and <union>.
3133 msg = xmlStrcat(msg, BAD_CAST "list type");
3320 "allocating an item list structure", NULL);
3328 xmlSchemaItemListClear(xmlSchemaItemListPtr list)
3330 if (list->items != NULL) {
3331 xmlFree(list->items);
3332 list->items = NULL;
3334 list->nbItems = 0;
3335 list->sizeItems = 0;
3339 xmlSchemaItemListAdd(xmlSchemaItemListPtr list, void *item)
3341 if (list->items == NULL) {
3342 list->items = (void **) xmlMalloc(
3344 if (list->items == NULL) {
3345 xmlSchemaPErrMemory(NULL, "allocating new item list", NULL);
3348 list->sizeItems = 20;
3349 } else if (list->sizeItems <= list->nbItems) {
3350 list->sizeItems *= 2;
3351 list->items = (void **) xmlRealloc(list->items,
3352 list->sizeItems * sizeof(void *));
3353 if (list->items == NULL) {
3354 xmlSchemaPErrMemory(NULL, "growing item list", NULL);
3355 list->sizeItems = 0;
3359 list->items[list->nbItems++] = item;
3364 xmlSchemaItemListAddSize(xmlSchemaItemListPtr list,
3368 if (list->items == NULL) {
3371 list->items = (void **) xmlMalloc(
3373 if (list->items == NULL) {
3374 xmlSchemaPErrMemory(NULL, "allocating new item list", NULL);
3377 list->sizeItems = initialSize;
3378 } else if (list->sizeItems <= list->nbItems) {
3379 list->sizeItems *= 2;
3380 list->items = (void **) xmlRealloc(list->items,
3381 list->sizeItems * sizeof(void *));
3382 if (list->items == NULL) {
3383 xmlSchemaPErrMemory(NULL, "growing item list", NULL);
3384 list->sizeItems = 0;
3388 list->items[list->nbItems++] = item;
3393 xmlSchemaItemListInsert(xmlSchemaItemListPtr list, void *item, int idx)
3395 if (list->items == NULL) {
3396 list->items = (void **) xmlMalloc(
3398 if (list->items == NULL) {
3399 xmlSchemaPErrMemory(NULL, "allocating new item list", NULL);
3402 list->sizeItems = 20;
3403 } else if (list->sizeItems <= list->nbItems) {
3404 list->sizeItems *= 2;
3405 list->items = (void **) xmlRealloc(list->items,
3406 list->sizeItems * sizeof(void *));
3407 if (list->items == NULL) {
3408 xmlSchemaPErrMemory(NULL, "growing item list", NULL);
3409 list->sizeItems = 0;
3416 if (idx >= list->nbItems) {
3417 list->items[list->nbItems++] = item;
3420 for (i = list->nbItems; i > idx; i--)
3421 list->items[i] = list->items[i-1];
3422 list->items[idx] = item;
3423 list->nbItems++;
3430 xmlSchemaItemListInsertSize(xmlSchemaItemListPtr list,
3435 if (list->items == NULL) {
3438 list->items = (void **) xmlMalloc(
3440 if (list->items == NULL) {
3441 xmlSchemaPErrMemory(NULL, "allocating new item list", NULL);
3444 list->sizeItems = initialSize;
3445 } else if (list->sizeItems <= list->nbItems) {
3446 list->sizeItems *= 2;
3447 list->items = (void **) xmlRealloc(list->items,
3448 list->sizeItems * sizeof(void *));
3449 if (list->items == NULL) {
3450 xmlSchemaPErrMemory(NULL, "growing item list", NULL);
3451 list->sizeItems = 0;
3458 if (idx >= list->nbItems) {
3459 list->items[list->nbItems++] = item;
3462 for (i = list->nbItems; i > idx; i--)
3463 list->items[i] = list->items[i-1];
3464 list->items[idx] = item;
3465 list->nbItems++;
3472 xmlSchemaItemListRemove(xmlSchemaItemListPtr list, int idx)
3475 if ((list->items == NULL) || (idx >= list->nbItems)) {
3481 if (list->nbItems == 1) {
3482 /* TODO: Really free the list? */
3483 xmlFree(list->items);
3484 list->items = NULL;
3485 list->nbItems = 0;
3486 list->sizeItems = 0;
3487 } else if (list->nbItems -1 == idx) {
3488 list->nbItems--;
3490 for (i = idx; i < list->nbItems -1; i++)
3491 list->items[i] = list->items[i+1];
3492 list->nbItems--;
3504 xmlSchemaItemListFree(xmlSchemaItemListPtr list)
3506 if (list == NULL)
3508 if (list->items != NULL)
3509 xmlFree(list->items);
3510 xmlFree(list);
3670 * Add to list of all buckets; this is used for lookup
3679 xmlSchemaAddItemSize(xmlSchemaItemListPtr *list, int initialSize, void *item)
3681 if (*list == NULL) {
3682 *list = xmlSchemaItemListCreate();
3683 if (*list == NULL)
3686 xmlSchemaItemListAddSize(*list, initialSize, item);
3782 * Deallocates a list of wildcard constraint structures.
3850 * Deallocate a list of types.
4025 xmlSchemaComponentListFree(xmlSchemaItemListPtr list)
4027 if ((list == NULL) || (list->nbItems == 0))
4031 xmlSchemaTreeItemPtr *items = (xmlSchemaTreeItemPtr *) list->items;
4034 for (i = 0; i < list->nbItems; i++) {
4099 list->nbItems = 0;
4141 xmlSchemaItemListPtr list = (xmlSchemaItemListPtr) schema->includes;
4143 for (i = 0; i < list->nbItems; i++) {
4144 xmlSchemaBucketFree((xmlSchemaBucketPtr) list->items[i]);
4146 xmlSchemaItemListFree(list);
4351 * @uses: attribute uses list
4354 * Dumps a list of attribute use components.
4543 xmlSchemaPSVIIDCNodePtr tab;
4559 tab = bind->nodeTable[i];
4562 key = tab->keys[j];
4581 tab = bind->dupls->items[i];
4584 key = tab->keys[j];
5706 /* Create list of members. */
6468 xmlNodePtr *child, xmlSchemaItemListPtr *list,
6477 *list, parentType);
6484 if (*list == NULL) {
6486 *list = xmlSchemaItemListCreate();
6487 if (*list == NULL)
6490 if (xmlSchemaItemListAddSize(*list, 2, item) == -1)
6956 /* Don't free the wildcard, since it's already on the list. */
7065 * Parse the namespace list.
7892 * @flagList: the specific flag for "list"
7966 } else if (xmlStrEqual(item, BAD_CAST "list")) {
8869 * SPEC (Base type) (2) "If the <list> or <union> alternative is chosen,
8892 * Attribute "memberTypes". This is a list of QNames.
9033 * Mark the type as being of variety "list".
9037 * SPEC (Base type) (2) "If the <list> or <union> alternative is chosen,
9081 * src-list-itemType-or-simpleType
9083 * the <list> element must be present, but not both.
9277 NULL, "(#all | List of (list | union | restriction)",
9299 "(annotation?, (restriction | list | union))");
9305 } else if (IS_SCHEMA(child, "list")) {
9315 "(annotation?, (restriction | list | union))");
9663 ctxt->stop = XML_SCHEMAP_S4S_ATTR_INVALID_VALUE;
9707 "(#all | List of (extension | restriction | list | union))",
9740 * @nodes: the list of top level nodes
9923 "allocating list of schema buckets", NULL);
9930 "allocating list of pending global components", NULL);
10023 xmlSchemaItemListPtr list;
10025 list = pctxt->constructor->buckets;
10026 if (list->nbItems == 0)
10030 for (i = 0; i < list->nbItems; i++) {
10031 cur = (xmlSchemaBucketPtr) list->items[i];
10046 xmlSchemaItemListPtr list;
10048 list = pctxt->constructor->buckets;
10049 if (list->nbItems == 0)
10053 for (i = 0; i < list->nbItems; i++) {
10054 cur = (xmlSchemaBucketPtr) list->items[i];
10075 xmlSchemaItemListPtr list;
10077 list = pctxt->constructor->buckets;
10078 if (list->nbItems == 0)
10082 for (i = 0; i < list->nbItems; i++) {
10083 cur = (xmlSchemaBucketPtr) list->items[i];
14394 xmlSchemaItemListPtr list,
14433 * Move attribute prohibitions into a separate list.
14623 * Returns a list of member types of @type if existing,
14849 * 2.2.3 D's {variety} is list or union and B is the ���simple ur-type
15194 "A type, derived by list or union, must have "
15201 * Variety: One of {atomic, list, union}.
15379 * This is the case if we have: <simpleType><list ..
15384 * contain list.
15391 "The final of its item type '%s' must not contain 'list'",
15416 * A ���list��� datatype can be ���derived��� from an ���atomic��� datatype
15424 * I.e. the variety of "list" is inherited.
15428 * 2.3.2.1 The {base type definition} must have a {variety} of list.
15434 "The base type '%s' must be a list type",
15534 * atomic or list.
15548 "The member type '%s' is neither an atomic, nor a list type",
15591 * I.e. the variety of "list" is inherited.
15739 /* src-simple-type.3 "If the <list> alternative is chosen, either it must have
15743 * NOTE: This is checked in the parse function of <list>.
16872 * {extension, list, union} from B's {type definition}"
16874 * BADSPEC TODO: What's the point of adding "list" and "union" to the
17937 * Corresponds to <simpleType><list>...
17944 "list type has no item-type assigned");
18842 * NOTE: It is intended to use the facets list, instead
19030 * @attr: the current attribute list to be processed
19039 xmlSchemaItemListPtr list)
19048 for (i = 0; i < list->nbItems; i++) {
19049 ref = list->items[i];
19146 * @list: the attribute uses
19150 * Attribute use prohibitions are removed from the list
19151 * and returned via the @prohibs list.
19159 xmlSchemaItemListPtr list,
19171 for (i = 0; i < list->nbItems; i++) {
19172 use = list->items[i];
19183 if (xmlSchemaItemListRemove(list, i) == -1)
19191 * Add to list of prohibitions.
19254 if (xmlSchemaItemListRemove(list, i) == -1)
19262 list->items[i] = sublist->items[0];
19266 if (xmlSchemaItemListInsert(list,
19277 if (prohibs && (prohibs->nbItems != 0) && (list->nbItems != 0)) {
19282 for (j = 0; j < list->nbItems; j++) {
19283 use = list->items[j];
19756 * a list will be built for each subst. group head, holding all direct
20880 * - the itemType of list types
20966 * Let's better stop on the first error here.
21188 * The list could have changed, since xmlSchemaFixupComplexType()
21541 * Note that this includes built-in list datatypes.
21547 * For list types the facet "whiteSpace" is fixed to "collapse".
22065 * Add to gobal list.
22072 "allocating the IDC node table item list", NULL);
22083 "re-allocating the IDC node table item list", NULL);
22106 * Add to gobal list.
22113 "allocating the IDC key storage list", NULL);
22124 "re-allocating the IDC key storage list", NULL);
22254 * @bind: the first IDC binding in the list
22256 * Frees an IDC table, i.e. all the IDC bindings in the list.
22272 * @matcher: the first IDC matcher in the list
22274 * Frees a list of IDC matchers.
22316 * @matcher: the first IDC matcher in the list
22318 * Caches a list of IDC matchers for reuse.
22412 * Add to global list.
22772 * The key will be anchored on the matcher's list of
22773 * key-sequences. The position in this list is determined
22784 * The size of the list is only dependant on the depth of
22901 * Store the key in a global list.
23051 * Store the node-table item in a global list.
23090 * put on a global list.
23139 "in the list");
23143 * Unlink from the list of active XPath state objects.
23199 * depth at which the bubbles should stop; this will be
23434 * Add the duplicate to the list of duplicates.
23635 * the parent's node-table to the list of
23669 "allocating IDC list of node-table items", NULL);
23680 "re-allocating IDC list of node-table items", NULL);
23907 * Grow/create list of attribute infos.
23915 "allocating attribute info list", NULL);
23925 "re-allocating attribute info list", NULL);
24250 * "length", "minLength" and "maxLength" of list types.
24268 "validating against a list type facet");
24633 /* 1.2.2 if {variety} is ���list��� then the string must be a sequence
24639 * the list type has an enum or pattern facet.
24668 * Add to list of computed values.
24680 "validating an item of list simple type");
24699 "validating facets of list simple type");
26844 * We will stop validation if there was an error during
26849 * TODO: If we are sure how to stop the validation at once
26851 * instantly stop the validation.
26862 * NOTE: main schema is the first in the imported list
27328 * Although the parser builds its own namespace list,
27937 * Don't stop validation; just skip the content
28077 * NOTE: main schema if the first in the imported list