Home | History | Annotate | Download | only in gensprep

Lines Matching refs:mapping

38  * The file format prepared and written here contains a 16-bit trie and a mapping table.
71 * indexes[_SPREP_ONE_UCHAR_MAPPING_INDEX_START] -- The starting index of 1 UChar mapping index in the mapping table
72 * indexes[_SPREP_TWO_UCHARS_MAPPING_INDEX_START] -- The starting index of 2 UChars mapping index in the mapping table
73 * indexes[_SPREP_THREE_UCHARS_MAPPING_INDEX_START] -- The starting index of 3 UChars mapping index in the mapping table
74 * indexes[_SPREP_FOUR_UCHARS_MAPPING_INDEX_START] -- The starting index of 4 UChars mapping index in the mapping table
99 * 1 - ON : The value in the next 14 bits is an index into the mapping table
105 * Mapping Table:
106 * The data in mapping table is sorted according to the length of the mapping sequence.
121 * // The first position in the mapping table contains the length
154 static int32_t mappingDataCapacity = 0; /* we skip the first index in mapping data */
156 static int32_t maxLength = 0; /* maximum length of mapping string */
213 UChar* mapping;
221 uprv_free(value->mapping);
245 int32_t mappingLength = 1; /* minimum mapping length */
255 /*initialize the mapping data */
299 * and a mapping .. error!
317 fprintf(stderr, "Too many entries in the mapping table %i. Maximum allowed is %i\n",
322 /* copy the mapping data */
329 uprv_memmove(mappingData+currentIndex, value->mapping, value->length*U_SIZEOF_UCHAR);
332 /* If this happens there is a bug in the computation of the mapping data size in storeMapping() */
354 storeMapping(uint32_t codepoint, uint32_t* mapping,int32_t length,
379 * and a mapping .. error!
388 adjustedLen += U16_LENGTH(mapping[i]);
410 int16_t delta = (int16_t)((int32_t)codepoint - (int16_t) mapping[0]);
434 * just fall through for storing the mapping in the mapping table
441 U16_APPEND_UNSAFE(map, j, mapping[i]);
445 value->mapping = map;
478 * A mapping is stored in the trie word
564 /* sort and add mapping data */
577 printf("size of mapping data array %5u bytes\n",(int)mappingDataCapacity * U_SIZEOF_UCHAR);
579 printf("Maximum length of the mapping string is : %i \n", (int)maxLength);