Home | History | Annotate | Download | only in gencnval

Lines Matching defs:tags

123 static Tag tags[MAX_TAG_COUNT];
135 /* Were the standard tags declared before the aliases. */
278 uprv_memset(tags, 0, sizeof(tags));
309 /* clean up tags */
312 if (tags[i].aliasList[n].aliases!=NULL) {
313 uprv_free(tags[i].aliasList[n].aliases);
369 fprintf(stderr, "%s:%d: error: alias table needs to start a list of standard tags\n", path, lineNum);
486 /* handle tags if they are present */
514 addAlias(alias, EMPTY_TAG_NUM, cnv, (UBool)(tags[0].aliasList[cnv].aliasCount == 0));
526 fprintf(stderr, "%s:%d: too many tags\n", path, lineNum);
536 const char *currTag = GET_TAG_STR(tags[t].tag);
544 fprintf(stderr, "%s:%d: error: too many tags\n", path, lineNum);
562 tags[tagCount].tag = GET_TAG_NUM(atag);
570 tags[tag].aliases[converter] = alias;
582 fprintf(stderr, "%s:%d: error: official tags already added\n", path, lineNum);
607 tags[tagCount++].tag = (uint16_t)((atag - tagStore) >> 1);
661 fprintf(stderr, "%s:%d: error: too many standard tags\n", path, lineNum);
668 aliasList = &tags[standard].aliasList[converter];
701 for (idx2 = 0; idx2 < tags[standard].aliasList[idx].aliasCount; idx2++) {
702 uint16_t aliasNum = tags[standard].aliasList[idx].aliases[idx2];
715 GET_TAG_STR(tags[standard].tag),
721 GET_TAG_STR(tags[standard].tag),
730 /* Check for duplicate default aliases for this converter on all tags */
734 if (tags[idx].aliasList[converter].aliases) {
735 uint16_t aliasNum = tags[idx].aliasList[converter].aliases[0];
740 lineNum, alias, GET_ALIAS_STR(converters[converter].converter), GET_TAG_STR(tags[standard].tag));
762 GET_TAG_STR(tags[standard].tag),
773 tags[standard].totalAliasCount++; /* One more to the row */
800 /* resolve this alias based on the prioritization of the standard tags. */
807 for (idx3 = 0; idx3 < tags[idx].aliasList[idx2].aliasCount; idx3++) {
808 uint16_t aliasNum = tags[idx].aliasList[idx2].aliases[idx3];
821 for (idx3 = 0; idx3 < tags[idx].aliasList[idx2].aliasCount; idx3++) {
822 uint16_t aliasNum = tags[idx].aliasList[idx2].aliases[idx3];
910 AliasList *aliasList = &tags[tag].aliasList[converter];
922 GET_TAG_STR(tags[tag].tag),
935 GET_TAG_STR(tags[tag].tag),
1019 /* write the table of tags */
1022 udata_write16(out, tags[i].tag);
1025 udata_write16(out, tags[EMPTY_TAG_NUM].tag);
1026 udata_write16(out, tags[ALL_TAG_NUM].tag);
1048 /* write the tags strings */