Lines Matching defs:range

852 getAlgName(AlgorithmicRange *range, uint32_t code, UCharNameChoice nameChoice,
865 switch(range->type) {
868 const char *s=(const char *)(range+1);
879 count=range->variant;
905 const uint16_t *factors=(const uint16_t *)(range+1);
906 uint16_t count=range->variant;
916 s, code-range->start, indexes, NULL, NULL, buffer, bufferLength);
936 enumAlgNames(AlgorithmicRange *range,
947 switch(range->type) {
953 length=getAlgName(range, (uint32_t)start, nameChoice, buffer, sizeof(buffer));
995 const uint16_t *factors=(const uint16_t *)(range+1);
996 uint16_t count=range->variant;
1015 s, (uint32_t)start-range->start,
1074 * returns the code point for a name if it fits into the range.
1078 findAlgName(AlgorithmicRange *range, UCharNameChoice nameChoice, const char *otherName) {
1085 switch(range->type) {
1088 const char *s=(const char *)(range+1);
1101 count=range->variant;
1114 /* does it fit into the range? */
1115 if(*otherName==0 && range->start<=(uint32_t)code && (uint32_t)code<=range->end) {
1124 const uint16_t *factors=(const uint16_t *)(range+1);
1125 uint16_t count=range->variant;
1141 start=(UChar32)range->start;
1142 limit=(UChar32)(range->end+1);
1217 AlgorithmicRange *range;
1225 range=(AlgorithmicRange *)(p+1);
1227 switch(range->type) {
1229 /* name = prefix + (range->variant times) hex-digits */
1231 length=calcStringSetLength(gNameSet, (const char *)(range+1))+range->variant;
1238 const uint16_t *factors=(const uint16_t *)(range+1);
1240 int32_t i, count=range->variant, factor, factorLength, maxFactorLength;
1270 range=(AlgorithmicRange *)((uint8_t *)range+range->size);
1658 /* enumerate the character names before the current algorithmic range */
1670 /* enumerate the character names in the current algorithmic range */
1682 /* continue to the next algorithmic range (here: start<limit) */
1686 /* enumerate the character names after the last algorithmic range */
2034 udata_printError(ds, "uchar_swapNames(): too few bytes (%d after header) for unames.icu algorithmic range %u\n",
2052 udata_printError(ds, "uchar_swapNames(prefix string of algorithmic range %u) failed\n",
2078 udata_printError(ds, "uchar_swapNames(): unknown type %u of algorithmic range %u\n",