Lines Matching defs:weight
113 uint32_t weight = 0;
123 // Too many bytes, or a 00 or 01 byte which is illegal inside a weight.
127 weight = (weight << 8) | ((uint32_t)nibble1 << 4) | (uint32_t)nibble2;
141 // Left-align the weight.
143 weight <<= 8;
146 return weight;
181 // Parse the following, secondary or tertiary weight.
187 // Set the tertiary weight to w.
190 // Set the secondary weight to w: [U+9F9C, 70, 20]
192 // Parse and set the tertiary weight.
538 fprintf(stderr, "Value of \"%s\" is not a primary weight\n", buffer);
781 // UCA 6.0 gives U+FFFE a special minimum weight using the
795 fprintf(stderr, "Warning: invalid UCA weight byte 01 for %s\n", line);
799 fprintf(stderr, "Warning: invalid UCA primary weight lead byte 02 for %s\n", line);
809 fprintf(stderr, "Warning: invalid UCA primary second weight byte %02X for %s\n",
966 // This relies on the FractionalUCA generator using the same primary-weight incrementation.