Lines Matching defs:values

129     // A property with a values array.
131 const Value *values, int32_t valueCount)
133 values(values), valueCount(valueCount) {}
134 // A binary property (enumValue<UCHAR_BINARY_LIMIT), or one without values.
137 const Value *values;
146 values(enumValue<UCHAR_BINARY_LIMIT ? VALUES_binprop : NULL),
232 // Since we know that they are in the lowest range of property enum values
253 const Value *values=PROPERTIES[propIndex].values;
254 if(values==VALUES_binprop) {
256 } else if(values==VALUES_ccc || values==VALUES_lccc || values==VALUES_tccc) {
260 bytesTrieOffset=buildValuesBytesTrie(values, valueCount, errorCode);
262 buildValueMap(values, valueCount, errorCode);
307 // We use only values 0..0x1f in the first byte because when we write
309 // those values (C0 control codes) are written as numbers rather than as characters.
335 void buildValueMap(const Value values[], int32_t length, UErrorCode &errorCode) {
337 UVector32 nameOffsets(errorCode); // Parallel to values[].
340 sortedValues.sortedInsert(values[i].enumValue, errorCode);
341 nameOffsets.addElement(writeValueAliases(values[i], errorCode), errorCode);
354 // Real nameOffsets for property values are never 0.
356 int32_t valueIndex=valuesIndexOf(values, length, j);
370 valuesIndexOf(values, length,
376 static int32_t valuesIndexOf(const Value values[], int32_t length, int32_t value) {
378 if(values[i].enumValue==value) {
408 int32_t buildValuesBytesTrie(const Value values[], int32_t length, UErrorCode &errorCode) {
411 addValueToBytesTrie(values[i], errorCode);
595 return UCHAR_INVALID_CODE; // The property does not have named values.