• Home
  • Raw
  • Download

Lines Matching refs:uint16_t

101     uint16_t    aliasCount;
102 uint16_t *aliases; /* Index into stringStore */
106 uint16_t converter; /* Index into stringStore */
107 uint16_t totalAliasCount; /* Total aliases in this column */
111 static uint16_t converterCount=0;
117 uint16_t tag; /* Index into tagStore */
118 uint16_t totalAliasCount; /* Total aliases in this row */
124 static uint16_t tagCount = 0;
127 static uint16_t knownAliases[MAX_ALIAS_COUNT];
128 static uint16_t knownAliasesCount = 0;
132 static uint16_t aliasLists[MAX_LIST_SIZE];
133 static uint16_t aliasListsSize = 0;
166 static uint16_t
167 addAlias(const char *alias, uint16_t standard, uint16_t converter, UBool defaultName);
169 static uint16_t
175 static uint16_t
181 static uint16_t
182 getTagNumber(const char *tag, uint16_t tagLen);
197 #define GET_ALIAS_NUM(str) ((uint16_t)((str - stringStore) >> 1))
198 #define GET_TAG_NUM(str) ((uint16_t)((str - tagStore) >> 1))
421 uint16_t pos=0, start, limit, length, cnv; in parseLine()
444 length=(uint16_t)(limit-start); in parseLine()
474 length=(uint16_t)(limit-start); in parseLine()
506 uint16_t tag = getTagNumber(line + start, (uint16_t)(limit - start)); in parseLine()
527 static uint16_t
528 getTagNumber(const char *tag, uint16_t tagLen) { in getTagNumber()
530 uint16_t t; in getTagNumber()
615 tags[tagCount++].tag = (uint16_t)((atag - tagStore) >> 1); in addOfficialTaggedStandards()
624 static uint16_t
662 static uint16_t
663 addAlias(const char *alias, uint16_t standard, uint16_t converter, UBool defaultName) { in addAlias()
710 uint16_t aliasNum = tags[standard].aliasList[idx].aliases[idx2]; in addAlias()
760 …aliasList->aliases = (uint16_t *)uprv_realloc(aliasList->aliases, (aliasList->aliasCount + 1) * si… in addAlias()
786 static uint16_t
810 resolveAliasToConverter(uint16_t alias, uint16_t *tagNum, uint16_t *converterNum) { in resolveAliasToConverter()
811 uint16_t idx, idx2, idx3; in resolveAliasToConverter()
816 uint16_t aliasNum = tags[idx].aliasList[idx2].aliases[idx3]; in resolveAliasToConverter()
830 uint16_t aliasNum = tags[idx].aliasList[idx2].aliases[idx3]; in resolveAliasToConverter()
848 resolveAliases(uint16_t *uniqueAliasArr, uint16_t *uniqueAliasToConverterArr, uint16_t aliasOffset)… in resolveAliases()
851 uint16_t currTagNum, oldTagNum; in resolveAliases()
852 uint16_t currConvNum, oldConvNum; in resolveAliases()
916 createOneAliasList(uint16_t *aliasArrLists, uint32_t tag, uint32_t converter, uint16_t offset) { in createOneAliasList()
933 uint16_t value; in createOneAliasList()
981 uint16_t aliasOffset = (uint16_t)(tagBlock.top/sizeof(uint16_t)); in writeAliasTable()
982 uint16_t *aliasArrLists = (uint16_t *)uprv_malloc(tagCount * converterCount * sizeof(uint16_t)); in writeAliasTable()
983 uint16_t *uniqueAliases = (uint16_t *)uprv_malloc(knownAliasesCount * sizeof(uint16_t)); in writeAliasTable()
984uint16_t *uniqueAliasesToConverter = (uint16_t *)uprv_malloc(knownAliasesCount * sizeof(uint16_t)); in writeAliasTable()
1015 udata_write32(out, sizeof(tableOptions) / sizeof(uint16_t)); in writeAliasTable()
1016 udata_write32(out, (tagBlock.top + stringBlock.top) / sizeof(uint16_t)); in writeAliasTable()
1018 udata_write32(out, (tagBlock.top + stringBlock.top) / sizeof(uint16_t)); in writeAliasTable()
1024 udata_write16(out, (uint16_t)(converters[i].converter + aliasOffset)); in writeAliasTable()
1037 udata_writeBlock(out, uniqueAliases, uniqueAliasesSize * sizeof(uint16_t)); in writeAliasTable()
1040 udata_writeBlock(out, uniqueAliasesToConverter, uniqueAliasesSize * sizeof(uint16_t)); in writeAliasTable()
1043 …id *)(aliasArrLists + (2*converterCount)), (((tagCount - 2) * converterCount) * sizeof(uint16_t))); in writeAliasTable()
1045 udata_writeBlock(out, (const void *)aliasArrLists, (2 * converterCount * sizeof(uint16_t))); in writeAliasTable()
1051 udata_writeBlock(out, (const void *)aliasLists, aliasListsSize * sizeof(uint16_t)); in writeAliasTable()
1120 …int result = ucnv_compareNames(GET_ALIAS_STR(*(uint16_t*)alias1), GET_ALIAS_STR(*(uint16_t*)alias2… in compareAliases()
1123 …return (int)uprv_strlen(GET_ALIAS_STR(*(uint16_t*)alias1)) - (int)uprv_strlen(GET_ALIAS_STR(*(uint… in compareAliases()